/* ============================================================
   thewinberry.com — Shared Stylesheet
   ============================================================ */

:root {
  --bg: #0a0b14;
  --bg-card: #12131f;
  --bg-card2: #1a1b2e;
  --primary: #8b5cf6;
  --primary-dark: #6d28d9;
  --primary-glow: rgba(139,92,246,0.25);
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --green: #10b981;
  --red: #ef4444;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border: rgba(255,255,255,0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.5);
  --header-h: 68px;
  --max-w: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

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

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

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .15s, background .2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #000;
  box-shadow: 0 4px 20px rgba(245,158,11,0.4);
}
.btn-accent:hover { box-shadow: 0 6px 28px rgba(245,158,11,0.6); color: #000; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover { box-shadow: 0 6px 28px rgba(139,92,246,0.5); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-sm { padding: 8px 18px; font-size: .875rem; }
.btn-lg { padding: 16px 36px; font-size: 1.125rem; }

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(10,11,20,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.6); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: -0.5px;
}
.logo span { color: var(--primary); }
.logo:hover { color: var(--text); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin-left: 12px;
}
.main-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: .9rem;
  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.06);
}

.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language switcher */
.lang-switcher {
  position: relative;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s;
}
.lang-btn:hover { border-color: var(--primary); }
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-width: 120px;
  box-shadow: var(--shadow);
  z-index: 100;
}
.lang-dropdown.open { display: block; }
.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  color: var(--text-muted);
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, color .15s;
  text-decoration: none;
}
.lang-option:hover, .lang-option.active { background: rgba(139,92,246,0.15); color: var(--text); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px 24px;
  gap: 4px;
  z-index: 999;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 500;
}
.mobile-nav a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.mobile-nav .btn { margin-top: 8px; width: 100%; justify-content: center; }

/* ── Page wrapper ── */
.page-wrap { padding-top: var(--header-h); }

/* ── Hero ── */
.hero {
  padding: 80px 0 70px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(139,92,246,0.18) 0%, transparent 70%);
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139,92,246,0.15);
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero h1 .highlight { color: var(--primary); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 700;
}
.rating-stars { color: var(--accent); font-size: 1.1rem; letter-spacing: 2px; }
.rating-val { font-size: 1.1rem; font-weight: 800; }
.rating-max { color: var(--text-muted); font-size: .85rem; }

/* ── Trust bar ── */
.trust-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-muted);
  border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: none; }
.trust-item .icon { font-size: 1.1rem; }

/* ── Sections ── */
section { padding: 72px 0; }
section + section { padding-top: 0; }

.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.section-sub {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 1rem;
}
.section-header { margin-bottom: 40px; }
.section-header .section-title { margin-bottom: 8px; }

