/* ==========================================================================
   Shuffle Casino Mexico - Design System
   ========================================================================== */

:root {
  --bg: #0a0913;
  --bg-2: #0e0c1c;
  --bg-3: #131029;
  --surface: #17142c;
  --surface-2: #1d1938;
  --border: rgba(139, 92, 246, 0.16);
  --border-strong: rgba(139, 92, 246, 0.4);
  --violet: #8b5cf6;
  --violet-2: #7c3aed;
  --violet-3: #a855f7;
  --violet-glow: rgba(124, 58, 237, 0.55);
  --accent: #22d3ee;
  --green: #34d399;
  --gold: #fbbf24;
  --text: #f5f4ff;
  --text-2: #c7c3e0;
  --text-3: #8f8ab0;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.7);
  --shadow-violet: 0 14px 40px -12px rgba(124, 58, 237, 0.45);
  --maxw: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  background-image:
    radial-gradient(1100px 600px at 78% -8%, rgba(124, 58, 237, 0.22), transparent 60%),
    radial-gradient(900px 520px at 8% 4%, rgba(34, 211, 238, 0.08), transparent 55%),
    radial-gradient(800px 800px at 50% 120%, rgba(124, 58, 237, 0.12), transparent 60%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* Typography ---------------------------------------------------------------- */
h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { color: var(--text-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--violet-3);
  padding: 7px 14px; border-radius: 999px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid var(--border);
}

.text-gradient {
  background: linear-gradient(100deg, #c4b5fd 0%, #8b5cf6 45%, #22d3ee 120%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.section { padding: 74px 0; }
.section-tight { padding: 52px 0; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 12px; font-size: 1.02rem; }

/* Buttons ------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-size: 0.98rem; font-weight: 700;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap; text-align: center;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(120deg, var(--violet-2), var(--violet-3));
  color: #fff; box-shadow: var(--shadow-violet);
  animation: ctaPulse 2.6s ease-in-out infinite;
}
.btn-primary:hover {
  animation: none;
  transform: translateY(-2px);
  box-shadow: 0 20px 46px -12px rgba(124, 58, 237, 0.6);
}
@keyframes ctaPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: var(--shadow-violet), 0 0 0 0 rgba(139, 92, 246, 0.35);
  }
  50% {
    transform: scale(1.02);
    box-shadow: var(--shadow-violet), 0 0 0 11px rgba(139, 92, 246, 0);
  }
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04); color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { transform: translateY(-2px); background: rgba(139, 92, 246, 0.14); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }

:focus-visible { outline: 2px solid var(--violet-3); outline-offset: 3px; border-radius: 6px; }

/* Header -------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10, 9, 19, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.16rem; letter-spacing: -0.02em; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand span b { color: var(--violet-3); font-weight: 800; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 9px 15px; border-radius: 10px; font-weight: 600; font-size: 0.96rem;
  color: var(--text-2); transition: color 0.15s ease, background 0.15s ease;
}
.nav a:hover, .nav a.active { color: var(--text); background: rgba(139, 92, 246, 0.12); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { padding: 10px 20px; font-size: 0.92rem; }

.hamburger {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(139, 92, 246, 0.12); border: 1px solid var(--border);
  cursor: pointer; padding: 0; position: relative;
}
.hamburger span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease;
}
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }
.hamburger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; inset: 70px 0 auto 0; z-index: 59;
  background: rgba(12, 10, 26, 0.98); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px 24px; transform: translateY(-8px); opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease; pointer-events: none;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a {
  display: block; padding: 14px 12px; border-radius: 12px; font-weight: 600;
  color: var(--text-2); border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.mobile-menu a:hover { color: var(--text); background: rgba(139, 92, 246, 0.1); }
.mobile-menu .menu-actions { display: flex; gap: 10px; margin-top: 16px; }
.mobile-menu .menu-actions .btn { flex: 1; }

/* Cards --------------------------------------------------------------------- */
.card {
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card-glow { position: relative; overflow: hidden; }
.card-glow::before {
  content: ""; position: absolute; top: -40%; right: -20%;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.28), transparent 70%);
  pointer-events: none;
}

/* Hero ---------------------------------------------------------------------- */
.hero { position: relative; padding: 58px 0 30px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.hero h1 { margin: 18px 0 16px; }
.hero-lead { font-size: 1.1rem; max-width: 44ch; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 26px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; font-weight: 600;
  color: var(--text-2); padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border);
}
.pill svg { width: 16px; height: 16px; color: var(--green); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Promo card ---------------------------------------------------------------- */
.promo-card {
  position: relative; border-radius: var(--radius-lg); padding: 28px;
  background: linear-gradient(165deg, rgba(45, 28, 92, 0.92), rgba(17, 14, 38, 0.96));
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-violet);
  overflow: hidden;
}
.promo-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 200px at 90% 0%, rgba(168, 85, 247, 0.25), transparent 60%);
}
.promo-card > * { position: relative; z-index: 1; }
.promo-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.promo-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--violet-3); }
.verified {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 700;
  color: var(--green); padding: 5px 11px; border-radius: 999px;
  background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.3);
}
.verified svg { width: 14px; height: 14px; }
.promo-bonus { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; margin: 10px 0 4px; letter-spacing: -0.02em; }
.promo-bonus small { display: block; font-size: 0.95rem; font-weight: 600; color: var(--text-3); letter-spacing: 0; }

