/* ============================================
   LuckyLand Slots Canada — Design System
   luckyland-slots.ca
   ============================================ */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@600;700&family=Inter:wght@300;400;500;600;700&family=Rajdhani:wght@500;600;700&display=swap');

/* ---- CSS Variables (LuckyLand Casino brand — pastel pink / navy / teal) ---- */
:root {
  /* Brand core */
  --brand-pink:    #fabdf9;
  --brand-pink-lt: #fde0ee;
  --brand-pink-dp: #e698d5;
  --brand-navy:    #1d2a5f;
  --brand-navy-dk: #131c48;
  --brand-teal:    #3ec5ca;
  --brand-teal-lt: #a5e6ea;
  --brand-teal-dp: #2a9ba0;
  --brand-purple:  #b5a5e0;
  --brand-mint:    #b9e5e2;
  --brand-peach:   #ffe1a8;
  --brand-white:   #ffffff;

  /* Backwards-compat aliases — existing rules keep working */
  --purple-deep:   #131c48;
  --purple-dark:   #1d2a5f;
  --purple-mid:    #3ec5ca;
  --purple-bright: #4bd3d8;
  --purple-light:  #a5e6ea;
  --gold:          #1d2a5f;
  --gold-light:    #3ec5ca;
  --gold-dark:     #131c48;
  --neon-gold:     #3ec5ca;
  --bg-primary:    #fde0ee;
  --bg-card:       rgba(255,255,255,0.72);
  --bg-glass:      rgba(255,255,255,0.62);
  --text-primary:  #1d2a5f;
  --text-muted:    #5a6b8f;
  --text-gold:     #1d2a5f;
  --border-glass:  rgba(29,42,95,0.14);
  --border-gold:   rgba(62,197,202,0.55);
  --shadow-purple: 0 8px 28px rgba(29,42,95,0.14);
  --shadow-gold:   0 6px 18px rgba(62,197,202,0.28);
  --radius-sm:     10px;
  --radius-md:     18px;
  --radius-lg:     26px;
  --radius-xl:     36px;
  --transition:    0.25s cubic-bezier(0.4,0,0.2,1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--brand-teal-dp); text-decoration: none; transition: color var(--transition); font-weight: 600; }
a:hover { color: var(--brand-navy); }
ul { list-style: none; }

/* ---- Skip Link ---- */
.skip-link {
  position: absolute; top: -50px; left: 0; z-index: 9999;
  background: var(--brand-navy); color: #fff;
  padding: 8px 16px; border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600; transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ---- Pastel candy background (replaces dark starfield) ---- */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse at 15% 10%, var(--brand-pink) 0%, transparent 60%),
    radial-gradient(ellipse at 90% 85%, var(--brand-teal-lt) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 50%, var(--brand-pink-lt) 0%, #ffeaf5 100%);
}
body::after {
  content: '';
  position: fixed; inset: 0; z-index: -1;
  background-image:
    radial-gradient(3px 3px at 12% 18%, rgba(255,255,255,0.9) 0%, transparent 100%),
    radial-gradient(2px 2px at 28% 62%, rgba(255,255,255,0.8) 0%, transparent 100%),
    radial-gradient(2px 2px at 42% 34%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(3px 3px at 60% 78%, rgba(255,255,255,0.75) 0%, transparent 100%),
    radial-gradient(2px 2px at 77% 22%, rgba(255,255,255,0.8) 0%, transparent 100%),
    radial-gradient(3px 3px at 92% 58%, rgba(255,255,255,0.9) 0%, transparent 100%),
    radial-gradient(4px 4px at 18% 88%, rgba(62,197,202,0.35) 0%, transparent 100%),
    radial-gradient(4px 4px at 88% 12%, rgba(181,165,224,0.4) 0%, transparent 100%);
  pointer-events: none;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(29,42,95,0.08);
  box-shadow: 0 4px 24px rgba(29,42,95,0.06);
}

.header-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}

