/* ================================================
   Millio — Marketing Website Styles
   ================================================ */

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

/* ── Design Tokens ── */
:root {
  /* Brand */
  --brand-purple:       #6C47FF;
  --brand-purple-deep:  #5B35E8;
  --brand-lavender:     #E8E2FF;
  --brand-gold:         #FFD60A;

  /* Backgrounds */
  --bg:                 #FAFAF9;
  --bg-tint:            #F4F2FF;
  --bg-feature:         #EDE9FF;
  --bg-dark:            #130D2E;
  --bg-dark-surface:    #1E1540;

  /* Surfaces */
  --surface:            #FFFFFF;
  --surface-soft:       #F4F2FF;

  /* Text */
  --text:               #1A1530;
  --text-secondary:     #3D3751;
  --text-muted:         #7B7494;

  /* Dark section text */
  --text-on-dark:       #F0EEFF;
  --text-body-on-dark:  #C4BAF0;
  --text-muted-on-dark: #8B82B0;

  /* Interactive */
  --accent:             #6C47FF;
  --accent-hover:       #5B35E8;
  --accent-pressed:     #4A28D1;
  --accent-soft:        #EDE9FF;
  --gold:               #FFD60A;
  --gold-muted:         #E5B800;

  /* Borders */
  --line:               #E8E4F5;
  --line-medium:        #C9C0EE;

  /* Shadows (purple-tinted) */
  --shadow-sm:          0 2px 8px rgba(108, 71, 255, 0.07);
  --shadow-md:          0 4px 24px rgba(108, 71, 255, 0.10);
  --shadow-lg:          0 8px 40px rgba(108, 71, 255, 0.14);
  --shadow-hover:       0 12px 40px rgba(108, 71, 255, 0.18);
  --shadow-phone:       0 32px 80px rgba(108, 71, 255, 0.30);

  /* Radius */
  --radius-lg:          28px;
  --radius-md:          20px;
  --radius-sm:          14px;
  --radius-xs:          8px;

  /* Layout */
  --container:          1160px;

  /* Fonts */
  --font-display:       'Outfit', 'Nunito', sans-serif;
  --font-body:          'Inter', system-ui, sans-serif;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.15;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p  { color: var(--text-secondary); font-size: 1.0625rem; line-height: 1.7; }
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
}

/* ── Layout ── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .eyebrow { margin-bottom: 10px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { max-width: 560px; margin: 0 auto; font-size: 1.125rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(108, 71, 255, 0.35);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(108, 71, 255, 0.45);
}
.btn-primary:active { background: var(--accent-pressed); transform: translateY(0); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--line-medium);
}
.btn-secondary:hover { background: var(--bg-tint); border-color: var(--accent); color: var(--accent); }
.btn-white {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18); }
.btn-lg { padding: 18px 36px; font-size: 1.0625rem; }

/* ── Topbar ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 249, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.topbar.scrolled { border-bottom-color: var(--line); }
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  flex-shrink: 0;
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: url('/assets/logo-mark.svg') center/cover no-repeat;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(108, 71, 255, 0.25);
  flex-shrink: 0;
  color: transparent;
  font-size: 0;
  overflow: hidden;
}
.topnav { display: flex; align-items: center; gap: 4px; }
.topnav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.15s;
}
.topnav a:hover { color: var(--text); background: var(--bg-tint); }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.site-lang-switch { flex-shrink: 0; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Nav Drawer (mobile) ── */
.nav-drawer {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(250, 250, 249, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 16px 0 24px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s 0.25s;
}
.nav-drawer.open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s 0s;
}
.nav-drawer a {
  display: block;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.15s;
}
.nav-drawer a:hover { color: var(--text); background: var(--bg-tint); }
.drawer-cta { margin: 12px 20px 0; }
.drawer-cta .btn { width: 100%; justify-content: center; }

