/* ==============================================
   GUANLOTTO — MASTER STYLESHEET
   Gold Premium Theme | Trust-First | Modern
   ============================================== */

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

/* ── CSS VARIABLES ── */
:root {
  /* Core Brand – Gold Theme */
  --bg-main:          #ffffff;
  --bg-soft:          #fdf8ee;
  --bg-muted:         #fafaf7;
  --bg-card:          #ffffff;

  --accent-primary:   #b45309;
  --accent-secondary: #d97706;
  --accent-dark:      #78350f;
  --accent-hover:     #92400e;
  --accent-light:     #fde68a;
  --accent-lighter:   #fef9ee;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #78350f 0%, #b45309 55%, #f59e0b 100%);
  --grad-hero:    linear-gradient(160deg, #0c0a06 0%, #1c1003 40%, #7c2d12 100%);
  --grad-card:    linear-gradient(135deg, #b45309 0%, #d97706 100%);
  --grad-soft:    linear-gradient(180deg, #fef9ee 0%, #ffffff 100%);
  --grad-subtle:  linear-gradient(180deg, #fdf8ee 0%, #ffffff 60%);
  --grad-dark:    linear-gradient(135deg, #1c1003 0%, #3a1a06 100%);

  /* Text */
  --text-dark:   #1c1003;
  --text-medium: #44260a;
  --text-light:  #6b4c1e;
  --text-muted:  #9a7445;

  /* Borders */
  --border:       #e8d5a3;
  --border-light: #f5edd6;

  /* Status */
  --success: #16a34a;
  --warning: #d97706;
  --error:   #dc2626;

  /* Radii */
  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-soft: 0 4px 24px rgba(180, 83, 9, 0.1);
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.06);
  --shadow-btn:  0 4px 18px rgba(180, 83, 9, 0.42);
  --shadow-lg:   0 8px 40px rgba(180, 83, 9, 0.18);
  --shadow-xl:   0 20px 60px rgba(180, 83, 9, 0.22);
  --shadow-gold: 0 6px 24px rgba(245, 158, 11, 0.35);

  /* Transitions */
  --t:      all 0.25s ease;
  --t-fast: all 0.15s ease;
  --t-slow: all 0.4s ease;

  /* Font */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Container */
  --max-w: 1200px;
}

/* ══════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video  { max-width: 100%; display: block; }
a           { color: inherit; text-decoration: none; }
ul, ol      { list-style: none; }
button      { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, textarea, select { font-family: var(--font); outline: none; }
h1,h2,h3,h4,h5,h6 { line-height: 1.2; font-weight: 700; color: var(--text-dark); }

/* ══════════════════════════════════════
   LAYOUT
   ══════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section    { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-lg { padding: 112px 0; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.section-header p {
  font-size: 17px;
  color: var(--text-light);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-lighter);
  color: var(--accent-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ══════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1px;
  transition: var(--t);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--accent-lighter);
  color: var(--accent-primary);
  border-color: var(--accent-light);
}
.btn-secondary:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-medium);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--bg-soft);
  color: var(--accent-primary);
  border-color: var(--accent-light);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  background: linear-gradient(135deg, #d97706, #b45309);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-white {
  background: #fff;
  color: var(--accent-primary);
  border-color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.btn-white:hover {
  background: var(--accent-lighter);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-white {
  background: transparent;
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.45);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

.btn-lg  { padding: 16px 42px; font-size: 17px; }
.btn-sm  { padding: 8px 22px; font-size: 13px; }
.btn-xl  { padding: 20px 52px; font-size: 18px; font-weight: 700; }
.w-full  { width: 100%; justify-content: center; }

/* ══════════════════════════════════════
   HEADER & NAVIGATION
   ══════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 252, 245, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--t);
}
.header.scrolled { box-shadow: var(--shadow-card); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  width: 40px; height: 40px;
  background: var(--grad-primary);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}
.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}
.logo-text strong { color: var(--accent-primary); font-weight: 900; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-medium);
  transition: var(--t-fast);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--accent-lighter);
  color: var(--accent-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px;
  cursor: pointer;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--t);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.nav-drawer {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 999;
  padding: 20px 24px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  animation: drawerIn 0.25s ease-out;
}
@keyframes drawerIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  padding: 15px 18px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-light);
  transition: var(--t-fast);
}
.nav-drawer a:hover { background: var(--accent-lighter); color: var(--accent-primary); }
.drawer-actions {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ══════════════════════════════════════
   PAGE HEADER (inner pages)
   ══════════════════════════════════════ */
.page-header {
  background: var(--grad-hero);
  padding: 148px 0 80px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(245,158,11,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.page-header p {
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }

/* ══════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 55%, rgba(245,158,11,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(217,119,6,0.1) 0%, transparent 45%);
  pointer-events: none;
}

.hero-orbs {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden;
}
.hero-orbs span {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,200,50,0.06);
}
.hero-orbs span:nth-child(1) { width:340px; height:340px; top:-80px; right:-60px;  animation: orb 13s ease-in-out infinite; }
.hero-orbs span:nth-child(2) { width:200px; height:200px; bottom:10%; left:-40px;  animation: orb 10s ease-in-out infinite 2s; }
.hero-orbs span:nth-child(3) { width:110px; height:110px; top:30%; right:15%;      animation: orb 8s  ease-in-out infinite 1s; }
.hero-orbs span:nth-child(4) { width:65px;  height:65px;  top:60%; left:20%;       animation: orb 11s ease-in-out infinite 3s; }
@keyframes orb { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-24px) rotate(180deg); } }

.hero-content {
  position: relative; z-index: 1;
  text-align: center;
  padding: 80px 0;
  width: 100%;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,200,50,0.2);
  color: rgba(255,255,255,0.9);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.live-dot {
  width: 7px; height: 7px;
  background: #fbbf24;
  border-radius: 50%;
  animation: livePulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(251,191,36,0.7);
}
@keyframes livePulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.55; transform:scale(0.72); } }

.hero h1 {
  font-size: clamp(42px, 6.5vw, 76px);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -2px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 2.2vw, 19px);
  color: rgba(255,255,255,0.68);
  max-width: 560px;
  margin: 0 auto 52px;
  line-height: 1.7;
}

/* ── Jackpot Card ── */
.jackpot-card {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,200,50,0.15);
  border-radius: var(--radius-xl);
  padding: 36px 52px;
  margin-bottom: 52px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  min-width: 440px;
  position: relative;
}
.jackpot-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(245,158,11,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.jackpot-label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.jackpot-amount {
  font-size: clamp(52px, 8vw, 86px);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -3px;
  font-variant-numeric: tabular-nums;
}
.jackpot-amount .symbol {
  font-size: 0.45em;
  vertical-align: top;
  margin-top: 14px;
  display: inline-block;
  color: #fbbf24;
  font-weight: 700;
  letter-spacing: 0;
}
.jackpot-note { font-size: 13px; color: rgba(255,255,255,0.5); }
.jackpot-note strong { color: rgba(255,255,255,0.85); }

/* Countdown */
.countdown {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,200,50,0.12);
}
.countdown-title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.countdown-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
}
.cd-unit { text-align: center; }
.cd-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  background: rgba(255,200,50,0.08);
  border-radius: 10px;
  font-size: 26px;
  font-weight: 800;
  color: #fbbf24;
  font-variant-numeric: tabular-nums;
  border: 1px solid rgba(255,200,50,0.14);
}
.cd-label {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}
.cd-colon {
  font-size: 22px;
  font-weight: 700;
  color: rgba(255,200,50,0.3);
  margin-bottom: 18px;
  width: 16px;
  text-align: center;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-disclaimer {
  margin-top: 28px;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ══════════════════════════════════════
   STATS BAR
   ══════════════════════════════════════ */
.stats-bar {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center;
  padding: 20px 16px;
  border-right: 1px solid var(--border-light);
  transition: var(--t-fast);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--bg-soft); }
.stat-num {
  font-size: 30px;
  font-weight: 900;
  color: var(--accent-primary);
  line-height: 1;
  margin-bottom: 5px;
  font-variant-numeric: tabular-nums;
}
.stat-lbl { font-size: 13px; color: var(--text-light); font-weight: 500; }

/* ══════════════════════════════════════
   GAMES SECTION
   ══════════════════════════════════════ */
.games-bg { background: var(--grad-subtle); }

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.game-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  transition: var(--t);
  cursor: pointer;
}
.game-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: var(--accent-light);
}
.game-card-head {
  background: var(--grad-card);
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
}
.game-card-head::before { content:''; position:absolute; border-radius:50%; background:rgba(255,255,255,0.07); width:120px; height:120px; top:-40px; right:-30px; }
.game-card-head::after  { content:''; position:absolute; border-radius:50%; background:rgba(255,255,255,0.05); width:80px;  height:80px;  bottom:-30px; left:-20px; }

.game-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.game-name     { font-size: 24px; font-weight: 900; color: #fff; margin-bottom: 4px; }
.game-jp-label { font-size: 11px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 12px; margin-bottom: 4px; }
.game-jp-amount{ font-size: 36px; font-weight: 900; color: #fff; line-height: 1; }

.game-card-body { padding: 24px 28px; }
.game-meta      { display: flex; gap: 20px; margin-bottom: 18px; }
.game-meta-item { flex: 1; }
.game-meta-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.8px; font-weight: 600; margin-bottom: 3px; }
.game-meta-value { font-size: 14px; font-weight: 700; color: var(--text-dark); }
.game-prev-numbers { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 20px; }
.mini-ball {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent-lighter);
  color: var(--accent-primary);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ══════════════════════════════════════
   HOW IT WORKS
   ══════════════════════════════════════ */
.steps-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.steps-track::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(16.66% + 44px);
  right: calc(16.66% + 44px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent-light), var(--accent-secondary), var(--accent-light));
  border-radius: 2px;
  z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-icon {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--grad-card);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 36px;
  box-shadow: var(--shadow-btn);
  position: relative;
}
.step-num {
  position: absolute;
  top: -6px; right: -6px;
  width: 26px; height: 26px;
  background: var(--text-dark);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step p  { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ══════════════════════════════════════
   RESULTS PREVIEW (home)
   ══════════════════════════════════════ */
.results-preview-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
}
.results-preview-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.draw-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-lighter);
  color: var(--accent-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}
.draw-heading { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.draw-date    { font-size: 14px; color: var(--text-light); }

.balls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 32px 0;
}
.lotto-ball {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--grad-card);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  box-shadow: var(--shadow-gold);
  position: relative;
  flex-shrink: 0;
}
.lotto-ball.bonus {
  background: linear-gradient(135deg, #374151, #1f2937);
  box-shadow: 0 6px 20px rgba(31,41,55,0.38);
}
.lotto-ball.bonus::after {
  content: 'BONUS';
  position: absolute;
  bottom: -18px; left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  color: var(--text-light);
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.balls-plus { font-size: 22px; font-weight: 300; color: var(--border); margin: 0 4px; }

/* ══════════════════════════════════════
   TRUST FEATURES
   ══════════════════════════════════════ */
.trust-bg {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-feature {
  text-align: center;
  padding: 44px 24px;
  border-right: 1px solid var(--border-light);
  transition: var(--t);
}
.trust-feature:last-child { border-right: none; }
.trust-feature:hover { background: rgba(255,255,255,0.7); }
.trust-feature-icon { font-size: 40px; margin-bottom: 16px; display: block; }
.trust-feature h4   { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.trust-feature p    { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* ══════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════ */
.cta-section {
  background: var(--grad-hero);
  padding: 112px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(245,158,11,0.14) 0%, transparent 65%);
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.cta-section p {
  font-size: 18px;
  color: rgba(255,255,255,0.68);
  margin-bottom: 44px;
  max-width: 500px;
  margin-left: auto; margin-right: auto;
}
.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ══════════════════════════════════════
   COMPLIANCE BANNER
   ══════════════════════════════════════ */
.compliance-bar {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.compliance-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.age-tag {
  background: var(--text-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.compliance-text { font-size: 13px; color: var(--text-light); line-height: 1.5; }
.compliance-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

/* ══════════════════════════════════════
   NUMBER PICKER
   ══════════════════════════════════════ */
.picker-section { background: var(--bg-soft); }
.picker-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}
.picker-panel {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
}
.picker-panel-head { margin-bottom: 24px; }
.picker-panel-head h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.picker-panel-head p  { font-size: 14px; color: var(--text-light); }

.picker-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: var(--bg-soft);
  border-radius: var(--radius);
}
.picker-count-label { font-size: 14px; color: var(--text-light); }
.picker-count-label strong { font-size: 22px; font-weight: 900; color: var(--accent-primary); }
.picker-max-label { font-size: 13px; color: var(--text-muted); }

.number-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}
.n-ball {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-muted);
  color: var(--text-medium);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--t-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-user-select: none;
  min-width: 0;
}
.n-ball:hover {
  background: var(--accent-lighter);
  color: var(--accent-primary);
  border-color: var(--accent-secondary);
  transform: scale(1.12);
}
.n-ball.picked {
  background: var(--grad-card);
  color: #fff;
  border-color: var(--accent-dark);
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.42);
  transform: scale(1.06);
}
.n-ball.dimmed { opacity: 0.3; cursor: not-allowed; pointer-events: none; }
.picker-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.ticket-panel {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
  position: sticky;
  top: 92px;
}
.ticket-top {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 2px dashed var(--border);
  margin-bottom: 20px;
}
.ticket-logo-icon { font-size: 28px; margin-bottom: 6px; }
.ticket-game-name { font-size: 16px; font-weight: 800; color: var(--text-dark); }
.ticket-game-sub  { font-size: 12px; color: var(--text-muted); margin-top: 3px; }

.ticket-numbers-area {
  min-height: 88px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
  justify-content: center;
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 20px;
}
.t-ball {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--grad-card);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(180, 83, 9, 0.38);
  animation: popIn 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes popIn {
  from { transform: scale(0) rotate(-180deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg);    opacity: 1; }
}
.ticket-empty-msg {
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
  width: 100%;
  padding: 12px 0;
}
.ticket-bottom { padding-top: 18px; border-top: 2px dashed var(--border); }
.ticket-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 8px;
}
.ticket-row strong { color: var(--text-dark); font-weight: 600; }

/* ══════════════════════════════════════
   RESULTS PAGE
   ══════════════════════════════════════ */
.latest-draw-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
  margin-bottom: 36px;
}
.latest-draw-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}
.draw-num-tag {
  background: var(--accent-lighter);
  color: var(--accent-primary);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 10px;
}
.draw-title  { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
.draw-date   { font-size: 14px; color: var(--text-light); }
.draw-jackpot-badge { text-align: right; }
.draw-jackpot-badge .label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.draw-jackpot-badge .amount { font-size: 28px; font-weight: 900; color: var(--accent-primary); }

.results-balls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 0;
}
.r-ball {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--grad-card);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  box-shadow: var(--shadow-gold);
  transition: var(--t);
  position: relative;
}
.r-ball:hover { transform: scale(1.1); }
.r-ball.is-bonus {
  background: linear-gradient(135deg, #374151, #1f2937);
  box-shadow: 0 6px 20px rgba(31,41,55,0.36);
}
.r-ball.is-bonus::after {
  content: 'BONUS';
  position: absolute;
  bottom: -18px; left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  color: var(--text-light);
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.r-divider { font-size: 24px; color: var(--border); font-weight: 300; }

.table-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.r-table { width: 100%; border-collapse: collapse; }
.r-table th {
  background: var(--bg-soft);
  padding: 14px 20px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.r-table td {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text-medium);
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}
.r-table tr:last-child td { border-bottom: none; }
.r-table tr:hover td { background: var(--bg-soft); }
.td-balls { display: flex; gap: 5px; flex-wrap: wrap; }
.sm-ball {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-lighter);
  color: var(--accent-primary);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sm-ball.b { background: #f1f5f9; color: #475569; }

.check-box {
  background: var(--grad-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
}
.check-box h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.check-box p  { font-size: 14px; color: var(--text-light); margin-bottom: 24px; }
.check-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  max-width: 400px;
  margin: 0 auto 20px;
}
.check-ball {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #fff;
  color: var(--text-medium);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--t-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}
.check-ball:hover { border-color: var(--accent-secondary); background: var(--accent-lighter); color: var(--accent-primary); }
.check-ball.on    { background: var(--grad-card); color: #fff; border-color: var(--accent-dark); }

/* ══════════════════════════════════════
   HOW TO PLAY
   ══════════════════════════════════════ */
.htp-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: start;
}
.htp-step:last-child { border-bottom: none; }
.htp-step-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--grad-card);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  box-shadow: var(--shadow-btn);
  flex-shrink: 0;
}
.htp-step-content h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.htp-step-content p  { font-size: 15px; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; }
.htp-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--accent-lighter);
  border: 1px solid var(--accent-light);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--accent-dark);
}

