/* ==========================================================================
   YonoRummy Game — "The Royal Card Room"
   theme.css — tokens, base, layout, nav, footer, shared components
   Domain: https://yonorummyapp.in.net
   ========================================================================== */

/* ---------------------------------------------------------------
   1. TOKENS
   --------------------------------------------------------------- */
:root {
  /* Emerald — card-table felt */
  --em-950: #04170E;
  --em-900: #06221A;
  --em-850: #082A1F;
  --em-800: #0A2E22;
  --em-700: #0B3D2E;
  --em-600: #14543D;
  --em-500: #1C6B4E;
  --em-400: #24855F;

  /* Deep teal — structure & ambient lounge light */
  --tl-950: #041E22;
  --tl-900: #06272B;
  --tl-800: #0C3A3F;
  --tl-700: #114A50;
  --tl-600: #175E64;
  --tl-500: #1E7A82;

  /* Luxury gold — brushed / engraved foil */
  --gd-900: #6E5615;
  --gd-800: #8A6D1F;
  --gd-700: #A8851F;
  --gd-600: #C9A227;
  --gd-500: #D6B23C;
  --gd-400: #E3C55F;
  --gd-300: #EBD37C;
  --gd-200: #F0D98C;
  --gd-100: #F7EBC2;

  /* Neutrals on felt */
  --ink: #F6F2E7;
  --ink-soft: #DCE7DE;
  --ink-mut: #A6BCAF;
  --ink-dim: #7E958A;

  /* Gradients */
  --grad-gold: linear-gradient(100deg, #8A6D1F 0%, #C9A227 22%, #F7EBC2 46%, #E3C55F 62%, #C9A227 80%, #8A6D1F 100%);
  --grad-gold-soft: linear-gradient(135deg, #C9A227 0%, #F0D98C 50%, #A8851F 100%);
  --grad-felt: linear-gradient(168deg, #0A2E22 0%, #0B3D2E 38%, #08262C 72%, #06222A 100%);
  --grad-panel: linear-gradient(160deg, rgba(20, 84, 61, .42) 0%, rgba(12, 58, 63, .34) 55%, rgba(6, 34, 26, .55) 100%);
  --grad-teal-glow: radial-gradient(60% 60% at 50% 40%, rgba(30, 122, 130, .40) 0%, rgba(23, 94, 100, .16) 45%, transparent 78%);

  /* Lines & shadow */
  --hair: rgba(201, 162, 39, .26);
  --hair-2: rgba(201, 162, 39, .46);
  --hair-soft: rgba(214, 231, 220, .10);
  --sh-1: 0 2px 10px rgba(0, 0, 0, .28);
  --sh-2: 0 12px 34px rgba(0, 0, 0, .40);
  --sh-3: 0 26px 70px rgba(0, 0, 0, .52);
  --glow-teal: 0 0 46px rgba(30, 122, 130, .40);
  --glow-gold: 0 0 30px rgba(201, 162, 39, .32);

  /* Type */
  --f-display: "Playfair Display", "Georgia", "Times New Roman", serif;
  --f-royal: "Cinzel", "Playfair Display", serif;
  --f-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Metrics */
  --nav-h: 76px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-card: 18px;
  --gut: 1.5rem;
  --shell: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------------------------------------------------------------
   2. RESET / BASE
   --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

/* Only <html> may be a scroll container. Giving <body> overflow-x:hidden too
   creates a SECOND scroll container and leaves a dead strip on the right. */
html {
  width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;   /* clips stray children without creating a scroller */
  margin: 0;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-soft);
  background: var(--em-950);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img, picture, video, svg { max-width: 100%; display: block; }
img { height: auto; }

a { color: var(--gd-300); text-decoration: none; transition: color .28s var(--ease); }
a:hover { color: var(--gd-100); }

h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 .6em;
  font-weight: 600;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.15rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.9vw, 2.85rem); }
h3 { font-size: clamp(1.24rem, 2.2vw, 1.66rem); }
h4 { font-size: clamp(1.06rem, 1.6vw, 1.24rem); }

p { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.15rem; padding-left: 1.25rem; }
li { margin-bottom: .5rem; }

strong, b { color: var(--ink); font-weight: 600; }

::selection { background: rgba(201, 162, 39, .30); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gd-400);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Slim gold scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--em-950); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--gd-800), var(--gd-600));
  border-radius: 20px;
  border: 2px solid var(--em-950);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(var(--gd-600), var(--gd-400)); }

/* ---------------------------------------------------------------
   3. LAYOUT SHELL
   --------------------------------------------------------------- */
