:root {
  --bg: #07070d;
  --bg-alt: #0d0d17;
  --card: #12121d;
  --card-hi: #171725;
  --border: #23233a;
  --border-hi: #33334f;
  --text: #ececf5;
  --text-dim: #9a9ab4;
  --accent: #7c3aed;
  --accent2: #22d3ee;
  --radius: 16px;
  --maxw: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Media never overflows its container */
img, svg, video, canvas { max-width: 100%; height: auto; display: block; }

/* Ambient neon grid + glow behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 500px at 15% -5%, rgba(124,58,237,0.22), transparent 60%),
    radial-gradient(800px 500px at 90% 0%, rgba(34,211,238,0.16), transparent 55%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(124,58,237,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; }

.text-gradient {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  /* No backdrop-filter here: it would make the fixed mobile menu panel
     positioned relative to the header (70px) instead of the viewport. */
  background: rgba(9,9,15,0.94);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: 0.4px; position: relative; z-index: 50; }
.logo-mark { filter: drop-shadow(0 0 6px rgba(124,58,237,0.6)); }
.logo-text { font-size: 1.18rem; }
.logo-accent { color: var(--accent2); font-weight: 500; }
.logo-tld { color: var(--text-dim); font-weight: 500; }
.footer-brand .logo-tld { color: var(--text-dim); font-weight: 500; }
/* ---------- Nav / mobile menu (CSS-only, no JS — CSP safe) ---------- */
.nav-toggle { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Hamburger button (visible on mobile) */
.nav-hamburger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 11px;
  border-radius: 10px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.04); cursor: pointer; z-index: 30;
}
.nav-hamburger span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px; }

/* Slide-in panel (mobile) */
.main-nav {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; gap: 4px;
  padding: 92px 20px 28px;
  background: rgba(7,7,13,0.98);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transform: translateX(100%); visibility: hidden;
  transition: transform .3s ease, visibility .3s ease;
}
.nav-toggle:checked ~ .main-nav { transform: translateX(0); visibility: visible; }

.main-nav a {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 12px; border-radius: 12px;
  color: var(--text-dim); font-size: 1.12rem; font-weight: 500;
  transition: color .2s, background .2s;
}
.main-nav a:hover, .main-nav a:active { color: var(--text); background: rgba(255,255,255,0.04); }
.main-nav a svg { width: 22px; height: 22px; opacity: 0.85; flex-shrink: 0; }

.nav-close {
  position: absolute; top: 16px; right: 20px;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; line-height: 1; color: var(--text);
  border: 1px solid var(--border); border-radius: 10px;
  background: rgba(255,255,255,0.05); cursor: pointer;
}
.nav-cta {
  margin-top: auto; justify-content: center !important;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #06060c !important; font-weight: 700 !important;
  box-shadow: 0 8px 26px -8px rgba(124,58,237,0.7);
}
.nav-cta:hover { background: linear-gradient(90deg, var(--accent), var(--accent2)) !important; }

/* Lock background scroll while the menu is open */
body:has(.nav-toggle:checked) { overflow: hidden; }