/* ══════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-intro-text h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; margin-bottom: 20px; letter-spacing: -0.5px; }
.about-intro-text p  { font-size: 16px; color: var(--text-light); margin-bottom: 16px; line-height: 1.8; }
.about-visual {
  background: var(--grad-card);
  border-radius: var(--radius-xl);
  padding: 52px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.about-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(255,255,255,0.07) 0%, transparent 60%);
}
.about-visual .big-num { font-size: 72px; font-weight: 900; color: #fff; line-height: 1; margin-bottom: 8px; }
.about-visual p { color: rgba(255,255,255,0.7); font-size: 15px; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border-light);
  text-align: center;
  transition: var(--t);
}
.value-card:hover { transform: translateY(-4px); border-color: var(--accent-light); box-shadow: var(--shadow-soft); }
.value-icon  { font-size: 44px; margin-bottom: 16px; display: block; }
.value-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.value-card p  { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ══════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}
.contact-form-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
}
.contact-form-card h2 { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.contact-form-card > p { font-size: 14px; color: var(--text-light); margin-bottom: 32px; }
.contact-aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 92px; }
.contact-info-card {
  background: var(--grad-card);
  border-radius: var(--radius-xl);
  padding: 36px;
  color: #fff;
}
.contact-info-card h3  { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.contact-info-card > p { color: rgba(255,255,255,0.7); font-size: 14px; margin-bottom: 28px; }
.c-method { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.c-method:last-child { margin-bottom: 0; }
.c-method-icon {
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.14);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.c-method-info h4 { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.9); margin-bottom: 3px; }
.c-method-info p  { font-size: 13px; color: rgba(255,255,255,0.6); }
.contact-hours-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}
.contact-hours-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.hours-row { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 8px; color: var(--text-medium); }
.hours-row span:last-child { color: var(--text-dark); font-weight: 600; }

/* ══════════════════════════════════════
   FORMS
   ══════════════════════════════════════ */
