/* ============================================================
   Shuffle Canada - shufflecanada.casino
   Static site stylesheet
   ============================================================ */

:root {
  --bg: #0a0d0c;
  --bg-soft: #0e1210;
  --panel: #12171476;
  --panel-solid: #121715;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #e9efeb;
  --muted: #98a49d;
  --green: #45f08c;
  --green-deep: #1fbf68;
  --green-dim: rgba(69, 240, 140, 0.12);
  --purple: #9a5cff;
  --purple-bright: #b07dff;
  --purple-deep: #6d2fe0;
  --purple-dim: rgba(154, 92, 255, 0.14);
  --purple-border: rgba(154, 92, 255, 0.42);
  --gold: #ffd166;
  --red: #ff6b6b;
  --radius: 16px;
  --radius-sm: 10px;
  --font-head: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(154, 92, 255, 0.12), transparent 60%),
    radial-gradient(700px 420px at -10% 30%, rgba(69, 240, 140, 0.05), transparent 55%),
    radial-gradient(800px 500px at 50% 110%, rgba(109, 47, 224, 0.08), transparent 60%),
    var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.9rem, 4.3vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 2.8vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }

.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--green));
  border-radius: 2px;
}

.lead { color: var(--muted); max-width: 62ch; }

.section-head { margin-bottom: 34px; }
.section-head p { margin-top: 10px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 12px;
  padding: 14px 28px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none !important;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  color: #06130b;
  box-shadow: 0 6px 24px rgba(69, 240, 140, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(69, 240, 140, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-outline:hover { border-color: var(--purple); color: var(--purple-bright); }

.btn-secondary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-deep) 100%);
  color: #fff;
  box-shadow: 0 6px 24px rgba(154, 92, 255, 0.3);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(154, 92, 255, 0.44);
}

.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-lg { padding: 16px 34px; font-size: 1.08rem; }

/* ---------- Promo ribbon ---------- */

.ribbon {
  background: linear-gradient(90deg, rgba(109, 47, 224, 0.28), rgba(154, 92, 255, 0.1) 55%, rgba(69, 240, 140, 0.08));
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: center;
  padding: 7px 16px;
  color: var(--muted);
}
.ribbon strong { color: var(--green); font-weight: 700; letter-spacing: 0.05em; }
.ribbon a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.ribbon a:hover { color: var(--green); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #0b0e0d;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none !important;
}
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.1;
}
.brand-name span { display: block; font-size: 0.66rem; font-weight: 600; color: var(--purple-bright); letter-spacing: 0.22em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.94rem;
  padding: 9px 13px;
  border-radius: 9px;
  text-decoration: none !important;
  transition: color 0.15s, background 0.15s;
}
.main-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.main-nav a.active { color: var(--purple-bright); background: var(--purple-dim); }

.header-cta { display: flex; align-items: center; gap: 10px; }

/* Hamburger */

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 75;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 8, 0.72);
  z-index: 80;
}
.nav-overlay.open { display: block; }

/* ---------- Hero (generic) ---------- */

.hero { padding: 64px 0 56px; position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}