.code-row {
  display: flex; align-items: stretch; gap: 10px; margin: 18px 0 14px;
}
.code-box {
  flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 18px; border-radius: var(--radius-sm);
  background: rgba(10, 9, 19, 0.7); border: 1px dashed var(--border-strong);
}
.code-box .code {
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  font-size: 1.35rem; font-weight: 800; letter-spacing: 0.12em; color: #fff;
}
.code-box .code-hint { font-size: 0.72rem; color: var(--text-3); letter-spacing: 0.04em; }
.copy-btn {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px;
  padding: 0 20px; border-radius: var(--radius-sm); border: none; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 0.92rem; color: #fff;
  background: linear-gradient(120deg, var(--violet-2), var(--violet-3));
  transition: transform 0.15s ease;
}
.copy-btn:hover { transform: translateY(-2px); }
.copy-btn svg { width: 16px; height: 16px; }

.promo-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; }
.promo-meta span { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--text-3); }
.promo-meta svg { width: 14px; height: 14px; color: var(--violet-3); }

/* Toast --------------------------------------------------------------------- */
.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%) translateY(20px);
  background: linear-gradient(120deg, var(--violet-2), var(--violet-3)); color: #fff;
  padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 0.94rem;
  box-shadow: var(--shadow-violet); opacity: 0; pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease; z-index: 200;
  display: inline-flex; align-items: center; gap: 8px;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast svg { width: 17px; height: 17px; }

/* Game tiles ---------------------------------------------------------------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  position: relative; display: block; border-radius: var(--radius);
  background: linear-gradient(165deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--border); overflow: hidden; padding: 18px;
  min-height: 176px; cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.tile:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-violet); }
.tile-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.tile-name { font-weight: 800; font-size: 1.05rem; }
.tile-tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet-3); }
.tile-stage { height: 100px; display: flex; align-items: center; justify-content: center; position: relative; }

/* Plinko */
.plinko { width: 100%; height: 100%; position: relative; }
.plinko .peg { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: rgba(196, 181, 253, 0.55); }
.plinko .ball {
  position: absolute; top: 4px; left: 50%; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--violet-3));
  box-shadow: 0 0 10px var(--violet-glow); animation: plinko-drop 3.4s infinite ease-in;
}
@keyframes plinko-drop {
  0% { top: 2px; left: 50%; opacity: 0; }
  8% { opacity: 1; }
  30% { top: 34px; left: 34%; }
  55% { top: 60px; left: 62%; }
  80% { top: 84px; left: 42%; }
  100% { top: 96px; left: 50%; opacity: 0.15; }
}

/* Mines */
.mines-grid { display: grid; grid-template-columns: repeat(3, 22px); grid-auto-rows: 22px; gap: 6px; }
.mines-grid .cell { border-radius: 6px; background: rgba(124, 58, 237, 0.18); border: 1px solid var(--border); }
.mines-grid .cell.hot { animation: mine-flash 2.6s infinite; }
.mines-grid .cell:nth-child(2) { animation-delay: 0.5s; }
.mines-grid .cell:nth-child(5) { animation-delay: 1.1s; }
.mines-grid .cell:nth-child(7) { animation-delay: 1.7s; }
.mines-grid .cell:nth-child(9) { animation-delay: 2.2s; }
@keyframes mine-flash {
  0%, 100% { background: rgba(124, 58, 237, 0.18); box-shadow: none; }
  50% { background: rgba(168, 85, 247, 0.85); box-shadow: 0 0 12px var(--violet-glow); }
}

