/* =====================================================
   JOKER JEWELS DICE — Design System
   Argentina Casino Affiliate — Dark Neon Purple/Gold
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&family=Outfit:wght@400;600;700;900&display=swap');

/* ─── CSS Variables ──────────────────────────────── */
:root {
  --bg:          #0B1020;
  --bg2:         #0e1428;
  --card:        #161E35;
  --card2:       #1a2540;
  --primary:     #8B5CF6;
  --primary2:    #A855F7;
  --secondary:   #7C3AED;
  --gold:        #FFD700;
  --gold2:       #FFC107;
  --text:        #F8FAFC;
  --muted:       #94A3B8;
  --border:      rgba(139,92,246,0.25);
  --border-gold: rgba(255,215,0,0.25);
  --btn:         #9333EA;
  --btn-hover:   #7E22CE;
  --glow:        rgba(139,92,246,0.4);
  --glow-gold:   rgba(255,215,0,0.3);
  --radius:      18px;
  --radius-sm:   10px;
  --radius-lg:   28px;
  --transition:  0.25s cubic-bezier(.4,0,.2,1);
  --font-body:   'Inter', system-ui, -apple-system, sans-serif;
  --font-head:   'Outfit', 'Inter', system-ui, sans-serif;
  --shadow-card: 0 4px 32px rgba(0,0,0,0.45);
  --shadow-btn:  0 8px 28px rgba(147,51,234,0.45);
}