.hero h1 span {
  background: linear-gradient(95deg, var(--purple-bright) 10%, var(--green) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead { margin: 18px 0 26px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hero-note { margin-top: 16px; font-size: 0.86rem; color: var(--muted); }
.hero-note strong { color: var(--gold); }

/* Code chip */

.code-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(140deg, rgba(109, 47, 224, 0.16), rgba(18, 23, 20, 0.6));
  border: 1px dashed var(--purple-border);
  border-radius: 12px;
  padding: 10px 14px;
}
.code-chip .code {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  color: var(--green);
}
.copy-btn {
  background: rgba(69, 240, 140, 0.14);
  color: var(--green);
  border: 1px solid rgba(69, 240, 140, 0.4);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  cursor: pointer;
  transition: background 0.15s;
}
.copy-btn:hover { background: rgba(69, 240, 140, 0.24); }
.copy-btn.copied { background: var(--green); color: #06130b; border-color: var(--green); }

/* ---------- Game tiles (main hero) ---------- */

.tiles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.game-tile {
  display: block;
  text-decoration: none !important;
  background: linear-gradient(165deg, #151221 0%, #0d100e 100%);
  border: 1px solid var(--purple-border);
  border-radius: 18px;
  padding: 14px 16px 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.game-tile::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -25%;
  width: 70%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(154, 92, 255, 0.18), transparent);
  pointer-events: none;
}
.game-tile:hover {
  transform: translateY(-3px);
  border-color: var(--purple);
  box-shadow: 0 16px 40px rgba(109, 47, 224, 0.3);
}

.tile-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.tile-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
}
.tile-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-bright);
  background: var(--purple-dim);
  border: 1px solid var(--purple-border);
  border-radius: 999px;
  padding: 2px 8px;
}
.tile-stage {
  height: 108px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tile-foot {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-variant-numeric: tabular-nums;
}
.tile-foot .play {
  color: var(--green);
  font-weight: 700;
}

/* Mines tile */
.mines-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  width: 116px;
}
.mine-cell {
  aspect-ratio: 1;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  transition: background 0.25s, transform 0.25s;
}
.mine-cell.gem {
  background: rgba(69, 240, 140, 0.18);
  border-color: rgba(69, 240, 140, 0.5);
  color: var(--green);
  transform: scale(1.06);
}
.mine-cell.boom {
  background: rgba(255, 107, 107, 0.2);
  border-color: rgba(255, 107, 107, 0.55);
  color: var(--red);
}

/* Plinko tile */
.plinko-board {
  position: relative;
  width: 130px;
  height: 108px;
}
.peg {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(176, 125, 255, 0.55);
  transform: translate(-50%, -50%);
}
.plinko-ball {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #d8f7e6, var(--green));
  box-shadow: 0 0 10px rgba(69, 240, 140, 0.7);
  transform: translate(-50%, -50%);
  transition: top 0.32s ease-in, left 0.32s ease;
}
.plinko-slots {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: 3px;
}
.plinko-slot {
  flex: 1;
  text-align: center;
  font-size: 0.56rem;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 3px 0;
  transition: background 0.2s, color 0.2s;
}
.plinko-slot.hit {
  background: var(--purple);
  color: #fff;
}

/* Dice tile */
.dice-mini-stage { display: flex; align-items: center; gap: 16px; }
.die.mini {
  width: 52px;
  height: 52px;
  border-radius: 12px;
}
.die.mini .pip { width: 9px; height: 9px; }
.dice-mini-result { text-align: center; min-width: 74px; }
.dice-mini-mult {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.dice-mini-mult.lose { color: var(--red); }
.dice-mini-sub { font-size: 0.68rem; color: var(--muted); }

/* Blackjack tile */
.bj-stage { display: flex; align-items: center; gap: 14px; }
.bj-hand { display: flex; }
.bj-card {
  width: 36px;
  height: 52px;
  border-radius: 6px;
  background: #f4f7f5;
  color: #14181a;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  margin-left: -12px;
  opacity: 0;
  transform: translateY(-14px) rotate(-6deg);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.bj-card:first-child { margin-left: 0; }
.bj-card.dealt { opacity: 1; transform: translateY(0) rotate(0); }
.bj-card.red { color: #d64545; }
.bj-card small { font-size: 0.64rem; line-height: 1; font-weight: 600; }
.bj-total {
  text-align: center;
  min-width: 58px;
}
.bj-total b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--purple-bright);
  font-variant-numeric: tabular-nums;
}
.bj-total b.win { color: var(--green); }
.bj-total b.bust { color: var(--red); }
.bj-total span { font-size: 0.68rem; color: var(--muted); }

/* ---------- Dice demo (main hero) ---------- */

.demo-link { display: block; text-decoration: none !important; }

.dice-demo {
  position: relative;
  background: linear-gradient(160deg, #121a15 0%, #0c110e 100%);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  padding: 26px 26px 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.demo-link:hover .dice-demo { border-color: rgba(69, 240, 140, 0.5); transform: translateY(-3px); }

.dice-demo::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 90%;
  background: radial-gradient(closest-side, rgba(69, 240, 140, 0.14), transparent);
  pointer-events: none;
}

.demo-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.demo-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(69, 240, 140, 0.55); }
  55% { box-shadow: 0 0 0 7px rgba(69, 240, 140, 0); }
}
.demo-balance { font-size: 0.85rem; color: var(--muted); }
.demo-balance b { color: var(--text); font-variant-numeric: tabular-nums; }