/* Desktop: inline text nav, no hamburger */
@media (min-width: 768px) {
  .nav-hamburger, .nav-close { display: none; }
  .main-nav .nav-cta { display: none; }
  .main-nav {
    position: static; inset: auto; transform: none; visibility: visible;
    flex-direction: row; align-items: center; gap: 26px;
    padding: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .main-nav a { padding: 0; font-size: 0.95rem; }
  .main-nav a:hover { background: none; text-shadow: 0 0 12px rgba(34,211,238,0.7); }
  .main-nav a svg { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease;
}
.btn-primary {
  color: #06060c;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  box-shadow: 0 8px 26px -8px rgba(124,58,237,0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px -6px rgba(34,211,238,0.7); }
.btn-ghost {
  color: var(--text);
  border-color: var(--border-hi);
  background: rgba(255,255,255,0.02);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--accent2); box-shadow: 0 0 22px -4px rgba(34,211,238,0.5); }

/* ---------- Hero (mobile-first) ---------- */
.hero { position: relative; padding: 64px 0 48px; text-align: center; }
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent2);
  padding: 6px 14px;
  border: 1px solid var(--border-hi);
  border-radius: 999px;
  margin-bottom: 20px;
  background: rgba(34,211,238,0.06);
}
/* Live-status pills (glassmorphism + LED dots) */
.status-bar {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px; margin-bottom: 22px;
}
.status-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 18px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-hi);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.status-pill--green { color: #b9a6ff; border-color: rgba(124,58,237,0.35); }
.status-pill--cyan  { color: var(--accent2); border-color: rgba(34,211,238,0.35); }
.led {
  width: 9px; height: 9px; border-radius: 50%;
  animation: ledPulse 2s ease-in-out infinite;
}
.led-green { background: #22c55e; box-shadow: 0 0 8px 1px rgba(34,197,94,0.85); }
.led-cyan  { background: var(--accent2); box-shadow: 0 0 8px 1px rgba(34,211,238,0.85); }
@keyframes ledPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.hero-title {
  font-size: clamp(2rem, 8vw, 4rem);
  line-height: 1.08;
  margin: 0 0 16px;
  font-weight: 800;
  overflow-wrap: break-word;
}
.hero-freetag {
  display: inline-block;
  font-size: clamp(1.5rem, 6.5vw, 2.7rem);
  font-weight: 900;
  letter-spacing: 0.5px;
  margin: 0 0 16px;
  background: linear-gradient(90deg, #a855f7, #ec4899, #f43f5e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transform-origin: center;
  animation: freetagRock 2.4s ease-in-out infinite;
  filter: drop-shadow(0 5px 16px rgba(236, 72, 153, 0.4));
}
@keyframes freetagRock {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}
.hero-sub { color: var(--text-dim); font-size: 1.05rem; max-width: 580px; margin: 0 auto 30px; }
/* Base = mobile: CTAs stacked vertically, full width */
.hero-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.hero-actions .btn { justify-content: center; width: 100%; }

@media (min-width: 768px) {
  .hero { padding: 104px 0 72px; }
  .hero-eyebrow { font-size: 0.78rem; }
  .hero-sub { font-size: 1.12rem; }
  .hero-actions { flex-direction: row; gap: 14px; justify-content: center; flex-wrap: wrap; }
  .hero-actions .btn { width: auto; }
}

/* Hero search bar (functional, glassmorphism pill) */
.hero-search {
  display: flex; align-items: center;
  width: 100%; max-width: 560px; margin: 0 auto 24px;
  padding: 7px 7px 7px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-hi);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero-search input {
  flex: 1; min-width: 0;
  border: 0; outline: 0; background: transparent;
  color: var(--text); font-size: 1rem; padding: 12px 16px;
}
.hero-search input::placeholder { color: var(--text-dim); }
.hero-search-btn {
  flex-shrink: 0;
  width: 46px; height: 46px; border-radius: 50%;
  border: 0; cursor: pointer; color: #fff;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), #6d28d9);
  box-shadow: 0 6px 20px -6px rgba(124,58,237,0.8);
  transition: transform .18s ease, box-shadow .25s ease;
}
.hero-search-btn:hover { transform: scale(1.05); box-shadow: 0 8px 26px -6px rgba(124,58,237,0.9); }
.hero-search-btn svg { width: 20px; height: 20px; }

/* Hero stats — 4 in one horizontal row on all sizes (like the reference) */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  max-width: 560px; margin: 0 auto;
}
.stat-box {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 12px 4px; border-radius: 12px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.stat-num { font-size: 1.15rem; font-weight: 800; line-height: 1.05; }
.stat-label { font-size: 0.56rem; letter-spacing: 0.5px; text-transform: uppercase; color: var(--text-dim); }

@media (min-width: 640px) {
  .hero-stats { gap: 12px; }
  .stat-box { padding: 18px 10px; border-radius: 16px; gap: 4px; }
  .stat-num { font-size: 1.6rem; }
  .stat-label { font-size: 0.72rem; letter-spacing: 1.5px; }
}

/* ---------- Featured (mobile-first: single column, 2 cols on wider) ---------- */
.featured { padding: 24px 0 8px; }
.featured-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  position: relative;
}
@media (min-width: 820px) {
  .featured-card { grid-template-columns: 1.35fr 1fr; }
}
.featured-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 60%, transparent), transparent 45%, color-mix(in srgb, var(--accent2) 55%, transparent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.featured-media { position: relative; min-height: 200px; aspect-ratio: 16 / 9; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-body { padding: 28px 24px 32px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
@media (min-width: 820px) {
  .featured-media { aspect-ratio: auto; min-height: 260px; }
  .featured-body { padding: 40px; }
}
.featured-title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 14px 0 10px; }
.featured-tagline { color: var(--text-dim); font-size: 1.05rem; margin: 0 0 26px; }

/* ---------- Badges ---------- */
.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 5px 11px;
  border-radius: 6px;
  text-transform: uppercase;
}
.badge-featured {
  color: #06060c;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  box-shadow: 0 0 16px -2px rgba(124,58,237,0.8);
}
.badge-new {
  color: var(--accent2);
  border: 1px solid var(--accent2);
  background: rgba(34,211,238,0.08);
}

/* ---------- Section head ---------- */
.games-section { padding: 60px 0 100px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 30px; }
.section-title { font-size: 1.6rem; margin: 0; }
.section-count { color: var(--text-dim); font-size: 0.9rem; }
.empty-state { color: var(--text-dim); }

/* ---------- Games grid ---------- */
.games-grid {
  display: grid;
  gap: 12px;
  /* At least 2 cards per row, even on the narrowest phones. min() keeps the
     lower bound from ever exceeding half the container so it never overflows. */
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr));
}
@media (min-width: 560px) {
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; }
}
@media (min-width: 768px) {
  .games-grid { gap: 22px; }
}
.game-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, border-color .22s ease, box-shadow .3s ease;
  animation: cardIn .5s ease backwards;
  animation-delay: calc(var(--i, 0) * 70ms);
}
.game-card:hover, .game-card:active, .game-card.in-view {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 18px 44px -18px color-mix(in srgb, var(--accent) 75%, black);
}
.game-card-cover { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.game-card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.game-card:hover .game-card-cover img { transform: scale(1.06); }
.game-card-cover .badge { position: absolute; top: 12px; left: 12px; }

.cover-track { display: flex; width: 100%; height: 100%; will-change: transform; transition: transform .5s ease; }
.cover-track img { flex: 0 0 100%; width: 100%; height: 100%; }
.game-card:hover .cover-track img { transform: none; }

.cover-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  background: transparent; color: #fff; border: none;
  cursor: pointer; opacity: 0.95;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.8));
  transition: opacity .2s ease, transform .2s ease;
  z-index: 2;
}
.cover-nav svg { width: 34px; height: 34px; }
.cover-nav:hover, .cover-nav:focus-visible { opacity: 1; transform: translateY(-50%) scale(1.12); }
.cover-prev { inset-inline-start: 8px; }
.cover-next { inset-inline-end: 8px; }