/* Logo — real LuckyLand Casino wordmark image */
.logo {
  display: inline-flex; align-items: center;
  height: 54px;
}
.logo img.brand-logo {
  display: block;
  height: 100%;
  width: auto;
  max-height: 54px;
}
/* Fallback text logo (hidden when image logo present) */
.logo .logo-text {
  font-family: 'Fredoka', 'Inter', sans-serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--brand-navy); letter-spacing: 0.02em;
}
.logo .logo-text span { color: var(--brand-teal); }
.logo:has(img.brand-logo) .logo-text,
.logo:has(img.brand-logo) .logo-mark { display: none; }

/* Footer logo — invert-ish for navy background */
.footer-brand .logo { height: 60px; }
.footer-brand .logo img.brand-logo {
  filter: brightness(0) invert(1);   /* white silhouette on navy footer */
  max-height: 60px;
}

/* Main nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--brand-navy);
  font-size: 0.875rem; font-weight: 600;
  padding: 8px 14px; border-radius: 999px;
  transition: color var(--transition), background var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--brand-white);
  background: var(--brand-teal);
}

/* Mobile tracker CTA (always visible on mobile) */
.header-cta {
  display: flex; align-items: center; gap: 10px;
}
.btn-play-now {
  background: linear-gradient(135deg, var(--brand-teal) 0%, var(--brand-teal-dp) 100%);
  color: #fff !important;
  font-weight: 700; font-size: 0.875rem;
  padding: 11px 22px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(62,197,202,0.35);
  transition: all var(--transition);
  white-space: nowrap;
  border: none; cursor: pointer;
}
.btn-play-now:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(62,197,202,0.55);
  color: #fff !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: all var(--transition);
}

.mobile-sticky-cta {
  display: none;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  padding: 60px 24px 70px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 30%,
    rgba(255,255,255,0.6) 0%,
    rgba(255,255,255,0) 70%);
  pointer-events: none;
}

.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-teal);
  border: none;
  border-radius: 999px;
  padding: 8px 22px;
  font-size: 0.78rem; font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  box-shadow: 0 6px 16px rgba(62,197,202,0.35);
}
.hero-label::before { content: '✨'; }

.hero h1 {
  font-family: 'Fredoka', 'Inter', sans-serif;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 22px;
  color: var(--brand-navy);
  letter-spacing: -0.01em;
  text-shadow: 2px 3px 0 rgba(255,255,255,0.9);
}
.hero h1 span {
  color: var(--brand-teal);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--brand-navy);
  opacity: 0.82;
  max-width: 640px; margin: 0 auto 36px;
  line-height: 1.7;
}

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

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--brand-teal) 0%, var(--brand-teal-dp) 100%);
  color: #fff !important;
  font-weight: 700; font-size: 1rem;
  padding: 16px 36px; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(62,197,202,0.4);
  transition: all var(--transition);
  border: none; cursor: pointer;
  letter-spacing: 0.02em;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(62,197,202,0.55);
  color: #fff !important;
}
.btn-primary::after { content: '→'; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 2px solid var(--brand-navy);
  color: var(--brand-navy) !important;
  font-weight: 700; font-size: 0.95rem;
  padding: 13px 30px; border-radius: 999px;
  transition: all var(--transition);
  cursor: pointer;
}
.btn-secondary:hover {
  background: var(--brand-navy);
  color: #fff !important;
}