.dice-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 26px 0 24px;
}

.die {
  width: 82px;
  height: 82px;
  background: linear-gradient(150deg, #f7fbf8, #d9e4dd);
  border-radius: 18px;
  position: relative;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.5), inset 0 -4px 8px rgba(0, 0, 0, 0.12);
}
.die.rolling { animation: die-roll 0.55s ease-in-out; }
@keyframes die-roll {
  0% { transform: rotate(0) translateY(0); }
  30% { transform: rotate(-14deg) translateY(-16px) scale(1.04); }
  60% { transform: rotate(11deg) translateY(-5px); }
  100% { transform: rotate(0) translateY(0); }
}

.pip {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #101512;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.demo-result {
  text-align: center;
  min-width: 118px;
}
.demo-mult {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2rem;
  color: var(--green);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.demo-mult.lose { color: var(--red); }
.demo-payout { font-size: 0.85rem; color: var(--muted); margin-top: 4px; font-variant-numeric: tabular-nums; }

.demo-bar {
  height: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
  margin-bottom: 16px;
}
.demo-bar i {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--green-deep), var(--green));
  transition: width 0.5s ease;
}

.demo-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  color: var(--muted);
}
.demo-cta .fake-btn {
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: #06130b;
  font-weight: 700;
  font-family: var(--font-head);
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
}

/* ---------- Latest wins ---------- */

.wins-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.wins-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr 0.7fr 1fr;
  gap: 12px;
  padding: 14px 22px;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.wins-list { list-style: none; max-height: 330px; overflow: hidden; }

.win-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr 0.7fr 1fr;
  gap: 12px;
  align-items: center;
  padding: 13px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}
.win-row.entering { animation: row-in 0.5s ease both; }
@keyframes row-in {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}

.win-player { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.win-avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #06130b;
  flex-shrink: 0;
}
.win-game { color: var(--muted); }
.win-mult { color: var(--gold); font-weight: 600; }
.win-amount { color: var(--green); font-weight: 700; text-align: right; }
.win-bet { color: var(--muted); }

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--purple-border); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(109, 47, 224, 0.14); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--purple-dim);
  border: 1px solid var(--purple-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.2rem;
}

/* ---------- Split feature (image + text) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
}
.split-body h2 { margin-bottom: 14px; }
.split-body p { color: var(--muted); margin-bottom: 14px; }
.split-body .btn { margin-top: 8px; }

/* ---------- Steps ---------- */

.steps { list-style: none; counter-reset: step; display: grid; gap: 14px; }
.steps li {
  counter-increment: step;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.steps li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--purple-dim);
  border: 1px solid var(--purple-border);
  color: var(--purple-bright);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps li strong { display: block; margin-bottom: 3px; }
.steps li p { color: var(--muted); font-size: 0.93rem; }

/* ---------- Promo hero code box ---------- */

.promo-box {
  background: linear-gradient(160deg, #171426 0%, #0d0f14 100%);
  border: 1px solid var(--purple-border);
  border-radius: 22px;
  padding: 34px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 44px rgba(109, 47, 224, 0.16);
}
.promo-box::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 160px;
  background: radial-gradient(closest-side, rgba(154, 92, 255, 0.3), transparent);
  pointer-events: none;
}
.promo-box .label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); }
.promo-code-big {
  font-family: var(--font-head);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--green);
  margin: 12px 0 6px;
  text-shadow: 0 0 34px rgba(69, 240, 140, 0.4);
}
.promo-bonus { font-size: 1.06rem; color: var(--text); margin-bottom: 20px; }
.promo-bonus b { color: var(--gold); }
.promo-box .btn { margin: 6px 6px 0; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 20px; }
.tag {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 5px 13px;
}
.tag.ok { color: var(--green); border-color: rgba(69, 240, 140, 0.4); background: var(--green-dim); }