.shell {
  width: min(100% - 3rem, var(--shell));
  margin-inline: auto;
}
.shell-wide { width: min(100% - 3rem, 1380px); margin-inline: auto; }
.shell-narrow { width: min(100% - 3rem, 900px); margin-inline: auto; }

.section {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0;
  overflow: hidden;
}
.section--tight { padding: clamp(3rem, 5.5vw, 4.5rem) 0; }
.section--felt { background: var(--grad-felt); }
.section--deep { background: linear-gradient(180deg, var(--em-950) 0%, var(--tl-950) 55%, var(--em-950) 100%); }
.section--teal { background: linear-gradient(170deg, var(--tl-950) 0%, var(--tl-900) 45%, var(--em-900) 100%); }

/* Felt weave texture */
.felt-tex::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .014) 0 2px, transparent 2px 4px),
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, .05) 0 2px, transparent 2px 4px);
}

/* Ambient lounge light pools */
.glow-pool {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  z-index: 0;
}
.glow-pool--teal { background: radial-gradient(circle, rgba(30, 122, 130, .34), transparent 70%); }
.glow-pool--gold { background: radial-gradient(circle, rgba(201, 162, 39, .16), transparent 70%); }
.glow-pool--em { background: radial-gradient(circle, rgba(28, 107, 78, .30), transparent 70%); }

.section > .shell, .section > .shell-wide, .section > .shell-narrow { position: relative; z-index: 2; }

/* Engraved suit watermarks */
.suit-mark {
  position: absolute;
  pointer-events: none;
  color: var(--gd-600);
  opacity: .05;
  z-index: 0;
  line-height: 1;
}

/* ---------------------------------------------------------------
   4. GOLD FOIL TEXT + SHIMMER
   --------------------------------------------------------------- */
.foil {
  background: var(--grad-gold);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: foilSweep 7s ease-in-out infinite;
}
.foil--slow { animation-duration: 11s; }
.foil--static { animation: none; background-position: 40% 0; }

@keyframes foilSweep {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Light-sweep gloss that passes over a block periodically */
.sheen { position: relative; overflow: hidden; isolation: isolate; }
.sheen::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -140%;
  width: 55%;
  height: 220%;
  background: linear-gradient(100deg, transparent, rgba(255, 250, 226, .16) 45%, rgba(255, 250, 226, .30) 50%, rgba(255, 250, 226, .16) 55%, transparent);
  transform: rotate(16deg);
  pointer-events: none;
  animation: sheenPass 6.5s ease-in-out infinite;
  z-index: 3;
}
@keyframes sheenPass {
  0%, 62% { left: -140%; }
  92%, 100% { left: 150%; }
}

/* ---------------------------------------------------------------
   5. ORNATE GOLD FRAMES / PANELS
   --------------------------------------------------------------- */
.panel {
  position: relative;
  background: var(--grad-panel);
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
  box-shadow: var(--sh-2), inset 0 1px 0 rgba(247, 235, 194, .07);
  backdrop-filter: blur(6px);
  padding: clamp(1.4rem, 2.6vw, 2.1rem);
  transition: border-color .4s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
}
.panel:hover { border-color: var(--hair-2); }

/* Playing-card style double rule frame */
.frame-ornate { position: relative; }
.frame-ornate::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(201, 162, 39, .22);
  border-radius: calc(var(--r-card) - 6px);
  pointer-events: none;
}

/* Corner flourishes (four gold ticks like a card index) */
.corner-flourish::after,
.corner-flourish::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  pointer-events: none;
  opacity: .75;
}
.corner-flourish::before {
  top: 10px; left: 10px;
  border-top: 1px solid var(--gd-600);
  border-left: 1px solid var(--gd-600);
  border-top-left-radius: 8px;
}
.corner-flourish::after {
  bottom: 10px; right: 10px;
  border-bottom: 1px solid var(--gd-600);
  border-right: 1px solid var(--gd-600);
  border-bottom-right-radius: 8px;
}

/* Gold hairline divider with a suit pip in the middle */
.rule-suit {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: clamp(2rem, 4vw, 3rem) 0;
  color: var(--gd-600);
}
.rule-suit::before, .rule-suit::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, .5), transparent);
}
.rule-suit span { font-size: 1.05rem; letter-spacing: .5em; opacity: .85; }