/* Stats bar */
.stats-bar {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0;
  margin: 52px auto 0;
  max-width: 900px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.stat-item {
  flex: 1; min-width: 160px;
  padding: 22px 24px;
  text-align: center;
  border-right: 1px solid var(--border-glass);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Fredoka', 'Inter', sans-serif;
  font-size: 2rem; font-weight: 700;
  color: var(--brand-teal-dp);
  display: block; line-height: 1;
}
.stat-label {
  font-size: 0.78rem; color: var(--brand-navy);
  opacity: 0.7;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-top: 6px; display: block; font-weight: 600;
}

/* ============================================
   SECTION LAYOUT
   ============================================ */
.section { padding: 72px 24px; }
.section-alt { background: rgba(255,255,255,0.4); }
.container { max-width: 1200px; margin: 0 auto; }

.section-header {
  text-align: center; margin-bottom: 52px;
}
.section-tag {
  display: inline-block;
  background: #fff;
  border: 2px solid var(--brand-navy);
  color: var(--brand-navy);
  font-size: 0.72rem; font-weight: 700;
  padding: 5px 16px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Fredoka', 'Inter', sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: var(--brand-navy); margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.section-title span { color: var(--brand-teal); }
.section-desc {
  font-size: 1rem; color: var(--brand-navy); opacity: 0.75;
  max-width: 580px; margin: 0 auto;
}

/* ============================================
   CARDS
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid rgba(29,42,95,0.08);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: 0 6px 22px rgba(29,42,95,0.06);
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand-teal), var(--brand-purple));
  opacity: 0; transition: opacity var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(29,42,95,0.12); }
.card:hover::before { opacity: 1; }

.card-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-teal-dp));
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(62,197,202,0.35);
  color: #fff;
}
.card-title {
  font-family: 'Fredoka', 'Inter', sans-serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--brand-navy); margin-bottom: 10px;
}
.card-text { font-size: 0.92rem; color: var(--brand-navy); opacity: 0.78; line-height: 1.65; }

/* Featured card variant (teal accent) */
.card-gold {
  border: 2px solid var(--brand-teal);
  background: linear-gradient(135deg, #fff 0%, var(--brand-pink-lt) 100%);
}
.card-gold::before {
  background: var(--brand-teal);
  opacity: 1;
}
.card-gold:hover { border-color: var(--brand-teal-dp); }

/* ============================================
   GAME CARDS
   ============================================ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.game-card {
  background: #fff;
  border: 1px solid rgba(29,42,95,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
  box-shadow: 0 6px 18px rgba(29,42,95,0.06);
}
.game-card:hover { transform: translateY(-5px); box-shadow: 0 14px 32px rgba(29,42,95,0.14); }

.game-thumb {
  width: 100%; aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--brand-pink), var(--brand-purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; position: relative; overflow: hidden;
}
.game-thumb::after {
  content: 'PLAY';
  position: absolute; inset: 0;
  background: rgba(29,42,95,0.7);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fredoka', sans-serif; font-size: 1.1rem; font-weight: 700;
  color: #fff; letter-spacing: 0.18em;
  opacity: 0; transition: opacity var(--transition);
}
.game-card:hover .game-thumb::after { opacity: 1; }

.game-info { padding: 16px 18px; }
.game-name {
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem; font-weight: 600; color: var(--brand-navy);
  margin-bottom: 8px;
}
.game-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.game-badge {
  font-size: 0.7rem; font-weight: 700;
  padding: 3px 10px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.badge-hot {
  background: #ffe1e8;
  color: #d94a6b; border: 1px solid #ffc2cd;
}
.badge-new {
  background: #d9f5e0;
  color: #16794d; border: 1px solid #a5e7b8;
}
.badge-jackpot {
  background: var(--brand-teal-lt);
  color: var(--brand-teal-dp); border: 1px solid var(--brand-teal);
}

/* ============================================
   BONUS BANNER
   ============================================ */
.bonus-banner {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-dk) 100%);
  border: none;
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  position: relative; overflow: hidden;
  box-shadow: 0 20px 50px rgba(29,42,95,0.25);
  color: #fff;
}
.bonus-banner::before {
  content: '';
  position: absolute; top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(62,197,202,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.bonus-label {
  font-size: 0.78rem; font-weight: 700;
  color: var(--brand-teal); text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.bonus-headline {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700;
  color: #fff; margin-bottom: 10px; line-height: 1.15;
  letter-spacing: -0.01em;
}
.bonus-headline span { color: var(--brand-teal); }
.bonus-desc { color: rgba(255,255,255,0.85); font-size: 0.95rem; max-width: 480px; line-height: 1.7; }

.bonus-coins-display {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.coin-block {
  background: rgba(255,255,255,0.1);
  border: 2px solid var(--brand-teal);
  border-radius: var(--radius-md);
  padding: 16px 26px; text-align: center; min-width: 170px;
}
.coin-amount {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.9rem; font-weight: 700;
  color: var(--brand-teal); display: block; line-height: 1;
}
.coin-type {
  font-size: 0.72rem; color: rgba(255,255,255,0.8);
  text-transform: uppercase; letter-spacing: 0.1em; margin-top: 6px; display:block;
}

/* ============================================
   TABLES
   ============================================ */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(29,42,95,0.1);
  margin: 24px 0;
  background: #fff;
  box-shadow: 0 6px 22px rgba(29,42,95,0.06);
}
table {
  width: 100%; border-collapse: collapse;
  font-size: 0.92rem;
}
caption {
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem; font-weight: 600;
  color: var(--brand-navy);
  padding: 18px 22px;
  text-align: left;
  background: var(--brand-pink-lt);
  border-bottom: 1px solid rgba(29,42,95,0.08);
}
thead th {
  background: var(--brand-navy);
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 14px 20px; text-align: left;
}
tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(29,42,95,0.06);
  color: var(--brand-navy);
  vertical-align: middle;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--brand-pink-lt); }

.td-check { color: var(--brand-teal-dp); font-weight: 700; }
.td-cross { color: #d94a6b; font-weight: 600; }
.td-gold { color: var(--brand-teal-dp); font-weight: 700; }
.td-highlight { background: rgba(62,197,202,0.12) !important; }

/* Rating stars */
.stars { color: var(--brand-teal); letter-spacing: 2px; font-size: 0.9rem; }

/* ============================================
   CHART WRAPPER
   ============================================ */
.chart-card {
  background: #fff;
  border: 1px solid rgba(29,42,95,0.08);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 6px 22px rgba(29,42,95,0.06);
}
.chart-card h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.1rem; font-weight: 600;
  color: var(--brand-navy); margin-bottom: 20px;
}
.chart-wrap {
  position: relative; height: 280px;
}

/* Charts grid */
.charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid rgba(29,42,95,0.08);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 14px rgba(29,42,95,0.04);
}
.faq-question {
  width: 100%; background: none; border: none;
  cursor: pointer; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  padding: 20px 24px; text-align: left;
  color: var(--brand-navy);
  font-family: 'Fredoka', sans-serif;
  font-size: 0.98rem; font-weight: 600;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--brand-pink-lt); }