/* Dice */
.dice-face {
  width: 66px; height: 66px; border-radius: 16px;
  background: linear-gradient(150deg, #fff, #d8d2f5);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 900; color: var(--violet-2);
  box-shadow: 0 8px 22px -6px rgba(124, 58, 237, 0.6);
  animation: dice-pop 0.4s ease;
}
@keyframes dice-pop { 0% { transform: scale(0.8) rotate(-8deg); } 100% { transform: scale(1) rotate(0); } }

/* Blackjack */
.cards-stage { display: flex; gap: 6px; }
.play-card {
  width: 42px; height: 60px; border-radius: 7px; background: linear-gradient(160deg, #fff, #e7e2fb);
  color: #17142c; font-weight: 800; font-size: 0.95rem; position: relative;
  box-shadow: 0 6px 16px -4px rgba(0,0,0,0.55); transform-origin: bottom center;
}
.play-card span { position: absolute; top: 5px; left: 7px; }
.play-card .suit { position: absolute; bottom: 5px; right: 7px; top: auto; left: auto; color: var(--violet-2); }
.play-card.red, .play-card.red .suit { color: #dc2626; }
.play-card.flip { animation: card-flip 3s infinite ease-in-out; }
.play-card.flip:nth-child(2) { animation-delay: 0.4s; }
@keyframes card-flip {
  0%, 100% { transform: rotateY(0) translateY(0); }
  50% { transform: rotateY(180deg) translateY(-6px); }
}

/* Latest wins --------------------------------------------------------------- */
.wins {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(165deg, var(--surface), var(--bg-2)); overflow: hidden;
}
.wins-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px; border-bottom: 1px solid var(--border);
}
.live-dot { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 700; color: var(--green); }
.live-dot i {
  width: 9px; height: 9px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.wins-table { width: 100%; }
.table-scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; min-width: 460px; }
table.data th, table.data td { padding: 13px 22px; text-align: left; font-size: 0.92rem; }
table.data th { color: var(--text-3); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 1px solid var(--border); }
table.data td { border-bottom: 1px solid rgba(255,255,255,0.04); }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.data .win { color: var(--green); font-weight: 700; }
table.data .game { font-weight: 600; }
.wins-body tr { transition: background 0.4s ease; }
.wins-body tr.fresh { background: rgba(124, 58, 237, 0.14); }

/* Feature grid -------------------------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  padding: 24px; border-radius: var(--radius); border: 1px solid var(--border);
  background: linear-gradient(165deg, var(--surface), var(--bg-2));
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.feature .ico {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(124, 58, 237, 0.16); color: var(--violet-3); margin-bottom: 15px;
}
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: 8px; }
.feature p { font-size: 0.94rem; }

/* Steps --------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step {
  position: relative; padding: 24px 22px 22px; border-radius: var(--radius);
  border: 1px solid var(--border); background: linear-gradient(165deg, var(--surface), var(--bg-2));
}
.step .num {
  width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.05rem; color: #fff; margin-bottom: 14px;
  background: linear-gradient(120deg, var(--violet-2), var(--violet-3));
}
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { font-size: 0.92rem; }
.step .code-inline {
  font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 800; color: var(--violet-3);
  background: rgba(124,58,237,0.14); padding: 1px 7px; border-radius: 6px;
}

/* Stats --------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  text-align: center; padding: 24px 16px; border-radius: var(--radius);
  border: 1px solid var(--border); background: linear-gradient(165deg, var(--surface), var(--bg-2));
}
.stat .val { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.stat .lbl { font-size: 0.85rem; color: var(--text-3); margin-top: 4px; }

/* Prose / content ----------------------------------------------------------- */
.prose p { margin-bottom: 16px; font-size: 1.02rem; }
.prose p:last-child { margin-bottom: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.media-frame {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-violet); background: var(--bg-2);
}
.media-frame img { width: 100%; height: auto; }

/* Data table (bonus) -------------------------------------------------------- */
.info-table { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.info-table th, .info-table td { padding: 15px 20px; text-align: left; font-size: 0.96rem; border-bottom: 1px solid var(--border); }
.info-table th { width: 42%; color: var(--text-3); font-weight: 600; background: rgba(255,255,255,0.02); }
.info-table td { color: var(--text); font-weight: 600; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }

/* Screenshot highlight ------------------------------------------------------ */
.shot-wrap { position: relative; }
.shot-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-violet);
}
.shot-frame img { width: 100%; height: auto; }
.shot-caption { margin-top: 14px; font-size: 0.88rem; color: var(--text-3); text-align: center; }
.shot-note {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  font-size: 0.85rem; font-weight: 600; color: var(--violet-3);
  padding: 8px 14px; border-radius: 999px; background: rgba(124,58,237,0.12); border: 1px solid var(--border);
}

/* Callout ------------------------------------------------------------------- */
.callout {
  display: flex; gap: 14px; padding: 20px 22px; border-radius: var(--radius);
  background: rgba(124, 58, 237, 0.1); border: 1px solid var(--border-strong);
}
.callout .ico { flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: rgba(124,58,237,0.2); color: var(--violet-3); }
.callout .ico svg { width: 22px; height: 22px; }
.callout h3 { font-size: 1.05rem; margin-bottom: 4px; }
.callout p { font-size: 0.94rem; margin: 0; }
.callout.warn { background: rgba(251, 191, 36, 0.08); border-color: rgba(251, 191, 36, 0.35); }
.callout.warn .ico { background: rgba(251,191,36,0.18); color: var(--gold); }

/* FAQ ----------------------------------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; background: linear-gradient(165deg, var(--surface), var(--bg-2)); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; background: none; border: none; cursor: pointer; text-align: left;
  font-family: inherit; font-size: 1.02rem; font-weight: 700; color: var(--text);
}
.faq-q .chev { flex-shrink: 0; width: 20px; height: 20px; color: var(--violet-3); transition: transform 0.25s ease; }
.faq-q[aria-expanded="true"] .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 22px 20px; }
.faq-a-inner p { font-size: 0.96rem; margin: 0; }

/* Breadcrumbs --------------------------------------------------------------- */
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-3); padding: 20px 0 0; flex-wrap: wrap; }
.crumbs a:hover { color: var(--violet-3); }
.crumbs .sep { opacity: 0.5; }
.crumbs span[aria-current] { color: var(--text-2); }