/* ---------------------------------------------------------------
   6. SECTION HEADERS
   --------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--f-royal);
  font-size: .72rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gd-400);
  margin-bottom: 1rem;
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gd-600));
}
.eyebrow--center::after {
  content: "";
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, var(--gd-600), transparent);
}

.sec-head { max-width: 760px; margin-bottom: clamp(2.2rem, 4vw, 3.2rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head p { color: var(--ink-mut); font-size: 1.03rem; }
.sec-head h2 { margin-bottom: .55rem; }

.lede { font-size: clamp(1.02rem, 1.5vw, 1.14rem); color: var(--ink-soft); }
.muted { color: var(--ink-mut); }
.small { font-size: .9rem; }

/* ---------------------------------------------------------------
   7. BUTTONS — premium chip / card edge
   --------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.9rem;
  font-family: var(--f-body);
  font-size: .93rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--gd-600);
  color: var(--em-950);
  background: var(--grad-gold-soft);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .35);
  text-align: center;
}
.btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -130%;
  width: 48%;
  height: 200%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: rotate(18deg);
  animation: btnSweep 5s ease-in-out infinite;
  z-index: -1;
}
@keyframes btnSweep {
  0%, 55% { left: -130%; }
  85%, 100% { left: 150%; }
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .45), 0 0 30px rgba(201, 162, 39, .40), inset 0 1px 0 rgba(255, 255, 255, .45);
  color: #000;
}
.btn:active { transform: translateY(-1px); }

/* Ghost — thin gold edge on felt */
.btn--ghost {
  background: rgba(10, 46, 34, .55);
  color: var(--gd-200);
  border-color: rgba(201, 162, 39, .45);
  box-shadow: inset 0 1px 0 rgba(247, 235, 194, .08);
}
.btn--ghost::after { background: linear-gradient(100deg, transparent, rgba(240, 217, 140, .22), transparent); }
.btn--ghost:hover {
  color: var(--gd-100);
  border-color: var(--gd-400);
  background: rgba(20, 84, 61, .6);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .4), 0 0 34px rgba(30, 122, 130, .45);
}

.btn--lg { padding: 1.12rem 2.5rem; font-size: 1rem; }
.btn--sm { padding: .68rem 1.35rem; font-size: .78rem; }
.btn--block { display: flex; width: 100%; }
.btn--tg {
  background: linear-gradient(135deg, #1E7A82, #0C3A3F);
  color: var(--gd-100);
  border-color: rgba(201, 162, 39, .5);
}
.btn--tg:hover { color: #fff; box-shadow: 0 14px 34px rgba(0, 0, 0, .45), 0 0 32px rgba(30, 122, 130, .55); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.btn-row--center { justify-content: center; }

/* ---------------------------------------------------------------
   8. PILLS / TAGS / BADGES
   --------------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .38rem .85rem;
  border-radius: 999px;
  border: 1px solid var(--hair);
  background: rgba(6, 39, 43, .6);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gd-300);
  font-weight: 600;
}
.pill--live { color: #7BE3A8; border-color: rgba(123, 227, 168, .32); }
.pill--live .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 10px #4ADE80;
  animation: pulseDot 1.9s ease-in-out infinite;
}
@keyframes pulseDot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.8); } }

.tag {
  display: inline-block;
  padding: .22rem .62rem;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 4px;
  background: rgba(201, 162, 39, .14);
  border: 1px solid rgba(201, 162, 39, .3);
  color: var(--gd-200);
  font-weight: 600;
}

/* ---------------------------------------------------------------
   9. PAGE LOADER — gold card flip reveal
   --------------------------------------------------------------- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 45%, #0B3D2E 0%, #06221A 45%, #03110B 100%);
  transition: opacity .7s var(--ease), visibility .7s;
}
#loader.done { opacity: 0; visibility: hidden; }
.loader-stage { perspective: 1200px; display: grid; place-items: center; gap: 1.6rem; }
.loader-card {
  width: 132px;
  height: 190px;
  position: relative;
  transform-style: preserve-3d;
  animation: cardFlip 2.6s var(--ease-out) infinite;
}
.loader-face {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  backface-visibility: hidden;
  border: 1px solid var(--gd-600);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .6), inset 0 0 0 4px rgba(4, 23, 14, .9), inset 0 0 0 5px rgba(201, 162, 39, .35);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.loader-face--back {
  background:
    repeating-linear-gradient(45deg, rgba(201, 162, 39, .10) 0 6px, transparent 6px 12px),
    linear-gradient(150deg, #0B3D2E, #0C3A3F);
}
.loader-face--back span { font-size: 2.4rem; color: var(--gd-500); opacity: .8; }
.loader-face--front {
  transform: rotateY(180deg);
  background: linear-gradient(150deg, #08251C, #061F24);
  padding: 12px;
}
.loader-face--front img { width: 100%; height: auto; }
@keyframes cardFlip {
  0%, 32% { transform: rotateY(0deg); }
  62%, 100% { transform: rotateY(180deg); }
}
.loader-word {
  font-family: var(--f-royal);
  font-size: .7rem;
  letter-spacing: .48em;
  text-transform: uppercase;
  color: var(--gd-400);
  text-indent: .48em;
}
.loader-bar { width: 170px; height: 2px; background: rgba(201, 162, 39, .18); overflow: hidden; border-radius: 2px; }
.loader-bar i { display: block; height: 100%; width: 40%; background: var(--grad-gold); animation: loadRun 1.4s ease-in-out infinite; }
@keyframes loadRun { 0% { transform: translateX(-100%); } 100% { transform: translateX(320%); } }

/* ---------------------------------------------------------------
   10. NAV — slim emerald-teal glass, sliding gold underline
   --------------------------------------------------------------- */
.topbar {
  background: linear-gradient(90deg, var(--em-900), var(--tl-900), var(--em-900));
  border-bottom: 1px solid rgba(201, 162, 39, .16);
  font-size: .76rem;
  color: var(--ink-mut);
  letter-spacing: .04em;
}
.topbar .shell-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 38px;
}
.topbar strong { color: var(--gd-300); font-weight: 600; }
.topbar-marquee { display: flex; align-items: center; gap: .5rem; overflow: hidden; white-space: nowrap; }
.topbar-links { display: flex; gap: 1.2rem; align-items: center; }
.topbar-links a { color: var(--ink-mut); }
.topbar-links a:hover { color: var(--gd-300); }

.nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: linear-gradient(180deg, rgba(6, 34, 26, .90), rgba(6, 39, 43, .82));
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(201, 162, 39, .18);
  transition: box-shadow .4s var(--ease), background .4s var(--ease);
}
.nav.stuck {
  box-shadow: 0 14px 40px rgba(0, 0, 0, .5);
  background: linear-gradient(180deg, rgba(4, 23, 14, .96), rgba(6, 39, 43, .92));
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--nav-h);
}