.faq-question[aria-expanded="true"] { color: var(--brand-teal-dp); background: var(--brand-pink-lt); }
.faq-icon {
  flex-shrink: 0; width: 28px; height: 28px;
  background: var(--brand-teal-lt);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--brand-teal-dp);
  font-weight: 700;
  transition: transform var(--transition), background var(--transition);
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--brand-teal);
  color: #fff;
}
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), padding 0.35s;
  padding: 0 24px;
  color: var(--brand-navy); opacity: 0.85;
  font-size: 0.92rem; line-height: 1.75;
}
.faq-answer.open {
  max-height: 600px; padding: 0 24px 22px;
}

/* ============================================
   SEO CONTENT SECTION
   ============================================ */
.seo-content {
  padding: 64px 24px;
  border-top: 1px solid rgba(29,42,95,0.08);
}
.seo-article {
  max-width: 880px; margin: 0 auto;
}
.seo-article h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.65rem; font-weight: 700;
  color: var(--brand-navy); margin: 40px 0 16px;
  letter-spacing: -0.01em;
}
.seo-article h2:first-child { margin-top: 0; }
.seo-article h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.2rem; font-weight: 600;
  color: var(--brand-teal-dp); margin: 28px 0 12px;
}
.seo-article p {
  font-size: 0.98rem; color: var(--brand-navy); opacity: 0.85;
  margin-bottom: 16px; line-height: 1.8;
}
.seo-article strong { color: var(--brand-navy); opacity: 1; font-weight: 700; }
.seo-article a.text-link {
  color: var(--brand-teal-dp);
  border-bottom: 2px solid var(--brand-teal);
  padding-bottom: 1px;
  font-weight: 600;
  transition: border-color var(--transition), color var(--transition);
}
.seo-article a.text-link:hover {
  color: var(--brand-navy);
  border-color: var(--brand-navy);
}

