/* =====================================================================================================
   ROYAL VELVET (light "ivory" edition) - the single design language of the game landing pages.
   Luxury  = warm ivory surfaces, gold rims and ornaments, royal purple titles, calm spacing, one type scale.
   (The previous dark edition is kept in the .tmp/backup-dark-HHMM folders - same classes, only tokens/surfaces differ.)
   Playful = 3D "physical" buttons, springy hovers, pop-in reveals, real game art with rotating sunbursts.

   Building blocks (use these, don't invent new ones):
     .sec / .sec--band ...... section rhythm (band = slightly lighter velvet with gold hairlines)
     .sec-head .............. ornament + kicker + gold title + subtitle (every section starts with it)
     .lux ................... velvet card with a gold rim (all cards are .lux + a modifier)
     .art ................... game art on a rotating sunburst
     .ribbon ................ tilted ruby label across a card
     .btn-game--* ........... play (green) / gold (store, primary) / ruby (deals) / ghost (secondary)
     .gem ................... gold-rimmed icon badge
   Motion: data-reveal="pop|up|down" + --d (see bottom). Fonts: @font-face in views/partials/head.ejs.
   ===================================================================================================== */

:root {
  /* Velvet */
  --night: #fbf4ea;          /* page background (ivory) */
  --night-2: #f4e7d4;
  --velvet: #ffffff;         /* card top */
  --velvet-2: #2a1147;       /* deep plum - text on gold */
  --velvet-hi: #fff8ee;      /* card bottom */
  --plum: #4a1c8c;
  --plum-hi: #8a4dff;
  --edge: #ead7bd;           /* hard "3D" card edge */
  --shadow-soft: 0 18px 40px rgba(90, 50, 20, 0.12);
  /* Gold */
  --gold-hi: #fff4b8;
  --gold: #ffd34d;
  --gold-mid: #f0a81a;
  --gold-lo: #a8630a;
  --gold-rim: linear-gradient(160deg, #fff0a8 0%, #d9951c 30%, #ffd75e 55%, #8f520a 100%);
  /* Accents */
  --emerald: #4ee05a;
  --emerald-lo: #1d8f2a;
  --ruby: #ff3d6e;
  --ruby-lo: #a3103a;
  --sapphire: #45a6ff;
  --sapphire-lo: #1449b8;
  /* Text */
  --ink: #2a1147;
  --ink-soft: #6c5a85;
  --ink-dim: #9a88b0;
  --gold-ink: #a8620a;       /* gold that is readable on ivory */
  /* Shape & motion */
  --r-lg: 26px;
  --r-md: 20px;
  --depth: 0 8px 0 var(--edge);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-spring-back: cubic-bezier(0.2, 1.9, 0.6, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  /* Bootstrap */
  --bs-body-bg: var(--night);
  --bs-body-color: var(--ink);
  --bs-body-font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-link-color: var(--plum);
  --bs-link-color-rgb: 74, 28, 140;
  --bs-link-hover-color: #e0287a;
  --bs-link-hover-color-rgb: 224, 40, 122;
  --bs-secondary-color: var(--ink-soft);
  --bs-border-color: rgba(168, 98, 10, 0.2);
}

html { scroll-padding-top: 6rem; }
body {
  font-family: var(--bs-body-font-family);
  font-weight: 500;
  overflow-x: hidden;
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(255, 61, 110, 0.10), transparent 60%),
    radial-gradient(1000px 800px at -10% 30%, rgba(138, 77, 255, 0.10), transparent 60%),
    var(--night);
}
/* Faint card-suit pattern over the whole page (velvet texture) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%234a1c8c'%3E%3Cpath d='M30 14c-6 8-14 12-14 19a7 7 0 0 0 12 5c-1 4-3 6-5 8h14c-2-2-4-4-5-8a7 7 0 0 0 12-5c0-7-8-11-14-19z'/%3E%3Cpath d='M90 74c-3-6-13-6-13 2 0 7 13 14 13 18 0-4 13-11 13-18 0-8-10-8-13-2z'/%3E%3C/g%3E%3C/svg%3E");
}
::selection { background: var(--gold); color: var(--ink); }
.text-secondary { color: var(--ink-soft) !important; }
a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; }

/* ---------- Typography ---------- */
h1, h2, .h1, .h2, .display, .btn-game, .font-display { font-family: "Lilita One", "Nunito", system-ui, sans-serif; font-weight: 400; letter-spacing: 0.01em; }
h3, h4, h5, .h3, .h4, .h5, .h6 { font-weight: 900; color: var(--ink); }
.gold-text { /* name kept for the template API: royal purple title with a gold hard shadow */
  background: linear-gradient(180deg, var(--plum-hi) 0%, #6a2fd0 45%, var(--plum) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--plum);
  filter: drop-shadow(0 3px 0 var(--gold)) drop-shadow(0 8px 14px rgba(74, 28, 140, 0.18));
}
.lead-soft { color: var(--ink-soft); font-size: 1.15rem; }

/* ---------- Section rhythm ---------- */
.sec { position: relative; padding: 6rem 0; isolation: isolate; }
.sec--tight { padding: 4rem 0; }
.sec--band {
  background: linear-gradient(180deg, rgba(255, 236, 205, 0.55), rgba(250, 226, 238, 0.45));
  border-top: 1px solid rgba(201, 138, 0, 0.25);
  border-bottom: 1px solid rgba(201, 138, 0, 0.25);
}
@media (max-width: 767.98px) { .sec { padding: 4.25rem 0; } }

/* Section head: ornament + kicker + title + subtitle */
.sec-head { text-align: center; max-width: 44rem; margin: 0 auto 3rem; }
.sec-head--left { text-align: left; margin-left: 0; }
.orn { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--gold-mid); margin-bottom: 0.6rem; }
.orn::before, .orn::after { content: ""; width: 3.5rem; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--gold-mid)); }
.orn::after { background: linear-gradient(90deg, var(--gold-mid), transparent); }
.orn .bi { width: 1.1rem; height: 1.1rem; filter: drop-shadow(0 0 6px rgba(255, 211, 77, 0.6)); }
.kicker { display: block; font-weight: 900; font-size: 0.85rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 0.4rem; }
.sec-title { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.02; text-transform: uppercase; margin-bottom: 0.75rem; }
.sec-sub { color: var(--ink-soft); font-size: 1.12rem; margin: 0; }

