/* Racha Computer Service — Red-Gold & Dark Tech Design Tokens */
/* Light mode maps directly to rachacomputer.com red-gold.css + impeccable-polish.css */

:root {
  /* Core Brand: Red & Gold */
  --brand: #b40812;
  --brand-hover: #92060e;
  --brand-dark: #79050c;
  --brand-text: #b40812;
  --brand-soft: rgba(180, 8, 18, 0.08);
  --brand-border: rgba(180, 8, 18, 0.22);

  --gold: #b78419;
  --gold-bright: #d9a026;
  --gold-ink: #8a5e07;
  --gold-soft: rgba(183, 132, 25, 0.13);
  --gold-border: rgba(183, 132, 25, 0.32);

  /* Surfaces & Typography (Light) */
  --paper: #fcfaf6;
  --surface: #ffffff;
  --soft: #f5efe4;
  --soft-hover: #ede3d3;
  --ink: #291f22;
  --ink-strong: #170d10;
  --muted: #65595b;
  --line: #eaddc9;
  --line-strong: #d7c3a5;

  /* Interactive & Channel Accents */
  --focus-ring: #946000;
  --line-green: #08743d;
  --line-green-hover: #075d33;
  --ok-text: #0f7b55;
  --ok-soft: rgba(16, 185, 129, 0.12);
  --nav-glass: rgba(252, 250, 246, 0.88);
  --bar-glass: rgba(252, 250, 246, 0.96);

  /* Dark Tech Surfaces (Consistent high-contrast showcase cards in Light & Dark) */
  --tech-bg-1: #1c0f13;
  --tech-bg-2: #11080b;
  --tech-bg-accent: #360c14;
  --tech-surface: rgba(255, 255, 255, 0.055);
  --tech-surface-2: rgba(255, 255, 255, 0.095);
  --tech-border: rgba(241, 204, 118, 0.24);
  --tech-border-subtle: rgba(255, 255, 255, 0.12);
  --tech-ink: #fff6ea;
  --tech-muted: #cfb9b1;
  --tech-gold: #f1cc76;
  --tech-red: #ff6b72;
  --tech-emerald: #34d399;

  /* Typography & Rhythm */
  --font-sans: 'Kanit', 'Noto Sans Thai', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'Cascadia Mono', 'SFMono-Regular', Consolas, monospace;
  --container-max: 1180px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-soft: 0 14px 36px -14px rgba(41, 31, 34, 0.09);
  --shadow-card: 0 18px 42px -18px rgba(121, 5, 12, 0.16);
  --shadow-brand: 0 12px 28px -8px rgba(180, 8, 18, 0.34);
  --shadow-tech: 0 24px 54px -16px rgba(17, 8, 11, 0.55);
}

[data-theme="dark"] {
  --brand: #d92632;
  --brand-hover: #ea3844;
  --brand-dark: #9e141d;
  --brand-text: #f5b4a2;
  --brand-soft: rgba(245, 180, 162, 0.12);
  --brand-border: rgba(245, 180, 162, 0.28);

  --gold: #f1cc76;
  --gold-bright: #f8dc95;
  --gold-ink: #f1cc76;
  --gold-soft: rgba(241, 204, 118, 0.14);
  --gold-border: rgba(241, 204, 118, 0.34);

  --paper: #170d10;
  --surface: #28191c;
  --soft: #211316;
  --soft-hover: #321f23;
  --ink: #fff2de;
  --ink-strong: #ffffff;
  --muted: #ccb5ab;
  --line: #5c3b32;
  --line-strong: #794e43;

  --focus-ring: #f1cc76;
  --ok-text: #34d399;
  --ok-soft: rgba(52, 211, 153, 0.14);
  --nav-glass: rgba(23, 13, 16, 0.9);
  --bar-glass: rgba(23, 13, 16, 0.96);

  --tech-bg-1: #231217;
  --tech-bg-2: #12080b;
  --tech-bg-accent: #421019;

  --shadow-soft: 0 16px 38px -14px rgba(0, 0, 0, 0.48);
  --shadow-card: 0 20px 44px -16px rgba(0, 0, 0, 0.58);
  --shadow-brand: 0 12px 30px -8px rgba(217, 38, 50, 0.38);
}