/* Brand / logo — clean, untouched artwork, best-fit sizing */
.brand { display: flex; align-items: center; flex: none; }
.brand img {
  height: 46px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}
.brand:hover { opacity: .92; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .35rem;
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: .55rem .85rem;
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--ink-soft);
  border-radius: 6px;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gd-200); }
.nav-links a.active { color: var(--gd-300); }
.nav-underline {
  position: absolute;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-gold);
  box-shadow: 0 0 12px rgba(201, 162, 39, .6);
  transition: left .45s var(--ease-out), width .45s var(--ease-out), opacity .3s;
  opacity: 0;
  pointer-events: none;
}
.nav-cta { display: flex; align-items: center; gap: .6rem; flex: none; }

.tg-icon-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, .4);
  background: linear-gradient(140deg, rgba(30, 122, 130, .5), rgba(12, 58, 63, .7));
  color: var(--gd-200);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  flex: none;
}
.tg-icon-btn svg { width: 20px; height: 20px; }
.tg-icon-btn:hover {
  transform: translateY(-2px) scale(1.06);
  border-color: var(--gd-400);
  color: #fff;
  box-shadow: 0 0 24px rgba(30, 122, 130, .65);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--hair);
  background: rgba(10, 46, 34, .6);
  cursor: pointer;
  padding: 0;
  position: relative;
  flex: none;
}
.burger span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 1.6px;
  background: var(--gd-300);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(88vw, 340px);
  background: linear-gradient(200deg, var(--em-900), var(--tl-950));
  border-left: 1px solid var(--hair);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform .5s var(--ease-out), visibility .5s;
  z-index: 950;
  padding: 1.4rem 1.4rem 2.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.drawer.open { transform: translateX(0); visibility: visible; box-shadow: -30px 0 70px rgba(0, 0, 0, .6); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-head img { height: 38px; width: auto; }
.drawer-close {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(201, 162, 39, .12);
  border: 1px solid var(--hair);
  color: var(--gd-200); font-size: 1.2rem; cursor: pointer; line-height: 1;
}
.drawer nav { display: flex; flex-direction: column; gap: .1rem; }
.drawer nav a {
  padding: .82rem .4rem;
  color: var(--ink-soft);
  border-bottom: 1px solid rgba(214, 231, 220, .07);
  font-size: .95rem;
  letter-spacing: .05em;
  display: flex; align-items: center; justify-content: space-between;
}
.drawer nav a::after { content: "›"; color: var(--gd-600); font-size: 1.1rem; }
.drawer nav a:hover, .drawer nav a.active { color: var(--gd-300); }
.drawer .btn { margin-top: .4rem; }
.scrim {
  position: fixed; inset: 0; z-index: 940;
  background: rgba(3, 14, 10, .72);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.scrim.on { opacity: 1; visibility: visible; }

/* ---------------------------------------------------------------
   11. STICKY BOTTOM CTA BAR
   --------------------------------------------------------------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 880;
  background: linear-gradient(180deg, rgba(4, 23, 14, .92), rgba(6, 39, 43, .97));
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(201, 162, 39, .3);
  padding: .7rem 0;
  transform: translateY(120%);
  transition: transform .5s var(--ease-out);
}
.sticky-cta.show { transform: translateY(0); box-shadow: 0 -18px 44px rgba(0, 0, 0, .5); }
.sticky-cta .shell { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.sticky-cta-txt { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.sticky-cta-txt b { font-family: var(--f-display); font-size: 1.06rem; color: var(--ink); font-weight: 600; }
.sticky-cta-txt span { font-size: .76rem; color: var(--ink-mut); letter-spacing: .06em; }
.sticky-cta .btn-row { flex: none; }

/* ---------------------------------------------------------------
   12. FOOTER
   --------------------------------------------------------------- */
.footer {
  position: relative;
  background: linear-gradient(180deg, var(--em-950) 0%, #041B18 40%, #03151A 100%);
  border-top: 1px solid rgba(201, 162, 39, .24);
  padding: clamp(3rem, 6vw, 4.6rem) 0 0;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: clamp(1.8rem, 4vw, 3rem);
  position: relative;
  z-index: 2;
}
.footer-brand img { height: 52px; width: auto; margin-bottom: 1.1rem; }
.footer-brand p { color: var(--ink-mut); font-size: .93rem; }
.footer h5 {
  font-family: var(--f-royal);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gd-300);
  margin-bottom: 1.1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--hair);
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: .55rem; }
.footer ul a { color: var(--ink-mut); font-size: .92rem; }
.footer ul a:hover { color: var(--gd-200); padding-left: 4px; }
.footer ul a { transition: color .3s, padding-left .3s; }

.foot-social { display: flex; gap: .6rem; margin-top: 1.1rem; flex-wrap: wrap; }
.foot-social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--hair);
  background: rgba(12, 58, 63, .5);
  color: var(--gd-300);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.foot-social a:hover { transform: translateY(-3px); border-color: var(--gd-400); box-shadow: var(--glow-teal); color: #fff; }
.foot-social svg { width: 18px; height: 18px; }

.foot-keywords {
  margin-top: clamp(2.2rem, 4vw, 3rem);
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(214, 231, 220, .08);
  position: relative;
  z-index: 2;
}
.foot-keywords h6 {
  font-family: var(--f-royal);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gd-400);
  margin: 0 0 .7rem;
}
.foot-keywords p { font-size: .8rem; color: var(--ink-dim); line-height: 1.9; margin: 0; }