/* ── Hero ── */
.hero {
  padding: 80px 0 96px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(108, 71, 255, 0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 214, 10, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-left { max-width: 540px; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid rgba(108, 71, 255, 0.15);
}
.hero h1 { margin-bottom: 20px; }
.hero-sub {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 36px;
  color: var(--text-secondary);
}
.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ── Phone Mockup ── */
.hero-right { display: flex; justify-content: center; position: relative; }
.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  animation: float 4s ease-in-out infinite;
}
.phone-mockup {
  width: 250px;
  height: 520px;
  background: linear-gradient(160deg, #7C5DFA 0%, #6C47FF 40%, #5B35E8 100%);
  border-radius: 44px;
  border: 10px solid #1A1530;
  box-shadow: var(--shadow-phone), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.phone-notch {
  width: 100px;
  height: 28px;
  background: #1A1530;
  border-radius: 0 0 18px 18px;
  margin: 0 auto;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.phone-screen-inner {
  padding: 46px 14px 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phone-mascot { text-align: center; font-size: 48px; margin-bottom: 2px; }
.phone-title {
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.01em;
}
.phone-sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  text-align: center;
  margin-bottom: 6px;
}
.phone-challenge-card {
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 12px 14px;
}
.phone-challenge-label {
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.phone-challenge-title {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.phone-stars-row { display: flex; gap: 3px; margin-top: 8px; }
.phone-star { font-size: 13px; }
.phone-progress-card {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.phone-progress-icon { font-size: 18px; }
.phone-progress-info { flex: 1; }
.phone-progress-title { color: rgba(255, 255, 255, 0.85); font-size: 10px; font-weight: 600; }
.phone-progress-bar-wrap {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  margin-top: 5px;
  overflow: hidden;
}
.phone-progress-bar {
  height: 100%;
  width: 70%;
  background: linear-gradient(90deg, var(--gold), #FFF068);
  border-radius: 2px;
}
.phone-cat-row {
  display: flex;
  gap: 6px;
  overflow: hidden;
}
.phone-cat-chip {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 9px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}
.phone-float-card {
  position: absolute;
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  white-space: nowrap;
  z-index: 2;
}
.phone-float-card.f1 { top: 60px; right: -100px; }
.phone-float-card.f2 { bottom: 100px; left: -100px; }
.float-card-label { font-size: 9px; color: var(--text-muted); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 3px; }
.float-card-value { font-size: 13px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 6px; }

/* ── Proof Band ── */
.proof-band {
  padding: 44px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.proof-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.proof-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 5px;
  font-weight: 500;
}

/* ── Features ── */
.features { background: var(--bg-tint); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
}
.feature-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.fi-purple { background: #EDE9FF; }
.fi-gold   { background: #FFF8D1; }
.fi-green  { background: #E6FAF0; }
.fi-blue   { background: #E3EEFF; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p  { font-size: 0.9375rem; line-height: 1.65; }

/* ── Games ── */
.games { background: linear-gradient(180deg, #F8F6FF 0%, #F4F2FF 100%); }
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.game-card {
  position: relative;
  overflow: hidden;
}
.game-card::before {
  content: '';
  position: absolute;
  top: -70px;
  right: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 71, 255, 0.11) 0%, transparent 70%);
  pointer-events: none;
}
.game-card .feature-icon { margin-bottom: 18px; }
.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 12px;
}
.game-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-tint);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.game-footnote {
  margin-top: 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ── How It Works ── */
.how-it-works { background: var(--bg); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-card { text-align: center; }
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(108, 71, 255, 0.35);
}
.step-card h3 { margin-bottom: 10px; }
.step-card p  { font-size: 0.9375rem; color: var(--text-secondary); }

/* ── Testimonials ── */
.testimonials { background: var(--bg-tint); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-stars { display: flex; gap: 3px; color: var(--gold-muted); font-size: 0.9rem; }
.testimonial-quote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  flex: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
  flex-shrink: 0;
}
.av1 { background: linear-gradient(135deg, #FF6B9D, #C44569); }
.av2 { background: linear-gradient(135deg, #4A90E2, #357ABD); }
.av3 { background: linear-gradient(135deg, #56AB2F, #A8E063); }
.author-name  { font-weight: 600; font-size: 0.875rem; color: var(--text); }
.author-meta  { font-size: 0.8125rem; color: var(--text-muted); }

/* ── FAQ ── */
.faq { background: var(--bg); }
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  transition: background 0.15s;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  width: 100%;
  text-align: left;
}
.faq-question:hover   { background: var(--bg-tint); }
.faq-question.active  { background: var(--bg-tint); }
.faq-chevron {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s;
  font-size: 12px;
  font-weight: 700;
}
.faq-question.active .faq-chevron {
  transform: rotate(180deg);
  background: var(--accent);
  color: #fff;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer.open { max-height: 400px; }
.faq-answer-inner {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.75;
}
.faq-answer-inner a { color: var(--accent); }
.faq-answer-inner a:hover { text-decoration: underline; }

/* ── Dark CTA Section ── */
.cta-section-dark {
  background: var(--bg-dark);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section-dark::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(108, 71, 255, 0.45) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section-dark .eyebrow { color: var(--gold); margin-bottom: 16px; }
.cta-section-dark h2 { color: var(--text-on-dark); margin-bottom: 16px; position: relative; }
.cta-section-dark > .container > p {
  color: var(--text-body-on-dark);
  margin-bottom: 44px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.cta-store-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-on-dark);
  transition: all 0.2s;
  text-decoration: none;
}
.app-badge:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-1px); }
.app-badge-icon { font-size: 28px; }
.app-badge-text { text-align: left; }
.app-badge-sub {
  font-size: 0.6875rem;
  color: var(--text-muted-on-dark);
  font-weight: 400;
  display: block;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.app-badge-name { font-size: 1.0625rem; font-weight: 700; }
.badge-note {
  color: var(--text-muted-on-dark);
  font-size: 0.8125rem;
  margin-top: 20px;
  position: relative;
}

/* ── Footer ── */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 52px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand .logo-mark { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22); }
.footer-brand .logo span { color: var(--text-on-dark); }
.footer-brand > p {
  color: var(--text-body-on-dark);
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 280px;
}
.footer-tagline {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--text-muted-on-dark);
  font-style: italic;
}
.footer-col h4 {
  color: var(--text-on-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--text-body-on-dark);
  font-size: 0.875rem;
  padding: 5px 0;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text-on-dark); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: var(--text-muted-on-dark); font-size: 0.8125rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  color: var(--text-muted-on-dark);
  font-size: 0.8125rem;
  transition: color 0.15s;
}
.footer-bottom-links a:hover { color: var(--text-on-dark); }

/* ── Mobile Sticky Bar ── */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(250, 250, 249, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 12px 20px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}
.mobile-sticky-bar .btn { width: 100%; justify-content: center; }

/* ── Blog Index ── */
.blog-hero {
  padding: 72px 0 64px;
  text-align: center;
  background: var(--bg-tint);
}
.blog-hero .eyebrow { margin-bottom: 12px; }
.blog-hero h1 { margin-bottom: 16px; }
.blog-hero p  { max-width: 500px; margin: 0 auto; font-size: 1.0625rem; }
.blog-section { padding: 64px 0 80px; background: var(--bg); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.blog-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.blog-card-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  overflow: hidden;
  flex-shrink: 0;
}
.blog-card-img.bg1 { background: linear-gradient(135deg, #EDE9FF 0%, #C9BEFF 100%); }
.blog-card-img.bg2 { background: linear-gradient(135deg, #E6FAF0 0%, #A8F0C8 100%); }
.blog-card-img.bg3 { background: linear-gradient(135deg, #FFF8D1 0%, #FFE484 100%); }
.blog-card-img.bg4 { background: linear-gradient(135deg, #E3EEFF 0%, #B5CFFF 100%); }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
  align-self: flex-start;
}
.blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  line-height: 1.4;
  color: var(--text);
}
.blog-card > .blog-card-body > p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 16px;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.blog-read-time { font-size: 0.8125rem; color: var(--text-muted); }
.blog-read-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
}
.blog-read-link:hover { text-decoration: underline; }

/* ── Article ── */
.article-hero {
  padding: 56px 0 48px;
  background: var(--bg-tint);
}
.article-breadcrumb {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.article-breadcrumb a { color: var(--accent); }
.article-breadcrumb a:hover { text-decoration: underline; }
.article-hero .eyebrow { margin-bottom: 14px; }
.article-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 20px;
  max-width: 720px;
}
.article-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.article-meta span { font-size: 0.875rem; color: var(--text-muted); }
.article-meta .sep { color: var(--line-medium); }
.article-body-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.article-body h2 { font-size: 1.5rem; margin: 44px 0 16px; color: var(--text); }
.article-body h3 { font-size: 1.2rem; margin: 32px 0 12px; color: var(--text); }
.article-body p  { margin-bottom: 20px; font-size: 1.0625rem; line-height: 1.8; color: var(--text-secondary); }
.article-body ul, .article-body ol { margin: 0 0 24px 24px; color: var(--text-secondary); }
.article-body li { font-size: 1.0625rem; line-height: 1.75; margin-bottom: 8px; }
.article-body strong { color: var(--text); font-weight: 600; }
.article-body a { color: var(--accent); }
.article-body a:hover { text-decoration: underline; }
.article-cta-box {
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  margin: 40px 0;
}
.article-cta-box p { margin: 0 0 16px; font-size: 1rem; }
.related-section { background: var(--bg-tint); padding: 64px 0; }
.related-section .section-header { margin-bottom: 32px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ── Legal / Support ── */
.legal-page { background: var(--bg-tint); min-height: 100vh; }
.legal-shell { max-width: 760px; margin: 0 auto; padding: 64px 24px 80px; }
.legal-tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.legal-tools .legal-back { margin-bottom: 0; }
.legal-tools .site-lang-switch { margin-top: 0; }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 36px;
  transition: gap 0.15s;
  text-decoration: none;
}
.legal-back:hover { gap: 12px; }
.legal-header { margin-bottom: 40px; }
.legal-header .eyebrow { margin-bottom: 8px; }
.legal-header h1 { font-size: clamp(1.75rem, 3vw, 2.4rem); margin-bottom: 8px; }
.legal-header .updated { font-size: 0.875rem; color: var(--text-muted); }
.legal-content h2 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin: 36px 0 12px; }
.legal-content p  { color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.75; margin-bottom: 16px; }
.legal-content ul { margin: 0 0 16px 20px; color: var(--text-secondary); }
.legal-content li { font-size: 0.9375rem; line-height: 1.7; margin-bottom: 6px; }
.legal-content a  { color: var(--accent); }
.legal-content a:hover { text-decoration: underline; }
.legal-content strong { color: var(--text); font-weight: 600; }

/* ── Support ── */
.support-faq { background: var(--surface); border-radius: var(--radius-md); padding: 32px; border: 1px solid var(--line); margin-bottom: 32px; }
.support-faq h2 { font-size: 1.15rem; margin-bottom: 20px; }
.support-email-box {
  background: var(--bg-feature);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
}
.support-email-icon { font-size: 28px; }
.support-email-info strong { display: block; font-size: 0.875rem; color: var(--text); margin-bottom: 4px; }
.support-email-info a { color: var(--accent); font-size: 0.9375rem; font-weight: 500; }
.support-email-info a:hover { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-right  { order: -1; }
  .hero-left   { max-width: 100%; text-align: center; }
  .hero-badges { justify-content: center; }
  .hero-cta    { justify-content: center; }
  .features-grid      { grid-template-columns: 1fr; }
  .games-grid         { grid-template-columns: 1fr; }
  .testimonials-grid  { grid-template-columns: 1fr; }
  .steps-grid         { grid-template-columns: 1fr; gap: 24px; }
  .proof-grid         { grid-template-columns: repeat(2, 1fr); }
  .footer-inner       { grid-template-columns: 1fr 1fr; }
  .footer-brand       { grid-column: 1 / -1; }
  .phone-float-card   { display: none; }
}

@media (max-width: 760px) {
  .topnav { display: none; }
  .topbar-actions .btn { display: none; }
  .hamburger { display: flex; }
  .section { padding: 64px 0; }
  .blog-grid    { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .mobile-sticky-bar { display: block; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 48px 0 64px; }
  .cta-store-badges { flex-direction: column; align-items: stretch; }
  .app-badge { justify-content: center; }
  .proof-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* ── Animations ── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* ── Utilities ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
