/* ============================================================
   THEME — the whole look of the site lives here.
   Change a value below and every page follows.
   Layout/components are in styles.css (use these tokens there,
   never raw colors). See CLAUDE.md for how to edit.
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face { font-family: "Heavy"; src: url("fonts/Montserrat-Black.ttf") format("truetype"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Body"; src: url("fonts/BuilderSans-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Body"; src: url("fonts/BuilderSans-ExtraBold.otf") format("opentype"); font-weight: 800; font-display: swap; }

:root {
  color-scheme: dark;

  /* ---------- Main colors ---------- */
  --royal: #1640b0;      /* page background */
  --royal2: #1c56d2;     /* lighter background stripes */
  --deep: #0d2c86;       /* darker background stripes */
  --bg-stripe: #123aa4;  /* third background stripe */
  --plate: #0a2a8a;      /* cards / panels, and dark text on bright buttons */
  --plate2: #1440b8;     /* lighter card */
  --plate-dark: #082374; /* cards inside dark bands, menu panels */
  --ink: #020b33;        /* darkest ink */

  /* ---------- Accent colors ---------- */
  --yellow: #fcdc23;     /* main call to action (PLAY) */
  --yellow2: #f2b800;
  --orange: #fc7a02;
  --cyan: #4cc6ff;
  --mint: #7af5c8;
  --white: #ffffff;
  --muted: #c9d6ff;      /* secondary text */

  /* ---------- Button gradients (top → bottom) ---------- */
  --grad-yellow: linear-gradient(180deg, #ffe85a, var(--yellow) 55%, var(--yellow2));
  --grad-blue: linear-gradient(180deg, #2a62e6, #1440b8);
  --grad-cyan: linear-gradient(180deg, #8adbff, var(--cyan) 55%, #25a8ea);
  --grad-mint: linear-gradient(180deg, #b4ffe3, var(--mint) 55%, #46dfa8);

  /* ---------- Shadows, lines, bands ---------- */
  --drop: rgba(2, 11, 51, .5);              /* hard drop shadow under cards/buttons */
  --drop-soft: rgba(0, 0, 0, .35);
  --text-shadow-color: rgba(2, 11, 51, .45);/* shadow under big titles */
  --line: rgba(2, 11, 51, .55);
  --band: rgba(9, 32, 112, .8);             /* darker slanted sections */
  --chip-border: rgba(255, 255, 255, .22);
  --chip-border-hover: rgba(255, 255, 255, .5);
  --tap-color: rgba(252, 220, 35, .25);

  /* ---------- Typography ---------- */
  --heavy: "Heavy", "Arial Black", Impact, sans-serif; /* titles, buttons */
  --body: "Body", "Segoe UI", system-ui, sans-serif;   /* text */

  /* ---------- Shape ---------- */
  --slant: 10deg;  /* lean of buttons and tabs (0deg = straight) */
  --r-4: 4px; --r-6: 6px; --r-8: 8px; --r-10: 10px; --r-12: 12px;
  --r-14: 14px; --r-16: 16px; --r-18: 18px;  /* corner radii, small → big */

  /* ---------- Spacing & layout ---------- */
  --wrap: 1200px;                       /* max content width */
  --gut-l: max(20px, env(safe-area-inset-left, 0px));
  --gut-r: max(20px, env(safe-area-inset-right, 0px));
  --sec: clamp(64px, 9vw, 120px);       /* space above/below each section */
  --cut: clamp(18px, 3vw, 44px);        /* height of the slanted section cut */
  --nav-h: 64px;                        /* top bar height */
  --ease: cubic-bezier(.2, .8, .2, 1);
}