.form-group  { margin-bottom: 20px; }
.form-label  { display: block; font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 7px; }
.form-label .req { color: var(--error); margin-left: 2px; }
.form-input  {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--text-dark);
  background: #fff;
  transition: var(--t-fast);
  appearance: none;
}
.form-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 4px rgba(180, 83, 9, 0.08);
}
.form-input::placeholder { color: var(--text-muted); }
.form-input.is-error { border-color: var(--error); }
textarea.form-input { resize: vertical; min-height: 130px; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint  { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.form-error { font-size: 12px; color: var(--error); margin-top: 6px; display: none; }
.form-error.show { display: block; }
.checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}
.checkbox-wrap input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent-primary); flex-shrink: 0; cursor: pointer; }
.checkbox-wrap label { font-size: 14px; color: var(--text-medium); line-height: 1.5; cursor: pointer; }
.checkbox-wrap a { color: var(--accent-primary); text-decoration: underline; }

/* ══════════════════════════════════════
   AUTH PAGE
   ══════════════════════════════════════ */
.auth-page {
  min-height: 100vh;
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
}
.auth-page::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 25% 55%, rgba(245,158,11,0.1) 0%, transparent 55%);
  pointer-events: none;
}
.auth-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 460px;
  position: relative;
  z-index: 1;
}
.auth-logo-wrap { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 32px; }
.auth-tabs { display: flex; background: var(--bg-soft); border-radius: var(--radius); padding: 4px; margin-bottom: 28px; }
.auth-tab {
  flex: 1;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  text-align: center;
  transition: var(--t-fast);
  background: transparent;
  border: none;
}
.auth-tab.on { background: #fff; color: var(--accent-primary); box-shadow: var(--shadow-card); }
.auth-panel  { display: none; }
.auth-panel.on { display: block; }
.auth-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 13px;
}
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-foot { text-align: center; font-size: 13px; color: var(--text-light); margin-top: 18px; }
.auth-foot a { color: var(--accent-primary); font-weight: 600; }
.auth-forgot { font-size: 13px; color: var(--accent-primary); font-weight: 500; text-align: right; display: block; margin-top: -12px; margin-bottom: 16px; }