.foot-disclaimer {
  margin-top: 1.8rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid rgba(201, 162, 39, .26);
  border-radius: var(--r-md);
  background: rgba(11, 61, 46, .28);
  font-size: .86rem;
  color: var(--ink-mut);
  line-height: 1.85;
  position: relative;
  z-index: 2;
}
.foot-disclaimer strong { color: var(--gd-200); }
.foot-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.foot-badges span {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .32rem .7rem;
  border-radius: 4px;
  border: 1px solid rgba(201, 162, 39, .3);
  color: var(--gd-300);
  background: rgba(4, 23, 14, .5);
  font-weight: 600;
}

.foot-bottom {
  margin-top: 1.8rem;
  border-top: 1px solid rgba(214, 231, 220, .08);
  padding: 1.3rem 0 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: .84rem;
  color: var(--ink-dim);
  position: relative;
  z-index: 2;
}
.foot-bottom nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.foot-bottom a { color: var(--ink-dim); }
.foot-bottom a:hover { color: var(--gd-300); }

/* ---------------------------------------------------------------
   13. SCROLL REVEAL — "dealt card" entrance
   --------------------------------------------------------------- */
[data-deal] {
  opacity: 0;
  transform: translateY(38px) rotate(-3.2deg) scale(.97);
  transition: opacity .85s var(--ease-out), transform .95s var(--ease-out);
  will-change: transform, opacity;
}
[data-deal="left"] { transform: translateX(-46px) rotate(-5deg) scale(.97); }
[data-deal="right"] { transform: translateX(46px) rotate(5deg) scale(.97); }
[data-deal="fade"] { transform: translateY(20px); }
[data-deal="zoom"] { transform: scale(.93); }
[data-deal].dealt { opacity: 1; transform: none; }

