/* =========================================================================
   ROYAL PANDA — Monochrome Minimal (boosted original)
   Near-black grounds, white & grey, generous air, crisp hairlines.
   No gold, no ornament. The panda is the only personality.
   Token NAMES kept stable so inline styles keep working; values are mono.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,300..800;1,400..600&display=swap');

:root {
  /* Grounds (near-black neutrals) */
  --lacquer-950: #050506;
  --lacquer-900: #0a0a0b;
  --lacquer-850: #101012;
  --jade-900:    #141416;
  --jade-800:    #1a1a1d;
  --jade-750:    #212125;
  --jade-700:    #2a2a2e;
  --jade-line:   rgba(255,255,255,0.12);

  /* "gold" remapped → white / greys (kept name for inline styles) */
  --gold-050: #ffffff;
  --gold-100: #f5f5f6;
  --gold-200: #e9e9eb;
  --gold-300: #d7d7da;
  --gold-400: #bcbcc0;
  --gold-500: #96969c;
  --gold-600: #6c6c72;
  --gold-700: #48484d;
  --gold-glow: rgba(255,255,255,0.14);

  /* "cinnabar" remapped → neutral chips (kept name) */
  --cinnabar-400: #dedee1;
  --cinnabar-500: #c4c4c8;
  --cinnabar-600: #26262a;
  --cinnabar-700: #1b1b1e;

  /* positive/live → light neutral */
  --jade-glow: #f2f2f4;
  --jade-glow-dim: #c4c4c8;

  /* functional error (the only hue on the page) */
  --error: #e0736a;

  /* Text */
  --ivory:     #f4f4f5;
  --ivory-dim: #b4b4b9;
  --ivory-mut: #76767c;
  --paper:     #f3f2ef;
  --paper-2:   #e9e7e2;
  --ink:       #0f0f11;
  --ink-dim:   #55555c;

  /* Semantic */
  --bg:        var(--lacquer-900);
  --bg-elev:   var(--lacquer-850);
  --surface:   var(--jade-900);
  --surface-2: var(--jade-800);
  --text:      var(--ivory);
  --text-dim:  var(--ivory-dim);
  --text-mut:  var(--ivory-mut);
  --accent:    #ffffff;
  --hair:      rgba(255,255,255,0.13);
  --hair-soft: rgba(255,255,255,0.07);

  /* Type */
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --tracking-cap: 0.18em;

  /* Radii */
  --r-sm: 5px;
  --r-md: 9px;
  --r-lg: 14px;
  --r-xl: 20px;

  /* Shadows — real offset + blur */
  --sh-1: 0 2px 10px rgba(0,0,0,0.4);
  --sh-2: 0 14px 40px rgba(0,0,0,0.5);
  --sh-3: 0 28px 70px rgba(0,0,0,0.6);
  --sh-gold: 0 10px 34px rgba(0,0,0,0.5);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(1.1rem, 4vw, 3rem);
  --header-h: 74px;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  background-image:
    radial-gradient(120% 90% at 50% -20%, rgba(255,255,255,0.05), transparent 55%),
    linear-gradient(180deg, var(--lacquer-900), var(--lacquer-950));
  background-attachment: fixed;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* Browser surfaces */
::selection { background: #ffffff; color: var(--lacquer-950); }
:focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; border-radius: 3px; }
* { scrollbar-color: var(--gold-600) transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--lacquer-950); }
::-webkit-scrollbar-thumb { background: var(--gold-700); border-radius: 20px; border: 2px solid var(--lacquer-950); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-600); }

/* =========================================================================
   Typography
   ========================================================================= */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; }
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.lead { font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: var(--text-dim); font-weight: 300; max-width: 60ch; letter-spacing: -0.01em; }
.prose { max-width: 68ch; }
.prose p + p { margin-top: 1em; }
.muted { color: var(--text-mut); }
.gold { color: var(--ivory); }
.cinnabar { color: var(--ivory-dim); }

.cap-label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--tracking-cap);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-mut);
}

/* Divider */
.rule-gilt { display: flex; align-items: center; gap: 0.9rem; color: var(--gold-500); }
.rule-gilt::before, .rule-gilt::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--hair), transparent); }
.rule-gilt .diamond { width: 6px; height: 6px; background: #ffffff; border-radius: 50%; }

/* =========================================================================
   Layout helpers
   ========================================================================= */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.6rem, 8vw, 6.5rem); position: relative; }