/* ══════════════════════════════════════
   FAQ ACCORDION
   ══════════════════════════════════════ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 8px; overflow: hidden; transition: border-color .2s; }
.faq-item.open { border-color: var(--accent-secondary); box-shadow: var(--shadow-soft); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  gap: 16px;
  background: #fff;
  transition: background .15s;
}
.faq-q:hover { background: var(--bg-soft); }
.faq-q h4 { font-size: 16px; font-weight: 600; color: var(--text-dark); line-height: 1.4; flex: 1; }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1;
  color: var(--text-light);
  transition: var(--t-fast);
}
.faq-item.open .faq-icon { background: var(--accent-primary); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .2s; }
.faq-a-inner { padding: 0 24px 20px; font-size: 15px; color: var(--text-light); line-height: 1.75; }
.faq-item.open .faq-a { max-height: 600px; }

/* ══════════════════════════════════════
   TOAST NOTIFICATIONS
   ══════════════════════════════════════ */
.toast-wrap { position: fixed; top: 88px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  min-width: 280px;
  max-width: 340px;
  pointer-events: all;
  animation: toastIn .28s cubic-bezier(.34,1.56,.64,1);
}
.toast.out { animation: toastOut .25s ease-in forwards; }
@keyframes toastIn  { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes toastOut { to   { transform: translateX(120%); opacity: 0; } }
.toast-ico  { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.toast-body { flex: 1; }
.toast-ttl  { font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 2px; }
.toast-msg  { font-size: 13px; color: var(--text-light); }
.toast-x    { font-size: 18px; color: var(--text-muted); cursor: pointer; flex-shrink: 0; line-height: 1; }
.toast-x:hover { color: var(--text-dark); }

/* ══════════════════════════════════════
   ALERTS
   ══════════════════════════════════════ */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.5;
}
.alert-info    { background: var(--accent-lighter); color: var(--accent-dark); border: 1px solid var(--accent-light); }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ══════════════════════════════════════
   SPINNER
   ══════════════════════════════════════ */
.spinner {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .65s linear infinite;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.footer { background: #0c0a06; color: #fff; }

.footer-rp-bar {
  background: rgba(180, 83, 9, 0.15);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 12px 0;
}
.footer-rp-inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-age {
  background: #fbbf24;
  color: #0c0a06;
  font-weight: 900;
  font-size: 12px;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  letter-spacing: 0.5px;
}
.footer-rp-text  { font-size: 13px; color: rgba(255,255,255,0.5); flex: 1; }
.footer-rp-link  { font-size: 13px; color: rgba(255,255,255,0.72); text-decoration: underline; font-weight: 500; white-space: nowrap; }
.footer-rp-link:hover { color: #fbbf24; }

.footer-main { padding: 64px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
}
.f-brand .f-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.f-brand .logo-text { color: #fff; }
.f-brand .logo-icon { background: rgba(255,255,255,0.08); }
.f-brand p { font-size: 14px; color: rgba(255,255,255,0.42); line-height: 1.75; margin-bottom: 22px; max-width: 300px; }
.f-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.f-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  color: rgba(255,255,255,0.62);
}
.f-col h4 { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.82); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 18px; }
.f-col ul { display: flex; flex-direction: column; gap: 10px; }
.f-col ul li a { font-size: 14px; color: rgba(255,255,255,0.42); transition: var(--t-fast); }
.f-col ul li a:hover { color: #fbbf24; padding-left: 5px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 22px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom-inner p { font-size: 13px; color: rgba(255,255,255,0.28); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,0.28); transition: var(--t-fast); }
.footer-bottom-links a:hover { color: #fbbf24; }

/* ══════════════════════════════════════
   SCROLL ANIMATIONS
   ══════════════════════════════════════ */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .55s ease, transform .55s ease; }
.fade-up.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }

/* ══════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════ */
.text-center { text-align: center; }
.mt-8 { margin-top: 32px; }
.mb-8 { margin-bottom: 32px; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ══════════════════════════════════════
   RESPONSIVE — ≤ 1024px
   ══════════════════════════════════════ */
@media (max-width: 1024px) {
  .games-grid     { grid-template-columns: repeat(2, 1fr); }
  .trust-grid     { grid-template-columns: repeat(2, 1fr); }
  .footer-grid    { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid .f-col:last-child { display: none; }
  .picker-layout  { grid-template-columns: 1fr; }
  .ticket-panel   { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .about-intro    { grid-template-columns: 1fr; gap: 40px; }
}

/* ══════════════════════════════════════
   RESPONSIVE — ≤ 768px
   ══════════════════════════════════════ */
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .games-grid    { grid-template-columns: 1fr; }
  .steps-track   { grid-template-columns: 1fr; gap: 28px; }
  .steps-track::before { display: none; }
  .trust-grid    { grid-template-columns: 1fr 1fr; }
  .stats-inner   { grid-template-columns: repeat(2, 1fr); }
  .values-grid   { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .jackpot-card  { min-width: unset; width: 100%; padding: 28px 24px; }
  .jackpot-amount { font-size: 56px; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .footer-grid .f-brand { grid-column: 1 / -1; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .latest-draw-card  { padding: 28px; }
  .latest-draw-header{ flex-direction: column; }
  .r-ball { width: 48px; height: 48px; font-size: 18px; }
  .htp-step { grid-template-columns: 60px 1fr; gap: 20px; }
  .htp-step-num { width: 56px; height: 56px; font-size: 22px; }
  .auth-card { padding: 32px 24px; }
}

/* ══════════════════════════════════════
   RESPONSIVE — ≤ 480px
   ══════════════════════════════════════ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section   { padding: 48px 0; }
  .hero h1   { font-size: 36px; letter-spacing: -1px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stats-inner  { grid-template-columns: repeat(2, 1fr); }
  .trust-grid   { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; }
  .cd-num       { width: 48px; height: 48px; font-size: 22px; }
  .r-ball       { width: 38px; height: 38px; font-size: 15px; }
  .lotto-ball   { width: 44px; height: 44px; font-size: 16px; }
  .results-balls-row { gap: 8px; }
  .picker-panel { padding: 24px 18px; }
  .number-grid  { gap: 6px; }
  .contact-form-card { padding: 28px 20px; }
}