.cover-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.cover-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.4); transition: background .2s ease, transform .2s ease; }
.cover-dot.is-active { background: #fff; transform: scale(1.25); }

.game-card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.game-card-body h3 { margin: 0; font-size: 1.08rem; }
.game-card-body p {
  margin: 0;
  color: var(--text);
  font-size: 0.8rem;
  line-height: 1.45;
  flex: 1;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--accent, #7c3aed) 42%, var(--border-hi));
  background: color-mix(in srgb, var(--accent, #7c3aed) 8%, var(--card));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.game-card-cta { color: var(--accent2); font-size: 0.86rem; font-weight: 700; margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; }
.game-card .arrow { transition: transform .22s ease; }
.game-card:hover .arrow { transform: translateX(5px); }

@keyframes cardIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Game detail page (kept compatible) ---------- */
.game-banner { padding: 24px 0 48px; }
.game-banner-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.game-banner-inner .breadcrumb { margin: 0; }
.game-banner-inner h1 { margin: 0; }
.game-banner-inner .game-cover-large { margin: 10px 0; }
.game-pitch-title {
  margin: 4px 0 0;
  font-size: 1.2rem;
  font-weight: 800;
  max-width: 500px;
  line-height: 1.35;
  background: linear-gradient(180deg, #ffffff, color-mix(in srgb, #ffffff 60%, var(--bg)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.game-pitch-sub {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dim);
  max-width: 480px;
  line-height: 1.55;
}
.btn-play-earn {
  opacity: 1; cursor: pointer;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border: none; color: #fff; font-weight: 800; letter-spacing: 0.4px;
}
.btn-play-earn:hover { filter: brightness(1.08); }

/* Clickable CTA that scrolls down to the rewards section. */
.btn-choose-reward {
  opacity: 1; cursor: pointer;
  display: inline-block;
  padding: 14px 30px; border-radius: 999px;
  font-weight: 800; letter-spacing: 0.6px; color: #fff;
  background: linear-gradient(135deg, var(--accent, #7c3aed), var(--accent2, #22d3ee));
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 26px -8px color-mix(in srgb, var(--accent, #7c3aed) 80%, black);
  transition: transform .18s ease, box-shadow .25s ease, filter .2s ease;
  animation: chooseGlow 1.8s ease-in-out infinite;
}
.btn-choose-reward:hover {
  transform: translateY(-3px) scale(1.03);
  filter: brightness(1.08);
  box-shadow: 0 16px 36px -10px color-mix(in srgb, var(--accent, #7c3aed) 90%, black);
}
@keyframes chooseGlow {
  0%, 100% { box-shadow: 0 10px 26px -8px color-mix(in srgb, var(--accent, #7c3aed) 80%, black); }
  50% { box-shadow: 0 12px 32px -6px color-mix(in srgb, var(--accent, #7c3aed) 95%, black), 0 0 0 5px color-mix(in srgb, var(--accent, #7c3aed) 22%, transparent); }
}
#rewards, #why-us, #how-it-works, #games, #testimonials { scroll-margin-top: 90px; }
/* Animated arrow cueing the download button. */
.download-cue { display: flex; align-items: center; gap: 12px; }
.download-arrow { display: inline-flex; color: var(--accent2, #22d3ee); animation: arrowNudge 1s ease-in-out infinite; }
.download-arrow svg { width: 26px; height: 26px; }
@keyframes arrowNudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(7px); }
}
.download-now {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px;
  font-weight: 800; letter-spacing: 0.5px; color: #fff;
  background: linear-gradient(135deg, var(--accent, #7c3aed), color-mix(in srgb, var(--accent, #7c3aed) 55%, var(--accent2, #22d3ee)));
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 26px -8px color-mix(in srgb, var(--accent, #7c3aed) 75%, black);
  transition: transform .18s ease, filter .2s ease;
  animation: downloadPulse 1.6s ease-in-out infinite;
}
.download-now .bolt { width: 17px; height: 17px; color: #ffe14d; filter: drop-shadow(0 0 4px rgba(255,225,120,0.85)); }
.download-now:hover { transform: translateY(-2px); filter: brightness(1.08); }
@keyframes downloadPulse {
  0%, 100% { box-shadow: 0 12px 26px -8px color-mix(in srgb, var(--accent, #7c3aed) 75%, black); }
  50% { box-shadow: 0 12px 30px -6px color-mix(in srgb, var(--accent, #7c3aed) 90%, black), 0 0 0 4px color-mix(in srgb, var(--accent, #7c3aed) 25%, transparent); }
}
.download-note {
  display: inline-flex; align-items: center; gap: 7px;
  margin: 2px 0 0; padding: 6px 14px;
  font-size: 0.8rem; font-weight: 600;
  color: #ff6b6b;
  background: color-mix(in srgb, #ff6b6b 12%, transparent);
  border: 1px solid color-mix(in srgb, #ff6b6b 40%, transparent);
  border-radius: 999px;
}
.download-note svg { width: 14px; height: 14px; color: #ff6b6b; flex-shrink: 0; }
.game-banner-inner .game-tagline {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 440px;
  padding: 12px 20px;
  border-radius: 14px;
  color: var(--text);
  border: 1px solid color-mix(in srgb, var(--accent, #7c3aed) 45%, var(--border-hi));
  background: color-mix(in srgb, var(--accent, #7c3aed) 8%, var(--card));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Big-hero claim page variant: logo art + gradient headline + live pill,
   used instead of the bubble title/cover for games like Murder Mystery 2. */
.claim-hero-logo {
  display: block; max-width: 150px; width: 100%; height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 8px 22px rgba(0,0,0,0.5));
}
.claim-hero-title {
  font-size: clamp(2.2rem, 9vw, 4rem);
  font-weight: 900;
  letter-spacing: 0.5px;
  line-height: 1.08;
  margin: 0;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--claim-hero-1, #ef4444), var(--claim-hero-2, #f97316), var(--claim-hero-3, #facc15));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 18px color-mix(in srgb, var(--claim-hero-2, #f97316) 45%, transparent));
}
.claim-hero-sub { color: var(--text-dim); font-size: 1.05rem; max-width: 460px; margin: 0 auto; }
.claim-hero-pill { margin: 0; }

/* Compact banner variant (claim-hero pages): less top/bottom whitespace so
   the item grid peeks into view on first load. */
.game-banner--compact { padding: 18px 0 12px; }
.game-banner--compact .game-banner-inner { gap: 8px; }

/* Murder Mystery 2 style item shop (mm2items.pages.dev-style panel/grid). */
.mm2-panel {
  background: rgba(18, 18, 26, 0.7);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}
.mm2-panel::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, transparent, #e63946, transparent);
}
.mm2-panel-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.5rem; padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  flex-wrap: wrap; gap: 1rem;
}
.mm2-panel-title { font-size: 1.5rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 0.5rem; }
.mm2-event-badge {
  background: rgba(255, 193, 7, 0.2); color: #ffc107;
  padding: 4px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: 700;
  border: 1px solid #ffc107;
}
.mm2-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 560px) { .mm2-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .mm2-grid { grid-template-columns: repeat(4, 1fr); } }
.mm2-item {
  background: rgba(10, 10, 15, 0.8);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  position: relative;
}
.mm2-item:hover { transform: translateY(-5px); border-color: #e63946; box-shadow: 0 10px 20px rgba(0,0,0,0.5), 0 0 15px rgba(230,57,70,0.4); }
.mm2-item.mm2-fire { border-color: #f5bb27; animation: mm2Glow 2s infinite alternate; }
@keyframes mm2Glow {
  from { box-shadow: 0 0 5px #f5bb27; }
  to   { box-shadow: 0 0 20px #f5bb27, 0 0 30px #f5bb27; }
}
.mm2-item-img-box {
  width: 100%; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 70%);
  padding: 1rem;
}
.mm2-item-img-box img { max-width: 80%; max-height: 80%; object-fit: contain; filter: drop-shadow(0 5px 10px rgba(0,0,0,0.5)); transition: transform .3s ease; }
.mm2-item:hover .mm2-item-img-box img { transform: scale(1.1) rotate(5deg); }
.mm2-item-info { padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem; flex-grow: 1; }
.mm2-item-name {
  color: #fff; font-weight: 700; font-size: 1.05rem; line-height: 1.25; text-align: center;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mm2-item-stock { color: var(--text-dim); font-size: 0.8rem; text-align: center; }
@media (max-width: 480px) {
  .mm2-item-name { font-size: 0.85rem; }
  .mm2-item-info { padding: 0.7rem; gap: 0.35rem; }
}
.mm2-item-rarity {
  display: inline-block; padding: 0.2rem 0.6rem; border-radius: 12px;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  text-align: center; align-self: center; margin-top: auto; color: var(--text-dim);
}
.mm2-rarity-godly     { background: rgba(230, 57, 70, 0.2);  color: #e63946; border: 1px solid #e63946; }
.mm2-rarity-ancient   { background: rgba(155, 89, 182, 0.2); color: #9b59b6; border: 1px solid #9b59b6; }
.mm2-rarity-unique    { background: rgba(230, 126, 34, 0.2); color: #e67e22; border: 1px solid #e67e22; }
.mm2-rarity-legendary { background: rgba(241, 196, 15, 0.2); color: #f1c40f; border: 1px solid #f1c40f; }
.mm2-claim-btn {
  display: block; width: 100%; background: #e63946; color: #fff; border: none;
  padding: 0.75rem; font-weight: 700; font-size: 0.95rem; text-align: center;
  cursor: pointer; text-transform: uppercase; letter-spacing: 1px; transition: all .25s ease;
}
.mm2-claim-btn:hover { background: #ff4a5a; box-shadow: 0 0 15px rgba(230,57,70,0.4); }

/* Glossy uppercase "bubble" title. */
.game-name--bubble {
  display: inline-block;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 1.5px;
  line-height: 1;
  padding: 12px 30px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent, #7c3aed) 60%, #ffffff 12%), var(--accent, #7c3aed));
  border: 2px solid rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
  box-shadow:
    inset 0 4px 10px rgba(255, 255, 255, 0.55),
    inset 0 -7px 14px rgba(0, 0, 0, 0.28),
    0 12px 26px -8px color-mix(in srgb, var(--accent, #7c3aed) 75%, black);
  animation: bubbleFloat 3.5s ease-in-out infinite;
}
@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.03); }
}
/* Smaller bubble used for the game-card title under the cover. */
.game-card-body .game-name--bubble-sm {
  align-self: center;
  font-size: 0.78rem;
  letter-spacing: 0.8px;
  padding: 5px 14px;
  border-width: 1.5px;
  max-width: 100%;
}
@media (max-width: 560px) {
  .game-card-body .game-name--bubble-sm {
    font-size: 0.58rem;
    letter-spacing: 0.3px;
    padding: 4px 10px;
  }
  .game-card-body { padding: 12px 12px 14px; }
  .game-card-body p {
    font-size: 0.7rem;
    line-height: 1.4;
    padding: 7px 10px;
  }
}

/* Keyboard Escape hero variant — swaps the bubble title + screenshot
   carousel for a bnj7.site-style logo + chunky outlined heading. */
.ke-promo-logo {
  width: 120px; height: 120px; object-fit: cover; display: block;
  margin: 0 auto; border-radius: 20px; background: #000;
  border: 3px solid #8e493e; box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.ke-promo-title {
  font-family: 'Lilita One', cursive; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.5px;
  font-size: clamp(1.8rem, 6vw, 3rem); line-height: 1.15;
  color: #ffcc00; margin: 0; max-width: 620px;
  text-shadow: 2px 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}
.ke-promo-sub { color: #f3e4d2; font-weight: 600; font-size: 1.02rem; margin: 0; }
.ke-promo-counter {
  display: inline-flex; align-items: center; gap: 10px;
  background: #57d11f; border-bottom: 4px solid #2d7a0e;
  border-radius: 8px; padding: 10px 22px; margin-top: 4px;
  font-weight: 900; font-size: 0.85rem; letter-spacing: 0.5px;
  text-transform: uppercase; color: #fff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}
.ke-promo-counter-dot {
  width: 10px; height: 10px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 8px #fff; animation: ledPulse 1.6s ease-in-out infinite;
}

.game-cover-large {
  width: 150px; height: 150px; border-radius: 22px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; font-weight: 800; color: rgba(255,255,255,0.9);
  box-shadow: 0 0 40px -10px rgba(124,58,237,0.7);
}
.game-cover-letter {
  width: 100%; height: 100%; border-radius: inherit;
  display: flex; align-items: center; justify-content: center;
}
/* When the banner cover holds the rotating gallery, make it a wide media box
   with a professional framed, slightly 3D presentation. */
.game-cover-large.cover-rotate {
  width: 100%; max-width: 460px; height: auto; aspect-ratio: 16 / 9;
  position: relative; overflow: hidden; font-size: 0;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--accent, #7c3aed) 55%, #ffffff 8%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 26px 55px -22px rgba(0, 0, 0, 0.8),
    0 14px 30px -16px color-mix(in srgb, var(--accent, #7c3aed) 75%, black);
  transform: perspective(1100px) rotateX(4deg);
  transition: transform .4s ease, box-shadow .4s ease;
}
.game-cover-large.cover-rotate:hover {
  transform: perspective(1100px) rotateX(0deg) translateY(-4px) scale(1.012);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 34px 65px -22px rgba(0, 0, 0, 0.85),
    0 18px 38px -16px color-mix(in srgb, var(--accent, #7c3aed) 80%, black);
}
/* Soft inner vignette + top sheen so the frame reads as glass, not flat. */
.game-cover-large.cover-rotate::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 0 40px -12px rgba(0, 0, 0, 0.55);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), transparent 30%);
}
.game-cover-large.cover-rotate .cover-track img { object-fit: cover; }
.breadcrumb { color: var(--text-dim); font-size: 0.85rem; margin: 0 0 8px; }
.breadcrumb a:hover { color: var(--text); }
.game-tagline { color: var(--text-dim); font-size: 1.05rem; margin: 8px 0 20px; }
.btn-primary[onclick] { opacity: 0.6; cursor: not-allowed; }
.game-details { padding: 40px 0 96px; }
.game-description { color: var(--text-dim); line-height: 1.7; max-width: 720px; }

/* ---------- 404 ---------- */
.not-found { padding: 120px 0; text-align: center; }
.not-found h1 { font-size: 4.5rem; margin: 0 0 10px; color: var(--accent2); text-shadow: 0 0 30px rgba(34,211,238,0.5); }
.not-found p { color: var(--text-dim); margin-bottom: 24px; }

/* ---------- Script reveal page ---------- */
.script-reveal { padding: 100px 0 90px; text-align: center; }
.script-reveal__title { font-size: 2.2rem; color: #fff; margin: 0 0 10px; }
.script-reveal__sub { color: var(--text-dim); margin: 0 0 24px; font-size: 0.95rem; }
.script-code {
  max-width: 640px;
  margin: 0 auto 20px;
  padding: 18px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid rgba(140,140,180,0.45);
  color: #d4d4e8;
  font-family: 'SF Mono', Consolas, monospace;
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: left;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: auto;
}

/* ---------- Product cards ---------- */
.products-section { padding: 40px 0 90px; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  max-width: 640px; /* keeps cards compact/square rather than stretched wide */
  margin: 0 auto;
}
/* Section label for grouped reward grids (e.g. Animal Hospital's
   "Classes" / "Animal Coins"). */
.products-group-title {
  max-width: 640px;
  margin: 32px auto 14px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.products-group-title::before,
.products-group-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
}
.products-grid + .products-group-title { margin-top: 40px; }

/* ---- Multi-select reward cards (Animal Hospital / blox99-style) ---- */
.ah-select-card { position: relative; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
.ah-select-card .product-media { pointer-events: none; }
.ah-select-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent), 0 16px 40px -18px color-mix(in srgb, var(--accent) 70%, black);
  transform: translateY(-4px);
}
.ah-select-card:focus-visible { outline: 2px solid var(--accent2); outline-offset: 2px; }
.ah-check {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff;
  border: 2px solid rgba(255,255,255,0.85);
  opacity: 0; transform: scale(0.5);
  transition: opacity .18s ease, transform .18s ease;
}
.ah-check svg { width: 15px; height: 15px; }
.ah-select-card.selected .ah-check { opacity: 1; transform: scale(1); }
.ah-select-warning {
  max-width: 640px; margin: 4px auto 6px; text-align: center;
  color: #d9534f; font-weight: 600; font-size: 1.1rem;
}
/* Floating Continue button — hidden until at least one reward is selected.
   Matched to blox99's .action-button + .floating-btn exactly. */
.ah-continue-btn {
  position: fixed; left: 50%; bottom: 55px; z-index: 99;
  transform: translate(-50%, 150%); opacity: 0; visibility: hidden;
  transition: all 0.4s ease-out;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: #0d9488; color: #fff;
  border: none; border-radius: 12px; padding: 15px 35px;
  font-family: 'Poppins', sans-serif; font-size: 1.3rem; font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px 0 rgba(13,148,136,0.39);
}
.ah-continue-btn.visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.ah-continue-btn.visible:hover {
  transform: translate(-50%, -2px);
  background: #0f766e;
  box-shadow: 0 6px 20px 0 rgba(13,148,136,0.45);
}

/* ==========================================================================
   Animal Hospital — standalone light page (blox99-style). All scoped to
   body.ah-page so nothing here touches the dark vaultgaming theme.
   ========================================================================== */
/* Self-hosted Google Fonts (CSP blocks fonts.googleapis.com) — same pair
   blox99 uses: Lilita One for chunky titles, Poppins for body text. Only
   applied within .ah-page so the dark theme keeps its system font. */
@font-face { font-family: 'Lilita One'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/lilita-one-400.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/poppins-400.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/poppins-500.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/poppins-700.woff2') format('woff2'); }

body.ah-page {
  background: #a9d8f0;
  color: #111827;
  font-family: 'Poppins', -apple-system, "Segoe UI", Roboto, sans-serif;
}
.ah-page input, .ah-page button, .ah-page a { font-family: inherit; }
/* Chunky display font for the headings, exactly like blox99's .titles */
.ah-section-title, .ah-page .products-group-title {
  font-family: 'Lilita One', cursive; font-weight: 400; letter-spacing: 0.5px;
}
/* The dark theme paints its background via two FIXED full-viewport pseudo
   layers (body::before / ::after), not the body's own background — so just
   setting body.ah-page background wasn't enough (dark layer showed through,
   and plain content areas read as white on scroll). Replace those layers
   with a single fixed light-blue one so the page stays light everywhere,
   at any scroll position. */
body.ah-page::before {
  background: linear-gradient(180deg, #b6def6 0%, #a3d2ef 100%);
}
body.ah-page::after { display: none; }
.ah-page main { max-width: 1040px; margin: 0 auto; padding: 0 18px; }

/* Hero */
.ah-hero { text-align: center; padding: 44px 16px 8px; }
.ah-hero-logo {
  display: block; width: 100%; max-width: 430px; height: auto;
  margin: 0 auto 26px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.18));
}
.ah-hero-sub {
  max-width: 600px; margin: 10px auto 30px;
  font-size: 1.3rem; font-weight: 500; line-height: 1.5; color: #111827;
}
.ah-start-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #0d9488; color: #fff; text-decoration: none;
  font-weight: 800; font-size: 1.15rem;
  padding: 15px 36px; border-radius: 12px;
  box-shadow: 0 10px 24px -8px rgba(13,148,136,0.7);
  transition: transform .18s ease, background .18s ease;
}
.ah-start-btn svg { width: 20px; height: 20px; }
.ah-start-btn:hover { transform: translateY(-2px); background: #0f766e; }

/* Section: "1. Select Your Items" + centered group titles (Classes / Coins) */
.ah-page .products-section { padding: 26px 0 90px; background: transparent; }
.ah-section-title {
  text-align: center; color: #0f172a;
  font-size: 2rem; font-weight: 900; letter-spacing: 0.3px; margin: 24px 0 4px;
}
.ah-page .products-group-title {
  justify-content: center; color: #0f172a; font-size: 1.5rem; font-weight: 900;
  max-width: 960px; margin: 34px auto 20px;
}
.ah-page .products-group-title::before,
.ah-page .products-group-title::after { display: none; }

/* Cards: white, image + title only (blox99 minimalism) */
.ah-page .products-grid {
  max-width: 960px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
@media (min-width: 760px) {
  .ah-page .products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.ah-page .ah-select-card {
  background: #fff; border: none; border-radius: 16px;
  padding: 18px 14px 20px; text-align: center;
  box-shadow: 0 6px 18px -8px rgba(15,23,42,0.28);
  transition: transform .18s ease, box-shadow .18s ease, outline-color .12s ease;
}
.ah-page .ah-select-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px -10px rgba(15,23,42,0.34); }
.ah-page .ah-select-card.selected {
  outline: 3px solid #0d9488; outline-offset: 0;
  box-shadow: 0 0 22px rgba(13,148,136,0.55);
  transform: scale(1.03);
}
.ah-page .product-media {
  position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 150px;
  margin: 0 auto 12px; background: transparent; border-radius: 12px; overflow: visible;
}
.ah-page .product-media img {
  position: static; width: 100%; height: 100%;
  object-fit: contain; border-radius: 10px;
}
.ah-page .product-title { color: #111827; font-size: 1rem; font-weight: 600; margin: 0; text-align: center; }
.ah-page .product-badges,
.ah-page .stock-badge { display: none; }
.ah-page .ah-check { background: #0d9488; top: 8px; right: 8px; }

/* Footer */
.ah-footer { text-align: center; color: #33506b; font-size: 0.85rem; padding: 26px 16px 46px; }

/* Activity feed toasts (bottom-left social-proof popups), matched to blox99. */
.activity-feed {
  position: fixed; bottom: 20px; left: 20px; z-index: 1001;
  display: flex; flex-direction: column; gap: 10px;
  max-width: min(82vw, 320px); pointer-events: none;
}
.activity-toast {
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  color: #111827; padding: 12px 18px; border-radius: 10px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.12); border: 1px solid #e5e7eb;
  font-family: 'Poppins', sans-serif; font-size: 0.9rem; line-height: 1.35;
  animation: ahSlideInUp 0.5s ease-out forwards;
}
.activity-toast .ah-toast-emoji { font-size: 1.15rem; flex-shrink: 0; }
@keyframes ahSlideInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.ah-page .ah-select-warning { color: #d9534f; }
.product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  background: var(--card);
  border-radius: 16px;
  border: 1px solid rgba(140,140,180,0.45); /* visible, soft border */
  padding: 14px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .3s ease;
}
.product-card:hover, .product-card:active, .product-card.in-view {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 20px 46px -18px color-mix(in srgb, var(--accent) 55%, black);
}
.product-media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
}

.product-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* Dynamic status / stock indicator on each reward. */
.stock-badge {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.3px;
  color: #fff; background: rgba(8, 8, 16, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.stock-badge .dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.stock-badge--active { color: #4ade80; }
.stock-badge--active .dot { background: #4ade80; box-shadow: 0 0 6px #4ade80; animation: dotPulse 1.5s ease-in-out infinite; }
.stock-badge--low { color: #fbbf24; }
.stock-badge--low .dot { background: #fbbf24; box-shadow: 0 0 6px #fbbf24; }
@keyframes dotPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.product-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }

/* Scoped to the new-game-placeholder grid only — image bleeds edge-to-edge
   with no card padding around it, unlike the default reward card style. */
.products-grid--flush .product-card { padding: 0; overflow: hidden; }
.products-grid--flush .product-media { border-radius: 0; margin-bottom: 0; }
.products-grid--flush .product-body { padding: 14px; }
.products-grid--flush .product-media img { transform: scale(1.15); transform-origin: center top; }
.products-grid--flush .product-title { font-size: 0.8rem; }
.products-grid--flush .product-desc { font-size: 0.5rem; }
.products-grid--flush .product-badges .pill { font-size: 0.54rem; padding: 2px 8px; }
.products-grid--flush .product-info {
  font-size: 0.66rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Translucent "glass" button instead of the solid accent gradient. */
.products-grid--flush .btn-buy {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.products-grid--flush .btn-buy:hover { background: rgba(255,255,255,0.14); }
@media (max-width: 640px) {
  .products-grid--flush .product-body { padding: 10px; }
}
/* The grid's own max-width caps card width at ~640px total either way, but
   on desktop viewports the cards render noticeably wider than on a narrow
   phone screen — the font sizes above were tuned for the mobile width, so
   scale them back up here or they look tiny/blurry once the card is bigger. */
@media (min-width: 641px) {
  .products-grid--flush .product-title { font-size: 1rem; }
  .products-grid--flush .product-desc { font-size: 0.8rem; }
  .products-grid--flush .product-badges .pill { font-size: 0.68rem; padding: 3px 10px; }
  .products-grid--flush .product-info { font-size: 0.8rem; }
  .products-grid--flush .product-media img { transform: scale(1.08); }
}
.product-title { color: #fff; font-weight: 700; font-size: 1.05rem; margin: 0 0 4px; }
.product-desc { color: var(--text-dim); font-size: 0.85rem; line-height: 1.4; margin: 0 0 8px; }
.product-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.product-badges .pill {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--text-dim);
  border: 0.5px solid rgba(255,255,255,0.2);
}
.product-info {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-dim);
  margin: 0 0 10px;
}
.btn-buy {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  text-align: center;
  padding: 11px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, var(--accent2)));
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-size: 0.92rem;
  margin-top: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s ease, box-shadow .2s ease, filter .2s ease;
}
/* Invisible hit-area padding so a tap landing just outside the visible
   button (common on small screens / thumb taps) still registers as a
   click on the button instead of falling through to whatever is behind it. */
.btn-buy::before {
  content: '';
  position: absolute;
  inset: -10px;
}
.btn-buy .bolt { width: 15px; height: 15px; flex-shrink: 0; filter: drop-shadow(0 0 4px rgba(255,255,120,0.8)); color: #ffe14d; }
.btn-buy:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 12px 28px -8px color-mix(in srgb, var(--accent) 70%, black); }

@media (max-width: 520px) {
  .product-card { padding: 10px; }
  .product-title { font-size: 0.88rem; margin-bottom: 3px; }
  .product-desc { font-size: 0.72rem; line-height: 1.3; margin-bottom: 6px; }
  .product-badges { gap: 4px; margin-bottom: 6px; }
  .product-badges .pill { font-size: 0.58rem; padding: 2px 8px; }
  .product-info { font-size: 0.72rem; margin-bottom: 7px; }
  .btn-buy { padding: 9px; font-size: 0.8rem; }
}

/* ---------- Choose Platform Modal ---------- */
.platform-modal {
  position: fixed; inset: 0; z-index: 100;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.platform-modal.is-open { display: flex; }
.platform-modal__overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  animation: modalFade .25s ease;
}
.platform-modal__box {
  position: relative; z-index: 1;
  width: 100%; max-width: 380px;
  text-align: center;
  background: #111119;
  border: 1px solid rgba(245, 180, 60, 0.55);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 0 42px -6px rgba(245, 180, 60, 0.35), 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  animation: modalPop .28s cubic-bezier(.34,1.3,.5,1);
}
.modal-step { animation: modalFade .28s ease; }
.modal-step[hidden] { display: none; }
.modal-step--1 { padding: 30px 24px 20px; background: #111119; }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalPop { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
.platform-modal__close {
  position: absolute; top: 10px; right: 14px;
  background: none; border: none; color: #9a9ab4;
  font-size: 1.7rem; line-height: 1; cursor: pointer; transition: color .18s ease;
}
.platform-modal__close:hover { color: #fff; }
.platform-modal__title { margin: 0 0 6px; color: #fff; font-size: 1.3rem; font-weight: 800; }
.platform-modal__subtitle { margin: 0 0 22px; color: #9a9ab4; font-size: 0.9rem; }
.platform-modal__options { display: flex; flex-direction: column; gap: 12px; }
.platform-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px; border-radius: 12px; cursor: pointer;
  background: #1c1c28; border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff; font-weight: 700; font-size: 0.98rem;
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
}
.platform-btn:hover { background: #262636; border-color: rgba(255, 255, 255, 0.2); transform: translateY(-1px); }
.platform-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.platform-modal__footer { margin: 20px 0 2px; color: #7a7a90; font-size: 0.76rem; }

/* --- Step 2: Roblox username (checkerboard / purple theme) --- */
.modal-step--2 {
  padding: 24px 22px 20px;
  text-align: center;
  background-color: #241608;
  background-image:
    linear-gradient(45deg, rgba(150, 90, 35, 0.22) 25%, transparent 25%, transparent 75%, rgba(150, 90, 35, 0.22) 75%),
    linear-gradient(45deg, rgba(150, 90, 35, 0.22) 25%, transparent 25%, transparent 75%, rgba(150, 90, 35, 0.22) 75%);
  background-size: 38px 38px;
  background-position: 0 0, 19px 19px;
}
.drop-header { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px; }
.drop-thumb { width: 34px; height: 34px; border-radius: 8px; overflow: hidden; flex-shrink: 0; border: 1px solid rgba(255, 255, 255, 0.22); }
.drop-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.drop-header-text { color: #fff; font-weight: 800; letter-spacing: 0.5px; font-size: 1.02rem; }
.drop-item-card {
  display: flex; align-items: center; gap: 14px; text-align: left;
  background: rgba(28, 16, 6, 0.9);
  border: 1px solid rgba(150, 90, 35, 0.5);
  border-radius: 14px; padding: 12px; margin-bottom: 16px;
}
.drop-item-img { width: 60px; height: 60px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: #1a1a24; }
.drop-item-info { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.drop-item-name { color: #fff; font-weight: 800; font-size: 1rem; line-height: 1.2; }
.drop-badge {
  display: inline-block; padding: 3px 12px; border-radius: 999px;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.5px; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}
.drop-instruction { color: #e7d8c4; font-size: 0.85rem; line-height: 1.5; margin: 0 0 16px; }
.drop-input-wrap { position: relative; margin-bottom: 14px; }
.drop-input-wrap svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: #9a8a76; pointer-events: none;
}
.drop-input {
  width: 100%; padding: 13px 14px 13px 42px; border-radius: 12px;
  background: #1a1206; border: 1px solid rgba(150, 90, 35, 0.5);
  color: #fff; font-size: 0.95rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.drop-input::placeholder { color: #8a7a66; }
.drop-input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 32%, transparent);
}
.drop-claim {
  width: 100%; padding: 15px; border: none; border-radius: 12px; cursor: pointer;
  font-weight: 800; font-size: 1rem; letter-spacing: 0.5px; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 12px 26px -8px color-mix(in srgb, var(--accent) 70%, black);
  transition: transform .18s ease, filter .2s ease;
}
.drop-claim:hover { transform: translateY(-2px); filter: brightness(1.08); }
.drop-footer {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  margin: 16px 0 2px; color: #a9d6a0; font-size: 0.76rem;
}
.drop-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 6px #4ade80; animation: dotPulse 1.5s ease-in-out infinite; }
.drop-error { margin: -4px 0 12px; color: #ff6b6b; font-size: 0.8rem; font-weight: 600; }
.drop-error[hidden] { display: none; }
.drop-claim:disabled { opacity: 0.7; cursor: default; transform: none; filter: none; }

/* --- Step 3: generation sequence --- */
.modal-step--3 {
  padding: 24px 22px 20px;
  text-align: center;
  background-color: #241608;
  background-image:
    linear-gradient(45deg, rgba(150, 90, 35, 0.22) 25%, transparent 25%, transparent 75%, rgba(150, 90, 35, 0.22) 75%),
    linear-gradient(45deg, rgba(150, 90, 35, 0.22) 25%, transparent 25%, transparent 75%, rgba(150, 90, 35, 0.22) 75%);
  background-size: 38px 38px;
  background-position: 0 0, 19px 19px;
}
.gen-avatar-wrap { position: relative; width: 116px; height: 116px; margin: 6px auto 10px; }
.gen-avatar {
  width: 116px; height: 116px; border-radius: 50%; object-fit: cover; position: relative; z-index: 1;
  background: #1a1206; border: 2px solid rgba(255, 255, 255, 0.15);
}
.gen-name { margin: 0 0 8px; color: #fff; font-weight: 800; font-size: 1.1rem; letter-spacing: 0.3px; }
.gen-avatar-ring {
  position: absolute; inset: -6px; border-radius: 50%;
  border: 3px solid #4ade80; box-shadow: 0 0 18px #4ade80;
  animation: genPulse 1.4s ease-in-out infinite;
}
@keyframes genPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
.gen-status { margin: 0 0 16px; font-weight: 800; font-size: 1rem; color: #fbbf24; }
.gen-status.is-alert { color: #ff6b4a; }
.gen-steps { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.gen-box {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 12px;
  background: rgba(20, 12, 4, 0.85); border: 1px solid rgba(150, 90, 35, 0.4);
  transition: border-color .3s ease, background .3s ease;
}
.gen-box-icon {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.95rem; color: #fff; background: #2a2436;
}
.gen-box-icon--purple { background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.gen-box-icon svg { width: 18px; height: 18px; }
.gen-box-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gen-box-title { color: #fff; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.5px; }
.gen-box-sub { color: #c9b8a4; font-size: 0.76rem; }
.gen-box-sub b { color: inherit; }
.gen-box.is-active { border-color: #4ade80; background: rgba(20, 40, 20, 0.5); }
.gen-box.is-active .gen-box-sub { color: #4ade80; }
.gen-progress { height: 8px; border-radius: 999px; background: rgba(0, 0, 0, 0.5); overflow: hidden; margin-top: 18px; }
.gen-progress-bar {
  display: block; height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width .6s ease;
}

/* ---------- Step 4: connection widget + live offer feed ---------- */
.transfer-panel { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 18px 0 10px; }
.transfer-node { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 0 0 auto; }
.transfer-avatar-wrap, .transfer-item-wrap { position: relative; width: 68px; height: 68px; }
.transfer-avatar-img, .transfer-item-img {
  width: 100%; height: 100%; border-radius: 14px; object-fit: cover;
  border: 2px solid var(--accent2); background: rgba(0,0,0,0.4); display: block;
}
.transfer-item-wrap .transfer-item-img { border-color: var(--accent); }
.transfer-platform-icon {
  width: 100%; height: 100%; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.4); border: 2px solid var(--accent2);
  color: #fff;
}
.transfer-platform-icon svg { width: 32px; height: 32px; }
.transfer-status-indicator {
  position: absolute; bottom: -3px; right: -3px; width: 15px; height: 15px;
  border-radius: 50%; border: 2px solid #171a21;
}
.transfer-status-indicator.online { background: var(--accent2); }
.transfer-status-indicator.pending { background: var(--accent); }
.transfer-username, .transfer-item-name {
  color: #fff; font-weight: 700; font-size: 13px; max-width: 100px;
  text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.transfer-badge {
  font-size: 10px; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; color: #fff;
}
.transfer-badge.online-badge { background: var(--accent2); color: #0a0a0f; }
.transfer-badge.pending-badge { background: var(--accent); }
.transfer-path { flex: 1; max-width: 70px; height: 2px; margin-bottom: 26px; position: relative;
  background: linear-gradient(90deg, var(--accent2), var(--accent)); }
.transfer-pulse {
  position: absolute; top: 50%; left: 0; width: 6px; height: 6px; margin-top: -3px;
  border-radius: 50%; background: #fff; animation: transferPulse 1.6s linear infinite;
}
@keyframes transferPulse { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

.transfer-sub { text-align: center; color: var(--text-dim); font-size: 13px; margin: 0 0 16px; }
.transfer-sub b { color: var(--accent2); }

.offers-loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 20px 0; color: var(--text-dim); font-size: 13px; }
.offers-spinner {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.2); border-top-color: var(--accent2);
  animation: offersSpin .8s linear infinite;
}
@keyframes offersSpin { to { transform: rotate(360deg); } }

.offer-container { display: flex; flex-direction: column; gap: 10px; }
.offer-card {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border-radius: 12px; text-decoration: none;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  transition: transform .2s ease, border-color .2s ease;
}
.offer-card:hover { transform: translateY(-2px); border-color: var(--accent2); }
.offer-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.offer-img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: #fff; }
.offer-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.offer-title { color: #fff; font-weight: 700; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.offer-desc { color: var(--text-dim); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.offer-action {
  flex-shrink: 0; background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-weight: 800; font-size: 12px; padding: 8px 16px; border-radius: 999px;
}
.success-message-box {
  text-align: center; color: #4ade80; font-weight: 700; font-size: 13px;
  padding: 16px; background: rgba(74,222,128,0.1); border: 1px solid rgba(74,222,128,0.3); border-radius: 12px;
}

.offer-footer { margin-top: 16px; text-align: center; }
.offer-footer-status { display: inline-flex; align-items: center; gap: 6px; color: var(--text-dim); font-size: 12px; }
.offer-footer-dot { width: 6px; height: 6px; border-radius: 50%; background: #fbbf24; animation: dotPulse 1.5s ease-in-out infinite; }
.offer-expire-note { color: #ff6b6b; font-weight: 700; font-size: 12px; margin: 6px 0 0; }

/* ---------- Testimonials ---------- */
.testimonials-section { padding: 20px 0 90px; }
.testimonials-carousel { overflow: hidden; padding: 8px 2px; }
.testimonials-track {
  display: flex;
  gap: 16px;
  will-change: transform;
}
@media (min-width: 860px) {
  .testimonials-track { gap: 22px; }
}
.testimonial-card {
  position: relative;
  margin: 0;
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border-hi));
  box-shadow: 0 14px 40px -22px color-mix(in srgb, var(--accent) 60%, black);
  transition: transform .22s ease, border-color .22s ease, box-shadow .3s ease;
}
.testimonial-card::before {
  content: "\201C";
  position: absolute; top: 6px; right: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.5rem; line-height: 1;
  color: color-mix(in srgb, var(--accent) 22%, transparent);
  pointer-events: none;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 20px 46px -18px color-mix(in srgb, var(--accent) 65%, black);
}
.testimonial-quote {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 46px; height: 46px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 0.9rem; font-weight: 800; letter-spacing: 0.5px; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--accent) 70%, black);
}
.testimonial-meta { display: flex; flex-direction: column; line-height: 1.3; }
.testimonial-name { font-weight: 700; color: var(--text); font-size: 0.92rem; }
.testimonial-title { color: var(--text-dim); font-size: 0.8rem; }
/* 3 cards per view on desktop (2 gaps of 22px), 1 on mobile. */
@media (min-width: 860px) {
  .testimonials-track .testimonial-card { flex: 0 0 calc((100% - 44px) / 3); }
}

/* ---------- Why Choose Us (Features / Trust) ---------- */
.features-section { padding: 20px 0 90px; }
.features-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}
@media (max-width: 560px) {
  .feature-card { padding: 20px 14px; }
  .feature-icon { width: 48px; height: 48px; margin-bottom: 12px; border-radius: 13px; }
  .feature-icon svg { width: 23px; height: 23px; }
  .feature-card h3 { font-size: 0.98rem; }
  .feature-card p { font-size: 0.8rem; line-height: 1.45; }
}
.feature-card {
  position: relative;
  text-align: center;
  padding: 30px 22px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  border: 1px solid var(--border-hi);
  transition: transform .22s ease, border-color .22s ease, box-shadow .3s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 18px 44px -18px color-mix(in srgb, var(--accent) 62%, black), 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent);
}
.feature-icon {
  width: 58px; height: 58px; margin: 0 auto 18px;
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 10px 26px -8px color-mix(in srgb, var(--accent) 65%, black);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { margin: 0 0 8px; font-size: 1.1rem; color: var(--text); }
.feature-card p { margin: 0; color: var(--text-dim); font-size: 0.9rem; line-height: 1.55; }

/* ---------- How It Works ---------- */
.how-section { padding: 40px 0 90px; }
.section-head-center { text-align: center; margin-bottom: 40px; }
.section-head-center .section-title { margin: 0 0 8px; }
.section-sub { color: var(--text-dim); margin: 0; }

/* Short accent divider under a centered section title. */
.title-rule {
  display: block;
  width: 60px;
  height: 3px;
  margin: 4px auto 12px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

/* Title tinted toward the page background so it reads as a soft, blended
   off-white instead of pure white. */
.section-title--blend {
  background: linear-gradient(180deg, #ffffff, color-mix(in srgb, #ffffff 55%, var(--bg)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.how-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .how-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}
/* Compact horizontal step rows on mobile so the list stays short. */
@media (max-width: 767px) {
  .how-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    align-items: center;
    padding: 16px 18px;
  }
  .how-icon { grid-row: 1 / 3; margin-bottom: 0; width: 46px; height: 46px; align-self: center; }
  .how-icon svg { width: 23px; height: 23px; }
  .how-card h3 { grid-column: 2; align-self: end; margin: 0; font-size: 1.05rem; }
  .how-card p { grid-column: 2; align-self: start; margin: 2px 0 0; font-size: 0.85rem; }
  .how-num { display: none; }
  .how-card--featured .how-badge { display: none; }
  .how-card--featured { transform: none; }
}

.how-card {
  position: relative;
  overflow: hidden;
  padding: 32px 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  border: 1px solid var(--border);
  transition: transform .22s ease, border-color .22s ease;
}
.how-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.how-card::before {
  content: "";
  position: absolute; left: 0; top: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0.9;
}

/* Highlighted step 2 — the key conversion step. */
.how-card--featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 16%, var(--card-hi)), var(--card));
  box-shadow: 0 18px 46px -18px color-mix(in srgb, var(--accent) 65%, black), 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent);
  transform: translateY(-8px) scale(1.04);
}
.how-card--featured:hover { transform: translateY(-12px) scale(1.05); }
.how-card--featured::before { height: 4px; opacity: 1; }
.how-badge {
  position: absolute; top: 12px; left: 20px; z-index: 2;
  padding: 3px 12px; border-radius: 999px;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase;
  color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--accent) 75%, black);
}
@media (max-width: 767px) {
  .how-card--featured { transform: none; }
  .how-card--featured:hover { transform: translateY(-4px); }
}
.how-num {
  position: absolute; top: 14px; right: 20px;
  font-size: 3.4rem; font-weight: 900; line-height: 1; user-select: none;
  background: linear-gradient(160deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.9;
  filter: drop-shadow(0 4px 10px color-mix(in srgb, var(--accent) 45%, transparent));
}
.how-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: #06060c;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 8px 24px -8px rgba(124,58,237,0.6);
}
.how-icon svg { width: 28px; height: 28px; }
.how-icon .how-emoji { font-size: 28px; line-height: 1; }
.how-card h3 { margin: 0 0 8px; font-size: 1.2rem; color: var(--text); }
.how-card p { margin: 0; color: var(--text-dim); font-size: 0.95rem; line-height: 1.6; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(13,13,23,0.5);
  padding: 44px 0 30px;
  margin-top: 40px;
}
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; margin-bottom: 10px; }
.footer-brand .logo-accent { color: var(--accent2); font-weight: 500; }
.footer-tag { color: var(--text-dim); font-size: 0.9rem; max-width: 280px; margin: 0; }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col h4 { font-size: 0.78rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-dim); margin: 0 0 12px; }
.footer-col a { display: block; color: var(--text); font-size: 0.92rem; margin-bottom: 9px; opacity: 0.85; transition: opacity .2s, color .2s; }
.footer-col a:hover { opacity: 1; color: var(--accent2); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 34px; padding-top: 22px; color: var(--text-dim); font-size: 0.85rem; text-align: center; }

/* ---------- Responsive (mobile-first base above; enhancements below) ---------- */
/* Base (mobile): footer stacks, game banner stacks. (nav handled in Nav section) */
.footer-inner { flex-direction: column; }
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .game-card, .led { animation: none; }
  * { transition: none !important; }
}