/* ─── Reset & Base ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animated background gradient */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 10% 15%, rgba(139,92,246,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 600px 400px at 90% 85%, rgba(168,85,247,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 50% 50%, rgba(255,215,0,0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body > * { position: relative; z-index: 1; }

/* ─── Typography ─────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.15;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 700; }

p { color: var(--muted); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

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

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

ul, ol { padding-left: 1.5rem; }
li { margin-bottom: 0.5rem; color: var(--muted); }

strong { color: var(--text); }

/* ─── Utility Classes ────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 60px); }
.text-gold { color: var(--gold); }
.text-purple { color: var(--primary); }
.eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.75rem;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.section-label { color: var(--primary2); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.5rem; display: block; }

/* ─── Buttons ────────────────────────────────────── */
.btn, .btn-ghost, .mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.btn {
  background: linear-gradient(135deg, var(--btn) 0%, var(--secondary) 100%);
  color: #fff;
  padding: 13px 26px;
  box-shadow: var(--shadow-btn);
}
.btn:hover {
  background: linear-gradient(135deg, var(--btn-hover) 0%, #6D28D9 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(147,51,234,0.6);
}
.btn:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(135deg, #F59E0B 0%, var(--gold) 100%);
  color: #0B1020;
  padding: 13px 26px;
  font-weight: 900;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 28px rgba(255,215,0,0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  font-size: 0.95rem;
  text-decoration: none;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(255,215,0,0.55);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  padding: 12px 24px;
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(139,92,246,0.12);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.mini-btn {
  background: rgba(139,92,246,0.18);
  color: var(--primary2);
  padding: 7px 14px;
  font-size: 0.82rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.mini-btn:hover {
  background: var(--primary);
  color: #fff;
}

.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 1.5rem; }

/* ─── Glassmorphism Card ─────────────────────────── */
.glass-card {
  background: rgba(22,30,53,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.glass-card:hover {
  border-color: rgba(139,92,246,0.5);
  box-shadow: 0 8px 40px rgba(139,92,246,0.2);
  transform: translateY(-3px);
}

/* ─── Header / Navigation ────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 60px);
  height: 70px;
  background: rgba(11,16,32,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.brand { display: flex; align-items: center; }
.brand img { height: 44px; width: auto; display: block; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav a:hover, .nav a.active {
  color: var(--text);
  background: rgba(139,92,246,0.15);
}
.nav a.nav-cta {
  background: linear-gradient(135deg, var(--btn), var(--secondary));
  color: #fff;
  padding: 7px 16px;
  font-weight: 700;
}
.nav a.nav-cta:hover {
  background: linear-gradient(135deg, var(--btn-hover), #6D28D9);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
}
.nav-toggle:hover { background: rgba(139,92,246,0.15); border-color: var(--primary); }

/* ─── Hero Section ───────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 80px clamp(16px, 4vw, 60px) 60px;
  min-height: calc(100vh - 70px);
  max-height: 780px;
}
.hero.hero-slim {
  min-height: auto;
  padding: 60px clamp(16px, 4vw, 60px) 50px;
  max-height: none;
}

.hero-content { max-width: 600px; }
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary2), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero > p { font-size: 1.05rem; max-width: 540px; }
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 1.8rem; font-weight: 900; color: var(--gold); font-family: var(--font-head); }
.hero-stat span { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(139,92,246,0.25), 0 20px 60px rgba(0,0,0,0.5);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  pointer-events: none;
}

/* ─── Section ────────────────────────────────────── */
.section {
  padding: 70px clamp(16px, 4vw, 60px);
}
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}
.section-header h2 { margin-bottom: 0.75rem; }

/* ─── Ranking Table ──────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  background: rgba(22,30,53,0.6);
  backdrop-filter: blur(12px);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  background: transparent;
}
thead { background: rgba(139,92,246,0.1); }
th {
  padding: 14px 18px;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  border-bottom: 1px solid var(--border-gold);
  white-space: nowrap;
}
td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
  color: var(--text);
}
td span { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 2px; }
tbody tr { transition: var(--transition); }
tbody tr:hover { background: rgba(139,92,246,0.08); }
tbody tr:last-child td { border-bottom: none; }

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-weight: 900;
  font-size: 0.8rem;
  background: rgba(139,92,246,0.2);
  color: var(--primary2);
  border: 1px solid var(--border);
}
.rank-badge.top { background: linear-gradient(135deg, #F59E0B, var(--gold)); color: #0B1020; border-color: transparent; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-green { background: rgba(16,185,129,0.15); color: #34D399; border: 1px solid rgba(16,185,129,0.3); }
.badge-purple { background: rgba(139,92,246,0.15); color: var(--primary2); border: 1px solid var(--border); }
.badge-gold { background: rgba(255,215,0,0.12); color: var(--gold); border: 1px solid var(--border-gold); }

/* ─── Cards Grid ─────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: rgba(22,30,53,0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary2), transparent);
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover {
  border-color: rgba(139,92,246,0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(139,92,246,0.2);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(139,92,246,0.25), rgba(168,85,247,0.15));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.88rem; line-height: 1.6; }

/* ─── Steps / Registration Guide ────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step-card {
  background: rgba(22,30,53,0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  position: relative;
  transition: var(--transition);
}
.step-card:hover {
  border-color: rgba(139,92,246,0.5);
  transform: translateY(-3px);
}
.step-num {
  position: absolute;
  top: -14px; left: 22px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--btn), var(--secondary));
  color: #fff;
  font-weight: 900;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(147,51,234,0.5);
}
.step-icon { font-size: 2rem; margin-bottom: 12px; display: block; margin-top: 10px; }
.step-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.86rem; }

/* ─── Payment Methods ────────────────────────────── */
.pay-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.pay-card {
  background: rgba(22,30,53,0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 12px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.pay-card:hover {
  border-color: var(--gold2);
  background: rgba(255,215,0,0.06);
  transform: translateY(-2px);
}
.pay-card .pay-icon { font-size: 1.8rem; }
.pay-card span { font-size: 0.78rem; font-weight: 700; color: var(--muted); }

/* ─── FAQ / Accordion ────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: rgba(22,30,53,0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: rgba(139,92,246,0.5); }
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 18px 22px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition);
}
.faq-q:hover { color: var(--primary2); }
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(139,92,246,0.2);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.open .faq-icon { background: var(--primary); border-color: transparent; transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 22px 18px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* ─── Contact Form ───────────────────────────────── */
.contact-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(22,30,53,0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 12px 16px;
  width: 100%;
  transition: var(--transition);
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(148,163,184,0.5); }
.form-group textarea { min-height: 140px; resize: vertical; }

/* ─── Legal Pages ────────────────────────────────── */
.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 50px clamp(16px, 4vw, 60px) 70px;
}
.legal-page h1 { margin-bottom: 0.5rem; }
.legal-page .legal-date { font-size: 0.82rem; color: var(--muted); margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.3rem; margin-top: 2.5rem; margin-bottom: 0.75rem; color: var(--primary2); }
.legal-page h3 { font-size: 1.05rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.legal-page p, .legal-page li { font-size: 0.95rem; }
.legal-page ul, .legal-page ol { margin-bottom: 1rem; }
.legal-page li { margin-bottom: 0.4rem; }
.legal-toc {
  background: rgba(22,30,53,0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 28px;
  margin-bottom: 2rem;
}
.legal-toc h3 { margin-top: 0; font-size: 0.9rem; color: var(--gold); margin-bottom: 0.75rem; }
.legal-toc ol { padding-left: 1.2rem; margin-bottom: 0; }
.legal-toc li { margin-bottom: 0.3rem; }
.legal-toc a { color: var(--primary2); }
.legal-toc a:hover { color: var(--gold); }

/* ─── Melbet Page ────────────────────────────────── */
.melbet-hero { background: linear-gradient(135deg, rgba(139,92,246,0.1), rgba(124,58,237,0.05)); }
.melbet-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(168,85,247,0.1));
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary2);
  margin-bottom: 1rem;
}
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.pros-card, .cons-card {
  background: rgba(22,30,53,0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.pros-card { border-top: 3px solid #10B981; }
.cons-card { border-top: 3px solid #F59E0B; }
.pros-card h3 { color: #34D399; margin-bottom: 1rem; }
.cons-card h3 { color: var(--gold); margin-bottom: 1rem; }
.pros-card li, .cons-card li { font-size: 0.9rem; display: flex; gap: 8px; align-items: flex-start; }
.pros-card li::marker, .cons-card li::marker { display: none; }
.pros-card ul, .cons-card ul { list-style: none; padding: 0; }
.pros-card li::before { content: '✓'; color: #34D399; font-weight: 900; flex-shrink: 0; }
.cons-card li::before { content: '!'; color: var(--gold); font-weight: 900; flex-shrink: 0; }

/* ─── About / Nosotros ───────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-card {
  background: rgba(22,30,53,0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
}
.team-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 14px;
  border: 2px solid var(--border);
}
.team-card h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.team-card .role { font-size: 0.8rem; color: var(--primary2); font-weight: 700; margin-bottom: 0.75rem; }
.team-card p { font-size: 0.85rem; }

/* ─── Info Banner ────────────────────────────────── */
.info-banner {
  background: rgba(139,92,246,0.08);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.info-banner .info-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

@media screen and (max-width: 420px) {
    .info-banner {
        flex-direction: column;
    }
}

.warning-banner {
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.3);
  border-left: 4px solid var(--gold2);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

/* ─── Rating Stars ───────────────────────────────── */
.stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 1px; }

/* ─── Divider ────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

/* ─── Breadcrumb ─────────────────────────────────── */
.breadcrumb {
  padding: 14px clamp(16px, 4vw, 60px);
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--primary2); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(148,163,184,0.5); }

/* ─── Two-col content layout ─────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.two-col.reverse > *:first-child { order: 2; }
.two-col.reverse > *:last-child { order: 1; }

/* ─── Highlight numbers ──────────────────────────── */
.stat-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.stat-box {
  background: rgba(22,30,53,0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  flex: 1;
  min-width: 120px;
}
.stat-box strong { display: block; font-size: 2rem; font-weight: 900; font-family: var(--font-head); color: var(--gold); line-height: 1; }
.stat-box span { font-size: 0.8rem; color: var(--muted); margin-top: 4px; display: block; }

/* ─── Footer ─────────────────────────────────────── */
.footer {
  background: rgba(9,13,26,0.95);
  border-top: 1px solid var(--border);
  padding: 56px clamp(16px, 4vw, 60px) 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img { height: 42px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 0.875rem; color: var(--muted); max-width: 300px; }
.footer-col h4 { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col li { margin: 0; }
.footer-col a { font-size: 0.875rem; color: var(--muted); transition: var(--transition); }
.footer-col a:hover { color: var(--primary2); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-legal { font-size: 0.8rem; color: var(--muted); line-height: 1.6; }
.footer-legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal a:hover { color: var(--primary2); }
.footer-18 {
  background: rgba(139,92,246,0.15);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary2);
  white-space: nowrap;
}

/* ─── Cookie Banner ──────────────────────────────── */
.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  background: rgba(22,30,53,0.97);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: none;
  align-items: center;
  gap: 16px;
  z-index: 200;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  flex-wrap: wrap;
  max-width: 960px;
  margin: 0 auto;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { flex: 1; margin: 0; font-size: 0.87rem; color: var(--muted); min-width: 200px; }
.cookie-banner p a { color: var(--primary2); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner button {
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
#acceptCookies {
  background: linear-gradient(135deg, var(--btn), var(--secondary));
  color: #fff;
  box-shadow: 0 4px 16px rgba(147,51,234,0.4);
}
#acceptCookies:hover { background: linear-gradient(135deg, var(--btn-hover), #6D28D9); }
#openCookieSettings {
  background: rgba(139,92,246,0.15);
  color: var(--primary2);
  border: 1px solid var(--border);
}
#openCookieSettings:hover { background: rgba(139,92,246,0.25); }

/* ─── Cookie Modal ───────────────────────────────── */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.modal.show { display: flex; }
.modal-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}
.modal-card h2 { font-size: 1.3rem; margin-bottom: 1.25rem; }
.modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  background: rgba(139,92,246,0.15);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.2rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}
.modal-close:hover { background: rgba(139,92,246,0.3); }
.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(139,92,246,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}
.cookie-option-info strong { display: block; font-size: 0.9rem; margin-bottom: 2px; }
.cookie-option-info span { font-size: 0.78rem; color: var(--muted); }
.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-switch label {
  position: absolute;
  inset: 0;
  background: rgba(148,163,184,0.25);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
}
.toggle-switch label::after {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--muted);
  transition: var(--transition);
}
.toggle-switch input:checked + label { background: var(--primary); }
.toggle-switch input:checked + label::after { transform: translateX(20px); background: #fff; }
.toggle-switch input:disabled + label { opacity: 0.6; cursor: not-allowed; }
.toggle-switch input:disabled:checked + label { background: #10B981; }

/* ─── Responsible Gambling ───────────────────────── */
.rg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rg-card {
  background: rgba(22,30,53,0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  transition: var(--transition);
}
.rg-card:hover { border-color: rgba(139,92,246,0.4); transform: translateY(-2px); }
.rg-card .rg-icon { font-size: 2.2rem; margin-bottom: 10px; }
.rg-card h3 { font-size: 0.95rem; margin-bottom: 0.4rem; }
.rg-card p { font-size: 0.83rem; }

/* ─── Animations ─────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(139,92,246,0.3); }
  50% { box-shadow: 0 0 40px rgba(139,92,246,0.6); }
}
.animate-fade-up { animation: fadeInUp 0.6s ease both; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .pay-grid { grid-template-columns: repeat(4, 1fr); }
  .rg-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  /* Nav mobile */
  .nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0; right: 0;
    background: rgba(11,16,32,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    z-index: 99;
  }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 12px 16px; border-radius: var(--radius-sm); }
  .nav-toggle { display: block; }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 16px 32px;
    min-height: auto;
    gap: 28px;
  }
  .hero.hero-slim { padding: 36px 16px 28px; }
  .hero-image { max-height: 280px; overflow: hidden; }
  .hero-image img { height: 280px; object-fit: cover; }

  /* Sections */
  .section { padding: 48px 16px; }
  .section-header { margin-bottom: 32px; }

  /* Cards */
  .cards-grid { grid-template-columns: 1fr; }
  .cards-grid-2 { grid-template-columns: 1fr; }
  .cards-grid-4 { grid-template-columns: 1fr 1fr; }

  /* Steps */
  .steps-grid { grid-template-columns: 1fr; }

  /* Pay grid */
  .pay-grid { grid-template-columns: repeat(3, 1fr); }

  /* Team */
  .team-grid { grid-template-columns: 1fr; }

  /* Two col */
  .two-col { grid-template-columns: 1fr; }
  .two-col.reverse > *:first-child { order: 0; }
  .two-col.reverse > *:last-child { order: 0; }

  /* Pros/cons */
  .pros-cons { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }

  /* Cookie banner */
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; }

  /* RG */
  .rg-grid { grid-template-columns: 1fr 1fr; }

  /* Stat row */
  .stat-row { gap: 14px; }
  .stat-box { padding: 14px 16px; }
  .stat-box strong { font-size: 1.5rem; }

  /* Tables */
  .table-wrap { border-radius: var(--radius-sm); }
}

@media (max-width: 480px) {
  .cards-grid-4 { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: repeat(2, 1fr); }
  .rg-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px; }
  .cta { flex-direction: column; align-items: flex-start; }
  .btn, .btn-ghost { width: 100%; justify-content: center; }
  .breadcrumb { padding: 10px 16px; }
}
