/* =====================================================================
   MINIMASH THEME
   Every color, font, size and glow on the site comes from this file.
   To restyle Minimash, change the values here. The other CSS files only
   use these names, so the whole site follows.
   ===================================================================== */

:root {
  /* ---------- Colors ---------- */
  --color-bg: #0B0820;            /* page background */
  --color-panel: #130F36;         /* boxes (panels, pop-ups) */
  --color-well: #0E0A28;          /* inside boxes: inputs, list rows */
  --color-line: #2C2766;          /* borders */
  --color-line-strong: #3A2F8A;   /* cabinet and pop-up borders */
  --color-text: #F4F1FF;
  --color-text-muted: #A9A3D9;
  --color-placeholder: #6E68A8;

  --color-accent: #FF2E97;        /* main buttons, logo (hot pink) */
  --color-on-accent: #1C0012;     /* text on top of the accent color */
  --color-accent-2: #26E6FF;      /* second accent: game titles, focus rings (cyan) */
  --color-on-accent-2: #0B0820;
  --color-gold: #FFD84D;          /* first place, credits, badges */
  --color-danger: #FF2E97;        /* error messages */

  --color-screen: #05030F;        /* behind the game */
  --color-screen-edge: #000000;
  --color-screen-shade: rgba(0, 0, 0, .8);
  --color-marquee-lines: rgba(255, 255, 255, .03);  /* faint lines on the game's sign */
  --color-cabinet-top: #1C1650;   /* cabinet gradient */
  --color-cabinet-bottom: #110D30;
  --color-backdrop: rgba(5, 3, 20, .82);  /* behind pop-ups */

  /* Feed icon colors, used in order */
  --tone-1: #FF2E97;
  --tone-2: #26E6FF;
  --tone-3: #FFD84D;
  --tone-4: #A97BFF;
  --tone-5: #3DFFA2;
  --tone-6: #FF8A3D;

  /* Soft colored light behind the page */
  --page-glow-1: rgba(255, 46, 151, .16);
  --page-glow-2: rgba(38, 230, 255, .12);

  /* ---------- Glows ---------- */
  --glow-accent: 0 0 6px rgba(255, 46, 151, .8), 0 0 24px rgba(255, 46, 151, .45);
  --glow-accent-2: 0 0 6px rgba(38, 230, 255, .8), 0 0 24px rgba(38, 230, 255, .4);
  --glow-gold: 0 0 10px rgba(255, 216, 77, .6);
  --glow-cabinet:
    0 0 0 1px rgba(255, 46, 151, .35),
    0 0 40px rgba(255, 46, 151, .22),
    0 0 90px rgba(38, 230, 255, .1);

  /* ---------- Fonts ---------- */
  --font-logo: "Monoton", "Chakra Petch", system-ui, sans-serif;
  --font-ui: "Chakra Petch", system-ui, -apple-system, "Segoe UI", sans-serif;

  --text-xs: 13px;
  --text-sm: 14px;
  --text-md: 16px;
  --text-lg: 17px;
  --text-xl: 20px;
  --text-logo: clamp(36px, 7vw, 58px);

  /* ---------- Shapes and spacing ---------- */
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --gap-sm: 8px;
  --gap-md: 12px;
  --gap-lg: 20px;
  --page-gutter: 16px;
  --page-width: 1280px;

  /* Game cabinet size */
  --cabinet-max-width: 470px;
  --screen-ratio: 9 / 13;           /* width / height of the game screen on computers */
  --screen-height-phone: clamp(420px, 70svh, 760px);

  /* Party mode (party.html) */
  --party-width: 720px;                         /* phones and laptops */
  --party-screen-width: 1200px;                 /* the big screen (TV) */
  --text-room-code: clamp(44px, 9vw, 120px);    /* the room code on the big screen */
  --text-screen: clamp(17px, 1.6vw, 26px);      /* body text on the big screen */
  --text-countdown: clamp(48px, 8vw, 110px);
  --color-qr-light: #FFFFFF;                    /* behind the join QR code (must stay light so phones can scan it) */

  color-scheme: dark;
}

/* ---------- Bigger text ----------
   Switched on by the "Aa" button in the footer (js/site.js). Every size above grows a step. */
:root.big-text {
  --text-xs: 15px;
  --text-sm: 16px;
  --text-md: 18px;
  --text-lg: 20px;
  --text-xl: 24px;
}