/* ── Bonus Cards ── */
.bonus-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}
.bonus-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s, transform .2s;
  position: relative;
  overflow: hidden;
}
.bonus-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.bonus-card:hover { border-color: rgba(139,92,246,0.4); transform: translateY(-4px); }
.bonus-card.featured {
  border-color: rgba(245,158,11,0.4);
  background: linear-gradient(135deg, var(--bg-card), rgba(245,158,11,0.05));
}
.bonus-card.featured::before { background: linear-gradient(90deg, var(--accent), var(--accent-dark)); }
.bonus-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: rgba(245,158,11,0.12);
  border-radius: 4px;
  padding: 3px 8px;
  margin-bottom: 14px;
}
.bonus-amount {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.bonus-subtitle {
  font-size: .875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.bonus-features { list-style: none; margin-bottom: 20px; }
.bonus-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: var(--text-muted);
  padding: 4px 0;
}
.bonus-features li::before { content: '✓'; color: var(--green); font-weight: 700; }

/* ── Stats strip ── */
.stats-strip {
  background: linear-gradient(135deg, var(--bg-card2), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin: 0 0 72px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-item .stat-val {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item .stat-lbl {
  font-size: .8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Game Cards ── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, border-color .2s;
  position: relative;
}
.game-card:hover { transform: translateY(-4px); border-color: rgba(139,92,246,0.4); }
.game-thumb {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bg-card2), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}
.game-thumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.game-thumb .game-emoji { z-index: 1; }
.game-info { padding: 12px; }
.game-name { font-weight: 700; font-size: .9rem; margin-bottom: 4px; }
.game-provider { font-size: .75rem; color: var(--text-muted); }
.game-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,11,20,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s;
}
.game-card:hover .game-overlay { opacity: 1; }

/* ── Providers ── */
.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.provider-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  text-align: center;
  font-weight: 700;
  font-size: .85rem;
  color: var(--text-muted);
  transition: border-color .2s, color .2s, background .2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.provider-card:hover { border-color: var(--primary); color: var(--text); background: rgba(139,92,246,0.06); }
.provider-icon { font-size: 1.6rem; }
.provider-logo { width: 108px; height: 64px; object-fit: contain; filter: brightness(0) invert(1); opacity: .75; transition: opacity .2s; }
.provider-card:hover .provider-logo { opacity: 1; }

/* ── Payments ── */
.payments-table-wrap { overflow-x: auto; }
.payments-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.payments-table th {
  text-align: left;
  padding: 12px 16px;
  background: var(--bg-card2);
  color: var(--text-muted);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
}
.payments-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.payments-table tr:last-child td { border-bottom: none; }
.payments-table tr:hover td { background: rgba(255,255,255,0.02); }
.payments-table td:first-child { color: var(--text); font-weight: 600; }
.pay-icon { margin-right: 8px; }
.pay-fast { color: var(--green); font-weight: 600; font-size: .8rem; }

/* ── VIP ── */
.vip-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}
.vip-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.vip-table th {
  text-align: left;
  padding: 10px 12px;
  background: var(--bg-card2);
  color: var(--text-muted);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
}
.vip-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.vip-table tr.top-level td { color: var(--accent); font-weight: 700; }
.vip-table td:first-child { font-weight: 700; color: var(--primary); }

/* ── Steps ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  counter-reset: steps;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  counter-increment: steps;
}
.step-card::before {
  content: counter(steps);
  position: absolute;
  top: -14px; left: 24px;
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon { font-size: 2rem; margin-bottom: 14px; }
.step-title { font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.step-desc { font-size: .875rem; color: var(--text-muted); line-height: 1.6; }

/* ── Reviews ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.review-name { font-weight: 700; font-size: .95rem; }
.review-meta { font-size: .75rem; color: var(--text-muted); }
.review-stars { color: var(--accent); letter-spacing: 2px; font-size: .9rem; margin-bottom: 10px; }
.review-text { font-size: .9rem; color: var(--text-muted); line-height: 1.65; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: background .15s;
}
.faq-q:hover { background: rgba(255,255,255,0.03); }
.faq-arrow {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(139,92,246,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  color: var(--primary);
  transition: transform .3s;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 20px 18px;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* ── Terms table ── */
.terms-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.terms-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.terms-table td:first-child { color: var(--text); font-weight: 600; width: 40%; }
.terms-table tr:last-child td { border-bottom: none; }
.terms-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

/* ── Promo cards ── */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.promo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color .2s;
}
.promo-card:hover { border-color: rgba(139,92,246,0.35); }
.promo-icon { font-size: 1.8rem; flex-shrink: 0; }
.promo-title { font-weight: 700; font-size: .95rem; margin-bottom: 4px; }
.promo-desc { font-size: .82rem; color: var(--text-muted); line-height: 1.5; }

/* ── Game type cards ── */
.game-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.game-type-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.game-type-icon { font-size: 2.4rem; margin-bottom: 16px; }
.game-type-title { font-weight: 800; font-size: 1.1rem; margin-bottom: 8px; }
.game-type-desc { font-size: .875rem; color: var(--text-muted); line-height: 1.65; }

/* ── Mobile features ── */
.mobile-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature-title { font-weight: 700; margin-bottom: 6px; }
.feature-desc { font-size: .85rem; color: var(--text-muted); line-height: 1.55; }

/* ── Screenshots placeholder ── */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.screenshot-ph {
  aspect-ratio: 9/16;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-dim);
  font-size: .8rem;
}
.screenshot-ph .ph-icon { font-size: 2rem; }