/* Quick links block (not counted in SEO link limit) */
.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px; margin: 28px 0;
}
.quick-link {
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1px solid rgba(29,42,95,0.08);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--brand-navy) !important;
  font-size: 0.9rem; font-weight: 600;
  transition: all var(--transition);
  box-shadow: 0 3px 10px rgba(29,42,95,0.04);
}
.quick-link:hover {
  border-color: var(--brand-teal);
  color: var(--brand-teal-dp) !important;
  transform: translateX(3px);
  box-shadow: 0 6px 16px rgba(62,197,202,0.18);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--brand-navy);
  border-top: none;
  padding: 60px 24px 32px;
  color: #fff;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo {
  margin-bottom: 16px;
  color: #fff;
}
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-text span { color: var(--brand-teal); }
.footer-brand p {
  font-size: 0.9rem; color: rgba(255,255,255,0.75);
  line-height: 1.7; max-width: 320px;
}
.footer-col h4 {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.85rem; font-weight: 700;
  color: var(--brand-teal);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.9rem; color: rgba(255,255,255,0.78);
  font-weight: 500;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--brand-teal); }

.footer-bottom {
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.footer-legal {
  font-size: 0.8rem; color: rgba(255,255,255,0.65);
  line-height: 1.7; max-width: 600px;
}
.footer-badges {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.badge-legal {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.72rem; color: rgba(255,255,255,0.85);
  white-space: nowrap; font-weight: 600;
}

/* Age badge */
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: var(--brand-teal);
  border: none;
  border-radius: 50%;
  font-weight: 800; font-size: 0.75rem; color: #fff;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  max-width: 1200px; margin: 0 auto;
  padding: 24px 24px 0;
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--brand-navy); opacity: 0.7;
}
.breadcrumb a { color: var(--brand-navy); font-weight: 600; }
.breadcrumb a:hover { color: var(--brand-teal-dp); }
.breadcrumb .sep { color: var(--brand-navy); opacity: 0.4; }
.breadcrumb .current { color: var(--brand-teal-dp); font-weight: 700; }

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  padding: 44px 24px 40px;
  text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%,
    rgba(255,255,255,0.5) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-title {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700; color: var(--brand-navy); margin-bottom: 14px;
  letter-spacing: -0.01em;
  text-shadow: 2px 3px 0 rgba(255,255,255,0.7);
}
.page-hero-title span { color: var(--brand-teal); }
.page-hero-sub {
  font-size: 1.05rem; color: var(--brand-navy); opacity: 0.8;
  max-width: 640px; margin: 0 auto;
  line-height: 1.65;
}

/* Hero image (added atop every page hero + homepage hero) */
.hero-image {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 28px;
  aspect-ratio: 16/9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  border: 4px solid #fff;
  box-shadow: 0 18px 46px rgba(29,42,95,0.18);
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-image::after {
  content: none;
}
.hero .hero-image { max-width: 900px; margin-bottom: 32px; }
.page-hero .hero-image { max-width: 860px; margin-bottom: 28px; }

/* Slot card thumbnail — real artwork instead of emoji */
.game-thumb.has-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-size: 0;
}
.game-thumb.has-photo::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(29,42,95,0.4) 100%);
  pointer-events: none;
}

/* ============================================
   RATING BARS
   ============================================ */
