/* ============================================================
   EasyLottoPlay — Global Design System
   Brand: easylottoplay.com | Theme: Blue
   ============================================================ */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  --bg-main:         #ffffff;
  --bg-soft:         #f0f5ff;
  --bg-card:         #ffffff;
  --accent-primary:  #1a56db;
  --accent-secondary:#1e40af;
  --accent-hover:    #1d4ed8;
  --accent-light:    #3b82f6;
  --accent-pale:     #dbeafe;
  --accent-ultra:    #eff6ff;
  --text-dark:       #1e293b;
  --text-body:       #374151;
  --text-light:      #6b7280;
  --text-muted:      #9ca3af;
  --border:          #e5e7eb;
  --border-focus:    #1a56db;
  --radius:          12px;
  --radius-sm:       8px;
  --radius-lg:       20px;
  --radius-full:     9999px;
  --shadow-soft:     0 4px 24px rgba(26, 86, 219, 0.10);
  --shadow-md:       0 8px 40px rgba(26, 86, 219, 0.14);
  --shadow-card:     0 2px 12px rgba(0, 0, 0, 0.07);
  --transition:      all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w:           1200px;
  --header-h:        72px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { color: var(--text-body); }
.text-muted { color: var(--text-light); }

/* ── Layout ─────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--accent-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(26, 86, 219, 0.35);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 86, 219, 0.42);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: transparent;
  color: var(--accent-primary);
  border-color: var(--accent-primary);
}
.btn-secondary:hover {
  background: var(--accent-pale);
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: var(--accent-primary);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.btn-white:hover {
  background: var(--accent-ultra);
  transform: translateY(-2px);
}
.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.0625rem;
}
.btn-sm {
  padding: 0.5rem 1.125rem;
  font-size: 0.875rem;
}

/* ── Header / Navigation ─────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--accent-primary);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}
.logo span { color: var(--text-dark); }

.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-body);
  transition: var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent-primary);
  background: var(--accent-ultra);
}
.nav-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger:hover { background: var(--accent-ultra); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem 1.5rem;
  z-index: 999;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: var(--shadow-md);
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link { padding: 0.75rem 1rem; }
.mobile-nav-actions { display: flex; gap: 0.75rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.mobile-nav-actions .btn { flex: 1; justify-content: center; }

/* ── Hero Section ─────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--accent-primary) 0%, #1e3a8a 60%, #0f2563 100%);
  color: #fff;
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-full);
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero-sub { color: rgba(255,255,255,0.82); font-size: 1.125rem; margin-bottom: 2rem; max-width: 480px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.8125rem;
  font-weight: 500;
}
.trust-item svg { opacity: 0.9; flex-shrink: 0; }

/* Jackpot Card */
.jackpot-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(16px);
  text-align: center;
}
.jackpot-label { color: rgba(255,255,255,0.7); font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.jackpot-amount { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; color: #fff; line-height: 1; margin-bottom: 0.25rem; }
.jackpot-sub { color: rgba(255,255,255,0.65); font-size: 0.875rem; margin-bottom: 1.75rem; }
.jackpot-divider { height: 1px; background: rgba(255,255,255,0.15); margin: 1.25rem 0; }

/* Countdown */
.countdown { display: flex; justify-content: center; gap: 1rem; margin-bottom: 1.75rem; }
.countdown-unit { text-align: center; }
.countdown-num {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  padding: 0.625rem 0.875rem;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  min-width: 56px;
  display: block;
  font-variant-numeric: tabular-nums;
}
.countdown-label-sm { font-size: 0.6875rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.375rem; display: block; }
.draw-info { color: rgba(255,255,255,0.7); font-size: 0.8125rem; }

/* ── Section Headers ──────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--text-light); max-width: 560px; margin: 0 auto; font-size: 1.0625rem; }
.tag {
  display: inline-block;
  background: var(--accent-pale);
  color: var(--accent-primary);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Cards ────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.card:hover { box-shadow: var(--shadow-soft); transform: translateY(-3px); border-color: var(--accent-pale); }

.game-card { overflow: hidden; }
.game-card-header {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-light));
  margin: -1.75rem -1.75rem 1.5rem;
  padding: 1.5rem 1.75rem;
  color: #fff;
}
.game-card-header h3 { color: #fff; margin-bottom: 0.25rem; }
.game-card-header p { color: rgba(255,255,255,0.75); font-size: 0.875rem; }
.game-jackpot { font-size: 1.75rem; font-weight: 800; color: #fff; }
.game-jackpot-label { font-size: 0.75rem; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 0.05em; }

/* ── Number Balls ─────────────────────────────────────────────── */
.number-balls { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ball {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #fff;
  flex-shrink: 0;
  position: relative;
  transition: var(--transition);
}
.ball::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 8px;
  width: 12px;
  height: 6px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  transform: rotate(-30deg);
}
.ball-blue  { background: linear-gradient(145deg, #3b82f6, #1a56db); box-shadow: 0 4px 12px rgba(26,86,219,0.4); }
.ball-navy  { background: linear-gradient(145deg, #1e40af, #1e3a8a); box-shadow: 0 4px 12px rgba(30,64,175,0.4); }
.ball-sky   { background: linear-gradient(145deg, #0ea5e9, #0284c7); box-shadow: 0 4px 12px rgba(14,165,233,0.4); }
.ball-bonus { background: linear-gradient(145deg, #f59e0b, #d97706); box-shadow: 0 4px 12px rgba(245,158,11,0.4); }
.ball-sm { width: 36px; height: 36px; font-size: 0.8125rem; }
.ball-lg { width: 54px; height: 54px; font-size: 1.0625rem; }

/* ── Number Picker ────────────────────────────────────────────── */
.number-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  margin: 1.5rem 0;
}
.number-btn {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #fff;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.number-btn:hover:not(:disabled) {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: var(--accent-ultra);
  transform: scale(1.08);
}
.number-btn.selected {
  background: linear-gradient(145deg, #3b82f6, #1a56db);
  border-color: var(--accent-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(26,86,219,0.4);
  transform: scale(1.05);
}
.number-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.ticket-display {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 2px dashed var(--border);
  min-height: 80px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ticket-row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.ticket-empty { color: var(--text-muted); font-size: 0.9375rem; text-align: center; padding: 1rem; }

.picker-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1rem; }

/* ── Results Table ────────────────────────────────────────────── */
.results-grid { display: flex; flex-direction: column; gap: 1rem; }
.result-row {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 1rem 1.5rem;
  align-items: center;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.result-row:hover { box-shadow: var(--shadow-soft); border-color: var(--accent-pale); }
.result-draw { font-size: 0.8125rem; color: var(--text-light); font-weight: 500; }
.result-draw strong { color: var(--text-dark); display: block; font-size: 0.9375rem; }
.result-jackpot { text-align: right; }
.result-jackpot .amount { font-weight: 700; color: var(--accent-primary); font-size: 1.0625rem; }
.result-jackpot .winners { font-size: 0.8125rem; color: var(--text-light); }
.bonus-separator { color: var(--text-muted); font-size: 0.75rem; font-weight: 500; padding: 0 0.25rem; }

/* ── Steps / How It Works ─────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  counter-reset: step;
}
.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}
.step-icon {
  width: 72px;
  height: 72px;
  background: var(--accent-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
  position: relative;
}
.step-num {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 26px;
  height: 26px;
  background: var(--accent-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-card h3 { margin-bottom: 0.625rem; }
.step-card p { color: var(--text-light); font-size: 0.9375rem; }

/* ── Trust Bar ────────────────────────────────────────────────── */
.trust-bar {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: 500;
}
.trust-badge svg { color: var(--accent-primary); flex-shrink: 0; }
.trust-badge strong { color: var(--text-dark); }
.age-badge {
  background: var(--accent-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

/* ── Responsible Play Banner ─────────────────────────────────── */
.responsible-banner {
  background: var(--accent-ultra);
  border: 1px solid var(--accent-pale);
  border-radius: var(--radius);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.responsible-banner svg { color: var(--accent-primary); flex-shrink: 0; margin-top: 2px; }
.responsible-banner h4 { margin-bottom: 0.25rem; font-size: 0.9375rem; }
.responsible-banner p { color: var(--text-light); font-size: 0.875rem; }

/* ── Forms ────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--text-dark);
  background: #fff;
  transition: var(--transition);
  outline: none;
}
.form-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.12);
}
.form-input::placeholder { color: var(--text-muted); }
.form-textarea { min-height: 140px; resize: vertical; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2.5rem; }
.form-error { color: #dc2626; font-size: 0.8125rem; margin-top: 0.375rem; }
.form-hint { color: var(--text-muted); font-size: 0.8125rem; margin-top: 0.375rem; }

/* ── Tabs ─────────────────────────────────────────────────────── */
.tabs { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 2rem; }
.tab-btn {
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.tab-btn:hover { color: var(--accent-primary); }
.tab-btn.active { color: var(--accent-primary); border-bottom-color: var(--accent-primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ── Alert / Notification ─────────────────────────────────────── */
.alert {
  padding: 0.875rem 1.125rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.alert-success { background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; }
.alert-error { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
.alert-info { background: var(--accent-ultra); border: 1px solid var(--accent-pale); color: var(--accent-secondary); }

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand .logo { color: #fff; margin-bottom: 1rem; }
.footer-brand .logo span { color: rgba(255,255,255,0.7); }
.footer-tagline { font-size: 0.9375rem; color: rgba(255,255,255,0.6); margin-bottom: 1.25rem; max-width: 280px; line-height: 1.6; }
.footer-badges { display: flex; gap: 0.625rem; flex-wrap: wrap; }
.footer-badge {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}
.footer-col h4 { color: #fff; font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9375rem;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-legal { font-size: 0.8125rem; color: rgba(255,255,255,0.4); }
.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.25rem 0;
}
.footer-disclaimer p { font-size: 0.75rem; color: rgba(255,255,255,0.35); line-height: 1.7; }

/* ── Page Hero (inner pages) ─────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  padding: 3.5rem 0;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.78); max-width: 560px; margin: 0 auto; font-size: 1.0625rem; }

/* ── Game Type Pills ──────────────────────────────────────────── */
.game-pills { display: flex; gap: 0.625rem; flex-wrap: wrap; margin-bottom: 2rem; }
.game-pill {
  padding: 0.5rem 1.125rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  background: #fff;
}
.game-pill:hover, .game-pill.active {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: var(--accent-ultra);
}

/* ── Statistics ───────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.stat-value { font-size: 2rem; font-weight: 800; color: var(--accent-primary); line-height: 1; margin-bottom: 0.5rem; }
.stat-label { color: var(--text-light); font-size: 0.875rem; }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.125rem 1.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-dark);
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: var(--transition);
}
.faq-question:hover { background: var(--bg-soft); }
.faq-question .faq-icon { flex-shrink: 0; transition: var(--transition); color: var(--accent-primary); }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  padding: 0 1.5rem 1.25rem;
  max-height: 300px;
}
.faq-answer p { color: var(--text-light); font-size: 0.9375rem; line-height: 1.7; }

/* ── Team Cards ───────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-3px); }
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
}
.team-name { font-weight: 700; margin-bottom: 0.25rem; }
.team-role { color: var(--text-light); font-size: 0.875rem; }

/* ── Toast Notification ───────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--text-dark);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  max-width: 360px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: #065f46; }
.toast.error { background: #991b1b; }

/* ── Loading Spinner ──────────────────────────────────────────── */
.spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Animations ───────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ballBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.animate-fade-up { animation: fadeUp 0.5s ease both; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* ── Utilities ────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-1  { margin-top: 0.5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }
.mb-4  { margin-bottom: 2rem; }
.w-full { width: 100%; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 1rem; }
.hidden { display: none !important; }
.divider { height: 1px; background: var(--border); margin: 2rem 0; }
.bg-soft { background: var(--bg-soft); }
.rounded { border-radius: var(--radius); }
.p-4 { padding: 2rem; }
.shadow { box-shadow: var(--shadow-card); }

/* ── Breadcrumb ───────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.breadcrumb a { color: var(--accent-primary); }
.breadcrumb span { color: var(--text-muted); }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .jackpot-card { max-width: 420px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .result-row { grid-template-columns: 1fr 1fr; }
  .result-row .number-balls { grid-column: 1 / -1; }
  .result-jackpot { grid-column: 2; }
}
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .section { padding: 3.5rem 0; }
  .main-nav, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .number-grid { grid-template-columns: repeat(7, 1fr); gap: 0.375rem; }
  .number-btn { font-size: 0.8125rem; }
  .result-row { grid-template-columns: 1fr; gap: 0.75rem; }
  .result-jackpot { text-align: left; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .countdown { gap: 0.625rem; }
  .countdown-num { font-size: 1.375rem; min-width: 46px; padding: 0.5rem 0.625rem; }
}
@media (max-width: 480px) {
  .hero { padding: 3.5rem 0 3rem; }
  .number-grid { grid-template-columns: repeat(7, 1fr); gap: 0.25rem; }
  .number-btn { font-size: 0.75rem; }
  .ball { width: 38px; height: 38px; font-size: 0.875rem; }
  .trust-bar-inner { gap: 1.25rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
}