/* ---------------------------------------------------------------
   14. BREADCRUMB / PAGE HERO
   --------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: clamp(3.4rem, 7vw, 5.6rem) 0 clamp(3rem, 6vw, 4.6rem);
  background: linear-gradient(165deg, var(--em-900) 0%, var(--tl-900) 55%, var(--em-950) 100%);
  border-bottom: 1px solid var(--hair);
  overflow: hidden;
  text-align: center;
}
.page-hero .shell { position: relative; z-index: 3; }
.page-hero h1 { margin-bottom: .8rem; }
.page-hero p { color: var(--ink-mut); max-width: 720px; margin-inline: auto; font-size: 1.05rem; }
.crumbs {
  display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem;
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-dim); margin-top: 1.4rem;
}
.crumbs a { color: var(--gd-400); }
.crumbs span { color: var(--gd-700); }

/* Fanned decorative cards in page hero */
.hero-fan {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 0;
  opacity: .10;
  pointer-events: none;
  z-index: 1;
}
.hero-fan i {
  display: block;
  width: 96px; height: 138px;
  border: 1px solid var(--gd-500);
  border-radius: 10px;
  margin-left: -34px;
  background: linear-gradient(150deg, rgba(201, 162, 39, .1), transparent);
}
.hero-fan i:nth-child(1) { transform: rotate(-22deg) translateY(16px); }
.hero-fan i:nth-child(2) { transform: rotate(-11deg) translateY(4px); }
.hero-fan i:nth-child(3) { transform: rotate(0deg); }
.hero-fan i:nth-child(4) { transform: rotate(11deg) translateY(4px); }
.hero-fan i:nth-child(5) { transform: rotate(22deg) translateY(16px); }

/* ---------------------------------------------------------------
   15. SHARED GRIDS
   --------------------------------------------------------------- */
/* Grid/flex items default to min-width:auto, which lets wide children (tables,
   rails, long words) blow a column out past the viewport. Never allow that. */
.grid > *, .hero-grid > *, .dl-grid > *, .gd-layout > *, .gd-grid > *,
.split > *, .contact-grid > *, .tables-grid > *, .stats-grid > *,
.deal-steps > *, .pillars > *, .endorse > *, .tg-duo > *, .lib-grid > * {
  min-width: 0;
}

.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* Feature card */
.feat {
  position: relative;
  padding: 1.7rem 1.5rem;
  border-radius: var(--r-card);
  border: 1px solid var(--hair);
  background: var(--grad-panel);
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s;
}
.feat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 0%, rgba(30, 122, 130, .22), transparent 65%);
  opacity: 0;
  transition: opacity .5s;
}
.feat:hover { transform: translateY(-7px); border-color: var(--hair-2); box-shadow: var(--sh-2), var(--glow-teal); }
.feat:hover::before { opacity: 1; }
.feat > * { position: relative; z-index: 2; }
.feat h3 { font-size: 1.18rem; margin-bottom: .5rem; }
.feat p { font-size: .93rem; color: var(--ink-mut); margin: 0; }
.feat-ico {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(201, 162, 39, .4);
  background: linear-gradient(140deg, rgba(201, 162, 39, .16), rgba(12, 58, 63, .5));
  color: var(--gd-300);
  margin-bottom: 1.1rem;
  transition: transform .5s var(--ease), box-shadow .4s;
}
.feat-ico svg { width: 26px; height: 26px; }
.feat:hover .feat-ico { transform: rotate(-8deg) scale(1.06); box-shadow: var(--glow-gold); }

/* ---------------------------------------------------------------
   16. TABLES / PROSE (legal + guide pages)
   --------------------------------------------------------------- */