.rating-bars { display: grid; gap: 14px; }
.rating-row {
  display: flex; align-items: center; gap: 14px;
}
.rating-label {
  font-size: 0.88rem; color: var(--text-muted);
  min-width: 130px; flex-shrink: 0;
}
.rating-bar-bg {
  flex: 1; height: 10px;
  background: rgba(29,42,95,0.08);
  border-radius: 999px; overflow: hidden;
}
.rating-bar-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-teal), var(--brand-teal-dp));
  transition: width 1s cubic-bezier(0.4,0,0.2,1);
}
.rating-score {
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem; font-weight: 700;
  color: var(--brand-teal-dp); min-width: 36px; text-align: right;
}

/* ============================================
   STEPS / HOW TO PLAY
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.step-card {
  background: #fff;
  border: 1px solid rgba(29,42,95,0.08);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  position: relative;
  box-shadow: 0 6px 22px rgba(29,42,95,0.06);
  transition: border-color var(--transition), transform var(--transition);
}
.step-card:hover { border-color: var(--brand-teal); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(29,42,95,0.12); }
.step-num {
  font-family: 'Fredoka', sans-serif;
  font-size: 3rem; font-weight: 700;
  color: var(--brand-pink);
  line-height: 1;
  position: absolute; top: 16px; right: 22px;
}
.step-icon { font-size: 2rem; margin-bottom: 16px; }
.step-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.1rem; font-weight: 600;
  color: var(--brand-navy); margin-bottom: 10px;
}
.step-text { font-size: 0.9rem; color: var(--brand-navy); opacity: 0.78; line-height: 1.7; }

/* ============================================
   COIN SYSTEM COMPARISON
   ============================================ */
.coin-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px; margin: 0 auto;
}
.coin-card {
  background: #fff;
  border-radius: var(--radius-lg); padding: 32px 28px;
  border: 2px solid rgba(29,42,95,0.08);
  box-shadow: 0 6px 22px rgba(29,42,95,0.06);
}
.coin-card.gc { border-color: var(--brand-pink-dp); }
.coin-card.sc { border-color: var(--brand-teal); }
.coin-card-icon { font-size: 2.5rem; margin-bottom: 14px; }
.coin-card-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.25rem; font-weight: 700;
  margin-bottom: 8px;
}
.coin-card.gc .coin-card-title { color: var(--brand-pink-dp); }
.coin-card.sc .coin-card-title { color: var(--brand-teal-dp); }
.coin-card ul { margin-top: 14px; }
.coin-card ul li {
  font-size: 0.9rem; color: var(--brand-navy);
  padding: 8px 0;
  border-bottom: 1px solid rgba(29,42,95,0.06);
  display: flex; align-items: center; gap: 8px;
}
.coin-card ul li::before { content: '✓'; color: var(--brand-teal-dp); font-weight: 700; }

/* ============================================
   AUTHOR CARD
   ============================================ */