/* ── Category bar ── */
.cat-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.cat-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.cat-btn:hover, .cat-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ── Provably fair box ── */
.pf-box {
  background: linear-gradient(135deg, var(--bg-card), rgba(16,185,129,0.05));
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--radius);
  padding: 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
}
.pf-icon { font-size: 2.8rem; }
.pf-title { font-weight: 800; font-size: 1.2rem; color: var(--green); margin-bottom: 10px; }
.pf-text { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }

/* ── Legal page ── */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.25rem; font-weight: 700; margin: 32px 0 12px; color: var(--text); }
.legal-content p { font-size: .9rem; color: var(--text-muted); margin-bottom: 14px; line-height: 1.75; }
.legal-content ul { margin: 0 0 14px 20px; }
.legal-content ul li { font-size: .9rem; color: var(--text-muted); margin-bottom: 6px; line-height: 1.7; }
.legal-content a { color: var(--primary); }

/* ── Footer ── */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 56px 0 24px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo { font-size: 1.1rem; margin-bottom: 12px; display: block; }
.footer-brand p { font-size: .85rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 16px; }
.footer-col-title {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: .875rem; color: var(--text-muted); transition: color .2s; }
.footer-col ul a:hover { color: var(--text); }
.footer-divider { border: none; border-top: 1px solid var(--border); margin-bottom: 24px; }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}
.footer-legal {
  font-size: .78rem;
  color: var(--text-dim);
  line-height: 1.7;
}
.footer-legal a { color: var(--text-dim); text-decoration: underline; }
.footer-legal a:hover { color: var(--text-muted); }
.footer-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.badge-18 {
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: .8rem;
  padding: 4px 10px;
  border-radius: 4px;
}
.badge-rg {
  font-size: .78rem;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 4px;
}
.affiliate-disc {
  font-size: .75rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 4px;
}

/* ── Cookie banner ── */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 640px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner.hidden { display: none !important; }
.cookie-text { font-size: .85rem; color: var(--text-muted); flex: 1; line-height: 1.5; }
.cookie-text a { color: var(--primary); }
.cookie-btns { display: flex; gap: 8px; flex-shrink: 0; }

/* ── Back to top ── */
.back-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 42px; height: 42px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 500;
}
.back-top.visible { opacity: 1; pointer-events: all; }
.back-top:hover { transform: translateY(-3px); }

/* ── Utility ── */
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-green { color: var(--green); }
.text-muted { color: var(--text-muted); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }
.text-center { text-align: center; }
.inline-block { display: inline-block; }

/* ── Bonus level number ── */
.bonus-number {
  display: inline-flex;
  width: 28px; height: 28px;
  background: var(--primary);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .75rem;
  color: #fff;
  flex-shrink: 0;
}

/* ── Wager table ── */
.wager-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wager-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.wager-box-title {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.wager-box.yes .wager-box-title { color: var(--green); }
.wager-box.no .wager-box-title { color: var(--red); }
.wager-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.wager-list li {
  font-size: .875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.wager-list li::before { font-size: .75rem; }
.wager-box.yes .wager-list li::before { content: '✓'; color: var(--green); font-weight: 700; }
.wager-box.no .wager-list li::before { content: '✕'; color: var(--red); font-weight: 700; }

/* ── Page hero (subpages) ── */
.page-hero {
  padding: 56px 0 48px;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(139,92,246,0.14) 0%, transparent 70%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.page-hero p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}
.breadcrumb {
  font-size: .8rem;
  color: var(--text-dim);
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--text-muted); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .vip-intro { grid-template-columns: 1fr; }
  .pf-box { grid-template-columns: 1fr; }
  .pf-icon { display: none; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .hero { padding: 56px 0 48px; }
  .trust-item { padding: 8px 14px; font-size: .78rem; }
  section { padding: 52px 0; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .wager-grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .header-right .btn { display: none; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cookie-banner { bottom: 0; left: 0; right: 0; transform: none; width: 100%; border-radius: var(--radius) var(--radius) 0 0; }
}