/* ---------- Lux card (velvet + gold rim) ---------- */
.lux {
  position: relative;
  height: 100%;
  border: 2px solid transparent;
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, var(--velvet) 0%, var(--velvet-hi) 100%) padding-box,
    var(--gold-rim) border-box;
  box-shadow: var(--depth), var(--shadow-soft), inset 0 1px 0 #fff;
  transition: transform 0.35s var(--ease-spring-back), box-shadow 0.35s ease;
}
.lux--hover:hover { transform: translateY(-6px); box-shadow: 0 14px 0 var(--edge), 0 26px 50px rgba(90, 50, 20, 0.18), 0 0 36px rgba(255, 190, 40, 0.3), inset 0 1px 0 #fff; }
.lux-body { padding: 1.75rem 1.5rem 1.6rem; }
.lux h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.lux p { color: var(--ink-soft); }
.lux--gold { background: linear-gradient(180deg, #fff7d6 0%, #ffe39a 100%) padding-box, var(--gold-rim) border-box; }
.lux--ruby { background: linear-gradient(180deg, #fff0f4 0%, #ffcadb 100%) padding-box, var(--gold-rim) border-box; }
.lux--sapphire { background: linear-gradient(180deg, #f0f7ff 0%, #cfe3ff 100%) padding-box, var(--gold-rim) border-box; }

/* Game art on a rotating sunburst */
.art { position: relative; display: inline-flex; align-items: center; justify-content: center; isolation: isolate; }
.art img { position: relative; z-index: 1; height: auto; filter: drop-shadow(0 10px 12px rgba(90, 40, 10, 0.3)); transition: transform 0.45s var(--ease-spring-back); }
.art::before { /* sunburst */
  content: "";
  position: absolute;
  z-index: 0;
  inset: -28%;
  background: var(--sunburst) center / contain no-repeat;
  opacity: 0.85;
  will-change: transform;
  animation: spin 18s linear infinite;
}
.lux--hover:hover .art img, a:hover > .art img { transform: scale(1.08) rotate(-3deg); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Tilted ribbon across a card */
.ribbon {
  position: relative;
  z-index: 2;
  display: block;
  margin: 0 -0.9rem;
  padding: 0.45rem 0.5rem 0.5rem;
  transform: rotate(-3.5deg);
  font-family: "Lilita One", sans-serif;
  font-size: 1.35rem;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 0 #6d0a27;
  background: linear-gradient(180deg, #ff6a8f, var(--ruby) 55%, #d81d4f);
  border-radius: 6px;
  box-shadow: 0 5px 0 var(--ruby-lo), 0 10px 18px rgba(163, 16, 58, 0.25), inset 0 2px 0 rgba(255, 255, 255, 0.35);
}

/* Gem icon badge (gold-rimmed) */
.gem {
  --gem-top: #a875ff;
  --gem-bottom: #6a2fd0;
  width: 4rem;
  height: 4rem;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 2px solid transparent;
  background: linear-gradient(180deg, var(--gem-top), var(--gem-bottom)) padding-box, var(--gold-rim) border-box;
  box-shadow: 0 5px 0 rgba(60, 20, 90, 0.35), 0 10px 18px rgba(60, 20, 90, 0.2), inset 0 3px 0 rgba(255, 255, 255, 0.35);
  transform: rotate(-6deg);
  transition: transform 0.45s var(--ease-spring-back);
}
.gem .bi { width: 1.9rem; height: 1.9rem; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.3)); }
.lux--hover:hover .gem, a:hover > .gem { transform: rotate(6deg) scale(1.12); }
.gem--gold { --gem-top: #ffe46b; --gem-bottom: #f0a000; color: #6b3400; }
.gem--green { --gem-top: #8ef05a; --gem-bottom: #2fae1a; }
.gem--ruby { --gem-top: #ff7a98; --gem-bottom: #e0204f; }
.gem--blue { --gem-top: #7cc0ff; --gem-bottom: #2f6fff; }
.gem--magenta { --gem-top: #ff7ad1; --gem-bottom: #c8269a; }

/* Chips */
.chip { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0.8rem; border-radius: 999px; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); background: linear-gradient(180deg, var(--gold-hi), var(--gold)); box-shadow: 0 3px 0 var(--gold-lo); }
.chip--ghost { color: var(--gold-ink); background: rgba(255, 211, 77, 0.18); box-shadow: inset 0 0 0 1px rgba(201, 138, 0, 0.5); }

/* ---------- Game buttons ----------
   Sized after matchmasters.com (measured from their CSS): condensed bold uppercase label, rounded-rectangle
   (not a pill), a thin hard bottom edge in a darker shade + a light inner rim, a hard-edged diagonal gloss,
   no blurry drop shadow. md = their header "PLAY NOW" (20px, 12/18 padding, radius 16, 4px edge).
   Press: drops onto its edge in 0.05s; release springs back. */
.btn-game {
  --btn-top: #8ef05a;
  --btn-bottom: #3cc22a;
  --btn-edge: #23900f;
  --btn-rim: rgba(255, 255, 255, 0.35);
  --btn-text: #fff;
  --btn-text-shadow: rgba(20, 90, 0, 0.45);
  --btn-depth: 4px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem 0.65rem;
  border: 0;
  border-radius: 16px;
  color: var(--btn-text);
  font-family: "Barlow Semi Condensed", "Nunito", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: 0 1px 0 var(--btn-text-shadow);
  background:
    linear-gradient(21deg, rgba(255, 255, 255, 0) 54%, rgba(255, 255, 255, 0.22) 54.3%),
    linear-gradient(180deg, var(--btn-top) 0%, var(--btn-bottom) 100%);
  box-shadow: 0 var(--btn-depth) 0 0 var(--btn-edge), inset 0 -3px 0 0 var(--btn-rim), inset 0 2px 0 rgba(255, 255, 255, 0.35);
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s var(--ease-spring-back), box-shadow 0.18s var(--ease-spring-back), filter 0.1s ease;
}
.btn-game:hover { color: var(--btn-text); transform: translateY(-1px); filter: brightness(1.05); }
.btn-game:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; }
.btn-game:active { transform: translateY(calc(var(--btn-depth) - 1px)); box-shadow: 0 1px 0 0 var(--btn-edge), inset 0 -2px 0 0 var(--btn-rim), inset 0 2px 0 rgba(255, 255, 255, 0.3); transition-duration: 0.05s; transition-timing-function: linear; }
.btn-game[aria-disabled="true"] { filter: grayscale(0.7) brightness(0.92); cursor: not-allowed; }
.btn-game .bi { width: 0.9em; height: 0.9em; flex: none; }
/* Variants */
.btn-game--gold { --btn-top: #fff68a; --btn-bottom: #fde74c; --btn-edge: #c83f0a; --btn-rim: #ffd81f; --btn-text: #c83f0a; --btn-text-shadow: rgba(255, 255, 255, 0.5); }
.btn-game--ruby { --btn-top: #ff6f92; --btn-bottom: #f0245a; --btn-edge: #a3103a; --btn-rim: rgba(255, 255, 255, 0.25); --btn-text-shadow: rgba(110, 0, 30, 0.45); }
.btn-game--orange { --btn-top: #ff7a33; --btn-bottom: #f24d0d; --btn-edge: #b73402; --btn-rim: rgba(255, 255, 255, 0.2); --btn-text-shadow: rgba(110, 30, 0, 0.4); }
.btn-game--ghost { --btn-edge: var(--edge); --btn-rim: transparent; --btn-text: var(--plum); --btn-text-shadow: transparent; background: #fff; box-shadow: inset 0 0 0 2px var(--gold-mid), 0 var(--btn-depth) 0 0 var(--edge); }
/* Sizes (matchmasters: sm 16px / md 20px / lg 26-36px "CLAIM NOW") */
.btn-game--sm { font-size: 1rem; padding: 0.55rem 0.85rem 0.5rem; border-radius: 12px; --btn-depth: 3px; }
.btn-game--lg { font-size: clamp(1.35rem, 2.4vw, 1.65rem); padding: 0.85rem 1.6rem 0.8rem; border-radius: 20px; --btn-depth: 6px; }
.btn-game--block { width: 100%; }
.btn-shine::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%); transform: skewX(-20deg); animation: shine 5s ease-in-out 1.2s infinite; pointer-events: none; }
@keyframes shine { 0% { left: -60%; } 18%, 100% { left: 130%; } }

.store-badge { display: inline-block; transition: transform 0.25s var(--ease-spring-back); }
.store-badge:hover { transform: translateY(-3px) scale(1.03); }
.store-badge:active { transform: translateY(1px) scale(0.97); transition-duration: 0.06s; }
.store-badge img { height: 46px; width: auto; display: block; border-radius: 10px; box-shadow: 0 4px 0 rgba(42, 17, 71, 0.35); }

/* ---------- Nav: velvet island with gold rim ---------- */
.site-nav-wrap { position: sticky; top: 0; z-index: 1030; padding: 0.7rem 0.7rem 0; pointer-events: none; }
.site-nav {
  position: relative;
  pointer-events: auto;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.5rem 0.45rem 0.55rem;
  border: 2px solid transparent;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 238, 0.98)) padding-box, var(--gold-rim) border-box;
  box-shadow: 0 6px 0 var(--edge), 0 16px 40px rgba(90, 50, 20, 0.16);
}
.nav-brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--ink); font-family: "Lilita One", sans-serif; font-size: 1.3rem; letter-spacing: 0.02em; text-decoration: none; margin-right: auto; white-space: nowrap; }
.nav-brand:hover { color: var(--plum); }
.nav-brand img { border-radius: 13px; box-shadow: 0 0 0 2px rgba(240, 168, 26, 0.7), 0 3px 0 var(--edge); transition: transform 0.45s var(--ease-spring-back); }
.nav-brand:hover img { transform: rotate(-10deg) scale(1.12); }
.nav-brand:active img { transform: scale(0.9); transition-duration: 0.08s; }
@media (max-width: 575.98px) { .nav-brand span { display: none; } }

.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: 0.2rem; }
@media (min-width: 1100px) { .nav-links { display: flex; margin-right: auto; } .nav-brand { margin-right: 0.5rem; } }
.nav-link-game { position: relative; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.55rem 0.9rem; border-radius: 999px; color: var(--ink); font-weight: 800; text-decoration: none; isolation: isolate; transition: color 0.15s ease, transform 0.35s var(--ease-spring-back); }
.nav-link-game::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(255, 211, 77, 0.25); transform: scale(0.4); opacity: 0; transition: transform 0.4s var(--ease-spring-back), opacity 0.15s ease; }
.nav-link-game .nav-ico { width: 1.15rem; height: 1.15rem; color: var(--ico, var(--gold)); transition: transform 0.45s var(--ease-spring-back); }
.nav-link-game:hover { color: var(--plum); }
.nav-link-game:hover::before { transform: scale(1); opacity: 1; }
.nav-link-game:hover .nav-ico { transform: translateY(-3px) rotate(-12deg) scale(1.25); }
.nav-link-game:active { transform: scale(0.92); transition-duration: 0.08s; }
.nav-link-game.active { color: var(--ink); }
.nav-link-game.active::before { transform: scale(1); opacity: 1; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); box-shadow: 0 3px 0 var(--gold-lo); }
.nav-link-game.active .nav-ico { color: var(--plum); }
.nav-cta { display: flex; gap: 0.45rem; }
@media (max-width: 399.98px) { .nav-cta .btn-game { padding: 0.55rem 0.8rem; font-size: 0.9rem; } .nav-cta .btn-game .bi { display: none; } }

.menu-toggle { position: relative; flex: none; width: 2.9rem; height: 2.6rem; border: 0; border-radius: 15px; background: #fff6d8; box-shadow: inset 0 0 0 1.5px var(--gold-mid), 0 4px 0 var(--edge); transition: transform 0.25s var(--ease-spring-back), box-shadow 0.25s var(--ease-spring-back), background-color 0.2s ease; -webkit-tap-highlight-color: transparent; }
.menu-toggle:active { transform: translateY(3px); box-shadow: inset 0 0 0 1.5px var(--gold-mid), 0 1px 0 var(--edge); transition-duration: 0.06s; }
.menu-toggle:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; }
.menu-toggle span { position: absolute; left: 50%; width: 1.3rem; height: 3px; margin-left: -0.65rem; border-radius: 3px; background: var(--gold-ink); transition: transform 0.45s var(--ease-spring-back), opacity 0.2s ease, top 0.45s var(--ease-spring-back); }
.menu-toggle span:nth-child(1) { top: 0.8rem; }
.menu-toggle span:nth-child(2) { top: calc(50% - 1.5px); }
.menu-toggle span:nth-child(3) { top: calc(100% - 0.8rem - 3px); }
.site-nav.is-open .menu-toggle { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); }
.site-nav.is-open .menu-toggle span { background: var(--ink); top: calc(50% - 1.5px); }
.site-nav.is-open .menu-toggle span:nth-child(1) { transform: rotate(45deg); }
.site-nav.is-open .menu-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.site-nav.is-open .menu-toggle span:nth-child(3) { transform: rotate(-45deg); }
@media (min-width: 1100px) { .menu-toggle { display: none; } }

.game-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 0;
  right: 0;
  padding: 1rem;
  border: 2px solid transparent;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #ffffff, #fff8ee) padding-box, var(--gold-rim) border-box;
  box-shadow: 0 10px 0 var(--edge), 0 30px 70px rgba(60, 30, 10, 0.25);
  transform-origin: 50% 0;
  max-height: calc(100dvh - 6.5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}
@media (min-width: 576px) { .game-menu { left: auto; width: 420px; } }
.site-nav.is-open .game-menu, .site-nav.is-closing .game-menu { display: block; }
.site-nav.is-open .game-menu { animation: menu-open 0.55s var(--ease-out-expo) both; }
.site-nav.is-closing .game-menu { animation: menu-close 0.18s ease-in both; }
@keyframes menu-open { 0% { opacity: 0; transform: translateY(-10px) scaleY(0.3) scaleX(0.92); } 40% { opacity: 1; transform: translateY(0) scaleY(1.06) scaleX(1.01); } 65% { transform: scaleY(0.97) scaleX(1); } 100% { opacity: 1; transform: none; } }
@keyframes menu-close { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-8px) scaleY(0.6); } }
@media (min-width: 1100px) { .game-menu { display: none !important; } }
.menu-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.65rem; list-style: none; margin: 0 0 0.9rem; padding: 0; }
.menu-tile { display: flex; flex-direction: column; align-items: center; gap: 0.45rem; padding: 0.9rem 0.3rem 0.75rem; border-radius: 18px; background: #faf3ff; box-shadow: inset 0 0 0 1px rgba(201, 138, 0, 0.22), 0 4px 0 var(--edge); color: var(--ink); font-weight: 900; font-size: 0.9rem; text-align: center; text-decoration: none; transition: transform 0.3s var(--ease-spring-back), box-shadow 0.3s var(--ease-spring-back); -webkit-tap-highlight-color: transparent; }
.menu-tile:hover { color: var(--plum); transform: translateY(-2px); }
.menu-tile:active { transform: translateY(4px); box-shadow: inset 0 0 0 1px rgba(201, 138, 0, 0.22), 0 0 0 var(--edge); transition-duration: 0.06s; }
.menu-tile.active { background: #fff3c4; box-shadow: inset 0 0 0 2px var(--gold-mid), 0 4px 0 var(--edge); }
.menu-tile .gem { width: 3.1rem; height: 3.1rem; border-radius: 16px; }
.menu-tile .gem .bi { width: 1.45rem; height: 1.45rem; }
.menu-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.menu-stores { display: flex; justify-content: center; gap: 0.5rem; margin-top: 0.9rem; }
.menu-stores img { height: 40px; }
.site-nav.is-open .menu-pop { animation: tile-pop 0.5s var(--ease-out-expo) both; animation-delay: calc(120ms + var(--i, 0) * 55ms); }
@keyframes tile-pop { 0% { opacity: 0; transform: scale(0.5) translateY(10px); } 55% { opacity: 1; transform: scale(1.08); } 80% { transform: scale(0.97); } 100% { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; margin-top: -5.4rem; padding: 8.5rem 0 5rem; isolation: isolate; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(70% 90% at 50% 0%, #f1e6ff 0%, transparent 70%);
  opacity: 1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 60% at 72% 45%, rgba(255, 211, 77, 0.35), transparent 65%),
    radial-gradient(50% 60% at 15% 35%, rgba(255, 61, 110, 0.14), transparent 70%),
    linear-gradient(180deg, rgba(251, 244, 234, 0) 0%, rgba(251, 244, 234, 0) 60%, var(--night) 100%);
}
.hero-title { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 0.98; text-transform: uppercase; margin-bottom: 1rem; }
.hero-sub { font-size: 1.18rem; color: var(--ink-soft); max-width: 34rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; list-style: none; }
.hero-points li { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.38rem 0.85rem 0.38rem 0.55rem; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(201, 138, 0, 0.35), 0 3px 0 var(--edge); font-weight: 800; font-size: 0.92rem; }
.hero-points .bi { width: 1.1rem; height: 1.1rem; color: #2fae1a; }
@media (min-width: 992px) { .hero-points { justify-content: flex-start !important; } }

/* Video in a gold "TV" frame */
.tv-wrap { position: relative; padding: 1.5rem 0; }
.tv {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 3px solid transparent;
  border-radius: 28px;
  background: #000 padding-box, var(--gold-rim) border-box;
  box-shadow: 0 12px 0 var(--edge), 0 30px 60px rgba(60, 30, 10, 0.25), 0 0 60px rgba(255, 200, 60, 0.35);
  overflow: hidden;
  transform: rotate(-1.2deg);
}
.tv iframe, .tv video, .tv .tv-poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.tv iframe { transform: scale(1.18); pointer-events: none; } /* crop YouTube's chrome */
.tv-poster { display: block; padding: 0; background: #000; cursor: pointer; }
.tv-poster img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease-out-expo); }
.tv-poster:hover img { transform: scale(1.04); }
.tv-play { position: absolute; left: 50%; top: 50%; width: 5rem; height: 5rem; margin: -2.5rem 0 0 -2.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(180deg, #8ef05a, #3cc22a); box-shadow: 0 6px 0 var(--emerald-lo), 0 0 0 8px rgba(255, 255, 255, 0.18); animation: pulse 2.2s ease-in-out infinite; }
.tv-play .bi { width: 2.4rem; height: 2.4rem; margin-left: 0.25rem; }
.tv-note { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.6rem 1.5rem; text-align: center; font-size: 0.78rem; font-weight: 700; color: #e9dcff; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.75)); }
@keyframes pulse { 0%, 100% { box-shadow: 0 6px 0 var(--emerald-lo), 0 0 0 6px rgba(255, 255, 255, 0.18); } 50% { box-shadow: 0 6px 0 var(--emerald-lo), 0 0 0 16px rgba(255, 255, 255, 0); } }
.tv-float { position: absolute; z-index: 3; width: 22%; max-width: 120px; height: auto; filter: drop-shadow(0 10px 12px rgba(90, 40, 10, 0.35)); animation: bob 4.5s ease-in-out infinite; pointer-events: none; }
.tv-float--a { left: -5%; bottom: -2%; animation-delay: -1.5s; }
.tv-float--b { right: -4%; top: -3%; width: 16%; animation-delay: -3s; }

/* ---------- Rewards row ---------- */
.reward { display: flex; align-items: center; gap: 1.1rem; padding: 1.25rem 1.25rem 1.25rem 1rem; text-decoration: none; color: inherit; }
.reward:hover { color: inherit; }
.reward .art { flex: 0 0 6.5rem; height: 6.5rem; }
.reward .art img { max-width: 6.5rem; max-height: 5.8rem; }
.reward h3 { font-family: "Lilita One", sans-serif; font-weight: 400; font-size: 1.6rem; text-transform: uppercase; margin-bottom: 0.2rem; }
.reward p { margin-bottom: 0.7rem; font-size: 0.95rem; }

/* ---------- Deal cards ---------- */
.deal { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 1.25rem 1.5rem; margin-top: 3.5rem; height: calc(100% - 3.5rem); text-decoration: none; color: inherit; }
.deal:hover { color: inherit; }
.deal .art { height: 8.5rem; margin-top: -3.5rem; margin-bottom: 0.75rem; }
.deal .art img { max-height: 8.5rem; max-width: 11rem; }
.deal .ribbon { align-self: stretch; margin-bottom: 1rem; }
.deal h3 { font-size: 1.3rem; }
.deal p { margin-bottom: 1.1rem; }
.deal .btn-game { margin-top: auto; }
.deals-glow { position: absolute; inset: 15% 5% 5%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 61, 110, 0.28), transparent); pointer-events: none; }

/* ---------- Features ---------- */
.feature { padding: 2.75rem 1.5rem 1.6rem; }
.feature .gem { position: absolute; top: -1.6rem; left: 1.4rem; }

/* ---------- Screenshot rail ---------- */
.shot-rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(80vw, 560px); gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 1rem max(1rem, calc((100vw - 1240px) / 2)) 2.5rem; scrollbar-width: none; }
.shot-rail::-webkit-scrollbar { display: none; }
.shot { scroll-snap-align: center; margin: 0; padding: 0.55rem 0.55rem 0.85rem; transition: transform 0.35s var(--ease-spring-back); }
.shot img { width: 100%; height: auto; border-radius: 18px; display: block; }
.shot figcaption { font-weight: 800; color: var(--ink); padding: 0.7rem 0.4rem 0; text-align: center; }
.shot:hover { transform: translateY(-4px); }
.rail-nav { display: flex; justify-content: center; gap: 0.75rem; }
.rail-btn { width: 3.2rem; height: 3.2rem; border-radius: 50%; border: 2px solid transparent; color: var(--gold-ink); background: linear-gradient(180deg, #fff, #fff8ee) padding-box, var(--gold-rim) border-box; box-shadow: 0 5px 0 var(--edge); display: inline-flex; align-items: center; justify-content: center; transition: transform 0.25s var(--ease-spring-back), box-shadow 0.25s var(--ease-spring-back); }
.rail-btn:hover { transform: translateY(-2px); }
.rail-btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--edge); transition-duration: 0.06s; }
.rail-btn .bi { width: 1.3rem; height: 1.3rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; }
.step { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.25rem; margin-bottom: 1rem; height: auto; }
.step-num { flex: 0 0 3rem; height: 3rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: "Lilita One", sans-serif; font-size: 1.45rem; color: #6b2800; background: radial-gradient(circle at 35% 30%, #fff6b8, var(--gold) 45%, var(--gold-mid) 80%); box-shadow: 0 4px 0 var(--gold-lo), inset 0 0 0 3px rgba(255, 255, 255, 0.35); }
.step h3, .step strong { display: block; font-size: 1.1rem; color: var(--ink); margin-bottom: 0.15rem; }
.step p, .step span { color: var(--ink-soft); }
.step .step-num { color: #6b2800; }

/* ---------- News ---------- */
.news-card { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit; }
.news-card:hover { color: inherit; }
.news-card .news-img { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 2px solid rgba(201, 138, 0, 0.35); }
.news-card .news-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease-out-expo); }
.news-card:hover .news-img img { transform: scale(1.06); }
.news-card .lux-body { flex: 1; display: flex; flex-direction: column; }
.news-meta { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.7rem; font-size: 0.85rem; color: var(--ink-dim); font-weight: 700; }
.news-card h3 { font-size: 1.2rem; }
.news-more { margin-top: auto; font-weight: 900; color: var(--plum); }
.article-hero img { width: 100%; height: auto; display: block; border-radius: 22px; }
.article-body p { font-size: 1.12rem; color: var(--ink); }

/* ---------- Social ---------- */
.social-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.btn-social { --btn-depth: 6px; font-family: "Nunito", sans-serif; font-weight: 800; text-transform: none; letter-spacing: 0; font-size: 1.05rem; padding: 0.8rem 1.4rem; border-radius: 999px; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35); }
.btn-social .bi { width: 1.4rem; height: 1.4rem; }
.btn-social--facebook { --btn-top: #3d8bff; --btn-bottom: #0866ff; --btn-edge: #003fa6; }
.btn-social--instagram { --btn-top: #ff5fa2; --btn-bottom: #d6249f; --btn-edge: #8a0f63; background: linear-gradient(135deg, #feda75 0%, #fa7e1e 25%, #d62976 55%, #962fbf 80%, #4f5bd5 100%); }
.btn-social--youtube { --btn-top: #ff4d4d; --btn-bottom: #ff0302; --btn-edge: #9a0100; }

/* ---------- Panels / FAQ / legal ---------- */
.panel { padding: 1.75rem; height: auto; }
.panel dt { color: var(--gold-ink); font-weight: 900; }
.panel dd { color: var(--ink-soft); margin-bottom: 0.9rem; }
.tips { list-style: none; padding: 0; margin: 0; }
.tips li { position: relative; padding-left: 2rem; margin-bottom: 0.75rem; color: var(--ink); }
.tips li::before { content: ""; position: absolute; left: 0; top: 0.25rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6b8, var(--gold) 50%, var(--gold-mid)); box-shadow: 0 2px 0 var(--gold-lo); }
.event { padding: 1.1rem 1.25rem; height: 100%; }
.event h3 { font-size: 1rem; margin-bottom: 0.25rem; color: var(--plum); }

.accordion { --bs-accordion-bg: transparent; --bs-accordion-border-width: 0; --bs-accordion-btn-color: var(--ink); --bs-accordion-active-color: var(--plum); --bs-accordion-active-bg: transparent; --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(240, 168, 26, 0.4); --bs-accordion-color: var(--ink-soft); }
.accordion-item { margin-bottom: 1rem; border: 2px solid transparent !important; border-radius: var(--r-md) !important; background: linear-gradient(180deg, #fff, #fff8ee) padding-box, var(--gold-rim) border-box; box-shadow: 0 6px 0 var(--edge); overflow: hidden; }
.accordion-button { font-weight: 900; font-size: 1.06rem; padding: 1.1rem 1.35rem; border-radius: var(--r-md) !important; }
.accordion-button::after { filter: none; }
.accordion-body { padding: 0 1.35rem 1.2rem; color: var(--ink-soft); }

.legal h2 { color: var(--plum); font-family: "Nunito", sans-serif; font-weight: 900; font-size: 1.3rem; margin-top: 1.75rem; }
.legal p { color: var(--ink); }
.legal-table { width: 100%; font-size: 0.92rem; border-collapse: separate; border-spacing: 0; margin: 1rem 0; }
.legal-table th { color: var(--gold-ink); font-weight: 900; text-align: left; padding: 0.6rem; border-bottom: 1px solid rgba(201, 138, 0, 0.35); }
.legal-table td { color: var(--ink-soft); padding: 0.6rem; border-bottom: 1px solid rgba(42, 17, 71, 0.08); vertical-align: top; }
.legal-table td:first-child { color: var(--ink); font-weight: 800; }

/* ---------- Page header (inner pages) ---------- */
.page-header { position: relative; margin-top: -5.4rem; padding: 8.5rem 0 3.5rem; text-align: center; isolation: isolate; overflow: hidden; border-bottom: 1px solid rgba(201, 138, 0, 0.25); background: radial-gradient(60% 90% at 50% 0%, rgba(255, 211, 77, 0.32), transparent 70%), linear-gradient(180deg, #efe3ff, rgba(251, 244, 234, 0.6)); }
.page-title { font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1; text-transform: uppercase; margin-bottom: 0.75rem; }
.page-header .lead { color: var(--ink-soft); max-width: 44rem; margin: 0 auto; }
.breadcrumb { justify-content: center; --bs-breadcrumb-divider-color: var(--ink-dim); --bs-breadcrumb-item-active-color: var(--ink-soft); font-weight: 800; font-size: 0.9rem; }
.breadcrumb-item a { color: var(--gold-ink); text-decoration: none; }
.breadcrumb-item a:hover { text-decoration: underline; }

/* ---------- Store page ---------- */
.notice, .signin-card, .article-hero, .legal { height: auto; }
.notice { display: flex; gap: 0.9rem; align-items: center; padding: 1rem 1.25rem; }
.notice .bi { flex: none; width: 1.75rem; height: 1.75rem; color: var(--gold-ink); }
.signin-card { padding: 2rem; text-align: center; }

/* ---------- CTA band + footer ---------- */
.cta-band { position: relative; padding: 6rem 0 5.5rem; text-align: center; isolation: isolate; overflow: hidden; border-top: 1px solid rgba(255, 211, 77, 0.25); background: radial-gradient(50% 80% at 50% 100%, rgba(255, 211, 77, 0.35), transparent 70%), linear-gradient(135deg, #5b21b6 0%, #7a1fa8 55%, #e0287a 100%); }
.cta-band .cta-title { font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1; text-transform: uppercase; }
.cta-band p { color: #f3e9ff; font-size: 1.15rem; }
.cta-band .gold-text { background: linear-gradient(180deg, #fff6c2 0%, var(--gold) 50%, #ff9d00 100%); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 3px 0 #5c2c00) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35)); }
.cta-band .orn { color: var(--gold); }
.cta-art { position: absolute; z-index: -1; width: clamp(80px, 12vw, 170px); height: auto; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.5)); animation: bob 5s ease-in-out infinite; opacity: 0.95; }
.cta-art--l { left: 4%; bottom: 14%; transform: rotate(-8deg); }
.cta-art--r { right: 4%; top: 18%; animation-delay: -2.5s; }
@media (max-width: 767.98px) { .cta-art { opacity: 0.35; } }

.site-footer { background: #24093f; color: #b9a6d9; padding: 3.5rem 0 6rem; border-top: 1px solid rgba(255, 211, 77, 0.2); }
.site-footer a { color: #e6dbff; text-decoration: none; font-weight: 700; }
.site-footer a:hover { color: var(--gold-hi); }
.footer-brand { font-family: "Lilita One", sans-serif; font-size: 1.4rem; color: #fff !important; }
.footer-brand img { border-radius: 13px; box-shadow: 0 0 0 2px rgba(255, 211, 77, 0.5); }
.footer-title { font-family: "Lilita One", sans-serif; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold); margin-bottom: 0.9rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a, .footer-links button { font-weight: 600; overflow-wrap: anywhere; }
.footer-links button { padding: 0; border: 0; background: none; color: #e6dbff; }
.footer-links button:hover { color: var(--gold-hi); }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; color: var(--gold) !important; box-shadow: inset 0 0 0 1.5px rgba(255, 211, 77, 0.5); transition: transform 0.3s var(--ease-spring-back), background-color 0.2s; }
.footer-social a:hover { transform: translateY(-3px) rotate(-8deg); background: rgba(255, 211, 77, 0.12); }
.footer-social .bi { width: 1.2rem; height: 1.2rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 2.5rem; padding-top: 1.5rem; }

/* ---------- Floating chat ---------- */
.chat { position: fixed; right: 1rem; bottom: 1rem; z-index: 1040; transition: bottom 0.35s var(--ease-out-expo); }
html.consent-open .chat { bottom: calc(var(--consent-h, 0px) + 1rem); }
.chat-btn { position: relative; width: 3.75rem; height: 3.75rem; border: 2px solid transparent; border-radius: 50%; color: var(--ink); background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-mid)) padding-box, var(--gold-rim) border-box; box-shadow: 0 5px 0 var(--gold-lo), 0 12px 26px rgba(90, 50, 20, 0.3); display: flex; align-items: center; justify-content: center; transition: transform 0.3s var(--ease-spring-back), box-shadow 0.3s var(--ease-spring-back); -webkit-tap-highlight-color: transparent; }
.chat-btn::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; box-shadow: 0 0 0 0 rgba(255, 211, 77, 0.55); animation: ring 2.6s ease-out infinite; }
.chat-btn:hover { transform: translateY(-3px) rotate(-8deg); }
.chat-btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--gold-lo); transition-duration: 0.06s; }
.chat-btn .bi { width: 1.6rem; height: 1.6rem; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(255, 211, 77, 0.55); } 70%, 100% { box-shadow: 0 0 0 14px rgba(255, 211, 77, 0); } }
.chat-panel { display: none; position: absolute; right: 0; bottom: calc(100% + 0.8rem); width: min(320px, calc(100vw - 2rem)); padding: 1.25rem; transform-origin: 90% 100%; height: auto; }
.chat.is-open .chat-panel { display: block; animation: menu-open 0.5s var(--ease-out-expo) both; }
.chat-panel h2 { font-size: 1.35rem; text-transform: uppercase; margin-bottom: 0.35rem; }
.chat-panel p { font-size: 0.95rem; }

/* ---------- Cookie consent ---------- */
.consent { position: fixed; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; z-index: 1050; max-width: 760px; margin: 0 auto; padding: 1.25rem 1.35rem; height: auto; animation: consent-in 0.6s var(--ease-out-expo) both; }
.consent[hidden] { display: none; }
@keyframes consent-in { 0% { opacity: 0; transform: translateY(40px) scale(0.96); } 100% { opacity: 1; transform: none; } }
.consent h2 { font-size: 1.35rem; text-transform: uppercase; margin-bottom: 0.35rem; }
.consent p { font-size: 0.95rem; margin-bottom: 0.9rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.consent-link { background: none; border: 0; padding: 0.3rem 0.4rem; color: var(--plum); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.consent-cats { display: none; margin: 0 0 1rem; padding: 0; list-style: none; }
.consent.is-detailed .consent-cats { display: block; }
.consent-cats li { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.6rem 0; border-top: 1px solid rgba(42, 17, 71, 0.08); }
.consent-cats input { margin-top: 0.3rem; width: 1.15rem; height: 1.15rem; accent-color: var(--gold); flex: none; }
.consent-cats strong { color: var(--ink); }
.consent-cats span { display: block; font-size: 0.88rem; color: var(--ink-soft); }
.consent .only-detailed { display: none; }
.consent.is-detailed .only-detailed { display: inline-flex; }
.consent.is-detailed .only-simple { display: none; }

/* ---------- 404 ---------- */
.big-404 { font-family: "Lilita One", sans-serif; font-size: clamp(6rem, 20vw, 11rem); line-height: 1; }

/* ---------- Reveal on scroll ----------
   Hidden from first paint (scripting on); public/js/app.js adds html.reveal-on immediately (cancels the safety
   fallback) and .is-in via IntersectionObserver. Never let the fallback and the observer both animate the same
   element (that was the iPhone "jumping" bug). pop = small items; up/down = big blocks. No stagger on phones. */
:root { --stagger: 90ms; }
@media (max-width: 767.98px) { :root { --stagger: 0ms; } }
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  [data-reveal]:not(.is-in) { opacity: 0; }
  html:not(.reveal-on) [data-reveal]:not(.is-in) { animation: reveal-fallback 0.01s linear 3s forwards; }
  [data-reveal="pop"]:not(.is-in) { transform: scale(0.85); }
  [data-reveal="up"]:not(.is-in) { transform: translateY(24px); }
  [data-reveal="down"]:not(.is-in) { transform: translateY(-18px); }
  [data-reveal="pop"].is-in { animation: pop-in 0.55s var(--ease-out-expo) both; animation-delay: calc(var(--d, 0) * var(--stagger)); }
  [data-reveal="up"].is-in { animation: rise-in 0.5s var(--ease-out-expo) both; animation-delay: calc(var(--d, 0) * var(--stagger)); }
  [data-reveal="down"].is-in { animation: drop-in 0.45s var(--ease-out-expo) both; animation-delay: calc(var(--d, 0) * var(--stagger)); }
  html.reveal-instant [data-reveal] { animation: none !important; opacity: 1 !important; transform: none !important; }
}
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }
@keyframes pop-in { 0% { opacity: 0; transform: scale(0.85); } 55% { opacity: 1; transform: scale(1.03); } 100% { opacity: 1; transform: scale(1); } }
@keyframes rise-in { 0% { opacity: 0; transform: translateY(24px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes drop-in { 0% { opacity: 0; transform: translateY(-18px); } 100% { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

@media (max-width: 575.98px) { .tv-note { display: none; } }

/* ---------- Hero with full-bleed background video (matchmasters layout) ----------
   The media fills the whole hero; a dark shade keeps the white title readable; the rewards row
   overlaps the bottom edge of the video (.rewards-overlap). */
.hero--video { display: flex; align-items: flex-end; min-height: clamp(600px, 88vh, 860px); padding: 0; color: #fff; background: #1d0a36; }
.hero--video::before, .hero--video::after { display: none; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media video, .hero-media .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media .hero-poster { animation: kenburns 24s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes kenburns { 0% { transform: scale(1.02); } 100% { transform: scale(1.14) translate(-1.5%, 1%); } }
.hero-media iframe { position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; min-width: 177.78vh; min-height: 100%; border: 0; transform: translate(-50%, -50%) scale(1.12); pointer-events: none; }
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(24, 8, 44, 0.55) 0%, rgba(24, 8, 44, 0) 22%, rgba(24, 8, 44, 0) 45%, rgba(24, 8, 44, 0.78) 82%, rgba(24, 8, 44, 0.9) 100%),
    linear-gradient(90deg, rgba(24, 8, 44, 0.7) 0%, rgba(24, 8, 44, 0.25) 45%, rgba(24, 8, 44, 0) 70%); }
.hero-content { position: relative; padding-top: 8rem; padding-bottom: 8.5rem; }
.hero-copy { max-width: 620px; }
.hero--video .hero-title--onvideo { color: #fff; text-shadow: 0 4px 0 #4a1c8c, 0 10px 24px rgba(0, 0, 0, 0.45); }
.hero--video .hero-sub { color: #f1e8ff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }
.hero--video .store-badge img { box-shadow: 0 4px 0 rgba(0, 0, 0, 0.45); }
.hero-watch { position: absolute; z-index: 2; right: 1.25rem; top: 6.25rem; }
.rewards-overlap { position: relative; z-index: 3; margin-top: -5.5rem; padding-top: 0; }
@media (max-width: 991.98px) {
  .hero--video { --media-h: clamp(300px, 92vw, 560px); min-height: auto; }
  .hero-media { bottom: auto; height: calc(var(--media-h) + 9rem); }
  .hero-content { padding-top: calc(var(--media-h) - 3.5rem); padding-bottom: 7.5rem; }
  .hero-shade { background: linear-gradient(180deg, rgba(24, 8, 44, 0.5) 0%, rgba(24, 8, 44, 0) 16%, rgba(24, 8, 44, 0) 42%, rgba(29, 10, 54, 0.9) 62%, #1d0a36 76%); }
  .hero-watch { top: 5.6rem; right: 0.9rem; }
  .hero--video .chip { display: none; }
}

/* Hero title = the game name; the highlighted word ("Super") in gold, tagline below */
.hero--video .hero-hl { display: inline-block; color: var(--gold); text-shadow: 0 4px 0 #a8460a, 0 10px 24px rgba(0, 0, 0, 0.45); transform: rotate(-3deg); }
.hero-tagline { font-family: "Lilita One", sans-serif; font-size: clamp(1.4rem, 2.6vw, 2rem); text-transform: uppercase; color: #fff3c4; text-shadow: 0 3px 0 #4a1c8c, 0 6px 14px rgba(0, 0, 0, 0.4); margin: -0.25rem 0 0.9rem; }
.hero--video .hero-hl { display: block; width: fit-content; margin-top: 0.05em; }
@media (max-width: 991.98px) { .hero--video .hero-hl { margin-left: auto; margin-right: auto; } }

/* Hero readability over video: copy sits on a dark velvet panel (desktop); title gets a hard outline;
   on phones the copy starts below the video on a solid background. */
.hero--video .hero-title--onvideo { -webkit-text-stroke: 6px #2a1147; paint-order: stroke fill; text-shadow: 0 5px 0 #2a1147, 0 12px 26px rgba(0, 0, 0, 0.5); }
.hero--video .hero-hl { -webkit-text-stroke: 6px #6b2800; paint-order: stroke fill; text-shadow: 0 5px 0 #6b2800, 0 12px 26px rgba(0, 0, 0, 0.45); }
@media (min-width: 992px) {
  .hero-copy { padding: 2rem 2.25rem 2.25rem; border-radius: 28px; background: linear-gradient(180deg, rgba(36, 12, 66, 0.82), rgba(24, 8, 44, 0.88)); box-shadow: inset 0 0 0 1.5px rgba(255, 211, 77, 0.55), 0 20px 50px rgba(0, 0, 0, 0.35); }
  .hero-content { padding-bottom: 9rem; }
}
@media (max-width: 991.98px) {
  .hero-content { padding-top: calc(var(--media-h) - 1.25rem); }
  .hero-shade { background: linear-gradient(180deg, rgba(24, 8, 44, 0.5) 0%, rgba(24, 8, 44, 0) 18%, rgba(24, 8, 44, 0) calc(var(--media-h) - 9rem), #1d0a36 calc(var(--media-h) - 0.5rem)); }
  .hero-media { height: var(--media-h); }
  .hero--video { background: #1d0a36; }
}

/* =====================================================================================================
   WEB STORE (body.theme-store) - modelled on matchmasters.com "Masters Market" (owner screenshots).
   Deep royal purple page, glass cards, white titles with a pink glow, green price buttons, game art.
   Uses the same building blocks (btn-game, menu-pop animation, data-reveal) as the landing pages.
   ===================================================================================================== */
.theme-store {
  --s-bg-top: #4b2fe0;
  --s-bg-mid: #3a1fb0;
  --s-bg-bot: #1d0c5c;
  --glass: rgba(255, 255, 255, 0.12);
  --glass-hi: rgba(255, 255, 255, 0.2);
  --glass-edge: rgba(255, 255, 255, 0.28);
  color: #fff;
  background:
    radial-gradient(70% 40% at 50% 0%, rgba(255, 120, 240, 0.25), transparent 70%),
    linear-gradient(180deg, var(--s-bg-top) 0%, var(--s-bg-mid) 35%, var(--s-bg-bot) 100%) fixed;
}
.theme-store::before { opacity: 0.07; filter: invert(1); }
.store .container { max-width: 760px; }

/* A2HS banner */
.a2hs { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 2.6rem 0.6rem 0.75rem; position: relative; background: linear-gradient(90deg, #5b34f0, #7b3bf2); border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.a2hs-icon { border-radius: 14px; box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3); flex: none; }
.a2hs-text { display: flex; flex-direction: column; line-height: 1.1; flex: 1; min-width: 0; }
.a2hs-text strong { font-family: "Barlow Semi Condensed", sans-serif; font-weight: 800; font-size: 1.25rem; text-transform: uppercase; }
.a2hs-text span { font-family: "Barlow Semi Condensed", sans-serif; font-weight: 800; font-size: 0.85rem; text-transform: uppercase; color: #e6dbff; }
.a2hs-text span img { vertical-align: -4px; }
.a2hs-close { position: absolute; right: 0.5rem; top: 0.5rem; border: 0; background: none; color: #fff; padding: 0.25rem; }
.a2hs-close .bi { width: 1rem; height: 1rem; }

/* Sticky store bar */
.sbar-wrap { position: sticky; top: 0; z-index: 1030; padding: 0.6rem 0.6rem 0; }
.sbar { position: relative; max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 0.6rem; padding: 0.45rem 0.55rem; border-radius: 22px; background: linear-gradient(180deg, rgba(40, 22, 90, 0.96), rgba(28, 14, 66, 0.96)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 10px 30px rgba(10, 0, 40, 0.45); }
.sbar-burger { position: relative; width: 2.6rem; height: 2.6rem; border: 0; background: none; flex: none; }
.sbar-burger span { position: absolute; left: 0.55rem; right: 0.55rem; height: 3px; border-radius: 3px; background: #fff; transition: transform 0.4s var(--ease-spring-back), opacity 0.2s; }
.sbar-burger span:nth-child(1) { top: 0.8rem; } .sbar-burger span:nth-child(2) { top: calc(50% - 1.5px); } .sbar-burger span:nth-child(3) { bottom: 0.8rem; }
.store-mark { display: inline-flex; flex-direction: column; align-items: center; line-height: 0.82; text-decoration: none; transform: rotate(-3deg); }
.store-mark-top, .store-mark-bottom { font-family: "Lilita One", sans-serif; text-transform: uppercase; -webkit-text-stroke: 5px #2a0a3a; paint-order: stroke fill; }
.store-mark-top { font-size: 1.45rem; color: var(--gold); }
.store-mark-bottom { font-size: 1.65rem; color: #ff3d7f; }
.store-mark--sm .store-mark-top { font-size: 1.2rem; } .store-mark--sm .store-mark-bottom { font-size: 1.35rem; }
.sbar-right { margin-left: auto; display: flex; align-items: center; gap: 0.7rem; }
.bal { display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 900; font-size: 0.98rem; white-space: nowrap; }
.bal img { width: auto; height: 22px; }
.sbar-avatar img { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 0 0 2px var(--gold), 0 3px 0 #8f520a; object-fit: cover; }
@media (max-width: 380px) { .bal { font-size: 0.82rem; } .sbar-avatar img { width: 38px; height: 38px; } }

/* Store menu (the matchmasters "Masters Market" menu card) */
.smenu { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 0.6rem); padding: 1rem 1rem 1.1rem; border-radius: 26px; background: linear-gradient(180deg, #2a1660 0%, #160a3a 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 30px 70px rgba(0, 0, 0, 0.55); transform-origin: 20% 0; }
.sbar.is-open .smenu, .sbar.is-closing .smenu { display: block; }
.sbar.is-open .smenu { animation: menu-open 0.55s var(--ease-out-expo) both; }
.sbar.is-closing .smenu { animation: menu-close 0.18s ease-in both; }
.sbar.is-open .menu-pop { animation: tile-pop 0.5s var(--ease-out-expo) both; animation-delay: calc(120ms + var(--i, 0) * 55ms); }
.theme-store.smenu-open .sbar-wrap::after { content: ""; position: fixed; inset: 0; z-index: -1; background: rgba(12, 4, 36, 0.6); }
.smenu-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.75rem; }
.smenu-x { border: 0; background: none; color: #fff; padding: 0.35rem; }
.smenu-x .bi { width: 1.5rem; height: 1.5rem; }
.smenu-bal { display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 900; font-size: 0.92rem; }
.smenu-grid { list-style: none; margin: 0 0 0.75rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.smenu-item { display: flex; flex-direction: column; align-items: center; gap: 0.45rem; padding: 0.7rem 0.25rem; border-radius: 18px; color: #fff; text-decoration: none; font-weight: 700; font-size: 0.98rem; transition: transform 0.3s var(--ease-spring-back), background-color 0.2s; }
.smenu-item:hover { color: #fff; background: rgba(255, 255, 255, 0.07); transform: translateY(-2px); }
.smenu-item:active { transform: scale(0.94); transition-duration: 0.06s; }
.smenu-ico { height: 3.6rem; display: flex; align-items: center; justify-content: center; }
.smenu-ico img { max-height: 3.4rem; max-width: 4rem; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.4)); }
.smenu-ico .bi { width: 2.6rem; height: 2.6rem; color: #ffcf4a; filter: drop-shadow(0 4px 0 rgba(0, 0, 0, 0.3)); }
.smenu-play { display: flex; align-items: center; gap: 1rem; padding: 0.85rem 0.5rem 0.25rem; border-top: 1px solid rgba(255, 255, 255, 0.25); color: #fff; text-decoration: none; }
.smenu-play img { border-radius: 14px; box-shadow: 0 3px 0 rgba(0, 0, 0, 0.35); }
.smenu-play span { flex: 1; font-family: "Barlow Semi Condensed", sans-serif; font-weight: 800; font-size: 1.45rem; text-transform: uppercase; }
.smenu-play .bi { width: 1.6rem; height: 1.6rem; }
.smenu-play:hover { color: var(--gold); }
.smenu-links { display: flex; justify-content: space-around; gap: 0.5rem; margin-top: 1rem; }
.smenu-links button, .smenu-links a { display: inline-flex; align-items: center; gap: 0.5rem; border: 0; background: none; color: #fff; font-weight: 700; text-decoration: none; }
.smenu-links .bi { width: 1.35rem; height: 1.35rem; }

/* Modals + toast */
.smodal { position: fixed; inset: 0; z-index: 1060; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(12, 4, 36, 0.72); }
.smodal[hidden] { display: none; }
.smodal-card { position: relative; width: min(420px, 100%); padding: 1.75rem 1.5rem 1.5rem; border-radius: 30px; text-align: center; color: #fff; background: linear-gradient(180deg, #24123f, #120822); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 30px 80px rgba(0, 0, 0, 0.6); animation: pop-in 0.5s var(--ease-out-expo) both; }
.smodal-x { position: absolute; top: -0.9rem; right: -0.6rem; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 0; color: #4a1c8c; background: #fff; box-shadow: 0 4px 0 #b9a6d9; }
.smodal-x .bi { width: 1.1rem; height: 1.1rem; }
.smodal-icon { border-radius: 20px; box-shadow: 0 4px 0 rgba(0, 0, 0, 0.35); margin-bottom: 0.75rem; }
.smodal-title { font-family: "Barlow Semi Condensed", sans-serif; font-weight: 800; font-size: 1.9rem; text-transform: uppercase; color: #fff; text-shadow: 0 0 18px rgba(255, 80, 220, 0.8), 0 2px 0 #b0168f; margin-bottom: 1rem; }
.smodal-text { color: #e6dbff; }
.smodal-note { font-size: 0.85rem; color: #b9a6d9; margin: 0.9rem 0 0; }
.smodal-note a { color: var(--gold); }
.smodal-steps { list-style: none; padding: 0; margin: 0; text-align: left; }
.smodal-steps li { display: flex; align-items: flex-start; gap: 0.9rem; margin-bottom: 0.9rem; font-size: 1.05rem; }
.smodal-steps li > span { flex: none; width: 2rem; height: 2rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: #4a1c8c; font-weight: 900; }
.smodal-steps .bi { width: 1rem; height: 1rem; vertical-align: -2px; }
.fake-ios-row { display: flex; justify-content: space-between; align-items: center; margin-top: 0.4rem; padding: 0.5rem 0.75rem; border-radius: 10px; background: #fff; color: #111; font-size: 0.9rem; }
.stoast { position: fixed; left: 50%; bottom: 5.5rem; z-index: 1070; transform: translateX(-50%); padding: 0.75rem 1.1rem; border-radius: 16px; background: #fff; color: #2a1147; font-weight: 800; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); animation: pop-in 0.45s var(--ease-out-expo) both; max-width: calc(100vw - 2rem); }
.stoast[hidden] { display: none; }

/* Sections */
.ssec { padding: 2.25rem 0; position: relative; }
.ssec--glow::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 50% 60%, rgba(255, 110, 230, 0.35), transparent 70%); pointer-events: none; }
.ssec--dark { background: linear-gradient(180deg, rgba(10, 4, 40, 0) 0%, rgba(10, 4, 40, 0.55) 30%, rgba(10, 4, 40, 0.55) 70%, rgba(10, 4, 40, 0) 100%); }
.stitle { font-family: "Barlow Semi Condensed", sans-serif; font-weight: 800; font-size: clamp(2.2rem, 7vw, 3.1rem); line-height: 1; text-transform: uppercase; text-align: center; color: #fff; text-shadow: 0 0 22px rgba(255, 80, 220, 0.75), 0 0 6px rgba(255, 160, 240, 0.6), 0 3px 0 #b0168f; margin-bottom: 0.5rem; }
.stitle--gold { color: #ffe9a8; text-shadow: 0 0 22px rgba(255, 180, 40, 0.7), 0 3px 0 #b8560a; background: linear-gradient(180deg, #fff6c2, #ffcf4a 55%, #ff9d00); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 3px 0 #9a4500); text-shadow: none; }
.ssub { text-align: center; font-family: "Barlow Semi Condensed", sans-serif; font-weight: 800; font-size: 1.1rem; color: #fff; margin-bottom: 1.5rem; }
.ssub--caps { text-transform: uppercase; }
.sglass { border-radius: 26px; background: linear-gradient(160deg, var(--glass-hi), var(--glass)); box-shadow: inset 0 0 0 1px var(--glass-edge), 0 14px 30px rgba(10, 0, 40, 0.25); }

.signin-strip { display: flex; align-items: center; gap: 0.85rem; padding: 0.8rem 0.9rem; }
.signin-strip img { border-radius: 14px; flex: none; }
.signin-strip div { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.signin-strip strong { font-weight: 900; }
.signin-strip span { font-size: 0.85rem; color: #e6dbff; }

/* Featured carousel */
.feat-wrap { position: relative; }
.feat-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 1rem; border-radius: 30px; }
.feat-rail::-webkit-scrollbar { display: none; }
.feat { scroll-snap-align: center; position: relative; overflow: hidden; border-radius: 30px; padding: 0 0 1.4rem; text-align: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.feat--royal { background: radial-gradient(80% 60% at 50% 30%, #6a3cf0, #23106a); }
.feat--emerald { background: radial-gradient(80% 60% at 50% 30%, #2fbf6a, #0b4a3a); }
.feat--ruby { background: radial-gradient(80% 60% at 50% 30%, #f0457a, #5a0c3a); }
.feat-stage { position: relative; height: 230px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 0.5rem; isolation: isolate; }
.feat-burst { position: absolute; z-index: -1; width: 340px; height: 340px; left: 50%; top: 50%; margin: -170px 0 0 -170px; background: var(--sunburst) center / contain no-repeat; opacity: 0.9; animation: spin 20s linear infinite; will-change: transform; pointer-events: none; }
.feat-stage .feat-burst { top: 40%; }
.feat-art { max-height: 150px; max-width: 60%; width: auto; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.45)); animation: bob 4.5s ease-in-out infinite; }
.feat-title { font-family: "Lilita One", sans-serif; font-size: clamp(2rem, 7vw, 2.8rem); color: #fff; text-transform: none; -webkit-text-stroke: 5px #2a0a3a; paint-order: stroke fill; text-shadow: 0 4px 0 #2a0a3a, 0 0 24px rgba(255, 255, 255, 0.35); margin: 0.25rem 0 0; }
.feat-items { display: flex; justify-content: center; gap: 0.6rem; margin: 0.75rem 1rem 0.6rem; flex-wrap: wrap; }
.feat-item { position: relative; width: 6.2rem; padding: 0.6rem 0.4rem 0.45rem; border-radius: 18px; background: rgba(255, 255, 255, 0.16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); display: flex; flex-direction: column; align-items: center; gap: 0.2rem; }
.feat-item img { height: 3.2rem; width: auto; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.35)); }
.feat-item b { font-family: "Barlow Semi Condensed", sans-serif; font-weight: 800; font-size: 1.25rem; text-shadow: 0 2px 0 rgba(0, 0, 0, 0.45); }
.feat-item.is-web { background: rgba(10, 4, 40, 0.45); padding-top: 1.6rem; }
.web-only { position: absolute; top: 0; left: 0; right: 0; padding: 0.15rem 0; border-radius: 18px 18px 0 0; background: #e8235a; font-family: "Barlow Semi Condensed", sans-serif; font-weight: 800; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.feat-meta { font-family: "Barlow Semi Condensed", sans-serif; font-weight: 800; font-size: 0.95rem; text-transform: uppercase; color: #fff; margin: 0.25rem 0 0.9rem; display: flex; align-items: center; justify-content: center; gap: 0.4rem; flex-wrap: wrap; }
.feat-meta span:not([data-ends]) { opacity: 0.6; }
.feat-meta .bi { width: 1rem; height: 1rem; }
.feat-buy { min-width: 13rem; }
.feat-arrow { position: absolute; z-index: 2; top: 42%; width: 2.6rem; height: 2.6rem; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.25); color: #fff; display: flex; align-items: center; justify-content: center; }
.feat-arrow .bi { width: 1.4rem; height: 1.4rem; }
.feat-arrow--prev { left: 0.4rem; } .feat-arrow--next { right: 0.4rem; }
.feat-dots { display: flex; justify-content: center; gap: 0.45rem; margin-top: 0.9rem; }
.feat-dots span { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: rgba(255, 255, 255, 0.4); transition: transform 0.3s var(--ease-spring-back), background-color 0.2s; }
.feat-dots span.on { background: #fff; transform: scale(1.3); }

/* Daily reward */
.daily-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 7.6rem; gap: 0.75rem; overflow-x: auto; padding: 1.4rem 0.25rem 1rem; scroll-snap-type: x proximity; scrollbar-width: none; }
.daily-rail::-webkit-scrollbar { display: none; }
.day { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 0.35rem; padding-bottom: 0.7rem; border-radius: 18px; background: #6d55d8; box-shadow: 0 6px 0 #4a34a8; overflow: visible; text-align: center; }
.day-head { align-self: stretch; padding: 0.35rem 0; border-radius: 18px 18px 0 0; background: rgba(0, 0, 0, 0.15); font-family: "Barlow Semi Condensed", sans-serif; font-weight: 800; text-transform: uppercase; color: #e6dbff; }
.day img { height: 3.6rem; width: auto; margin-top: 0.3rem; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.3)); }
.day b { font-family: "Barlow Semi Condensed", sans-serif; font-weight: 800; font-size: 1.3rem; color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35); }
.day--claimed { opacity: 0.55; }
.day-check { position: absolute; right: -0.4rem; top: 2.2rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: linear-gradient(180deg, #8ef05a, #3cc22a); box-shadow: 0 3px 0 #23900f; display: flex; align-items: center; justify-content: center; }
.day-check .bi { width: 1.3rem; height: 1.3rem; }
.day--today { transform: translateY(-0.9rem); background: #8a74f0; box-shadow: 0 6px 0 #5a43c0, 0 0 0 3px #ffd34d, 0 0 26px rgba(255, 211, 77, 0.6); }
.day--today .day-head { background: #ffd34d; color: #6b2800; }
.day-claim { margin-top: 0.2rem; }
.day--locked img { filter: grayscale(0.4) drop-shadow(0 4px 4px rgba(0, 0, 0, 0.3)); }
.day--final { position: relative; isolation: isolate; width: min(260px, 70%); margin: 0.75rem auto 0; padding-bottom: 1rem; background: linear-gradient(180deg, #ffd6f5, #ff9ee3); box-shadow: 0 7px 0 #c8509f; overflow: hidden; }
.day--final .day-head { background: #e8b8ff; color: #4a1c8c; font-size: 1.25rem; }
.day--final img { height: 5.2rem; }
.day--final b { color: #4a1c8c; text-shadow: none; }
.day--final .feat-burst { width: 260px; height: 260px; margin: -130px 0 0 -130px; top: 55%; }

/* Pick-N */
.picks { padding: 0 0.9rem 1rem; overflow: hidden; }
.picks-head { position: relative; isolation: isolate; height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.picks-head img { max-height: 110px; width: auto; animation: bob 4.5s ease-in-out infinite; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.4)); }
.picks-title { font-family: "Lilita One", sans-serif; font-size: clamp(2rem, 7vw, 2.6rem); text-transform: uppercase; color: #c8ff6a; -webkit-text-stroke: 6px #2a0a3a; paint-order: stroke fill; text-shadow: 0 4px 0 #2a0a3a, 0 0 20px rgba(200, 255, 106, 0.5); margin: 0.2rem 0 0.75rem; }
.picks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.pick { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 0.2rem; aspect-ratio: 1 / 0.9; padding: 0.5rem; border-radius: 16px; cursor: pointer; background: linear-gradient(180deg, #6a1fa8, #3c0f78); box-shadow: inset 0 0 0 2px #b04dff, 0 4px 0 rgba(10, 0, 40, 0.4); transition: transform 0.25s var(--ease-spring-back), box-shadow 0.2s; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick img { max-height: 62%; max-width: 80%; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.35)); }
.pick--avatar img { border-radius: 12px; box-shadow: 0 0 0 2px #ff6ad5; }
.pick b { font-family: "Barlow Semi Condensed", sans-serif; font-weight: 800; font-size: 1.15rem; text-shadow: 0 2px 0 rgba(0, 0, 0, 0.45); }
.pick-dot { position: absolute; top: 0.4rem; left: 0.4rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; box-shadow: inset 0 0 0 2px #e0b0ff; }
.pick:has(input:checked) { box-shadow: inset 0 0 0 3px #c8ff6a, 0 0 18px rgba(200, 255, 106, 0.5); transform: scale(1.03); }
.pick input:checked + .pick-dot { background: #c8ff6a; box-shadow: none; }
.pick.is-disabled { opacity: 0.5; cursor: not-allowed; }
.picks-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1rem 0 0.25rem; padding: 0.55rem 0.55rem 0.55rem 1rem; border-radius: 18px; background: rgba(0, 0, 0, 0.35); }
.picks-count { font-family: "Lilita One", sans-serif; font-size: 1.5rem; color: #fff; }
.picks-foot .btn-game[disabled] { filter: grayscale(0.8) brightness(0.85); cursor: not-allowed; }

/* Coin / diamond packs */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem 0.75rem; margin-top: 1.5rem; }
.pack { position: relative; display: flex; flex-direction: column; align-items: center; padding: 1.35rem 0.35rem 0; border-radius: 22px; background: linear-gradient(170deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.1)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); overflow: visible; }
.pack-badge { position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 0.2rem 0.6rem; border-radius: 10px; background: #fff; color: #7b3bf2; font-weight: 900; font-size: 0.78rem; box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2); }
.pack-tag { position: absolute; right: -0.4rem; top: -0.4rem; width: 2.4rem; height: auto; transform: rotate(10deg); z-index: 2; }
.pack-art { height: 4.6rem; width: auto; max-width: 92%; object-fit: contain; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.35)); }
.pack-was { font-weight: 800; font-size: 0.85rem; color: #e6dbff; text-decoration-color: #ff3d6e; text-decoration-thickness: 2px; margin-top: 0.25rem; }
.pack-now { display: inline-flex; align-items: center; gap: 0.3rem; font-family: "Barlow Semi Condensed", sans-serif; font-weight: 800; font-size: clamp(1.3rem, 4.6vw, 1.75rem); text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4); margin-bottom: 0.6rem; }
.pack-now img { height: 1.1em; width: auto; }
.pack-more { position: absolute; right: -0.35rem; top: 55%; display: flex; flex-direction: column; align-items: center; padding: 0.15rem 0.35rem; border-radius: 6px; background: #e8235a; font-family: "Barlow Semi Condensed", sans-serif; font-weight: 800; font-size: 0.72rem; line-height: 1; box-shadow: 0 2px 0 #a3103a; transform: rotate(-4deg); }
.pack-more b { font-size: 1rem; }
.pack-price, .coin-price { align-self: stretch; margin: auto -0.35rem 0; padding: 0.7rem 0.4rem 0.65rem; border: 0; border-radius: 0 0 22px 22px; color: #1d5a07; font-family: "Barlow Semi Condensed", sans-serif; font-weight: 800; font-size: 1.25rem; background: linear-gradient(21deg, rgba(255, 255, 255, 0) 54%, rgba(255, 255, 255, 0.22) 54.3%), linear-gradient(180deg, #a8f56a, #5bd12a); box-shadow: inset 0 -4px 0 #3ea318, inset 0 2px 0 rgba(255, 255, 255, 0.5); transition: filter 0.1s, transform 0.18s var(--ease-spring-back); }
.pack-price:hover, .coin-price:hover { filter: brightness(1.07); }
.pack-price:active, .coin-price:active { transform: translateY(2px); filter: brightness(0.95); }
.coin-price { display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; }
.coin-price img { height: 1.1em; width: auto; }
@media (max-width: 420px) { .packs { gap: 1rem 0.5rem; } .pack-art { height: 3.8rem; } .pack-price { font-size: 1.05rem; } }

/* Card packs */
.cp { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin-top: 1.25rem; }
.cp-card { display: flex; flex-direction: column; overflow: hidden; }
.cp-card--wide { grid-column: 1 / -1; }
.cp-arts { flex: 1; display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 1.25rem 0.5rem; }
.cp-arts img { height: 6rem; width: auto; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.4)); transition: transform 0.4s var(--ease-spring-back); }
.cp-card--wide .cp-arts img:nth-child(1) { transform: rotate(-10deg); }
.cp-card--wide .cp-arts img:nth-child(3) { transform: rotate(10deg); }
.cp-card:hover .cp-arts img { transform: translateY(-4px) rotate(0); }
.cp-arts b { font-family: "Barlow Semi Condensed", sans-serif; font-weight: 800; font-size: 1.4rem; }
.cp .coin-price { margin: 0; border-radius: 0 0 26px 26px; }

/* Express yourself */
.ex { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin-top: 1.25rem; }
.ex-card { position: relative; display: flex; flex-direction: column; align-items: center; overflow: hidden; padding-top: 1rem; }
.ex-card > img { width: 62%; height: auto; border-radius: 18px; box-shadow: 0 0 0 3px #b04dff, 0 8px 16px rgba(0, 0, 0, 0.35); }
.ex-card b { margin: 0.5rem 0 0.75rem; font-weight: 900; }
.ex-info { position: absolute; top: 0.5rem; right: 0.5rem; color: #fff; }
.ex-info .bi { width: 1.25rem; height: 1.25rem; }
.ex .coin-price { margin: 0; border-radius: 0 0 26px 26px; }

/* Gift a friend */
.gift-steps { list-style: none; display: flex; justify-content: center; gap: 1rem; padding: 0; margin: 0 0 1.25rem; }
.gift-steps li { display: flex; align-items: center; gap: 0.4rem; max-width: 9rem; font-family: "Barlow Semi Condensed", sans-serif; font-weight: 800; text-transform: uppercase; line-height: 1.1; }
.gift-steps span { font-size: 2.2rem; }
.gift-friend { display: flex; align-items: center; gap: 0.85rem; padding: 0.6rem 0.6rem 0.6rem 0.9rem; font-family: "Barlow Semi Condensed", sans-serif; font-weight: 800; font-size: 1.15rem; text-transform: uppercase; }
.gift-friend > span:nth-child(2) { flex: 1; }
.gift-friend-ico { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: rgba(255, 255, 255, 0.2); display: flex; align-items: center; justify-content: center; }
.gift-friend-ico .bi { width: 1.3rem; height: 1.3rem; }
.gift-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; align-items: end; margin-top: 2rem; }
.gift-card { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.gift-face { width: 100%; aspect-ratio: 1.45; border-radius: 14px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35), inset 0 0 0 3px rgba(255, 255, 255, 0.35); }
.gift-face img { height: 80%; width: auto; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.35)); }
.gift-card--sapphire .gift-face { background: linear-gradient(135deg, #7fd1ff, #2f7fff); }
.gift-card--ruby .gift-face { background: linear-gradient(135deg, #ff8fd8, #e0287a); }
.gift-card--gold .gift-face { background: linear-gradient(135deg, #fff08a, #ffb300); }
.gift-card.is-big .gift-face { transform: scale(1.12); transform-origin: bottom; }
.gift-price { border: 0; padding: 0.55rem 1.1rem; border-radius: 14px; background: linear-gradient(180deg, #f2f2f2, #cfcfcf); color: #555; font-weight: 900; box-shadow: 0 4px 0 #9a9a9a; transition: transform 0.18s var(--ease-spring-back); }
.gift-price:active { transform: translateY(3px); box-shadow: 0 1px 0 #9a9a9a; }

/* Reward keys */
.rk { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; padding-top: 1rem; }
.rk .feat-burst { top: 4.5rem; }
.rk-art { height: 7rem; width: auto; margin-bottom: 0.5rem; animation: bob 4.5s ease-in-out infinite; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.4)); }
.rk-form { display: flex; flex-direction: column; align-items: center; gap: 1rem; width: min(420px, 100%); margin-top: 0.75rem; }
.rk-input { width: 100%; padding: 1.05rem 1.25rem; border-radius: 22px; border: 0; text-align: center; font-size: 1.15rem; font-weight: 700; color: #fff; background: rgba(255, 255, 255, 0.18); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.4); }
.rk-input::placeholder { color: rgba(255, 255, 255, 0.65); }
.rk-input:focus { outline: none; box-shadow: inset 0 0 0 2px #ffd34d, 0 0 0 4px rgba(255, 211, 77, 0.25); }
.rk-form .btn-game[disabled] { filter: grayscale(1) brightness(1.2); opacity: 0.75; cursor: not-allowed; }

/* Store footer */
.sfoot { text-align: center; padding: 3rem 1rem 6rem; background: linear-gradient(180deg, transparent, rgba(10, 4, 40, 0.6)); }
.sfoot-logo { border-radius: 18px; margin-bottom: 1.25rem; box-shadow: 0 4px 0 rgba(0, 0, 0, 0.35); }
.sfoot-links { display: flex; justify-content: center; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.6rem; font-size: 1.05rem; }
.sfoot-links a, .sfoot-links button { color: #fff; text-decoration: none; border: 0; background: none; padding: 0; }
.sfoot-links span { opacity: 0.5; }
.sfoot-social { display: flex; justify-content: center; gap: 0.9rem; margin: 1.5rem 0 1rem; }
.sfoot-social a { width: 3.4rem; height: 3.4rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: rgba(255, 255, 255, 0.18); transition: transform 0.3s var(--ease-spring-back); }
.sfoot-social a:hover { transform: translateY(-3px); color: #fff; }
.sfoot-social .bi { width: 1.5rem; height: 1.5rem; }
.sfoot-copy { font-size: 0.8rem; color: #b9a6d9; }
.theme-store .chat-btn { color: #2a1147; }
/* pack badges: "+50% more" sits on the art (top-right), tags on the top-left so the amount stays readable */
.pack-more { top: 1.6rem; right: -0.35rem; }
.pack-tag { right: auto; left: -0.45rem; top: 0.9rem; transform: rotate(-12deg); }
.pack-now { font-size: clamp(1.2rem, 4.3vw, 1.65rem); }
@media (min-width: 992px) { .a2hs { display: none !important; } .picks-grid { max-width: 560px; margin: 0 auto; } }
/* iOS overflow fix: grid tracks must be allowed to shrink below the images' intrinsic width */
.picks-grid, .packs, .gift-cards, .smenu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cp, .ex { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pick, .pack, .gift-card, .cp-card, .ex-card, .smenu-item, .feat-item { min-width: 0; }
.pick img { max-width: 78%; max-height: 58%; object-fit: contain; }
.store { overflow-x: clip; }
@media (max-width: 420px) { .picks { padding: 0 0.6rem 0.9rem; } .picks-grid { gap: 0.45rem; } .pick b { font-size: 1rem; } }
.rk { overflow: hidden; padding-bottom: 0.5rem; }

/* ---------- Shop sign-in (matchmasters model) ---------- */
.gate { padding-top: 2.5rem; padding-bottom: 4rem; }
.gate-stage { position: relative; isolation: isolate; height: 220px; display: flex; align-items: center; justify-content: center; }
.gate-stage .feat-burst { top: 50%; }
.gate-art { max-height: 190px; width: auto; animation: bob 4.5s ease-in-out infinite; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.45)); }
.gate-icon { border-radius: 22px; box-shadow: 0 5px 0 rgba(0, 0, 0, 0.35); margin-bottom: 1rem; }
.gate-card { max-width: 440px; margin: 0.5rem auto 0; padding: 1.5rem 1.4rem 1.6rem; }
.gate-download { font-family: "Barlow Semi Condensed", sans-serif; font-weight: 800; font-size: 1.15rem; text-transform: uppercase; margin-bottom: 1rem; }
.gate-or { display: flex; align-items: center; gap: 0.75rem; margin: 1.4rem 0 1rem; color: #e6dbff; font-weight: 800; }
.gate-or::before, .gate-or::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.3); }
.sim-code { margin-top: 1rem; display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
.sim-code[hidden] { display: none; }
.sim-code b { font-family: "Barlow Semi Condensed", sans-serif; font-size: 3rem; letter-spacing: 0.35em; color: var(--gold); }
.sim-code small { color: #e6dbff; }

.login-card { width: min(880px, 100%); }
.login-desktop { display: flex; align-items: center; gap: 2.5rem; padding: 1rem 0.5rem; text-align: left; }
.login-mobile { display: none; }
#loginModal.is-mobile .login-desktop { display: none; }
#loginModal.is-mobile .login-mobile { display: block; }
#loginModal.is-mobile .login-card { width: min(420px, 100%); }
.login-qr { flex: none; width: 260px; height: 260px; padding: 12px; border-radius: 20px; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 0 rgba(0, 0, 0, 0.3); }
.login-qr svg { width: 100%; height: 100%; display: block; }
.login-side { flex: 1; min-width: 0; }
.login-side .smodal-title { text-align: left; }
.otp-boxes { display: flex; gap: 0.75rem; margin: 1.25rem 0 0.75rem; }
.otp-boxes input { width: 3.6rem; height: 4.4rem; border: 0; border-radius: 16px; text-align: center; font-family: "Barlow Semi Condensed", sans-serif; font-weight: 800; font-size: 2.2rem; color: #2a1147; background: #fff; box-shadow: inset 0 -4px 0 #d6c4ee, 0 4px 0 rgba(0, 0, 0, 0.3); }
.otp-boxes input:focus { outline: none; box-shadow: inset 0 -4px 0 var(--gold-mid), 0 0 0 3px var(--gold), 0 4px 0 rgba(0, 0, 0, 0.3); }
.login-opt-h { display: flex; align-items: center; gap: 0.45rem; margin: 0 0 0.3rem; font-family: "Barlow Semi Condensed", sans-serif; font-weight: 800; font-size: 1.1rem; text-transform: uppercase; color: #fff; }
.login-opt-h svg { width: 1.05em; height: 1.05em; color: var(--gold); flex: none; }
.login-opt .smodal-text { margin: 0; }
.login-or { display: flex; align-items: center; gap: 0.75rem; margin: 0.9rem 0; color: #e6dbff; font-weight: 800; text-transform: uppercase; font-size: 0.8rem; }
.login-or::before, .login-or::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.25); }
.login-browser-btn { margin-top: 0.35rem; }
[data-login-browser].is-loading, [data-login-open-app].is-loading { opacity: 0.55; pointer-events: none; }
.login-status { margin: 0.5rem 0 0; color: #e6dbff; font-weight: 700; min-height: 1.5em; }
.login-spinner { width: 46px; height: 46px; border-radius: 50%; border: 5px solid #e6dbff; border-top-color: #7b3bf2; animation: spin 0.9s linear infinite; }
@media (max-width: 767.98px) { .login-desktop { flex-direction: column; text-align: center; gap: 1.25rem; } .login-side .smodal-title { text-align: center; } .login-opt-h { justify-content: center; } .otp-boxes { justify-content: center; } .login-qr { width: 220px; height: 220px; } }

/* iOS horizontal "wiggle" fix: the pop-in overshoot (scale 1.03) briefly pushes full-width columns ~2px past the
   viewport and iOS Safari ignores overflow-x:hidden on body, so the whole page could pan sideways.
   overflow-x: clip (unlike hidden) creates no scroll container, so the sticky nav keeps working. */
html, body { overflow-x: clip; }
main, .site-footer, .sfoot { overflow-x: clip; }

/* ---------- ONE menu everywhere (owner): the shop's menu card, also on the landing site ---------- */
[data-smenu].is-open .smenu, [data-smenu].is-closing .smenu { display: block; }
[data-smenu].is-open .smenu { animation: menu-open 0.55s var(--ease-out-expo) both; }
[data-smenu].is-closing .smenu { animation: menu-close 0.18s ease-in both; }
[data-smenu].is-open .menu-pop { animation: tile-pop 0.5s var(--ease-out-expo) both; animation-delay: calc(120ms + var(--i, 0) * 45ms); }
body.smenu-open .site-nav-wrap::after { content: ""; position: fixed; inset: 0; z-index: -1; background: rgba(12, 4, 36, 0.55); }
.site-nav .smenu { color: #fff; text-align: left; }
@media (min-width: 576px) { .smenu { right: auto; width: 440px; } }
.site-nav .sbar-burger { color: var(--plum); }
.site-nav .sbar-burger span { background: var(--plum); }
.sbar-burger { transition: transform 0.25s var(--ease-spring-back); }
.sbar-burger:active { transform: scale(0.9); }
.site-nav .nav-brand { margin-right: auto; }
.site-nav .nav-links, .site-nav .menu-toggle, .site-nav .game-menu { display: none !important; }
.smenu-brand { display: inline-flex; align-items: center; gap: 0.5rem; font-family: "Lilita One", sans-serif; font-size: 1.2rem; color: #fff; }
.smenu-brand img { border-radius: 12px; }
.smenu-spacer { width: 2.2rem; }
.smenu-item.is-active { background: rgba(255, 211, 77, 0.16); box-shadow: inset 0 0 0 2px rgba(255, 211, 77, 0.6); }
.smenu-grid .smenu-ico { height: 3.2rem; }
.smenu-grid .smenu-ico img { max-height: 3rem; }
.smenu-grid .smenu-ico .bi { width: 2.3rem; height: 2.3rem; }
.smenu-item { font-size: 0.92rem; }

/* Two-word button labels ("Play on Browser", "Super Store"): one line on wide screens;
   on phones the label stacks (big word + small word) so the button keeps its old size. */
.btn-lbl small { font-size: 1em; }
@media (max-width: 575.98px) {
  .btn-lbl { display: inline-flex; flex-direction: column; align-items: center; line-height: 0.95; }
  .btn-lbl small { font-size: 0.6em; letter-spacing: 0.04em; }
  .nav-cta .btn-game { padding-top: 0.32rem; padding-bottom: 0.3rem; min-height: 2.35rem; }
  .nav-cta .btn-game .bi { display: none; }
  .btn-pair { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem !important; }
  .btn-pair .btn-game { min-width: 0; justify-content: center; padding-left: 0.6rem; padding-right: 0.6rem; }
}

/* Checkout button while the checkout URL is being opened */
[data-checkout].is-busy { opacity: 0.65; pointer-events: none; }

/* Appcharge hosted checkout (full-screen iframe over the shop, opened by app.js openAppcharge) */
.ac-checkout { position: fixed; inset: 0; z-index: 10000; background: rgba(20, 8, 40, 0.85); }
.ac-checkout iframe { display: block; width: 100%; height: 100vh; height: 100dvh; border: 0; }
html.ac-open, html.ac-open body { overflow: hidden; }

/* ---- Purchase celebration (#purchaseModal) - matchmasters-style reward pop: springy card, spinning sunburst,
   bouncing reward art, count-up amount, confetti canvas. Transform/opacity only (no blur/mask on animated parts). */
.smodal--win { overflow: hidden; }
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.win-card { z-index: 1; overflow: visible; padding-top: 2.4rem; background: radial-gradient(120% 80% at 50% 0%, #4a1c8c 0%, #24123f 55%, #120822 100%); box-shadow: inset 0 0 0 2px rgba(255, 211, 77, 0.55), 0 30px 80px rgba(0, 0, 0, 0.6); animation: win-pop 0.75s var(--ease-spring-back) both; }
.win-ribbon { position: absolute; top: -1.05rem; left: 0; right: 0; width: max-content; margin: 0 auto; white-space: nowrap; padding: 0.45rem 1.4rem 0.4rem; border-radius: 12px; font-family: "Barlow Semi Condensed", sans-serif; font-weight: 800; font-size: 1.05rem; letter-spacing: 0.03em; text-transform: uppercase; color: #fff; background: linear-gradient(180deg, #ff4fb8, #c2188f); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.35), 0 4px 0 #7d0b5c; animation: drop-in 0.5s 0.25s var(--ease-spring-back) both; }
.win-art { position: relative; display: grid; place-items: center; height: 170px; margin: 0.2rem 0 0.4rem; isolation: isolate; }
.win-burst { position: absolute; z-index: -1; width: 330px; height: 330px; left: 50%; top: 50%; margin: -165px 0 0 -165px; background: var(--sunburst) center / contain no-repeat; animation: spin 14s linear infinite, burst-in 0.6s 0.15s var(--ease-out-expo) both; will-change: transform; }
.win-art img { width: 180px; max-width: 70%; height: auto; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.45)); animation: win-art-in 0.8s 0.2s var(--ease-spring-back) both, bob 2.6s 1.1s ease-in-out infinite; }
.win-title { font-family: "Lilita One", sans-serif; font-size: 2.3rem; color: var(--gold); text-shadow: 0 3px 0 #a3410a, 0 0 22px rgba(255, 196, 0, 0.55); margin: 0 0 0.2rem; animation: drop-in 0.5s 0.4s var(--ease-spring-back) both; }
.win-amount { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 0.7rem; padding: 0.35rem 1.1rem 0.35rem 0.6rem; border-radius: 999px; background: rgba(0, 0, 0, 0.32); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); font-family: "Lilita One", sans-serif; font-size: 2rem; color: #fff; font-variant-numeric: tabular-nums; animation: pop-in 0.5s 0.55s var(--ease-spring-back) both; }
.win-amount img { width: 34px; height: auto; }
.win-amount.is-done { animation: win-thump 0.45s var(--ease-spring-back); }
.win-cta { margin-top: 1rem; animation: pop-in 0.5s 0.8s var(--ease-spring-back) both, pulse-gold 1.8s 1.6s ease-in-out infinite; }
@keyframes win-pop { 0% { opacity: 0; transform: scale(0.4) rotate(-4deg); } 55% { opacity: 1; transform: scale(1.06) rotate(1deg); } 80% { transform: scale(0.98); } 100% { opacity: 1; transform: none; } }
@keyframes win-art-in { 0% { opacity: 0; transform: scale(0.2) rotate(-20deg); } 60% { opacity: 1; transform: scale(1.18) rotate(6deg); } 100% { opacity: 1; transform: none; } }
@keyframes burst-in { 0% { opacity: 0; scale: 0.3; } 100% { opacity: 1; scale: 1; } }
@keyframes win-thump { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes pulse-gold { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .win-card, .win-ribbon, .win-burst, .win-art img, .win-title, .win-amount, .win-cta { animation: none; } }

/* Store sections that are not connected yet (store.json -> soon: true): visible to the team, greyed out, inert. */
.ssec-soon { position: relative; }
.ssec-soon > .ssec { filter: grayscale(1); opacity: 0.45; pointer-events: none; user-select: none; }
.ssec-soon > .ssec * { animation: none !important; transition: none !important; }
.soon-badge { position: relative; z-index: 3; display: flex; width: max-content; margin: 1.5rem auto -0.6rem; transform: rotate(-3deg); align-items: center; gap: 0.4rem; white-space: nowrap; padding: 0.4rem 1.1rem 0.35rem; border-radius: 12px; font-family: "Barlow Semi Condensed", sans-serif; font-weight: 800; font-size: 1.05rem; letter-spacing: 0.04em; text-transform: uppercase; color: #3a2a00; background: linear-gradient(180deg, #fde74c, #f2b705); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), 0 4px 0 #a06a00; }
.soon-badge .bi { width: 1rem; height: 1rem; }

/* Play Ad-Free (2 cards) + sold-out offers */
.packs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 480px; margin-inline: auto; }
.pack--noads .pack-art { width: 78%; height: auto; margin: 0.4rem auto 0.2rem; }
.pack--noads .pack-now { justify-content: center; }
.is-sold { filter: grayscale(1); opacity: 0.7; cursor: not-allowed; }

/* Sign-in gate: "Or enter your Player ID" (testing, store.allowPlainPlayerId) */
.gate-pid { margin-top: 1.1rem; text-align: left; }
.gate-pid label { display: block; font-family: "Barlow Semi Condensed", sans-serif; font-weight: 800; color: #e6dbff; margin-bottom: 0.4rem; text-align: center; }
.gate-pid-row { display: flex; gap: 0.5rem; }
.gate-pid-row input { flex: 1; min-width: 0; padding: 0.6rem 0.9rem; border-radius: 12px; border: 2px solid rgba(255, 255, 255, 0.25); background: rgba(0, 0, 0, 0.3); color: #fff; font-size: 1.1rem; letter-spacing: 0.06em; }
.gate-pid-row input:focus { outline: none; border-color: var(--gold); }
.gate-pid-err { margin: 0.5rem 0 0; color: #ffb3c4; font-size: 0.9rem; text-align: center; }

/* Live support chat (partials/chat.ejs, chatLive) */
.chat--live .chat-panel { width: min(380px, calc(100vw - 2rem)); padding: 0; overflow: hidden; display: none; flex-direction: column; }
.chat--live.is-open .chat-panel { display: flex; }
.chat-head { display: flex; align-items: center; gap: 0.7rem; padding: 0.85rem 1rem; background: linear-gradient(180deg, #4a1c8c, #2b0f5c); color: #fff; }
.chat-head img { border-radius: 10px; }
.chat-head h2 { font-family: "Lilita One", sans-serif; font-size: 1.15rem; margin: 0; color: #fff; text-transform: none; }
.chat-status { display: flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; color: #d9c8ff; }
.chat-status i { width: 8px; height: 8px; border-radius: 50%; background: #36d27a; box-shadow: 0 0 0 3px rgba(54, 210, 122, 0.25); }
.chat-log { height: min(52vh, 420px); overflow-y: auto; overscroll-behavior: contain; padding: 0.9rem 0.8rem; display: flex; flex-direction: column; gap: 0.5rem; background: #f6efff; }
.chat-hello { margin: 0 auto 0.3rem; max-width: 90%; text-align: center; font-size: 0.85rem; color: #6b5a8a; }
.chat-msg { max-width: 82%; padding: 0.5rem 0.75rem 0.35rem; border-radius: 16px; font-size: 0.95rem; line-height: 1.35; box-shadow: 0 2px 0 rgba(42, 17, 71, 0.08); }
.chat-msg { min-width: 0; overflow-wrap: anywhere; }
.chat-msg p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; word-break: normal; }
.chat-msg a.chat-link, .chat--live .chat-msg a.chat-link, .schat .chat-msg a.chat-link { color: #1a5fd6; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; font-weight: 600; }
.chat-msg a.chat-link:hover { color: #0f47a8; }
.chat-msg--me { align-self: flex-end; background: linear-gradient(180deg, #8b3bff, #6a1fe0); color: #fff; border-bottom-right-radius: 6px; cursor: default; }
.chat-msg--bot, .chat-msg--team { align-self: flex-start; background: #fff; color: var(--ink); border-bottom-left-radius: 6px; }
.chat-msg--team { box-shadow: inset 3px 0 0 var(--gold), 0 2px 0 rgba(42, 17, 71, 0.08); }
.chat-who { display: block; font-size: 0.72rem; font-weight: 800; color: var(--gold-ink); text-transform: uppercase; letter-spacing: 0.04em; }
.chat-meta { display: block; margin-top: 0.15rem; font-size: 0.7rem; opacity: 0.7; text-align: right; }
.chat-msg.is-failed { background: #c2185b; cursor: pointer; }
.chat-typing { display: flex; gap: 4px; padding: 0.7rem 0.85rem; }
.chat-typing i { width: 7px; height: 7px; border-radius: 50%; background: #9b87c2; animation: chat-dot 1s infinite ease-in-out; }
.chat-typing i:nth-child(2) { animation-delay: 0.15s; } .chat-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-dot { 0%, 80%, 100% { transform: translateY(0); opacity: 0.5; } 40% { transform: translateY(-5px); opacity: 1; } }
.chat-form { display: flex; align-items: flex-end; gap: 0.5rem; padding: 0.6rem; background: #fff; border-top: 1px solid #ead7bd; }
.chat-form textarea { flex: 1; min-width: 0; resize: none; border: 2px solid #e4d6f5; border-radius: 14px; padding: 0.5rem 0.75rem; font: inherit; font-size: 1rem; color: var(--ink); max-height: 120px; }
.chat-form textarea:focus { outline: none; border-color: #8b3bff; }
.chat-send { flex: none; width: 2.6rem; height: 2.6rem; border: 0; border-radius: 12px; color: #fff; background: linear-gradient(180deg, #4cd964, #22a447); box-shadow: 0 3px 0 #157a32; display: grid; place-items: center; }
.chat-send:disabled { filter: grayscale(1); opacity: 0.5; }
.chat-send .bi { width: 1.1rem; height: 1.1rem; }
.chat-dot { position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: 50%; background: #ff2d55; border: 2px solid #fff; }
.chat--live .chat-msg p { font-size: 0.95rem; color: inherit; }
.chat--live .chat-msg--me p, .chat--live .chat-msg--me .chat-meta { color: #fff; }
.chat--live .chat-msg--bot p, .chat--live .chat-msg--team p { color: var(--ink); }

/* Store bar: player level badge on the avatar; owned (ad-free) state */
.sbar-avatar { position: relative; }
.sbar-avatar img { object-fit: cover; border-radius: 50%; }
.sbar-level { position: absolute; right: -6px; bottom: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; display: grid; place-items: center; font: 800 0.72rem/1 "Barlow Semi Condensed", sans-serif; color: #3a2a00; background: linear-gradient(180deg, #fde74c, #f2b705); box-shadow: 0 2px 0 #a06a00; }
.pack-price.is-owned { display: flex; align-items: center; justify-content: center; gap: 0.35rem; cursor: default; background: linear-gradient(180deg, #36d27a, #1f9e55); }
.pack-price.is-owned .bi { width: 1rem; height: 1rem; }

/* Store bar: player level badge on the avatar; owned (ad-free) state */
.sbar-avatar { position: relative; }
.sbar-avatar img { object-fit: cover; border-radius: 50%; }
.sbar-level { position: absolute; right: -6px; bottom: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; display: grid; place-items: center; font: 800 0.72rem/1 "Barlow Semi Condensed", sans-serif; color: #3a2a00; background: linear-gradient(180deg, #fde74c, #f2b705); box-shadow: 0 2px 0 #a06a00; }
.pack-price.is-owned { display: flex; align-items: center; justify-content: center; gap: 0.35rem; cursor: default; background: linear-gradient(180deg, #36d27a, #1f9e55); }
.pack-price.is-owned .bi { width: 1rem; height: 1rem; }

/* ---- VIP host (Oliver) ---- */
.vip-host { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; align-items: center; padding: 1.25rem 1.4rem; border: 2px solid transparent; background: linear-gradient(135deg, rgba(74, 28, 140, 0.92), rgba(42, 17, 71, 0.95)) padding-box, var(--gold-rim) border-box; border-radius: 26px; }
.vip-photo { position: relative; width: 132px; height: 132px; isolation: isolate; }
.vip-photo img { position: relative; z-index: 1; width: 132px; height: 132px; object-fit: cover; border-radius: 50%; border: 4px solid #ffd34d; box-shadow: 0 6px 0 #a8630a; }
.vip-photo .feat-burst { width: 220px; height: 220px; margin: -110px 0 0 -110px; z-index: 0; }
.vip-badge { position: absolute; z-index: 2; left: 50%; bottom: -0.6rem; transform: translateX(-50%); padding: 0.15rem 0.7rem; border-radius: 10px; font: 800 0.95rem/1.2 "Barlow Semi Condensed", sans-serif; letter-spacing: 0.08em; color: #3a2a00; background: linear-gradient(180deg, #fde74c, #f2b705); box-shadow: 0 3px 0 #a06a00; }
.vip-online { position: absolute; z-index: 2; right: 8px; top: 8px; width: 18px; height: 18px; border-radius: 50%; background: #36d27a; border: 3px solid #fff; animation: ring 2.6s ease-out infinite; }
.vip-kicker { display: inline-flex; align-items: center; gap: 0.35rem; font: 800 0.85rem/1 "Barlow Semi Condensed", sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: #ffd34d; }
.vip-kicker .bi { width: 0.9rem; height: 0.9rem; }
.vip-title { font-family: "Lilita One", sans-serif; font-size: clamp(1.6rem, 4vw, 2.2rem); color: #fff; text-shadow: 0 3px 0 #2a0a66; margin: 0.25rem 0 0.4rem; }
.vip-copy p { color: #e6dbff; margin-bottom: 0.9rem; }
.vip-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
@media (max-width: 575.98px) { .vip-host { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; } .vip-actions { justify-content: center; } }

/* ---- Lucky Claw ---- */
.claw { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
@media (max-width: 767.98px) { .claw { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 768px) { .claw { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); } }
.claw-machine { position: relative; max-width: 420px; width: 100%; margin: 0 auto; padding: 0.7rem; border-radius: 28px; background: linear-gradient(180deg, #ff4fb8, #b0168f); box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.35), 0 8px 0 #6d0a55; }
.claw-sign { position: relative; text-align: center; padding: 0.5rem 0 0.7rem; }
.claw-sign span { font: 1.6rem/1 "Lilita One", sans-serif; color: #fff4b8; text-shadow: 0 3px 0 #7d0b5c, 0 0 14px rgba(255, 230, 120, 0.8); letter-spacing: 0.04em; }
.claw-sign i { position: absolute; top: 0.15rem; width: 8px; height: 8px; border-radius: 50%; background: #fff4b8; box-shadow: 0 0 8px #ffd34d; animation: claw-bulb 1.2s infinite steps(2); }
.claw-sign i:nth-of-type(1) { left: 8%; } .claw-sign i:nth-of-type(2) { left: 28%; animation-delay: 0.3s; } .claw-sign i:nth-of-type(3) { left: 50%; } .claw-sign i:nth-of-type(4) { left: 72%; animation-delay: 0.3s; } .claw-sign i:nth-of-type(5) { left: 92%; }
@keyframes claw-bulb { 50% { opacity: 0.25; } }
.claw-glass { position: relative; height: 300px; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, rgba(200, 235, 255, 0.35), rgba(120, 80, 220, 0.35)), #2b0f5c; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.35), inset 0 -40px 60px rgba(0, 0, 0, 0.35); }
.claw-glass::after { content: ""; position: absolute; left: 6%; top: 0; width: 14%; height: 100%; background: rgba(255, 255, 255, 0.12); transform: skewX(-12deg); pointer-events: none; }
.claw-rig { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.claw-rail { position: absolute; left: 0; right: 0; top: 10px; height: 8px; background: linear-gradient(180deg, #d9d9e6, #8d8da6); }
.claw-cable { position: absolute; top: 14px; left: var(--rx, 50%); width: 3px; height: var(--len, 26px); margin-left: -1.5px; background: #c9c9da; transition: height var(--t, 0.6s) ease-in-out, left var(--tx, 0.6s) ease-in-out; }
.claw-head { position: absolute; top: calc(14px + var(--len, 26px)); left: var(--rx, 50%); width: 54px; height: 34px; margin-left: -27px; transition: top var(--t, 0.6s) ease-in-out, left var(--tx, 0.6s) ease-in-out; }
.claw-head::before { content: ""; position: absolute; left: 13px; top: 0; width: 28px; height: 14px; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, #f1f1f8, #9a9ab3); box-shadow: 0 2px 0 #6a6a85; }
.claw-head i { position: absolute; top: 10px; width: 6px; height: 26px; border-radius: 3px; background: linear-gradient(90deg, #d9d9e6, #8d8da6); transform-origin: 50% 0; transition: transform 0.25s ease; }
.claw-head i:nth-child(1) { left: 6px; transform: rotate(28deg); } .claw-head i:nth-child(2) { left: 24px; height: 22px; } .claw-head i:nth-child(3) { right: 6px; transform: rotate(-28deg); }
.claw-head.is-closed i:nth-child(1) { transform: rotate(8deg); } .claw-head.is-closed i:nth-child(3) { transform: rotate(-8deg); }
/* Capsules: glossy 3D balls (sphere shading + gold seam + specular + shine sweep + twinkles + idle bob).
   .cap keeps its transform free for the claw animation; idle motion lives on .cap-in. */
.cap { position: absolute; left: clamp(33px, var(--x), calc(100% - 33px)); top: var(--y); width: 62px; height: 62px; margin: -31px 0 0 -31px; transform: rotate(var(--r)); transition: transform var(--t, 0.6s) ease-in-out; }
.cap::before { content: ""; position: absolute; left: 8%; right: 8%; bottom: -6px; height: 10px; border-radius: 50%; background: radial-gradient(closest-side, rgba(10, 0, 30, 0.55), transparent); }
.cap-in { position: absolute; inset: 0; animation: cap-bob 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * -0.37s); }
.cap-ball { position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.95) 0 9%, rgba(255, 255, 255, 0.35) 15%, transparent 30%),
    radial-gradient(circle at 70% 82%, rgba(255, 255, 255, 0.35) 0 6%, transparent 18%),
    linear-gradient(180deg, transparent 47%, #b8860b 47.5%, #fff3b0 50%, #c8920e 52.5%, transparent 53%),
    linear-gradient(180deg, transparent 50%, rgba(255, 255, 255, 0.92) 50%),
    radial-gradient(circle at 38% 30%, color-mix(in srgb, var(--c) 55%, #fff) 0%, var(--c) 45%, color-mix(in srgb, var(--c) 60%, #000) 100%);
  box-shadow: inset -5px -7px 12px rgba(20, 0, 50, 0.45), inset 4px 5px 8px rgba(255, 255, 255, 0.35), 0 0 0 2px rgba(255, 255, 255, 0.55), 0 4px 0 rgba(30, 5, 60, 0.45); }
.cap-ball::before { content: ""; position: absolute; top: 7%; left: 16%; width: 40%; height: 22%; border-radius: 50%; background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.1)); transform: rotate(-24deg); }
.cap-ball::after { content: ""; position: absolute; top: -20%; left: -60%; width: 40%; height: 140%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent); transform: rotate(21deg); animation: cap-shine 4.2s ease-in-out infinite; animation-delay: calc(var(--i) * 0.53s); }
.cap-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 0.95; z-index: 1; }
.cap-label b { font: 1.12rem/1 "Lilita One", sans-serif; color: #fff; -webkit-text-stroke: 3px #2a1147; paint-order: stroke fill; text-shadow: 0 2px 0 #2a1147; }
.cap-label small { margin-top: 1px; justify-self: center; padding: 1px 5px; border-radius: 6px; font: 800 0.52rem/1.3 "Barlow Semi Condensed", sans-serif; letter-spacing: 0.06em; color: #3a2a00; background: linear-gradient(180deg, #fff4b8, #f2b705); box-shadow: 0 1px 0 #a06a00; }
.cap-spark { position: absolute; z-index: 2; top: 2px; right: 4px; width: 15px; height: 15px; background: #fff; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); filter: drop-shadow(0 0 4px #fff3a0); opacity: 0; animation: cap-twinkle 2.2s ease-in-out infinite; animation-delay: calc(var(--i) * 0.41s); }
.cap-spark--2 { top: auto; right: auto; bottom: 10px; left: 4px; width: 9px; height: 9px; animation-delay: calc(var(--i) * 0.41s + 1.3s); }
/* the jackpot ball */
.cap--double .cap-ball { background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.95) 0 9%, rgba(255, 255, 255, 0.35) 15%, transparent 30%),
    linear-gradient(180deg, transparent 47%, #b8860b 47.5%, #fff3b0 50%, #c8920e 52.5%, transparent 53%),
    conic-gradient(from 30deg, #ffd34d, #ff3d6e, #a259ff, #45a6ff, #36d27a, #ffd34d); }
.cap--double .cap-in::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 230, 120, 0.85), rgba(255, 120, 200, 0.35) 60%, transparent); animation: cap-glow 1.6s ease-in-out infinite; }
.cap--double .cap-label b { font-size: 1.35rem; color: #fff4b8; -webkit-text-stroke: 3px #7d0b5c; text-shadow: 0 2px 0 #7d0b5c; }
.cap--double .cap-label small { color: #fff; background: linear-gradient(180deg, #ff4fb8, #c2188f); box-shadow: 0 1px 0 #7d0b5c; }
.cap--double .cap-spark { animation-duration: 1.4s; }
.cap--jackpot .cap-in::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 214, 90, 0.9), rgba(255, 170, 0, 0.3) 60%, transparent); animation: cap-glow 1.8s ease-in-out infinite; }
.cap--jackpot .cap-label b { color: #ffe27a; }
.cap--jackpot .cap-spark { animation-duration: 1.5s; }
.cap.is-won .cap-in { animation: none; }
.cap.is-won .cap-in::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; box-shadow: 0 0 0 3px #fff4b8, 0 0 22px 6px rgba(255, 230, 120, 0.9); }
@keyframes cap-bob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-3px) rotate(4deg); } }
@keyframes cap-shine { 0%, 62% { transform: translateX(0) rotate(21deg); } 82%, 100% { transform: translateX(420%) rotate(21deg); } }
@keyframes cap-twinkle { 0%, 62%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); } 76% { opacity: 1; transform: scale(1.1) rotate(45deg); } 90% { opacity: 0.4; transform: scale(0.7) rotate(90deg); } }
@keyframes cap-glow { 0%, 100% { opacity: 0.55; transform: scale(0.92); } 50% { opacity: 1; transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .cap-in, .cap-ball::after, .cap-spark, .cap--double .cap-in::before, .cap--jackpot .cap-in::before { animation: none; } }
.claw-result { position: absolute; z-index: 4; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.15rem; color: #fff; background: rgba(28, 8, 60, 0.72); animation: pop-in 0.5s var(--ease-spring-back) both; }
.claw-result span { font: 800 0.9rem/1 "Barlow Semi Condensed", sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: #ffd34d; }
.claw-result b { font: 3rem/1 "Lilita One", sans-serif; color: #fff4b8; text-shadow: 0 4px 0 #a3410a; }
.claw-result small { color: #e6dbff; }
.claw-base { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.7rem 0.2rem 0.1rem; }
.claw-chute { flex: none; width: 76px; height: 44px; border-radius: 10px; display: grid; place-items: center; font: 800 0.8rem/1 "Barlow Semi Condensed", sans-serif; letter-spacing: 0.1em; color: #fff4b8; background: #3a0a2e; box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.6); }
.claw-base .btn-game { flex: 1; }
.claw-go small { display: block; font-size: 0.65em; opacity: 0.85; }
.claw-deals { display: grid; gap: 0.75rem; }
.claw-deal { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 0.75rem; align-items: center; padding: 0.7rem 0.8rem; border-radius: 18px; }
.claw-deal img { width: 64px; height: auto; }
.claw-deal-copy b { display: block; font: 1.05rem/1.1 "Lilita One", sans-serif; color: #fff; } .claw-deal-copy small { color: #d9c8ff; font-weight: 700; }
.claw-price { display: block; margin-top: 0.15rem; } .claw-price s { color: #d9c8ff; text-decoration-color: #ff3d6e; text-decoration-thickness: 2px; } .claw-price em { font: normal 1.15rem/1 "Lilita One", sans-serif; color: #ffd34d; }
.claw-deal .pack-price { width: auto; padding: 0.5rem 0.9rem; border-radius: 12px; }
.claw-deal .pack-price.is-locked { filter: grayscale(0.6); opacity: 0.85; }
.claw-deal.is-hot { animation: win-thump 0.5s var(--ease-spring-back); }
.claw-qty s { display: block; line-height: 1.2; color: #d9c8ff; text-decoration-color: #ff3d6e; text-decoration-thickness: 2px; } .claw-qty em { white-space: nowrap; font: 1.05rem/1 "Lilita One", sans-serif; font-style: normal; color: #ffd34d; }
.claw-x2 { display: inline-block; margin-left: 0.25rem; padding: 0 0.4rem; border-radius: 6px; font: 800 0.8rem/1.4 "Barlow Semi Condensed", sans-serif; font-style: normal; color: #fff; background: linear-gradient(180deg, #ff4fb8, #c2188f); box-shadow: 0 2px 0 #7d0b5c; }
.claw-note { margin: 0.2rem 0 0; font-size: 0.8rem; color: #b9a6d9; text-align: center; }
@media (prefers-reduced-motion: reduce) { .claw-sign i, .vip-online { animation: none; } }
.cap.is-won { z-index: 3; }
/* claw glass: glitter in the air + a lit floor so the balls pop */
.claw-glass::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 14%, rgba(255, 246, 194, 0.9) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 46% 36%, rgba(255, 255, 255, 0.7) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 40%, rgba(255, 255, 255, 0.8) 0 1px, transparent 2px),
    radial-gradient(circle at 30% 48%, rgba(255, 246, 194, 0.8) 0 1.5px, transparent 2.5px),
    radial-gradient(ellipse 70% 30% at 50% 100%, rgba(255, 120, 220, 0.45), transparent 70%);
  animation: claw-glitter 3s ease-in-out infinite; }
@keyframes claw-glitter { 50% { opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) { .claw-glass::before { animation: none; } }

/* ---- Support chat page (/support_chat): phone = full-screen chat, desktop = chat card + account side panel ---- */
.theme-chat { min-height: 100dvh; }
.theme-chat main { display: flex; }
.schat { flex: 1; display: flex; width: 100%; height: var(--vvh, 100dvh); min-height: 0; }
.schat-wrap { flex: 1; display: flex; min-height: 0; width: 100%; }
.schat-main { flex: 1; min-width: 0; display: flex; flex-direction: column; min-height: 0; background: #f6efff; }
.schat-head { flex: none; display: flex; align-items: center; gap: 0.65rem; padding: 0.6rem 0.75rem; padding-top: max(0.6rem, env(safe-area-inset-top)); background: linear-gradient(180deg, #4a1c8c, #2b0f5c); color: #fff; box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25); position: relative; z-index: 2; }
.schat-back { display: inline-flex; align-items: center; gap: 0.1rem; padding: 0.35rem 0.55rem 0.35rem 0.3rem; border-radius: 12px; color: #fff; text-decoration: none; font: 800 0.95rem/1 "Barlow Semi Condensed", sans-serif; text-transform: uppercase; background: rgba(255, 255, 255, 0.12); }
.schat-back:hover { color: #fff; background: rgba(255, 255, 255, 0.2); }
.schat-back .bi { width: 1.1rem; height: 1.1rem; }
.schat-avatar { position: relative; flex: none; }
.schat-avatar img { border-radius: 11px; display: block; }
.schat-online { position: absolute; right: -3px; bottom: -3px; width: 13px; height: 13px; border-radius: 50%; background: #36d27a; border: 2px solid #2b0f5c; }
.schat-titles { flex: 1; min-width: 0; }
.schat-titles h1 { margin: 0; font: 1.2rem/1.1 "Lilita One", sans-serif; color: #fff; text-transform: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.schat-shop { display: inline-flex; flex-direction: column; align-items: center; gap: 1px; color: #ffd34d; text-decoration: none; font: 800 0.7rem/1 "Barlow Semi Condensed", sans-serif; text-transform: uppercase; }
.schat-log { flex: 1; height: auto; min-height: 0; padding: 1rem 0.85rem; }
.schat .chat-msg p { font-size: 1rem; color: inherit; }
.schat .chat-msg--me p, .schat .chat-msg--me .chat-meta { color: #fff; }
.schat .chat-msg--bot p, .schat .chat-msg--team p { color: var(--ink); }
.schat-quick { flex: none; display: flex; flex-wrap: wrap; gap: 0.45rem; padding: 0.5rem 0.75rem 0.25rem; background: #f6efff; }
.schat-quick[hidden] { display: none; }
.schat-chip { border: 2px solid #c9b3f0; background: #fff; color: #5a2bb0; border-radius: 999px; padding: 0.4rem 0.8rem; font: 700 0.9rem/1.2 "Nunito Variable", Nunito, sans-serif; }
.schat-chip:hover { border-color: #8b3bff; color: #3d148a; }
.schat-form { flex: none; padding-bottom: max(0.6rem, env(safe-area-inset-bottom)); }
.schat-gate { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem 1.25rem; background: radial-gradient(circle at 50% 30%, #5b22a8, #2b0f5c 70%); }
.schat-gate .btn-game { max-width: 360px; }
.schat-gate-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.25rem; margin-top: 1.25rem; }
.schat-gate-links a { display: inline-flex; align-items: center; gap: 0.35rem; color: #e6dbff; font-weight: 700; }
.schat-gate-links .bi, .schat-links .bi { width: 1rem; height: 1rem; }
.schat-side { display: none; }
@media (min-width: 992px) {
  .schat { height: auto; min-height: 0; padding: 2rem 1.5rem; box-sizing: border-box; }
  .schat-wrap { max-width: 1080px; margin: 0 auto; gap: 1.25rem; align-items: stretch; height: calc(100dvh - 4rem); max-height: 820px; }
  .schat-wrap--gate { max-width: 640px; }
  .schat-main { border-radius: 24px; overflow: hidden; border: 3px solid #ffd34d; box-shadow: 0 10px 0 rgba(20, 0, 50, 0.45); }
  .schat-head { padding: 0.85rem 1.1rem; }
  .schat-side { display: flex; flex-direction: column; gap: 1rem; width: 320px; flex: none; overflow-y: auto; }
}
.schat-card { padding: 1rem 1.1rem; border-radius: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)); border: 1px solid rgba(255, 255, 255, 0.25); color: #fff; }
.schat-player { display: flex; align-items: center; gap: 0.8rem; }
.schat-player img { width: 56px; height: 56px; border: 3px solid #ffd34d; }
.schat-player strong { display: block; font: 1.15rem/1.1 "Lilita One", sans-serif; }
.schat-player small { color: #d9c8ff; font-weight: 700; }
.schat-id { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.9rem; padding: 0.5rem 0.6rem; border-radius: 12px; background: rgba(0, 0, 0, 0.25); }
.schat-id > span { font: 800 0.75rem/1 "Barlow Semi Condensed", sans-serif; text-transform: uppercase; color: #d9c8ff; }
.schat-id code { flex: 1; min-width: 0; color: #ffd34d; font-size: 0.95rem; overflow: hidden; text-overflow: ellipsis; }
.schat-copy { display: inline-flex; align-items: center; gap: 0.3rem; border: 0; border-radius: 10px; padding: 0.35rem 0.6rem; background: #ffd34d; color: #5a2a00; font: 800 0.8rem/1 "Barlow Semi Condensed", sans-serif; text-transform: uppercase; box-shadow: 0 2px 0 #b07a00; }
.schat-copy .bi { width: 0.85rem; height: 0.85rem; }
.schat-copy--sm { padding: 0.3rem 0.5rem; }
.schat-h { font: 800 1rem/1.2 "Barlow Semi Condensed", sans-serif; text-transform: uppercase; color: #ffd34d; margin: 0 0 0.6rem; }
.schat-buys { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.schat-buys li { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.schat-buys strong { display: block; font-size: 0.92rem; }
.schat-buys small, .schat-note { color: #d9c8ff; font-size: 0.8rem; }
.schat-note { margin: 0.6rem 0 0; }
.schat-links { display: grid; gap: 0.55rem; }
.schat-links a { display: flex; align-items: center; gap: 0.5rem; color: #fff; font-weight: 700; text-decoration: none; }
.schat-links a:hover { color: #ffd34d; }
/* Chat page: the cookie banner sits above the message input (never over the top bar or the input), compact. */
.theme-chat .consent { top: auto; bottom: calc(4.6rem + env(safe-area-inset-bottom)); padding: 0.9rem 1rem; max-height: calc(100% - 10rem); overflow-y: auto; }
.theme-chat .consent h2 { font-size: 1.1rem; }
.theme-chat .consent p { font-size: 0.85rem; margin-bottom: 0.6rem; }

/* ---- Safe areas (viewport-fit=cover): when a page opens full-screen (in-game web view, installed PWA) the phone's
   status bar / notch / Dynamic Island must not cover our top bars, and the home indicator must not cover bottom UI.
   In a normal browser tab the insets are 0, so nothing changes there. ---- */
body { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
.site-nav-wrap { padding-top: calc(0.7rem + env(safe-area-inset-top)); }
.sbar-wrap { padding-top: calc(0.6rem + env(safe-area-inset-top)); }
.a2hs { padding-top: calc(0.6rem + env(safe-area-inset-top)); }
.a2hs:not([hidden]) + .sbar-wrap { padding-top: 0.6rem; }
.chat { bottom: calc(1rem + env(safe-area-inset-bottom)); }
.consent { bottom: calc(0.75rem + env(safe-area-inset-bottom)); }
.smodal { padding-top: calc(1rem + env(safe-area-inset-top)); padding-bottom: calc(1rem + env(safe-area-inset-bottom)); }
.a2hs-close { margin-top: calc(env(safe-area-inset-top) / 2); }

/* Backgammon Super: dice + checker page pattern instead of the card suits */
.site-backgammonsuper::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%234a1c8c'%3E%3Crect x='14' y='14' width='32' height='32' rx='7'/%3E%3Ccircle cx='90' cy='84' r='16'/%3E%3C/g%3E%3Cg fill='%23fbf4ea'%3E%3Ccircle cx='22' cy='22' r='3'/%3E%3Ccircle cx='38' cy='22' r='3'/%3E%3Ccircle cx='30' cy='30' r='3'/%3E%3Ccircle cx='22' cy='38' r='3'/%3E%3Ccircle cx='38' cy='38' r='3'/%3E%3C/g%3E%3Ccircle cx='90' cy='84' r='10' fill='none' stroke='%23fbf4ea' stroke-width='2'/%3E%3C/svg%3E");
}

/* =====================================================================================================
   Backgammon Super palette: "Wood & Felt" (from the game board - walnut wood frame, navy felt, cream
   checkers, gold). Scoped to body.site-backgammonsuper; Gin Rummy keeps Royal Velvet. Tokens that other
   tokens are built from are re-declared here, because custom properties resolve where they are declared.
   ===================================================================================================== */
body.site-backgammonsuper:not(.theme-store) {
  --night: #f6eee0;          /* parchment page */
  --velvet: #fffdf8;
  --velvet-hi: #f8efe0;
  --plum: #1f3b70;           /* navy felt (titles, accents) */
  --plum-hi: #3f6fc2;
  --edge: #e0c9a3;           /* light wood edge */
  --shadow-soft: 0 18px 40px rgba(70, 40, 15, 0.13);
  --ink: #2e1c10;            /* walnut text */
  --ink-soft: #6b5443;
  --ink-dim: #a08a76;
  --gold-ink: #9a5a0a;
  --depth: 0 8px 0 var(--edge);
  --bs-body-bg: var(--night);
  --bs-body-color: var(--ink);
  --bs-link-color: var(--plum);
  --bs-link-color-rgb: 31, 59, 112;
  --bs-link-hover-color: #b8501e;
  --bs-link-hover-color-rgb: 184, 80, 30;
  --bs-secondary-color: var(--ink-soft);
  --bs-border-color: rgba(122, 70, 25, 0.2);
}
.site-backgammonsuper::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%231f3b70'%3E%3Crect x='14' y='14' width='32' height='32' rx='7'/%3E%3Ccircle cx='90' cy='84' r='16'/%3E%3C/g%3E%3Cg fill='%23f6eee0'%3E%3Ccircle cx='22' cy='22' r='3'/%3E%3Ccircle cx='38' cy='22' r='3'/%3E%3Ccircle cx='30' cy='30' r='3'/%3E%3Ccircle cx='22' cy='38' r='3'/%3E%3Ccircle cx='38' cy='38' r='3'/%3E%3C/g%3E%3Ccircle cx='90' cy='84' r='10' fill='none' stroke='%23f6eee0' stroke-width='2'/%3E%3C/svg%3E");
  opacity: 0.05;
}
.site-backgammonsuper:not(.theme-store) .gold-text { background: linear-gradient(180deg, var(--plum-hi) 0%, #2a5096 45%, var(--plum) 100%); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 3px 0 var(--gold)) drop-shadow(0 8px 14px rgba(31, 59, 112, 0.18)); }
.site-backgammonsuper:not(.theme-store) .sec--band { background: linear-gradient(180deg, rgba(240, 221, 188, 0.55), rgba(222, 230, 244, 0.5)); border-color: rgba(150, 90, 30, 0.22); }
.site-backgammonsuper:not(.theme-store) .page-header { background: radial-gradient(60% 90% at 50% 0%, rgba(255, 211, 77, 0.3), transparent 70%), linear-gradient(180deg, #e3e9f5, rgba(246, 238, 224, 0.6)); }
.site-backgammonsuper:not(.theme-store) .gem { --gem-top: #4f7fd0; --gem-bottom: #1f3b70; box-shadow: 0 5px 0 rgba(20, 30, 60, 0.35), 0 10px 18px rgba(20, 30, 60, 0.2), inset 0 3px 0 rgba(255, 255, 255, 0.35); }
.site-backgammonsuper:not(.theme-store) .gem--gold { --gem-top: #ffe46b; --gem-bottom: #f0a000; }
.site-backgammonsuper:not(.theme-store) .gem--green { --gem-top: #8ef05a; --gem-bottom: #2fae1a; }
.site-backgammonsuper:not(.theme-store) .gem--ruby { --gem-top: #ff7a6a; --gem-bottom: #c8321e; }
.site-backgammonsuper:not(.theme-store) .gem--blue { --gem-top: #7cc0ff; --gem-bottom: #2f6fff; }
.site-backgammonsuper:not(.theme-store) .gem--magenta { --gem-top: #e0a060; --gem-bottom: #9a5320; } /* wood instead of magenta */
.site-backgammonsuper:not(.theme-store) .store-badge img { box-shadow: 0 4px 0 rgba(46, 28, 16, 0.35); }
.site-backgammonsuper:not(.theme-store) .legal-table td, .site-backgammonsuper:not(.theme-store) .consent-cats li { border-color: rgba(46, 28, 16, 0.08); }

/* Hero over the board video/poster: navy felt shade + walnut outline */
.site-backgammonsuper:not(.theme-store) .hero--video { background: #121d36; }
.site-backgammonsuper:not(.theme-store) .hero-shade {
  background:
    linear-gradient(180deg, rgba(12, 20, 38, 0.55) 0%, rgba(12, 20, 38, 0) 22%, rgba(12, 20, 38, 0) 45%, rgba(12, 20, 38, 0.78) 82%, rgba(12, 20, 38, 0.9) 100%),
    linear-gradient(90deg, rgba(12, 20, 38, 0.7) 0%, rgba(12, 20, 38, 0.25) 45%, rgba(12, 20, 38, 0) 70%); }
.site-backgammonsuper:not(.theme-store) .hero--video .hero-title--onvideo { -webkit-text-stroke: 6px #0f1b33; text-shadow: 0 5px 0 #0f1b33, 0 12px 26px rgba(0, 0, 0, 0.5); }
.site-backgammonsuper:not(.theme-store) .hero--video .hero-sub { color: #eef2fa; }
@media (min-width: 992px) {
  .site-backgammonsuper:not(.theme-store) .hero-copy { background: linear-gradient(180deg, rgba(22, 36, 66, 0.84), rgba(12, 20, 38, 0.9)); }
}
@media (max-width: 991.98px) {
  .site-backgammonsuper:not(.theme-store) .hero-shade { background: linear-gradient(180deg, rgba(12, 20, 38, 0.5) 0%, rgba(12, 20, 38, 0) 18%, rgba(12, 20, 38, 0) calc(var(--media-h) - 9rem), #121d36 calc(var(--media-h) - 0.5rem)); }
  .site-backgammonsuper:not(.theme-store) .hero--video { background: #121d36; }
}

/* CTA band = the wooden board frame; footer = dark walnut */
.site-backgammonsuper:not(.theme-store) .cta-band { background: radial-gradient(50% 80% at 50% 100%, rgba(255, 211, 77, 0.3), transparent 70%), linear-gradient(135deg, #6e3512 0%, #a35d2a 50%, #5a2a0c 100%); }
.site-backgammonsuper:not(.theme-store) .cta-band p { color: #fbeedd; }
.site-backgammonsuper:not(.theme-store) .site-footer { background: #1f140b; color: #c9b39b; }
.site-backgammonsuper:not(.theme-store) .site-footer a, .site-backgammonsuper:not(.theme-store) .footer-links button { color: #f1e3cf; }

/* Menu card + overlays + floating chat: navy felt */
.site-backgammonsuper:not(.theme-store) .smenu { background: linear-gradient(180deg, #1f3460 0%, #0f1a33 100%); }
.site-backgammonsuper:not(.theme-store).smenu-open .site-nav-wrap::after { background: rgba(8, 14, 28, 0.55); }
.site-backgammonsuper:not(.theme-store) .chat-head { background: linear-gradient(180deg, #1f3b70, #12234a); }
.site-backgammonsuper:not(.theme-store) .chat-status { color: #cfdaf0; }
.site-backgammonsuper:not(.theme-store) .chat-msg--me { background: linear-gradient(180deg, #3f6fc2, #1f3b70); }
.site-backgammonsuper:not(.theme-store) .chat-form textarea:focus { border-color: #3f6fc2; }
.site-backgammonsuper:not(.theme-store) .cta-band .gold-text { background: linear-gradient(180deg, #fff6c2 0%, var(--gold) 50%, #ff9d00 100%); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 3px 0 #4a2005) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35)); }

/* ---- Backgammon Super Web Store: dark "Wood & Felt" (owner 2026-11-19). Navy felt at the top running into dark
   walnut, wooden bar / menu / modals, gold titles (instead of the pink neon of the Gin store). Scoped to the store
   pages of this site only (body.site-backgammonsuper.theme-store). ---- */
.site-backgammonsuper.theme-store {
  --s-bg-top: #1f3460;
  --s-bg-mid: #142445;
  --s-bg-bot: #1f140b;
  --glass: rgba(255, 236, 205, 0.08);
  --glass-hi: rgba(255, 236, 205, 0.15);
  --glass-edge: rgba(255, 211, 77, 0.32);
  background:
    radial-gradient(70% 40% at 50% 0%, rgba(255, 196, 92, 0.18), transparent 70%),
    linear-gradient(180deg, var(--s-bg-top) 0%, var(--s-bg-mid) 40%, var(--s-bg-bot) 100%) fixed;
}
.site-backgammonsuper.theme-store::before { opacity: 0.06; }
.site-backgammonsuper .a2hs { background: linear-gradient(90deg, #6e3512, #a35d2a); }
.site-backgammonsuper .sbar { background: linear-gradient(180deg, rgba(58, 34, 16, 0.97), rgba(33, 20, 10, 0.97)); box-shadow: inset 0 0 0 1px rgba(255, 211, 77, 0.35), 0 10px 30px rgba(0, 0, 0, 0.45); }
.site-backgammonsuper .store-mark-top, .site-backgammonsuper .store-mark-bottom,
.site-backgammonsuper .feat-title { -webkit-text-stroke-color: #2a170b; }
.site-backgammonsuper .feat-title { text-shadow: 0 4px 0 #2a170b, 0 0 24px rgba(255, 255, 255, 0.3); }
.site-backgammonsuper .picks-title { color: #ffd34d; -webkit-text-stroke-color: #2a170b; text-shadow: 0 4px 0 #2a170b, 0 0 20px rgba(255, 211, 77, 0.45); }
.site-backgammonsuper .stitle { color: #ffe9a8; text-shadow: 0 0 20px rgba(255, 190, 80, 0.55), 0 3px 0 #8a4a12; }
.site-backgammonsuper .smenu { background: linear-gradient(180deg, #3a2210 0%, #1a0f07 100%); }
.site-backgammonsuper.theme-store.smenu-open .sbar-wrap::after, .site-backgammonsuper .smodal { background: rgba(10, 6, 2, 0.68); }
.site-backgammonsuper .smodal-card { background: linear-gradient(180deg, #3a2210, #1a0f07); }
.site-backgammonsuper .smodal-x, .site-backgammonsuper .smodal-steps li > span { color: #6e3512; }
.site-backgammonsuper .smodal-x { box-shadow: 0 4px 0 #c9a77c; }
.site-backgammonsuper .smodal-title { text-shadow: 0 0 18px rgba(255, 190, 80, 0.7), 0 2px 0 #8a4a12; }
.site-backgammonsuper .sglass { box-shadow: inset 0 0 0 1px var(--glass-edge), 0 14px 30px rgba(0, 0, 0, 0.3); }
.site-backgammonsuper .feat--royal { background: radial-gradient(80% 60% at 50% 30%, #3566c0, #0f1d3c); }
.site-backgammonsuper .feat--ruby { background: radial-gradient(80% 60% at 50% 30%, #c4783a, #4a230b); }
.site-backgammonsuper .feat-item.is-web { background: rgba(12, 8, 4, 0.45); }
.site-backgammonsuper .day { background: #8a5a2b; box-shadow: 0 6px 0 #5a3615; }
.site-backgammonsuper .day--final .day-head { background: #f1d9a8; color: #5a3615; }
.site-backgammonsuper .day--final b { color: #5a3615; }
.site-backgammonsuper .pick { background: linear-gradient(180deg, #2c4f8f, #13254a); box-shadow: inset 0 0 0 2px #5a86d8, 0 4px 0 rgba(0, 0, 0, 0.4); }
.site-backgammonsuper .pack { background: linear-gradient(170deg, rgba(255, 236, 205, 0.2), rgba(255, 236, 205, 0.07)); }
.site-backgammonsuper .pack-badge { color: #8a4a12; }
.site-backgammonsuper .claw-machine { background: linear-gradient(180deg, #b8743a, #6e3512); }
.site-backgammonsuper .claw-sign span { text-shadow: 0 3px 0 #4a2005, 0 0 14px rgba(255, 230, 120, 0.8); }
.site-backgammonsuper .claw-glass { background: linear-gradient(180deg, rgba(200, 235, 255, 0.3), rgba(60, 100, 180, 0.35)), #13213f; }
.site-backgammonsuper .win-card { background: radial-gradient(120% 80% at 50% 0%, #2f5aa8 0%, #16243f 55%, #0b1120 100%); }
.site-backgammonsuper .login-spinner { border-top-color: #c4783a; }

/* =====================================================================================================
   Word Match palette: "Teal & Coral" (from the app icon: teal vs coral/magenta split, gold VS, white letter
   cards). Landing pages = light mint edition; store (theme-store) = dark teal running into deep magenta.
   Scoped to body.site-wordmatch; Gin Rummy and Backgammon unchanged.
   ===================================================================================================== */
body.site-wordmatch:not(.theme-store) {
  --night: #f2fbf9;
  --velvet: #ffffff;
  --velvet-hi: #f1faf8;
  --plum: #0b7f86;
  --plum-hi: #1cc2c0;
  --edge: #cfe8e3;
  --shadow-soft: 0 18px 40px rgba(10, 70, 80, 0.12);
  --ink: #12333b;
  --ink-soft: #4d6c72;
  --ink-dim: #89a5a9;
  --gold-ink: #b0560a;
  --depth: 0 8px 0 var(--edge);
  --bs-body-bg: var(--night);
  --bs-body-color: var(--ink);
  --bs-link-color: var(--plum);
  --bs-link-color-rgb: 11, 127, 134;
  --bs-link-hover-color: #e8475f;
  --bs-link-hover-color-rgb: 232, 71, 95;
  --bs-secondary-color: var(--ink-soft);
  --bs-border-color: rgba(11, 127, 134, 0.2);
}
.site-wordmatch::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%230b7f86'%3E%3Crect x='12' y='12' width='34' height='40' rx='7'/%3E%3Crect x='70' y='66' width='34' height='40' rx='7' transform='rotate(12 87 86)'/%3E%3C/g%3E%3Cg fill='%23f2fbf9' font-family='Arial Black,Arial,sans-serif' font-weight='900' font-size='26' text-anchor='middle'%3E%3Ctext x='29' y='42'%3EA%3C/text%3E%3Ctext x='87' y='96' transform='rotate(12 87 86)'%3EZ%3C/text%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.05;
}
.site-wordmatch:not(.theme-store) .gold-text { background: linear-gradient(180deg, var(--plum-hi) 0%, #0f9ea3 45%, var(--plum) 100%); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 3px 0 var(--gold)) drop-shadow(0 8px 14px rgba(11, 127, 134, 0.18)); }
.site-wordmatch:not(.theme-store) .sec--band { background: linear-gradient(180deg, rgba(210, 245, 238, 0.6), rgba(255, 226, 216, 0.45)); border-color: rgba(11, 127, 134, 0.18); }
.site-wordmatch:not(.theme-store) .page-header { background: radial-gradient(60% 90% at 50% 0%, rgba(255, 211, 77, 0.3), transparent 70%), linear-gradient(180deg, #d9f5f0, rgba(242, 251, 249, 0.6)); }
.site-wordmatch:not(.theme-store) .gem { --gem-top: #35d6cf; --gem-bottom: #0b7f86; box-shadow: 0 5px 0 rgba(6, 60, 66, 0.35), 0 10px 18px rgba(6, 60, 66, 0.2), inset 0 3px 0 rgba(255, 255, 255, 0.35); }
.site-wordmatch:not(.theme-store) .gem--gold { --gem-top: #ffe46b; --gem-bottom: #f0a000; }
.site-wordmatch:not(.theme-store) .gem--green { --gem-top: #8ef05a; --gem-bottom: #2fae1a; }
.site-wordmatch:not(.theme-store) .gem--ruby { --gem-top: #ff8a7a; --gem-bottom: #e8475f; }
.site-wordmatch:not(.theme-store) .gem--blue { --gem-top: #7cc0ff; --gem-bottom: #2f6fff; }
.site-wordmatch:not(.theme-store) .gem--magenta { --gem-top: #f07ad8; --gem-bottom: #a7289a; }
.site-wordmatch:not(.theme-store) .store-badge img { box-shadow: 0 4px 0 rgba(18, 51, 59, 0.35); }
.site-wordmatch:not(.theme-store) .legal-table td, .site-wordmatch:not(.theme-store) .consent-cats li { border-color: rgba(18, 51, 59, 0.08); }
.site-wordmatch:not(.theme-store) .hero--video { background: #0a2a32; }
.site-wordmatch:not(.theme-store) .hero-shade {
  background:
    linear-gradient(180deg, rgba(6, 30, 36, 0.55) 0%, rgba(6, 30, 36, 0) 22%, rgba(6, 30, 36, 0) 45%, rgba(6, 30, 36, 0.78) 82%, rgba(6, 30, 36, 0.9) 100%),
    linear-gradient(90deg, rgba(6, 30, 36, 0.7) 0%, rgba(6, 30, 36, 0.25) 45%, rgba(6, 30, 36, 0) 70%); }
.site-wordmatch:not(.theme-store) .hero--video .hero-title--onvideo { -webkit-text-stroke: 6px #082a31; text-shadow: 0 5px 0 #082a31, 0 12px 26px rgba(0, 0, 0, 0.5); }
.site-wordmatch:not(.theme-store) .hero--video .hero-sub { color: #ecfbf8; }
@media (min-width: 992px) {
  .site-wordmatch:not(.theme-store) .hero-copy { background: linear-gradient(180deg, rgba(10, 60, 70, 0.84), rgba(6, 30, 36, 0.9)); }
}
@media (max-width: 991.98px) {
  .site-wordmatch:not(.theme-store) .hero-shade { background: linear-gradient(180deg, rgba(6, 30, 36, 0.5) 0%, rgba(6, 30, 36, 0) 18%, rgba(6, 30, 36, 0) calc(var(--media-h) - 9rem), #0a2a32 calc(var(--media-h) - 0.5rem)); }
  .site-wordmatch:not(.theme-store) .hero--video { background: #0a2a32; }
}
.site-wordmatch:not(.theme-store) .cta-band { background: radial-gradient(50% 80% at 50% 100%, rgba(255, 211, 77, 0.3), transparent 70%), linear-gradient(120deg, #0fa9ad 0%, #8a3fd0 52%, #f2643c 100%); }
.site-wordmatch:not(.theme-store) .cta-band p { color: #fff4ee; }
.site-wordmatch:not(.theme-store) .cta-band .gold-text { background: linear-gradient(180deg, #fff6c2 0%, var(--gold) 50%, #ff9d00 100%); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 3px 0 #5c2c00) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35)); }
.site-wordmatch:not(.theme-store) .site-footer { background: #0b2a32; color: #a7c8cb; }
.site-wordmatch:not(.theme-store) .site-footer a, .site-wordmatch:not(.theme-store) .footer-links button { color: #e3faf6; }
.site-wordmatch .smenu { background: linear-gradient(180deg, #0f4652 0%, #08232b 100%); }
.site-wordmatch.smenu-open .site-nav-wrap::after { background: rgba(4, 20, 24, 0.55); }
.site-wordmatch .chat-head { background: linear-gradient(180deg, #0b7f86, #08464c); }
.site-wordmatch .chat-msg--me { background: linear-gradient(180deg, #1cc2c0, #0b7f86); }

/* Word Match store: dark teal -> deep magenta, coral accents, gold titles */
.site-wordmatch.theme-store {
  --s-bg-top: #0d5562;
  --s-bg-mid: #0a3140;
  --s-bg-bot: #3a0f40;
  --glass: rgba(220, 255, 250, 0.08);
  --glass-hi: rgba(220, 255, 250, 0.15);
  --glass-edge: rgba(120, 240, 230, 0.32);
  background:
    radial-gradient(70% 40% at 50% 0%, rgba(80, 240, 230, 0.2), transparent 70%),
    linear-gradient(180deg, var(--s-bg-top) 0%, var(--s-bg-mid) 42%, var(--s-bg-bot) 100%) fixed;
}
.site-wordmatch.theme-store::before { opacity: 0.06; }
.site-wordmatch .a2hs { background: linear-gradient(90deg, #0fa9ad, #8a3fd0); }
.site-wordmatch .sbar { background: linear-gradient(180deg, rgba(12, 62, 74, 0.97), rgba(7, 36, 44, 0.97)); box-shadow: inset 0 0 0 1px rgba(120, 240, 230, 0.3), 0 10px 30px rgba(0, 0, 0, 0.45); }
.site-wordmatch .store-mark-top, .site-wordmatch .store-mark-bottom, .site-wordmatch .feat-title { -webkit-text-stroke-color: #082a31; }
.site-wordmatch .feat-title { text-shadow: 0 4px 0 #082a31, 0 0 24px rgba(255, 255, 255, 0.3); }
.site-wordmatch .picks-title { color: #ffd34d; -webkit-text-stroke-color: #082a31; text-shadow: 0 4px 0 #082a31, 0 0 20px rgba(255, 211, 77, 0.45); }
.site-wordmatch .stitle { color: #fff; text-shadow: 0 0 20px rgba(255, 110, 120, 0.7), 0 0 6px rgba(255, 180, 170, 0.6), 0 3px 0 #b8324a; }
.site-wordmatch.theme-store.smenu-open .sbar-wrap::after, .site-wordmatch .smodal { background: rgba(3, 16, 20, 0.7); }
.site-wordmatch .smodal-card { background: linear-gradient(180deg, #0f4652, #08232b); }
.site-wordmatch .smodal-x, .site-wordmatch .smodal-steps li > span { color: #0b7f86; }
.site-wordmatch .smodal-x { box-shadow: 0 4px 0 #a8d8d4; }
.site-wordmatch .smodal-title { text-shadow: 0 0 18px rgba(255, 110, 120, 0.75), 0 2px 0 #b8324a; }
.site-wordmatch .sglass { box-shadow: inset 0 0 0 1px var(--glass-edge), 0 14px 30px rgba(0, 0, 0, 0.3); }
.site-wordmatch .feat--royal { background: radial-gradient(80% 60% at 50% 30%, #18b8b6, #08343d); }
.site-wordmatch .feat--ruby { background: radial-gradient(80% 60% at 50% 30%, #f2643c, #5a1230); }
.site-wordmatch .feat-item.is-web { background: rgba(4, 20, 24, 0.45); }
.site-wordmatch .day { background: #13979c; box-shadow: 0 6px 0 #0b6064; }
.site-wordmatch .day--final .day-head { background: #ffd9cf; color: #8a2a3c; }
.site-wordmatch .day--final b { color: #8a2a3c; }
.site-wordmatch .pick { background: linear-gradient(180deg, #108e95, #0a4752); box-shadow: inset 0 0 0 2px #45d8d2, 0 4px 0 rgba(0, 0, 0, 0.4); }
.site-wordmatch .pack { background: linear-gradient(170deg, rgba(220, 255, 250, 0.2), rgba(220, 255, 250, 0.07)); }
.site-wordmatch .pack-badge { color: #0b7f86; }
.site-wordmatch .claw-machine { background: linear-gradient(180deg, #ff7a6b, #c2185b); }
.site-wordmatch .claw-glass { background: linear-gradient(180deg, rgba(200, 255, 250, 0.3), rgba(40, 170, 180, 0.35)), #08343d; }
.site-wordmatch .win-card { background: radial-gradient(120% 80% at 50% 0%, #138f96 0%, #0a3140 55%, #06161c 100%); }
.site-wordmatch .login-spinner { border-top-color: #1cc2c0; }