.author-card {
  display: flex; gap: 30px; align-items: flex-start;
  background: #fff;
  border: 2px solid var(--brand-teal);
  border-radius: var(--radius-xl); padding: 36px;
  max-width: 800px; margin: 0 auto;
  box-shadow: 0 12px 32px rgba(29,42,95,0.08);
}
.author-avatar {
  width: 120px; height: 120px; flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--brand-teal);
  box-shadow: 0 6px 20px rgba(62,197,202,0.35);
  background: linear-gradient(135deg, var(--brand-pink), var(--brand-purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.author-avatar img {
  width: 100%; height: 100%; object-fit: cover;
}
.author-name {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.4rem; font-weight: 700; color: var(--brand-navy);
  margin-bottom: 4px;
}
.author-role {
  font-size: 0.82rem; color: var(--brand-teal-dp);
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 14px;
}
.author-bio { font-size: 0.92rem; color: var(--brand-navy); opacity: 0.8; line-height: 1.75; }
.author-credentials {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px;
}
.credential-tag {
  background: var(--brand-pink-lt);
  border: 1px solid var(--brand-pink-dp);
  border-radius: 999px; padding: 5px 14px;
  font-size: 0.75rem; color: var(--brand-navy);
  font-weight: 700;
}

/* ============================================
   FORM STYLES (Login/Register)
   ============================================ */
.form-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 24px;
}
.form-card {
  width: 100%; max-width: 460px;
  background: #fff;
  border: 1px solid rgba(29,42,95,0.1);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  box-shadow: 0 20px 50px rgba(29,42,95,0.12);
}
.form-logo { text-align: center; margin-bottom: 28px; }
.form-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.6rem; font-weight: 700;
  color: var(--brand-navy); text-align: center; margin-bottom: 6px;
}
.form-subtitle {
  text-align: center; color: var(--brand-navy); opacity: 0.7;
  font-size: 0.9rem; margin-bottom: 30px;
}
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-size: 0.82rem; font-weight: 700;
  color: var(--brand-navy); margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.form-input {
  width: 100%; padding: 14px 18px;
  background: var(--brand-pink-lt);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  color: var(--brand-navy); font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus {
  border-color: var(--brand-teal);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(62,197,202,0.2);
}
.form-input::placeholder { color: rgba(29,42,95,0.35); }
.form-submit {
  width: 100%; padding: 16px;
  background: linear-gradient(135deg, var(--brand-teal) 0%, var(--brand-teal-dp) 100%);
  color: #fff;
  font-weight: 700; font-size: 1rem;
  border: none; border-radius: 999px;
  cursor: pointer; font-family: 'Fredoka', sans-serif;
  transition: all var(--transition);
  margin-top: 8px;
  letter-spacing: 0.02em;
}
.form-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(62,197,202,0.45);
}
.form-footer-text {
  text-align: center; font-size: 0.85rem;
  color: var(--brand-navy); opacity: 0.7; margin-top: 20px;
}
.form-footer-text a { color: var(--brand-teal-dp); font-weight: 700; }
.form-divider {
  text-align: center; position: relative; margin: 20px 0;
  color: var(--brand-navy); opacity: 0.5; font-size: 0.82rem;
}
.form-divider::before {
  content: ''; position: absolute;
  top: 50%; left: 0; right: 0; height: 1px;
  background: rgba(29,42,95,0.15);
}
.form-divider span {
  background: var(--brand-pink-lt);
  padding: 0 12px; position: relative;
}
.bonus-pill {
  background: var(--brand-teal-lt);
  border: 2px solid var(--brand-teal);
  border-radius: var(--radius-md); padding: 14px 18px;
  text-align: center; margin-bottom: 24px;
}
.bonus-pill strong { color: var(--brand-teal-dp); display: block; font-size: 1.1rem; font-family:'Fredoka',sans-serif; }
.bonus-pill span { font-size: 0.85rem; color: var(--brand-navy); opacity: 0.75; }

/* ============================================
   FLOWCHART (CSS-based)
   ============================================ */
.flow-diagram {
  display: flex; align-items: stretch; gap: 0;
  justify-content: center; flex-wrap: wrap;
  padding: 24px 0;
}
.flow-step {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px;
}
.flow-box {
  background: #fff;
  border: 2px solid var(--brand-navy);
  border-radius: var(--radius-md);
  padding: 16px 20px; text-align: center;
  min-width: 140px;
  box-shadow: 0 4px 14px rgba(29,42,95,0.08);
}
.flow-box .icon { font-size: 1.5rem; margin-bottom: 8px; color: var(--brand-teal-dp); }
.flow-box .label {
  font-size: 0.85rem; font-weight: 700;
  color: var(--brand-navy); line-height: 1.3;
  font-family: 'Fredoka', sans-serif;
}
.flow-arrow {
  display: flex; align-items: center;
  padding: 8px 8px; color: var(--brand-teal-dp);
  font-size: 1.4rem; align-self: center; font-weight: 700;
}

/* ============================================
   MOBILE APP PAGE
   ============================================ */