/* ---------- Callout ---------- */

.callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 209, 102, 0.07);
  border: 1px solid rgba(255, 209, 102, 0.3);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 26px 0;
}
.callout .mark {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 209, 102, 0.16);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.callout p { font-size: 0.95rem; color: var(--text); }
.callout b { color: var(--gold); }

/* ---------- Tables ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  -webkit-overflow-scrolling: touch;
}
table.data {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 0.94rem;
}
table.data th, table.data td { padding: 13px 18px; text-align: left; }
table.data th {
  background: rgba(255, 255, 255, 0.035);
  font-family: var(--font-head);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
}
table.data td { border-top: 1px solid rgba(255, 255, 255, 0.05); color: var(--text); }
table.data td.ok { color: var(--green); font-weight: 600; }

/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: 12px; max-width: 820px; }

.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--purple-border); }

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 18px 20px;
  cursor: pointer;
}
.faq-q:hover { color: var(--purple-bright); }
.faq-q .chev {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--purple-bright);
  transition: transform 0.28s ease;
}
.faq-item.open .chev { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}
.faq-a-inner { padding: 0 20px 20px; color: var(--muted); font-size: 0.95rem; }
.faq-a-inner a { font-weight: 600; }

/* ---------- Breadcrumbs ---------- */

.crumbs {
  padding: 18px 0 0;
  font-size: 0.84rem;
  color: var(--muted);
}
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--purple-bright); }
.crumbs .current { color: var(--text); }

/* ---------- Login mock panel ---------- */

.login-mock {
  background: linear-gradient(160deg, #131a16, #0c110e);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  padding: 32px 30px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.login-mock h3 { margin-bottom: 4px; }
.login-mock .sub { font-size: 0.86rem; color: var(--muted); margin-bottom: 22px; }
.login-mock label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin: 14px 0 6px;
}
.login-mock input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
}
.login-mock input:focus { outline: none; border-color: var(--green); }
.login-mock .btn { width: 100%; margin-top: 22px; }
.login-mock .mock-note { font-size: 0.78rem; color: var(--muted); margin-top: 14px; text-align: center; }

/* ---------- Phone frame (app page) ---------- */

.phone-frame {
  width: min(320px, 86vw);
  margin: 0 auto;
  border: 10px solid #1a201c;
  border-radius: 38px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06);
  position: relative;
}
.phone-frame::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 18px;
  background: #1a201c;
  border-radius: 10px;
  z-index: 2;
}
.phone-frame img { width: 100%; }

/* ---------- Sportsbook mockup ---------- */

.odds-board {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.odds-board .board-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.badge-live {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
  border: 1px solid rgba(255, 107, 107, 0.45);
  background: rgba(255, 107, 107, 0.1);
  padding: 3px 10px;
  border-radius: 999px;
}

.match {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.match:first-of-type { border-top: none; }
.match .teams { font-size: 0.92rem; font-weight: 600; }
.match .meta { font-size: 0.76rem; color: var(--muted); margin-top: 2px; }
.odds { display: flex; gap: 8px; }
.odd {
  min-width: 58px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 7px 8px;
  font-size: 0.86rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.odd small { display: block; font-size: 0.66rem; color: var(--muted); font-weight: 500; }
.odd.hot { border-color: rgba(69, 240, 140, 0.5); color: var(--green); }

/* ---------- Stats strip ---------- */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--purple-bright);
}
.stat span { font-size: 0.82rem; color: var(--muted); }

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(120deg, rgba(109, 47, 224, 0.2), rgba(154, 92, 255, 0.06) 60%, rgba(69, 240, 140, 0.06));
  border: 1px solid var(--purple-border);
  border-radius: 22px;
  padding: 44px 38px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: var(--muted); max-width: 46ch; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 54px 0 40px;
}
.footer-brand p { color: var(--muted); font-size: 0.9rem; margin-top: 14px; max-width: 40ch; }
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-col a { color: var(--text); font-size: 0.92rem; text-decoration: none; }
.footer-col a:hover { color: var(--purple-bright); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0 26px;
  font-size: 0.8rem;
  color: var(--muted);
}
.footer-bottom .age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--muted);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.75rem;
  margin-right: 12px;
  vertical-align: middle;
}
.footer-bottom p { margin-top: 10px; }