.prose { max-width: 860px; }
.prose h2 { margin-top: 2.6rem; }
.prose h3 { margin-top: 1.9rem; color: var(--gd-200); font-family: var(--f-display); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-mut); }
.prose li::marker { color: var(--gd-600); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.tbl-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--hair); margin: 1.6rem 0; }
table.lux { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
table.lux th, table.lux td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid rgba(214, 231, 220, .08); }
table.lux thead th {
  background: rgba(11, 61, 46, .6);
  color: var(--gd-200);
  font-family: var(--f-royal);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
table.lux tbody tr:hover { background: rgba(30, 122, 130, .08); }
table.lux td { color: var(--ink-mut); }
table.lux tbody tr:last-child td { border-bottom: none; }

/* ---------------------------------------------------------------
   17. FAQ ACCORDION
   --------------------------------------------------------------- */
.faq { display: grid; gap: .8rem; }
.faq-item {
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  background: rgba(8, 42, 31, .45);
  overflow: hidden;
  transition: border-color .4s, box-shadow .4s, background .4s;
}
.faq-item.open { border-color: var(--hair-2); box-shadow: 0 0 0 1px rgba(201, 162, 39, .12), var(--sh-1); background: rgba(11, 61, 46, .5); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--f-display);
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.4;
}
.faq-q:hover { color: var(--gd-200); }
.faq-ico {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--gd-600);
  display: grid; place-items: center;
  color: var(--gd-300);
  font-size: 1rem;
  line-height: 1;
  transition: transform .4s var(--ease), background .4s;
}
.faq-item.open .faq-ico { transform: rotate(135deg); background: rgba(201, 162, 39, .2); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .55s var(--ease-out); }
.faq-a-in { padding: 0 1.3rem 1.25rem; color: var(--ink-mut); font-size: .95rem; }
.faq-a-in p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------
   18. TELEGRAM DUAL PANELS
   --------------------------------------------------------------- */
.tg-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.8rem); }
.tg-card {
  position: relative;
  padding: clamp(1.7rem, 3vw, 2.4rem);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--hair);
  transition: transform .5s var(--ease), box-shadow .5s, border-color .4s;
}
.tg-card:hover { transform: translateY(-6px); border-color: var(--hair-2); }
.tg-card--support {
  background: linear-gradient(155deg, rgba(12, 58, 63, .85), rgba(6, 39, 43, .92));
}
.tg-card--support:hover { box-shadow: var(--sh-2), 0 0 44px rgba(30, 122, 130, .38); }
.tg-card--club {
  background: linear-gradient(155deg, rgba(20, 84, 61, .8), rgba(6, 34, 26, .92));
}
.tg-card--club:hover { box-shadow: var(--sh-2), 0 0 44px rgba(201, 162, 39, .3); }
.tg-card > * { position: relative; z-index: 2; }
.tg-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-royal); font-size: .68rem; letter-spacing: .22em;
  text-transform: uppercase; margin-bottom: 1rem; font-weight: 600;
}
.tg-card--support .tg-badge { color: #6FD6DE; }
.tg-card--club .tg-badge { color: var(--gd-300); }
.tg-ico {
  width: 60px; height: 60px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 1.2rem;
  border: 1px solid rgba(201, 162, 39, .35);
}
.tg-card--support .tg-ico { background: linear-gradient(140deg, #229ED9, #0C3A3F); color: #fff; }
.tg-card--club .tg-ico { background: linear-gradient(140deg, var(--gd-600), var(--em-700)); color: var(--em-950); }
.tg-ico svg { width: 30px; height: 30px; }
.tg-card h3 { margin-bottom: .6rem; }
.tg-card p { color: var(--ink-mut); font-size: .95rem; }
.tg-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.1rem 0 1.4rem; }
.tg-meta span {
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .65rem; border-radius: 4px;
  background: rgba(4, 23, 14, .5); border: 1px solid rgba(214, 231, 220, .12);
  color: var(--ink-mut);
}
.tg-glyph {
  position: absolute; right: -18px; bottom: -26px;
  font-size: 9rem; opacity: .05; z-index: 1; line-height: 1;
  color: var(--gd-400); pointer-events: none;
}

/* ---------------------------------------------------------------
   19. GAME CARD — 3D flip to "Play Now"
   --------------------------------------------------------------- */
.gcard {
  position: relative;
  perspective: 1000px;
  border-radius: var(--r-card);
}
.gcard-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  transform-style: preserve-3d;
  transition: transform .75s var(--ease-out);
  border-radius: var(--r-card);
}
.gcard:hover .gcard-inner,
.gcard:focus-within .gcard-inner { transform: rotateY(180deg); }
.gcard-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--hair);
  box-shadow: var(--sh-1);
}
.gcard-face--front { background: linear-gradient(150deg, var(--em-800), var(--tl-900)); }
.gcard-face--front a { display: block; width: 100%; height: 100%; }
.gcard-face--front img { width: 100%; height: 100%; object-fit: cover; }
.gcard-face--back {
  transform: rotateY(180deg);
  background: linear-gradient(155deg, rgba(11, 61, 46, .96), rgba(6, 39, 43, .98));
  border-color: var(--hair-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: 1rem;
  text-align: center;
}
.gcard-face--back::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(201, 162, 39, .3);
  border-radius: 12px;
  pointer-events: none;
}
.gcard-face--back .g-suit { font-size: 1.5rem; color: var(--gd-500); opacity: .9; }
.gcard-face--back h4 { font-size: .98rem; margin: 0; line-height: 1.3; }
.gcard-face--back .tag { font-size: .6rem; }
.gcard-meta { padding: .7rem .2rem 0; }
.gcard-meta h4 {
  font-size: .92rem;
  margin: 0 0 .18rem;
  font-family: var(--f-body);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gcard-meta span { font-size: .72rem; color: var(--ink-dim); letter-spacing: .1em; text-transform: uppercase; }
.gcard-actions { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: center; }
.gcard-actions .btn { padding: .5rem 1rem; font-size: .68rem; }

/* Hot ribbon */
.gcard-hot {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 5;
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: .24rem .55rem;
  border-radius: 4px;
  background: var(--grad-gold-soft);
  color: var(--em-950);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .4);
}