.app-split {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 60px; align-items: center;
}
.phone-mockup {
  position: relative;
  width: 240px; margin: 0 auto;
}
.phone-frame {
  background: linear-gradient(170deg, #1a0040, #2d0057);
  border: 2px solid rgba(167,139,250,0.3);
  border-radius: 40px; padding: 20px 12px;
  box-shadow: 0 30px 80px rgba(91,33,182,0.5),
              0 0 0 1px rgba(255,255,255,0.05);
  aspect-ratio: 9/19.5;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
}
.phone-screen-content {
  text-align: center;
}
.phone-screen-content .logo { justify-content: center; font-size: 0.85rem; }
.phone-game-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6px; margin-top: 10px;
}
.phone-game-tile {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--purple-mid), var(--purple-bright));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.download-btns { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.download-btn {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md); padding: 14px 20px;
  color: var(--text-primary) !important;
  transition: all var(--transition);
}
.download-btn:hover {
  border-color: var(--gold); transform: translateX(4px);
  color: var(--text-primary) !important;
}
.download-btn-icon { font-size: 1.8rem; }
.download-btn-text .platform {
  font-size: 0.7rem; color: var(--text-muted); display: block;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.download-btn-text .name {
  font-weight: 700; font-size: 1rem;
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 74px; left: 0; right: 0;
    background: #fff;
    box-shadow: 0 12px 30px rgba(29,42,95,0.15);
    border-bottom: 1px solid rgba(29,42,95,0.08);
    padding: 16px;
    z-index: 999;
  }
  .hamburger { display: flex; }
  /* Compact CTA in the mobile header */
  .header-cta .btn-play-now {
    display: inline-flex; font-size: 0.78rem; padding: 8px 14px;
    letter-spacing: 0.02em; white-space: nowrap;
  }
  .header-cta .btn-play-now .hide-mobile { display: none; }

  /* Mobile sticky CTA */
  .mobile-sticky-cta {
    display: block;
    position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 990; padding: 12px 20px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--brand-teal);
    box-shadow: 0 -8px 24px rgba(29,42,95,0.1);
  }
  .mobile-sticky-cta a {
    display: block;
    background: linear-gradient(135deg, var(--brand-teal) 0%, var(--brand-teal-dp) 100%);
    color: #fff !important;
    text-align: center; font-weight: 700; font-size: 1rem;
    padding: 14px; border-radius: 999px;
    box-shadow: 0 6px 18px rgba(62,197,202,0.4);
  }
  body { padding-bottom: 78px; }

  .header-cta .btn-play-now { font-size: 0.8rem; padding: 9px 16px; }

  .hero { padding: 60px 20px 52px; }
  .stats-bar { border-radius: var(--radius-md); }
  .stat-item { padding: 16px 12px; min-width: 110px; }
  .stat-num { font-size: 1.4rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }

  .bonus-banner { grid-template-columns: 1fr; }
  .bonus-coins-display { flex-direction: row; }

  .coin-cards { grid-template-columns: 1fr; }
  .app-split { grid-template-columns: 1fr; }
  .charts-grid { grid-template-columns: 1fr; }
  .author-card { flex-direction: column; text-align: center; }
  .author-credentials { justify-content: center; }

  .form-card { padding: 30px 24px; }

  .flow-diagram { flex-direction: column; align-items: center; }
  .flow-arrow { transform: rotate(90deg); }

  table { font-size: 0.82rem; }
  thead th, tbody td { padding: 10px 12px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
}

/* ============================================
   UTILITY
   ============================================ */
.text-gold { color: var(--gold) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.gap-24 { gap: 24px; }
.neon-text {
  text-shadow: 0 0 10px rgba(245,158,11,0.6), 0 0 30px rgba(245,158,11,0.3);
}

/* Scroll animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.6s ease both; }

/* Pulsing glow */
@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 20px rgba(245,158,11,0.3); }
  50%       { box-shadow: 0 0 40px rgba(245,158,11,0.6); }
}
.pulse-gold { animation: pulseGold 2.5s ease-in-out infinite; }

/* Spinning coin */
@keyframes spinY {
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}
.spin-coin { display: inline-block; animation: spinY 3s linear infinite; }

/* Number counter animation */
@keyframes countUp {
  from { opacity: 0; }
  to   { opacity: 1; }
}