/* ---------- 404 ---------- */

.page-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
}
.page-404 .code-404 {
  font-family: var(--font-head);
  font-size: clamp(4.5rem, 14vw, 8rem);
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  text-shadow: 0 0 60px rgba(69, 240, 140, 0.35);
}
.page-404 h1 { margin: 12px 0 12px; font-size: clamp(1.4rem, 3vw, 2rem); }
.page-404 p { color: var(--muted); margin-bottom: 26px; }
.page-404 .links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }

/* ---------- Prose ---------- */

.prose { max-width: 800px; }
.prose p { color: var(--muted); margin-bottom: 16px; }
.prose h2 { margin: 34px 0 14px; }
.prose h3 { margin: 26px 0 10px; }
.prose ul { margin: 0 0 16px 20px; color: var(--muted); }
.prose li { margin-bottom: 7px; }
.prose strong { color: var(--text); }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .hero-grid, .split { gap: 34px; }
  .card-grid, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 84vw);
    background: #0d0f13;
    border-left: 1px solid var(--purple-border);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding: 96px 24px 24px;
    transform: translateX(105%);
    transition: transform 0.3s ease;
    z-index: 70;
    overflow-y: auto;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.65);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a {
    padding: 14px 16px;
    font-size: 1.05rem;
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
  }
  .main-nav a.active { color: var(--purple-bright); background: var(--purple-dim); border-color: var(--purple-border); }
  .nav-toggle { display: block; }
  .header-cta .btn-outline { display: none; }

  .hero { padding: 44px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding: 42px 0 30px; }
  .cta-band { padding: 32px 24px; }
  .section { padding: 54px 0; }

  .wins-head { display: none; }
  .win-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "player amount"
      "game mult";
    row-gap: 4px;
    padding: 13px 18px;
  }
  .win-row .win-player { grid-area: player; }
  .win-row .win-amount { grid-area: amount; }
  .win-row .win-game { grid-area: game; font-size: 0.82rem; }
  .win-row .win-mult { grid-area: mult; text-align: right; font-size: 0.82rem; }
  .win-row .win-bet { display: none; }
}

@media (max-width: 560px) {
  .ribbon { font-size: 0.76rem; padding: 6px 12px; }
  .header-inner { height: 60px; gap: 10px; }
  .tiles-grid { gap: 10px; }
  .game-tile { padding: 12px 12px 13px; border-radius: 14px; }
  .tile-stage { height: 92px; }
  .mines-grid { width: 100px; }
  .plinko-board { width: 112px; height: 92px; }
  .die.mini { width: 44px; height: 44px; border-radius: 10px; }
  .die.mini .pip { width: 8px; height: 8px; }
  .dice-mini-stage { gap: 10px; }
  .dice-mini-mult { font-size: 1.1rem; }
  .dice-mini-result { min-width: 58px; }
  .bj-card { width: 30px; height: 44px; font-size: 0.7rem; }
  .bj-stage { gap: 8px; }
  .tile-foot { font-size: 0.7rem; }
  .card-grid, .card-grid.cols-2, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .code-chip { width: 100%; justify-content: space-between; }
  .dice-stage { gap: 16px; }
  .die { width: 64px; height: 64px; border-radius: 14px; }
  .pip { width: 11px; height: 11px; }
  .demo-mult { font-size: 1.5rem; }
  .btn-lg { padding: 14px 24px; font-size: 1rem; }
  .promo-box { padding: 26px 18px; }
  .odds { flex-wrap: wrap; }
  .match { grid-template-columns: 1fr; }
}

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