/* ---------------------------------------------------------------
   20. FORMS
   --------------------------------------------------------------- */
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gd-300);
  margin-bottom: .5rem;
  font-weight: 600;
  font-family: var(--f-royal);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: .9rem 1.05rem;
  border-radius: var(--r-sm);
  border: 1px solid rgba(214, 231, 220, .14);
  background: rgba(4, 23, 14, .55);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: .95rem;
  transition: border-color .35s, box-shadow .35s, background .35s;
}
.field textarea { min-height: 148px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-dim); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gd-600);
  background: rgba(11, 61, 46, .45);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, .12);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gd-400) 50%), linear-gradient(135deg, var(--gd-400) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; cursor: pointer; }
.field select option { background: var(--em-900); color: var(--ink); }
.form-note { font-size: .82rem; color: var(--ink-dim); }
.form-ok {
  display: none;
  margin-top: 1rem;
  padding: .9rem 1.1rem;
  border-radius: var(--r-sm);
  border: 1px solid rgba(123, 227, 168, .35);
  background: rgba(28, 107, 78, .25);
  color: #9BEFC0;
  font-size: .9rem;
}
.form-ok.show { display: block; animation: dealIn .5s var(--ease-out); }
@keyframes dealIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------
   21. UTILITIES
   --------------------------------------------------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .6rem; }
.mt-2 { margin-top: 1.2rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 1.2rem; }
.mb-3 { margin-bottom: 2rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -60px; left: 12px; z-index: 9999;
  background: var(--gd-600); color: var(--em-950);
  padding: .7rem 1.2rem; border-radius: 0 0 8px 8px; font-weight: 700;
  transition: top .3s;
}
.skip-link:focus { top: 0; }

/* ---------------------------------------------------------------
   22. RESPONSIVE
   --------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav-links, .nav-cta .btn { display: none; }
  .burger { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --nav-h: 66px; --gut: 1.1rem; }
  .shell, .shell-wide, .shell-narrow { width: min(100% - 2.2rem, var(--shell)); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tg-duo { grid-template-columns: 1fr; }
  .brand img { height: 38px; max-width: 155px; }
  .topbar { display: none; }
  .sticky-cta .shell { gap: .7rem; }
  .sticky-cta-txt b { font-size: .95rem; }
  .sticky-cta-txt span { font-size: .68rem; }
  .sticky-cta .btn { padding: .78rem 1.2rem; font-size: .76rem; }
}

@media (max-width: 620px) {
  body { font-size: .97rem; }
  .shell, .shell-wide, .shell-narrow { width: min(100% - 1.8rem, var(--shell)); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-auto { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; }
  .foot-bottom { justify-content: center; text-align: center; }
  .btn { padding: .85rem 1.5rem; font-size: .84rem; }
  .btn--lg { padding: 1rem 1.8rem; font-size: .9rem; }
  .hero-fan i { width: 66px; height: 96px; }
}

/* ---------------------------------------------------------------
   23. NO-JAVASCRIPT FALLBACK
   The loader and the dealt-card reveals are JS-driven. Without JS the
   page must still render fully rather than sitting behind a blank overlay.
   --------------------------------------------------------------- */
html:not(.js) #loader { display: none; }
html:not(.js) [data-deal] { opacity: 1 !important; transform: none !important; }
html:not(.js) .drawer { display: none; }
html:not(.js) .lib-grid,
html:not(.js) .fan-rail { min-height: 0; }

/* ---------------------------------------------------------------
   24. REDUCED MOTION
   --------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-deal] { opacity: 1 !important; transform: none !important; }
  .gcard:hover .gcard-inner { transform: none; }
  .sheen::after, .btn::after { display: none; }
}