/* CTA band ------------------------------------------------------------------ */
.cta-band {
  text-align: center; border-radius: var(--radius-lg); padding: 52px 28px;
  background: linear-gradient(150deg, rgba(45, 28, 92, 0.75), rgba(17, 14, 38, 0.9));
  border: 1px solid var(--border-strong); position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(560px 240px at 50% 0%, rgba(168,85,247,0.22), transparent 65%); pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { max-width: 52ch; margin: 0 auto 24px; }
.cta-band .code-inline {
  font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 800; color: #fff;
  background: rgba(124,58,237,0.35); padding: 2px 10px; border-radius: 8px; letter-spacing: 0.06em;
}

/* Login card ---------------------------------------------------------------- */
.login-card {
  display: block; max-width: 420px; width: 100%; border-radius: var(--radius-lg); padding: 30px;
  background: linear-gradient(165deg, rgba(29, 25, 56, 0.95), rgba(14, 12, 28, 0.97));
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-violet);
  cursor: pointer; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
a.login-card:hover {
  transform: translateY(-3px); border-color: rgba(168, 85, 247, 0.65);
  box-shadow: 0 22px 54px -14px rgba(124, 58, 237, 0.6);
}
.login-card .tabs { display: flex; gap: 6px; padding: 5px; border-radius: 12px; background: rgba(10,9,19,0.6); margin-bottom: 22px; }
.login-card .tabs .tab { flex: 1; text-align: center; padding: 10px; border-radius: 8px; font-weight: 700; font-size: 0.92rem; color: var(--text-3); }
.login-card .tabs .tab.active { background: linear-gradient(120deg, var(--violet-2), var(--violet-3)); color: #fff; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-2); margin-bottom: 7px; }
.field .fake-input {
  display: flex; align-items: center; gap: 10px; padding: 13px 15px; border-radius: var(--radius-sm);
  background: rgba(10, 9, 19, 0.7); border: 1px solid var(--border); color: var(--text-3); font-size: 0.95rem;
}
.field .fake-input svg { width: 17px; height: 17px; color: var(--text-3); }
.login-note { font-size: 0.8rem; color: var(--text-3); text-align: center; margin-top: 16px; }

/* Phone mockup -------------------------------------------------------------- */
.phone-link { display: block; cursor: pointer; }
.phone {
  width: 300px; max-width: 100%; margin: 0 auto; aspect-ratio: 300 / 610;
  border-radius: 42px; padding: 12px; position: relative;
  background: linear-gradient(160deg, #2a2450, #14122a);
  border: 1px solid var(--border-strong); box-shadow: 0 30px 70px -22px rgba(124,58,237,0.55);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.phone-link:hover .phone, .phone-link:focus-visible .phone {
  transform: translateY(-4px); border-color: rgba(168, 85, 247, 0.7);
  box-shadow: 0 36px 82px -22px rgba(124, 58, 237, 0.75);
}
.phone::before { content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 110px; height: 22px; border-radius: 999px; background: #0a0913; z-index: 3; }
.phone-screen {
  width: 100%; height: 100%; border-radius: 32px; overflow: hidden; position: relative;
  background: linear-gradient(180deg, #14112a, #0b0a17);
  display: flex; flex-direction: column;
}
.phone-top { padding: 30px 18px 12px; display: flex; align-items: center; justify-content: space-between; }
.phone-top .p-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 0.9rem; }
.phone-top .p-brand img { width: 22px; height: 22px; border-radius: 6px; }
.phone-bal { font-size: 0.72rem; color: var(--green); font-weight: 700; }
.phone-hero { margin: 4px 14px 14px; border-radius: 16px; padding: 16px; background: linear-gradient(130deg, var(--violet-2), var(--violet-3)); }
.phone-hero .h-t { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; opacity: 0.85; text-transform: uppercase; }
.phone-hero .h-b { font-size: 1rem; font-weight: 800; margin-top: 3px; }
.phone-games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 14px; }
.phone-game { aspect-ratio: 1; border-radius: 12px; display: flex; align-items: flex-end; padding: 8px; font-size: 0.6rem; font-weight: 700; }
.phone-game:nth-child(1) { background: linear-gradient(160deg,#16a34a,#065f46); }
.phone-game:nth-child(2) { background: linear-gradient(160deg,#dc2626,#7f1d1d); }
.phone-game:nth-child(3) { background: linear-gradient(160deg,#d97706,#78350f); }
.phone-game:nth-child(4) { background: linear-gradient(160deg,#7c3aed,#4c1d95); }
.phone-game:nth-child(5) { background: linear-gradient(160deg,#0891b2,#155e75); }
.phone-game:nth-child(6) { background: linear-gradient(160deg,#db2777,#831843); }
.phone-nav { margin-top: auto; display: flex; justify-content: space-around; padding: 12px 10px 22px; border-top: 1px solid rgba(255,255,255,0.06); }
.phone-nav i { width: 22px; height: 22px; border-radius: 7px; background: rgba(255,255,255,0.1); display: block; }
.phone-nav i.on { background: var(--violet-3); }

/* Checklist ----------------------------------------------------------------- */
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; color: var(--text-2); }
.checklist li svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--green); margin-top: 3px; }
.numlist { list-style: none; counter-reset: n; display: grid; gap: 12px; }
.numlist li { display: flex; gap: 13px; align-items: flex-start; font-size: 0.98rem; color: var(--text-2); counter-increment: n; }
.numlist li::before {
  content: counter(n); flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 800; color: #fff;
  background: linear-gradient(120deg, var(--violet-2), var(--violet-3));
}
.numlist li b, .checklist li b { color: var(--text); }
.numlist .code-inline, .checklist .code-inline { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 800; color: var(--violet-3); }

/* Footer -------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); padding: 50px 0 30px; margin-top: 20px; background: rgba(8, 7, 16, 0.6); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; max-width: 38ch; }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); margin-bottom: 14px; }
.footer-col a { display: block; padding: 6px 0; font-size: 0.94rem; color: var(--text-2); }
.footer-col a:hover { color: var(--violet-3); }
.age-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font-size: 0.82rem; font-weight: 700; color: var(--text-2);
  padding: 8px 14px; border-radius: 10px; background: rgba(255,255,255,0.03); border: 1px solid var(--border);
}
.age-badge .n { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 7px; background: #dc2626; color: #fff; font-size: 0.72rem; font-weight: 800; }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 0.84rem; color: var(--text-3); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.footer-bottom p { font-size: 0.84rem; }

/* 404 ----------------------------------------------------------------------- */
.notfound { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 20px; }
.notfound .big { font-size: clamp(4rem, 16vw, 8rem); font-weight: 900; line-height: 1; letter-spacing: -0.04em; }
.notfound p { max-width: 42ch; margin: 14px auto 26px; }
.notfound .btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Reveal animation ---------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Responsive ---------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .nav, .header-actions { display: none; }
  .hamburger { display: block; }
  .mobile-menu { display: block; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .section { padding: 54px 0; }
  .hero { padding: 36px 0 20px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feature-grid { grid-template-columns: 1fr; }
  .code-row { flex-direction: column; }
  .copy-btn { padding: 13px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .cta-band { padding: 40px 20px; }
  .promo-card, .card { padding: 22px; }
}
@media (max-width: 360px) {
  .container { padding: 0 15px; }
  .tiles { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .btn-primary { animation: none !important; }
}