.section--tight { padding-block: clamp(2.4rem, 5vw, 3.5rem); }
.stack > * + * { margin-top: var(--stack, 1rem); }
.center { text-align: center; }
.section-head { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-head .lead { margin-top: 0.1rem; }
.between { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.section-head.between { flex-direction: row; align-items: flex-end; }
.section-head.between > div { display: flex; flex-direction: column; gap: 0.8rem; }

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  --btn-py: 0.82em; --btn-px: 1.5em;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: var(--btn-py) var(--btn-px);
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.01em;
  border: 1px solid transparent; border-radius: var(--r-md);
  position: relative; isolation: isolate; white-space: nowrap;
  transition: transform 0.25s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.25s, color 0.25s, border-color 0.25s, opacity .25s;
}
.btn:active { transform: translateY(1px); }
.btn--gold {
  color: var(--lacquer-950);
  background: #ffffff;
  box-shadow: var(--sh-1);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,0.5); background: var(--gold-100); }
.btn--ghost {
  color: var(--ivory);
  border-color: var(--hair);
  background: transparent;
}
.btn--ghost:hover { border-color: #ffffff; background: rgba(255,255,255,0.06); }
.btn--jade {
  color: var(--ivory);
  background: var(--jade-800);
  border-color: var(--jade-line);
}
.btn--jade:hover { border-color: rgba(255,255,255,0.4); background: var(--jade-750); transform: translateY(-2px); }
.btn--lg { --btn-py: 1.0em; --btn-px: 1.9em; font-size: 0.98rem; }
.btn--sm { --btn-py: 0.62em; --btn-px: 1.1em; font-size: 0.8rem; }
.btn--block { display: flex; width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; transform: none !important; box-shadow: none; }

.link-gold { color: var(--ivory); border-bottom: 1px solid var(--hair); padding-bottom: 1px; text-underline-offset: 4px; transition: border-color 0.25s, color 0.25s; }
.link-gold:hover { color: #fff; border-color: #fff; }

/* =========================================================================
   Seal / badge → neutral chip
   ========================================================================= */
.seal {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ivory-dim);
  padding: 0.4em 0.7em;
  border: 1px solid var(--hair);
  border-radius: 100px;
  background: rgba(255,255,255,0.03);
}
.seal--solid { color: var(--lacquer-950); background: #ffffff; border-color: #fff; box-shadow: var(--sh-1); }
.seal .dot { width: 5px; height: 5px; background: currentColor; border-radius: 50%; }

.frame-gilt { position: relative; border: 1px solid var(--hair); border-radius: var(--r-lg); }

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(16px) saturate(1.05);
  background: linear-gradient(180deg, rgba(10,10,11,0.9), rgba(10,10,11,0.6));
  border-bottom: 1px solid var(--hair-soft);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 1.6rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; flex-shrink: 0; }
.brand__mark { width: 40px; height: 40px; }
.brand__word { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; color: #fff; text-transform: none; line-height: 1; }
.brand__word small { display:block; font-size: 0.6rem; letter-spacing: 0.24em; color: var(--gold-500); margin-top: 3px; font-weight: 500; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 0.2rem; margin-left: 0.5rem; }
.main-nav a {
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 500; letter-spacing: 0.01em;
  color: var(--ivory-dim); padding: 0.55em 0.85em; border-radius: var(--r-sm); position: relative;
  transition: color 0.25s;
}
.main-nav a::after { content:""; position:absolute; left: 0.85em; right: 0.85em; bottom: 0.4em; height: 1px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease-out); }
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 0.7rem; margin-left: auto; }
.header-balance { display:none; align-items:center; gap:0.5rem; font-family: var(--font-display); font-size: 0.9rem; font-weight:600; color: #fff; padding: 0.4em 0.8em; border:1px solid var(--hair); border-radius: var(--r-md); background: rgba(255,255,255,0.03); transition: border-color .2s; font-variant-numeric: tabular-nums; }
.header-balance:hover { border-color: rgba(255,255,255,0.4); }
.header-balance .coin { color: var(--ivory-mut); }
@media (min-width: 720px) { .header-balance { display: inline-flex; } }
.icon-btn { width: 42px; height: 42px; display:inline-flex; align-items:center; justify-content:center; border-radius:var(--r-sm); border:1px solid transparent; background: transparent; color: var(--ivory-dim); transition: color .2s, border-color .2s, background .2s; }
.icon-btn:hover { color: #fff; border-color: var(--hair); background: rgba(255,255,255,0.05); }
.nav-toggle { display: none; }

/* Mobile drawer */
.mobile-drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.mobile-drawer[data-open="true"] { visibility: visible; }
.mobile-drawer__scrim { position:absolute; inset:0; background: rgba(0,0,0,0.7); backdrop-filter: blur(4px); opacity:0; transition: opacity .35s; }
.mobile-drawer[data-open="true"] .mobile-drawer__scrim { opacity: 1; }
.mobile-drawer__panel { position:absolute; top:0; right:0; height:100%; width: min(84vw, 360px); background: var(--lacquer-900); border-left: 1px solid var(--hair); box-shadow: var(--sh-3); transform: translateX(100%); transition: transform .4s var(--ease-out); padding: 1.4rem; display:flex; flex-direction:column; gap: 0.2rem; overflow-y:auto; }
.mobile-drawer[data-open="true"] .mobile-drawer__panel { transform: translateX(0); }
.mobile-drawer a { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; padding: 0.85em 0.4em; border-bottom: 1px solid var(--hair-soft); color: var(--ivory); }
.mobile-drawer a:hover { color: #fff; }
.mobile-drawer .drawer-head { display:flex; align-items:center; justify-content:space-between; margin-bottom: 0.8rem; }

/* =========================================================================
   Cards & tiles
   ========================================================================= */
.card { background: var(--surface); border: 1px solid var(--hair-soft); border-radius: var(--r-lg); box-shadow: var(--sh-1); }

.game-grid { display: grid; gap: clamp(0.7rem, 1.4vw, 1.05rem); grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); }
.game-grid--lg { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

.tile {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  aspect-ratio: 3 / 4; isolation: isolate;
  border: 1px solid var(--hair-soft);
  background: var(--jade-800);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s;
}
.tile__art { position:absolute; inset:0; z-index:0; }
.tile__art svg { width:100%; height:100%; }
.tile__cover { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; background:var(--jade-800); }

/* Cover montage (hero / auth visual) */
.cover-montage { display:grid; grid-template-columns:repeat(3,1fr); gap:.7rem; width:100%; max-width:460px; margin-inline:auto;
  -webkit-mask: radial-gradient(125% 88% at 50% 42%, #000 52%, transparent 90%);
  mask: radial-gradient(125% 88% at 50% 42%, #000 52%, transparent 90%); }
.cm-col { display:flex; flex-direction:column; gap:.7rem; }
.cm-col--1 { transform: translateY(-26px); }
.cm-col--2 { transform: translateY(10px); }
.cm-tile { border-radius:11px; overflow:hidden; border:1px solid var(--hair); aspect-ratio:3/4; box-shadow:var(--sh-1); background:var(--jade-800); }
.cm-tile img { width:100%; height:100%; object-fit:cover; }
.brand-mark-lg { display:grid; place-items:center; opacity:.9; }
.tile__glow { position:absolute; inset:0; z-index:1; background: radial-gradient(120% 90% at 50% 120%, rgba(0,0,0,0.85), transparent 60%); }
.tile__body { position:absolute; left:0; right:0; bottom:0; z-index:2; padding: 0.75rem 0.8rem; }
.tile__name { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: #fff; line-height: 1.15; letter-spacing: -0.01em; }
.tile__provider { font-size: 0.72rem; color: var(--ivory-mut); margin-top: 2px; }
.tile__tag { position:absolute; top: 0.6rem; left: 0.6rem; z-index: 3; }
.tile__fav { position:absolute; top: 0.5rem; right: 0.5rem; z-index: 3; width: 36px; height: 36px; border-radius: 50%; display:flex; align-items:center; justify-content:center; background: rgba(0,0,0,0.5); border:1px solid var(--hair-soft); color: var(--ivory-dim); opacity: 0; transform: translateY(-4px); transition: all .3s var(--ease-out); }
.tile__play { position:absolute; inset:0; z-index:4; display:flex; align-items:center; justify-content:center; opacity:0; transition: opacity .35s; }
.tile__play .play-disc { width: 56px; height: 56px; border-radius:50%; background: #fff; display:flex; align-items:center; justify-content:center; color: var(--lacquer-950); box-shadow: 0 10px 30px rgba(0,0,0,0.6); transform: scale(0.8); transition: transform .35s var(--ease-out); }
.tile:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: rgba(255,255,255,0.35); }
.tile:hover .tile__play { opacity: 1; }
.tile:hover .tile__play .play-disc { transform: scale(1); }
.tile:hover .tile__fav, .tile:focus-within .tile__fav, .tile__fav:focus-visible { opacity: 1; transform: translateY(0); }
.tile__fav.is-fav { color: #fff; opacity: 1; border-color: rgba(255,255,255,0.4); }
@media (hover: none) { .tile__fav { opacity: 1; transform: none; } }

.feature-card { position: relative; overflow: hidden; border-radius: var(--r-xl); border: 1px solid var(--hair); min-height: 340px; display: flex; align-items: flex-end; background: var(--jade-800); box-shadow: var(--sh-1); }
.feature-card__art { position:absolute; inset:0; z-index:0; }
.feature-card__scrim { position:absolute; inset:0; z-index:1; background: linear-gradient(180deg, rgba(10,10,11,0.1), rgba(10,10,11,0.55) 55%, rgba(10,10,11,0.92)); }
.feature-card__body { position:relative; z-index:2; padding: clamp(1.4rem, 3vw, 2.2rem); }
.feature-card__body h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); color: #fff; }

/* =========================================================================
   Totem — mono seven-segment counter
   ========================================================================= */
.totem { display: inline-flex; gap: 0.28rem; align-items: stretch; }
.totem__cell {
  position: relative;
  width: clamp(30px, 6vw, 52px); height: clamp(48px, 10vw, 82px);
  border-radius: 6px;
  background: linear-gradient(180deg, #131315, #0a0a0b);
  border: 1px solid var(--hair);
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.8);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 5vw, 3.1rem);
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
}
.totem__cell::before { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(255,255,255,0.07), transparent 45%); pointer-events:none; }
.totem__sep { align-self: flex-end; margin-bottom: 0.12em; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem,3.2vw,2.4rem); color: var(--gold-400); padding-inline: 0.04em; }
.totem--sm .totem__cell { width: clamp(20px,4vw,30px); height: clamp(30px,6vw,46px); font-size: clamp(1.1rem,3vw,1.8rem); border-radius: 5px; }
.totem--sm .totem__sep { font-size: clamp(1rem,2.4vw,1.5rem); }

/* =========================================================================
   Trust strip
   ========================================================================= */
.trust-strip { display:flex; align-items:center; gap: clamp(1.5rem, 4vw, 3rem); flex-wrap: wrap; justify-content:center; }
.trust-strip .prov { color: var(--ivory-mut); font-family: var(--font-display); font-weight:600; letter-spacing: -0.01em; font-size: 0.92rem; transition: color .3s; white-space:nowrap; }
.trust-strip .prov:hover { color: #fff; }

/* =========================================================================
   Category pills
   ========================================================================= */
.cat-row { display:flex; gap: 0.55rem; flex-wrap: wrap; }
.pill {
  display:inline-flex; align-items:center; gap:0.5em;
  font-family: var(--font-display); font-size: 0.83rem; font-weight: 500; letter-spacing: -0.01em;
  padding: 0.58em 1.05em; border-radius: 100px;
  border: 1px solid var(--hair); color: var(--ivory-dim);
  background: transparent; transition: all .25s var(--ease-out); white-space: nowrap;
}
.pill:hover { color: #fff; border-color: rgba(255,255,255,0.4); }
.pill[aria-pressed="true"], .pill.is-active { color: var(--lacquer-950); background: #fff; border-color: #fff; }
.pill .count { font-size: 0.72rem; opacity: 0.6; }

/* =========================================================================
   Steps
   ========================================================================= */
.steps { display:grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
.step { position: relative; padding: 1.8rem 1.4rem; }
.step__num { font-family: var(--font-display); font-size: 3.2rem; font-weight: 800; color: transparent; -webkit-text-stroke: 1px var(--gold-600); line-height: 1; letter-spacing: -0.04em; }
.step h3 { margin-top: 0.6rem; font-size: 1.25rem; color: #fff; }
.step p { color: var(--text-dim); margin-top: 0.5rem; font-weight: 300; }
.step:not(:last-child)::after { content:""; position:absolute; right: -0.5rem; top: 2.2rem; width: 1rem; height: 1px; background: var(--hair); }

/* =========================================================================
   Hero
   ========================================================================= */
.hero { position: relative; overflow: hidden; padding-block: clamp(2rem, 5vw, 3.8rem) clamp(3rem, 6vw, 5rem); }
.hero__grid { display:grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero__panda { position: relative; align-self: stretch; display:flex; align-items:center; justify-content:center; min-height: 420px; }
.hero__copy { max-width: 34rem; }
.hero__offer { font-family: var(--font-display); font-weight: 800; line-height: 0.96; letter-spacing: -0.04em; font-size: clamp(2.7rem, 6vw, 5rem); color: #fff; }
.hero__offer .amt { display:block; color: #fff; }
.hero__sub { margin-top: 1.2rem; font-size: 1.12rem; color: var(--text-dim); font-weight: 300; letter-spacing: -0.01em; }
.hero__cta { margin-top: 1.9rem; display:flex; gap: 0.9rem; flex-wrap: wrap; align-items:center; }
.hero__terms { margin-top: 1rem; font-size: 0.8rem; color: var(--text-mut); }
.hero__panel {
  position: relative; margin-top: 1.9rem; padding: 1.1rem 1.2rem;
  border: 1px solid var(--hair); border-radius: var(--r-lg);
  background: rgba(255,255,255,0.02);
  display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap;
}
.hero__panel .jack-label { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.66rem; color: var(--text-mut); font-weight:600; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { position: relative; margin-top: 3rem; border-top: 1px solid var(--hair-soft); background: var(--lacquer-950); }
.footer-top { display:grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(1.5rem,3vw,2.5rem); padding-block: clamp(2.5rem,5vw,3.5rem); }
.footer-brand .brand__word { font-size: 1.25rem; }
.footer-col h4 { font-family: var(--font-display); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-mut); margin-bottom: 1rem; font-weight:600; }
.footer-col a { display:block; color: var(--ivory-mut); padding: 0.32em 0; font-size: 0.92rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--hair-soft); padding-block: 1.6rem; display:flex; flex-direction: column; gap: 1rem; }
.footer-legal { font-size: 0.78rem; color: var(--text-mut); line-height: 1.7; max-width: 100%; }
.footer-badges { display:flex; align-items:center; gap: 1.2rem; flex-wrap:wrap; color: var(--ivory-mut); }
.footer-badges .rg { display:inline-flex; align-items:center; gap:0.5rem; font-family:var(--font-display); font-weight:600; letter-spacing:0.02em; font-size:0.8rem; color: #fff; border:1px solid var(--hair); padding:0.4em 0.7em; border-radius: var(--r-sm); }
.pay-icons { display:flex; align-items:center; gap: 0.9rem; flex-wrap: wrap; }
.pay-icons .pay { height: 26px; opacity: 0.7; transition: opacity .25s; }
.pay-icons .pay:hover { opacity: 1; }

.age-badge { display:inline-flex; align-items:center; justify-content:center; width: 40px; height:40px; border-radius:50%; border: 1.5px solid var(--gold-500); color: var(--ivory); font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; }
.age-badge--lg { width: 46px; height: 46px; font-size: 0.92rem; border-color: #fff; }

/* Compliance badge row — all logos are light versions, shown on the dark footer */
.footer-compliance { display:flex; align-items:center; gap: 1.8rem; flex-wrap: wrap; padding-block: 1.8rem; border-top: 1px solid var(--hair-soft); }
.footer-compliance .cbadge-img { height: 26px; width:auto; opacity: .82; transition: opacity .2s; }
.footer-compliance .cbadge-img:hover { opacity: 1; }
.footer-compliance .cbadge-svg { height: 26px; width:auto; color:#fff; opacity:.9; }
.footer-compliance .age-badge--lg { flex-shrink:0; }
@media (max-width:620px){ .footer-compliance { gap:1.2rem; } .footer-compliance .cbadge-img, .footer-compliance .cbadge-svg { height:22px; } }

/* Legal / long-form doc pages */
.doc-grid { display:grid; grid-template-columns:230px 1fr; gap:clamp(1.5rem,4vw,3.5rem); align-items:start; }
.doc-toc { position:sticky; top:calc(var(--header-h) + 1rem); }
.doc-toc a { display:block; padding:.5em .8em; border-radius:var(--r-sm); color:var(--ivory-mut); font-family:var(--font-display); font-size:.85rem; font-weight:500; letter-spacing:-0.01em; border-left:1px solid transparent; }
.doc-toc a:hover { color:#fff; border-color:var(--hair); }
.doc { max-width: 74ch; }
.doc h2 { font-size:clamp(1.4rem,2.6vw,1.9rem); color:#fff; margin-top:2.6rem; scroll-margin-top:calc(var(--header-h) + 1rem); letter-spacing:-0.02em; }
.doc h2:first-of-type { margin-top:0; }
.doc h3 { font-size:1.1rem; color:var(--ivory); margin-top:1.6rem; }
.doc p, .doc li { color:var(--text-dim); font-weight:300; }
.doc p { margin-top:.8rem; } .doc ul { margin-top:.8rem; } .doc li { padding-left:1.4rem; position:relative; margin-top:.5rem; }
.doc li::before { content:""; position:absolute; left:0; top:.62em; width:5px; height:5px; background:var(--gold-500); border-radius:50%; }
.doc strong { color: var(--ivory); font-weight:600; }
.doc .callout { margin-top:1.4rem; padding:1.1rem 1.3rem; border:1px solid var(--hair); border-radius:var(--r-md); background:rgba(255,255,255,0.03); }
.doc .callout p { margin-top:.3rem; }
.doc .updated { color:var(--text-mut); font-size:.85rem; margin-top:.4rem; }
.tool-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1rem; margin-top:1.2rem; }
.tool { padding:1.4rem; border-radius:var(--r-lg); border:1px solid var(--hair-soft); background:var(--surface); }
.tool h3 { margin-top:.6rem; }
@media (max-width:820px){ .doc-grid{ grid-template-columns:1fr; } .doc-toc{ position:static; display:none; } }

/* =========================================================================
   Forms & auth
   ========================================================================= */
.field { display:flex; flex-direction: column; gap: 0.45rem; }
.field label { font-family: var(--font-display); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ivory-dim); font-weight:600; }
.field input, .field select,
.frame-gilt input, .frame-gilt select {
  width: 100%; padding: 0.85em 1em;
  background: rgba(255,255,255,0.03); color: var(--ivory);
  border: 1px solid var(--hair); border-radius: var(--r-md);
  font-family: var(--font-body); font-size: 1rem;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field select, .frame-gilt select {
  -webkit-appearance: none; appearance: none;
  padding-right: 2.4em; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23bcbcc0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9em center;
}
.field select option, .frame-gilt select option { background: var(--lacquer-900); color: var(--ivory); }
.field input::placeholder, .frame-gilt input::placeholder { color: var(--ink-dim); color: #6a6a70; }
.field input:focus, .field select:focus,
.frame-gilt input:focus, .frame-gilt select:focus { outline: none; border-color: #ffffff; box-shadow: 0 0 0 3px rgba(255,255,255,0.12); background: rgba(255,255,255,0.05); }
.field input[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px rgba(224,115,106,0.15); }
.err { color: var(--error); font-size: 0.82rem; }
.field .err { color: var(--error); font-size: 0.82rem; min-height: 0; }
.field .hint { color: var(--text-mut); font-size: 0.82rem; }
.input-wrap { position: relative; }
.input-wrap .toggle-pass { position:absolute; right: 0.6rem; top: 50%; transform: translateY(-50%); background:none; border:none; color: var(--ivory-mut); padding: 0.4rem; }
.input-wrap .toggle-pass:hover { color: #fff; }
.check { display:flex; align-items:flex-start; gap: 0.7rem; font-size: 0.9rem; color: var(--text-dim); cursor:pointer; }
.check input { width: 1.15rem; height: 1.15rem; accent-color: #ffffff; margin-top: 0.15rem; flex-shrink:0; }

.auth-shell { min-height: calc(100vh - var(--header-h)); display:grid; grid-template-columns: 1fr 1fr; }
.auth-aside { position: relative; overflow: hidden; padding: clamp(2rem,5vw,4rem); display:flex; flex-direction:column; justify-content:space-between; border-right: 1px solid var(--hair); background: linear-gradient(200deg, var(--jade-800), var(--lacquer-950)); }
.auth-main { display:flex; align-items:center; justify-content:center; padding: clamp(1.6rem,4vw,3.5rem); }
.auth-form { width: 100%; max-width: 26rem; }
.auth-form h1 { font-size: clamp(1.8rem,3vw,2.4rem); color: #fff; }
.strength { height: 5px; border-radius: 3px; background: rgba(255,255,255,0.08); overflow: hidden; margin-top: 0.3rem; }
.strength > i { display:block; height:100%; width: 100%; transform: scaleX(0); transform-origin: left; background: var(--error); transition: transform .35s var(--ease-out), background .35s; border-radius:3px; }

/* Toast */
.toast-host { position: fixed; bottom: 1.4rem; left: 50%; transform: translateX(-50%); z-index: 400; display:flex; flex-direction:column; gap: 0.6rem; align-items:center; width: min(92vw, 420px); }
.toast { width:100%; display:flex; align-items:center; gap: 0.8rem; padding: 0.9rem 1.1rem; border-radius: var(--r-md); background: var(--jade-800); border:1px solid var(--hair); box-shadow: var(--sh-3); color: var(--ivory); transform: translateY(20px); opacity:0; transition: all .4s var(--ease-out); }
.toast.show { transform: translateY(0); opacity: 1; }
.toast .ico { color: #fff; flex-shrink:0; }
.toast--err { border-color: var(--error); }
.toast--err .ico { color: var(--error); }

/* =========================================================================
   Account
   ========================================================================= */
.acct-grid { display:grid; grid-template-columns: 280px 1fr; gap: clamp(1.2rem,3vw,2.2rem); align-items:start; }
.acct-side { position: sticky; top: calc(var(--header-h) + 1rem); }
.acct-nav a { display:flex; align-items:center; gap:0.7rem; padding: 0.75em 0.9em; border-radius: var(--r-md); color: var(--ivory-dim); font-family: var(--font-display); font-size: 0.9rem; font-weight:500; letter-spacing: -0.01em; transition: all .2s; position: relative; }
.acct-nav a:hover { color: #fff; background: rgba(255,255,255,0.04); }
.acct-nav a.is-active { color: #fff; background: rgba(255,255,255,0.06); }
.acct-nav a.is-active::before { content:""; position:absolute; left:2px; top:24%; bottom:24%; width:3px; border-radius:3px; background: #fff; }
.balance-card { padding: clamp(1.4rem,3vw,2rem); border-radius: var(--r-xl); background: linear-gradient(160deg, var(--jade-750), var(--jade-900)); border:1px solid var(--hair); box-shadow: var(--sh-2); position:relative; overflow:hidden; }
.balance-card .bal-amt { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem,5vw,3.6rem); color: #fff; line-height:1; letter-spacing:-0.04em; font-variant-numeric: tabular-nums; }
.stat-tiles { display:grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 1rem; }
.stat-tile { padding: 1.1rem 1.2rem; border-radius: var(--r-lg); border:1px solid var(--hair-soft); background: var(--surface); }
.stat-tile .v { font-family: var(--font-display); font-size: 1.7rem; font-weight:700; color: #fff; font-variant-numeric: tabular-nums; letter-spacing:-0.02em; }
.stat-tile .k { font-size: 0.8rem; color: var(--text-mut); letter-spacing: 0.02em; }

.table-royal { width:100%; border-collapse: collapse; font-size: 0.92rem; }
.table-royal th { text-align:left; font-family:var(--font-display); font-size:0.7rem; text-transform:uppercase; letter-spacing:0.12em; color: var(--text-mut); padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--hair); font-weight:600; }
.table-royal td { padding: 0.85rem 0.9rem; border-bottom: 1px solid var(--hair-soft); color: var(--text-dim); font-variant-numeric: tabular-nums; }
.table-royal tr:hover td { background: rgba(255,255,255,0.03); }
.amt-pos { color: #fff; } .amt-neg { color: var(--ivory-mut); }

/* =========================================================================
   Promo cards
   ========================================================================= */
.promo-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: clamp(1rem,2vw,1.6rem); }
.promo { position:relative; overflow:hidden; border-radius: var(--r-xl); border:1px solid var(--hair); min-height: 300px; display:flex; flex-direction:column; justify-content:flex-end; background: var(--jade-800); box-shadow: var(--sh-1); transition: transform .4s var(--ease-out), box-shadow .4s, border-color .3s; }
.promo:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: rgba(255,255,255,0.3); }
.promo__art { position:absolute; inset:0; z-index:0; }
.promo__scrim { position:absolute; inset:0; z-index:1; background: linear-gradient(180deg, transparent 30%, rgba(10,10,11,0.88)); }
.promo__body { position:relative; z-index:2; padding: clamp(1.3rem,2.5vw,1.8rem); }
.promo__body h3 { font-size: 1.5rem; color: #fff; }
.promo__body p { color: var(--text-dim); margin-top: 0.4rem; font-weight:300; }
.promo__tag { position:absolute; top:1rem; left:1rem; z-index:3; }

/* =========================================================================
   Live tables
   ========================================================================= */
.live-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: clamp(0.9rem,2vw,1.4rem); }
.live-card { position:relative; overflow:hidden; border-radius: var(--r-lg); border:1px solid var(--hair-soft); background: var(--surface); aspect-ratio: 4/3; box-shadow: var(--sh-1); transition: transform .4s var(--ease-out), box-shadow .4s, border-color .3s; }
.live-card:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: rgba(255,255,255,0.35); }
.live-card__art { position:absolute; inset:0; z-index:0; }
.live-card__scrim { position:absolute; inset:0; z-index:1; background: linear-gradient(180deg, rgba(10,10,11,0.1), rgba(10,10,11,0.82)); }
.live-card__body { position:absolute; inset:0; z-index:2; padding: 1rem; display:flex; flex-direction:column; justify-content:space-between; }
.live-badge { display:inline-flex; align-items:center; gap:0.45em; font-family:var(--font-display); font-size:0.66rem; letter-spacing:0.12em; text-transform:uppercase; color: #fff; background: rgba(0,0,0,0.55); border:1px solid var(--hair); padding:0.35em 0.7em; border-radius: 100px; font-weight:600; }
.live-badge .pulse { width:7px; height:7px; border-radius:50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,0.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(255,255,255,0.55);} 70%{box-shadow:0 0 0 8px rgba(255,255,255,0);} 100%{box-shadow:0 0 0 0 rgba(255,255,255,0);} }
.live-card__name { font-family:var(--font-display); font-weight:700; font-size:1.15rem; color: #fff; letter-spacing:-0.02em; }
.live-card__meta { font-size:0.8rem; color: var(--ivory-dim); }
.live-card__seats { display:flex; align-items:center; gap:0.35rem; margin-top:0.4rem; }
.seat { width:8px; height:8px; border-radius:50%; background: var(--gold-700); }
.seat.taken { background: #fff; }

/* =========================================================================
   FAQ accordion
   ========================================================================= */
.faq { border-top: 1px solid var(--hair-soft); }
.faq details { border-bottom: 1px solid var(--hair-soft); }
.faq summary { list-style: none; cursor: pointer; padding: 1.3rem 0.2rem 1.3rem 0; display:flex; align-items:center; justify-content:space-between; gap:1rem; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: #fff; transition: color .2s; letter-spacing:-0.01em; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary:hover { color: var(--ivory-dim); }
.faq summary .chev { flex-shrink:0; color: var(--ivory-mut); transition: transform .3s var(--ease-out); }
.faq details[open] summary .chev { transform: rotate(45deg); }
.faq .faq-body { padding: 0 2.5rem 1.4rem 0; color: var(--text-dim); font-weight: 300; max-width: 72ch; }
.faq details[open] .faq-body { animation: fadeUp .4s var(--ease-out); }

/* =========================================================================
   Reveal
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal--scale { transform: translateY(22px) scale(0.97); }
.reveal--scale.in { transform: none; }
@keyframes fadeUp { from{opacity:0; transform: translateY(10px);} to{opacity:1; transform:none;} }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity:1 !important; transform:none !important; transition:none; }
  .live-badge .pulse { animation: none; }
  * { animation-duration: 0.001ms !important; }
  .tile:hover, .promo:hover, .live-card:hover, .btn:hover, .btn--gold:hover, .btn--jade:hover { transform: none; }
}
/* Touch devices fire a sticky false :hover on tap — don't leave elements lifted */
@media (hover: none) {
  .tile:hover, .promo:hover, .live-card:hover, .feature-card:hover,
  .btn:hover, .btn--gold:hover, .btn--jade:hover, .btn--ghost:hover, .pill:hover { transform: none; }
}

/* =========================================================================
   Paper (light) section — B&W contrast
   ========================================================================= */
.section--paper { background: var(--paper); color: var(--ink); }
.section--paper h2, .section--paper h3 { color: var(--ink); }
.section--paper .lead, .section--paper p { color: var(--ink-dim); }
.section--paper .cap-label { color: var(--ink-dim); }
.section--paper .faq summary { color: var(--ink); }
.section--paper .faq { border-color: rgba(15,15,17,0.14); }
.section--paper .faq details { border-color: rgba(15,15,17,0.12); }
.section--paper .faq .faq-body { color: var(--ink-dim); }
.section--paper .faq summary .chev { color: var(--ink-dim); }
.section--paper .faq summary:hover { color: #444; }

.screen-fold { height: 1px; background: var(--hair-soft); }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 940px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panda { min-height: 300px; order: -1; }
  .acct-grid { grid-template-columns: 1fr; }
  .acct-side { position: static; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
}
@media (max-width: 620px) {
  :root { --header-h: 62px; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display:none; }
  .footer-top { grid-template-columns: 1fr; }
  .between { align-items: flex-start; }
  .header-inner { gap: 0.5rem; }
  .header-actions { gap: 0.35rem; }
  .header-actions .btn--ghost { display: none; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__word { font-size: 0.98rem; }
  .brand__word small { display: none; }
  .game-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}
.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; }
