/* ═══════════════════════════════════════════════════════
   5666bet — Emerald Trust Gaming UI
   Design System: Original, Bangladesh-market, SEO-first
   ═══════════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --color-primary: #0d9668;
  --color-primary-dark: #087a54;
  --color-primary-soft: rgba(13,150,104,.12);
  --color-secondary: #1a73e8;
  --color-accent: #f5a623;
  --color-bg: #f7f8fa;
  --color-bg-soft: #eef1f5;
  --color-surface: #ffffff;
  --color-surface-strong: #f0f4f3;
  --color-card: #ffffff;
  --color-card-alt: #f4faf7;
  --color-border: #d8e0dc;
  --color-border-strong: #b0c4b8;
  --color-text: #1a2b23;
  --color-text-soft: #3d5a4a;
  --color-text-muted: #6b7f73;
  --color-success: #22c55e;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-footer-bg: #0f1f18;
  --color-footer-text: #a8c4b6;

  --gradient-hero: linear-gradient(135deg, #0a2e1f 0%, #0d3d2a 40%, #114a33 100%);
  --gradient-hero-soft: linear-gradient(180deg, rgba(13,150,104,.08) 0%, transparent 60%);
  --gradient-button: linear-gradient(135deg, #0d9668, #0bb577);
  --gradient-button-hover: linear-gradient(135deg, #087a54, #0d9668);
  --gradient-card-border: linear-gradient(135deg, rgba(13,150,104,.3), rgba(26,115,232,.2));
  --gradient-cta: linear-gradient(135deg, #0a2e1f, #1a4a33);
  --gradient-footer: linear-gradient(180deg, #0f1f18, #0a1710);

  --shadow-header: 0 2px 20px rgba(0,0,0,.08);
  --shadow-card: 0 2px 12px rgba(0,0,0,.06);
  --shadow-card-hover: 0 8px 28px rgba(13,150,104,.12);
  --shadow-button: 0 2px 8px rgba(13,150,104,.2);
  --shadow-cta: 0 4px 20px rgba(0,0,0,.1);
  --shadow-menu: 0 8px 32px rgba(0,0,0,.15);
  --shadow-soft: 0 1px 4px rgba(0,0,0,.04);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --radius-card: 14px;
  --radius-image: 12px;

  --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans Bengali", sans-serif;
  --font-heading: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans Bengali", sans-serif;
  --fs-h1: clamp(1.75rem, 4vw, 2.75rem);
  --fs-h2: clamp(1.35rem, 3vw, 2rem);
  --fs-h3: clamp(1.1rem, 2vw, 1.5rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-nav: 0.9rem;
  --fs-button: 0.95rem;
  --lh-heading: 1.3;
  --lh-body: 1.8;
  --lh-readable: 1.9;

  --container-max: 1180px;
  --container-wide: 1320px;
  --container-narrow: 780px;
  --section-y: 72px;
  --section-y-sm: 48px;
  --section-y-lg: 96px;
  --gap-xs: 6px;
  --gap-sm: 12px;
  --gap-md: 20px;
  --gap-lg: 32px;
  --gap-xl: 48px;
  --header-h: 72px;
  --mobile-header-h: 64px;
  --card-padding: 1.5rem;

  --motion-fast: 150ms;
  --motion-normal: 250ms;
  --motion-slow: 400ms;
  --ease-out: cubic-bezier(.25,.46,.45,.94);
  --ease-soft: cubic-bezier(.4,0,.2,1);
}

/* ── RESET ── */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-base);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--motion-fast) var(--ease-out); }
a:hover { color: var(--color-primary-dark); }
button { cursor: pointer; font-family: inherit; }
:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; border-radius: var(--radius-xs); }

/* ── CONTAINER ── */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 20px; }

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 1000; width: 100%;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--motion-normal) var(--ease-out);
}
.site-header.scrolled { box-shadow: var(--shadow-header); }
.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0 20px;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}
.brand-wrap {
  width: 168px; min-width: 168px; max-width: 168px; height: 56px;
  display: flex; align-items: center; overflow: hidden;
}
.brand-logo {
  display: block; width: 168px; max-width: 100%; height: auto;
  max-height: 56px; object-fit: contain;
}
.primary-nav {
  min-width: 0; display: flex; align-items: center;
  justify-content: center; gap: clamp(8px, 1.1vw, 20px);
  overflow: visible; flex-wrap: nowrap;
}
.primary-nav a {
  white-space: nowrap; flex: 0 1 auto; max-width: 128px;
  overflow: hidden; text-overflow: ellipsis; line-height: 1;
  padding: 10px 6px; font-size: var(--fs-nav); font-weight: 500;
  color: var(--color-text-soft);
  transition: color var(--motion-fast) var(--ease-out);
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover { color: var(--color-primary); }
.primary-nav a.active {
  color: var(--color-primary); font-weight: 600;
  border-bottom-color: var(--color-primary);
}
.header-actions {
  flex-shrink: 0; display: flex; align-items: center;
  gap: 10px; white-space: nowrap;
}
.btn { display: inline-flex; align-items: center; justify-content: center;
  font-size: var(--fs-button); font-weight: 600; border: none;
  border-radius: var(--radius-sm); padding: 0 18px; min-height: 42px;
  cursor: pointer; transition: all var(--motion-fast) var(--ease-out);
  text-decoration: none; white-space: nowrap; line-height: 1;
}
.btn-register {
  background: var(--gradient-button); color: #fff;
  box-shadow: var(--shadow-button);
}
.btn-register:hover {
  background: var(--gradient-button-hover); color: #fff;
  transform: translateY(-1px); box-shadow: 0 4px 14px rgba(13,150,104,.25);
}
.btn-login {
  background: transparent; color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-login:hover {
  background: var(--color-primary-soft); color: var(--color-primary-dark);
}
.nav-toggle {
  display: none; width: 44px; height: 44px;
  background: none; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--color-text);
}

/* ── MORE MENU ── */
.nav-more { position: relative; flex: 0 0 auto; }
.more-toggle {
  min-height: 38px; padding: 0 12px; border: 1px solid var(--color-border);
  border-radius: var(--radius-pill); cursor: pointer; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: var(--fs-small); font-weight: 500; background: var(--color-surface);
  color: var(--color-text-soft); gap: 4px;
  transition: all var(--motion-fast) var(--ease-out);
}
.more-toggle:hover { border-color: var(--color-primary); color: var(--color-primary); }
.more-menu {
  position: absolute; top: calc(100% + 12px); right: 0; min-width: 220px;
  padding: 10px; border-radius: var(--radius-lg); z-index: 1200;
  background: var(--color-surface); border: 1px solid var(--color-border);
  box-shadow: var(--shadow-menu);
}
.more-menu[hidden] { display: none !important; }
.nav-more.is-open .more-menu { display: grid; gap: 2px; }
.more-menu a,
.primary-nav .more-menu a {
  display: block; width: 100%; max-width: none; padding: 11px 14px;
  white-space: nowrap; text-overflow: ellipsis; overflow: hidden;
  font-size: var(--fs-small); color: var(--color-text-soft);
  border-radius: var(--radius-sm); border-bottom: none;
  transition: background var(--motion-fast), color var(--motion-fast);
}
.more-menu a:hover,
.primary-nav .more-menu a:hover { background: var(--color-primary-soft); color: var(--color-primary); }

/* ═══════════════════════════════════════════
   HERO VARIANTS
   ═══════════════════════════════════════════ */
/* Home Hero */
.home-hero {
  background: var(--gradient-hero); color: #fff;
  padding: var(--section-y-lg) 0; position: relative; overflow: hidden;
}
.home-hero::before {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(13,150,104,.18) 0%, transparent 70%);
  pointer-events: none;
}
.home-hero .hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: var(--gap-xl); align-items: center;
}
.home-hero .hero-badge {
  display: inline-block; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2); color: var(--color-accent);
  font-size: 0.82rem; font-weight: 600; padding: 6px 16px;
  border-radius: var(--radius-pill); margin-bottom: 16px;
}
.home-hero h1 { font-size: var(--fs-h1); font-weight: 800; line-height: var(--lh-heading); color: #fff; margin-bottom: 16px; }
.home-hero h1 em { font-style: normal; color: var(--color-accent); }
.home-hero .hero-lead { color: rgba(255,255,255,.75); font-size: 1.05rem; line-height: 1.7; margin-bottom: 24px; }
.hero-cta-group { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 1.6rem; font-weight: 800; color: var(--color-accent); }
.hero-stat-label { font-size: 0.78rem; color: rgba(255,255,255,.55); }
.hero-img { border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,.1); }

/* Inner page hero */
.page-hero {
  background: var(--gradient-hero); color: #fff;
  padding: 56px 0 48px; text-align: center;
}
.page-hero h1 { font-size: var(--fs-h1); font-weight: 800; line-height: var(--lh-heading); margin-bottom: 12px; }
.page-hero .hero-lead { color: rgba(255,255,255,.7); max-width: 640px; margin: 0 auto 20px; }
.page-hero .breadcrumb { display: flex; gap: 8px; justify-content: center; font-size: var(--fs-small); color: rgba(255,255,255,.5); margin-bottom: 16px; flex-wrap: wrap; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.65); }
.page-hero .breadcrumb a:hover { color: #fff; }

/* Game hero (split) */
.game-hero {
  background: var(--gradient-hero); color: #fff;
  padding: 64px 0 56px; overflow: hidden;
}
.game-hero .hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--gap-xl); align-items: center; }

/* Auth hero */
.auth-hero {
  background: var(--gradient-hero); color: #fff;
  padding: 56px 0; overflow: hidden;
}
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-xl); align-items: start; max-width: var(--container-max); margin: 0 auto; padding: 0 20px; }

/* Policy hero */
.policy-hero { background: var(--gradient-hero); color: #fff; padding: 48px 0 40px; text-align: center; }

/* FAQ hero */
.faq-hero { background: var(--gradient-hero); color: #fff; padding: 56px 0; text-align: center; }

/* ═══════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════ */
.section { padding: var(--section-y) 0; }
.section-alt { background: var(--color-bg-soft); }
.section-title { font-size: var(--fs-h2); font-weight: 800; color: var(--color-text); margin-bottom: 8px; line-height: var(--lh-heading); }
.section-subtitle { color: var(--color-text-muted); font-size: 1rem; margin-bottom: 2rem; }
.section-bar { width: 48px; height: 4px; background: var(--color-primary); border-radius: 2px; margin: 8px 0 16px; }
.text-center .section-bar { margin: 8px auto 16px; }

/* ═══════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════ */
.feature-card {
  background: var(--color-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-card); padding: var(--card-padding);
  transition: transform var(--motion-normal) var(--ease-out), box-shadow var(--motion-normal) var(--ease-out), border-color var(--motion-normal);
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); border-color: var(--color-primary); }
.feature-card .card-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--color-primary-soft); display: flex; align-items: center;
  justify-content: center; font-size: 1.4rem; color: var(--color-primary); margin-bottom: 14px;
}
.feature-card h3, .feature-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--color-text); }
.feature-card p { color: var(--color-text-muted); font-size: var(--fs-small); line-height: 1.65; }

.trust-card {
  background: var(--color-card-alt); border: 1px solid var(--color-border);
  border-radius: var(--radius-card); padding: var(--card-padding); text-align: center;
}
.guide-card {
  background: var(--color-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-card); padding: var(--card-padding);
  display: flex; align-items: flex-start; gap: 16px;
}
.step-card {
  background: var(--color-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-card); padding: var(--card-padding); text-align: center;
  position: relative;
}
.step-number {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gradient-button); color: #fff;
  font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.game-card {
  background: var(--color-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-card); overflow: hidden;
  transition: transform var(--motion-normal) var(--ease-out), box-shadow var(--motion-normal);
}
.game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.game-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.game-card .card-body { padding: 16px; }
.game-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.game-card p { font-size: var(--fs-small); color: var(--color-text-muted); margin-bottom: 10px; }

.benefit-card {
  background: linear-gradient(135deg, var(--color-card-alt), var(--color-surface));
  border: 1px solid var(--color-border); border-radius: var(--radius-card);
  padding: var(--card-padding); display: flex; gap: 14px; align-items: flex-start;
}
.security-card {
  background: var(--color-surface); border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
}
.review-card {
  background: var(--color-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-card); padding: var(--card-padding);
}
.review-card .stars { color: var(--color-accent); margin-bottom: 10px; }
.review-card .quote { font-style: italic; color: var(--color-text-soft); margin-bottom: 12px; line-height: 1.7; }
.review-card .author { font-weight: 700; font-size: var(--fs-small); }

/* ═══════════════════════════════════════════
   GRID SYSTEMS
   ═══════════════════════════════════════════ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-md); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-md); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-md); }
.split-content { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--gap-xl); align-items: center; }
.split-content.reverse { grid-template-columns: 0.9fr 1.1fr; }

/* ═══════════════════════════════════════════
   CTA VARIANTS
   ═══════════════════════════════════════════ */
.cta-banner {
  background: var(--gradient-cta); color: #fff;
  padding: 56px 0; text-align: center;
}
.cta-banner h2 { font-size: var(--fs-h2); font-weight: 800; margin-bottom: 12px; color: #fff; }
.cta-banner p { color: rgba(255,255,255,.7); max-width: 540px; margin: 0 auto 24px; }
.cta-banner .btn-register { background: var(--color-accent); color: #1a2b23; }
.cta-banner .btn-register:hover { background: #e6951a; }
.inline-cta { background: var(--color-primary-soft); border-radius: var(--radius-lg); padding: 32px; }

.btn-primary {
  background: var(--gradient-button); color: #fff;
  box-shadow: var(--shadow-button);
}
.btn-primary:hover { background: var(--gradient-button-hover); transform: translateY(-1px); color: #fff; }
.btn-outline {
  background: transparent; color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary-soft); }
.btn-accent { background: var(--color-accent); color: #1a2b23; font-weight: 700; }
.btn-accent:hover { background: #e6951a; }

/* ═══════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════ */
.faq-group { margin-bottom: var(--gap-lg); }
.faq-group-title { font-size: var(--fs-h3); font-weight: 700; margin-bottom: 16px; color: var(--color-text); }
.faq-item {
  border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  margin-bottom: 8px; overflow: hidden; background: var(--color-surface);
}
.faq-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; background: none; border: none;
  font-size: 0.95rem; font-weight: 600; color: var(--color-text);
  text-align: left; gap: 12px; cursor: pointer;
  transition: color var(--motion-fast);
}
.faq-trigger:hover { color: var(--color-primary); }
.faq-trigger .faq-icon {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--color-primary-soft); display: flex; align-items: center;
  justify-content: center; font-size: 0.8rem; color: var(--color-primary);
  transition: transform var(--motion-normal) var(--ease-out);
}
.faq-item.open .faq-trigger .faq-icon { transform: rotate(180deg); }
.faq-item.open .faq-trigger { color: var(--color-primary); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height var(--motion-slow) var(--ease-soft);
}
.faq-answer-inner {
  padding: 0 20px 16px; color: var(--color-text-muted);
  line-height: var(--lh-readable); font-size: var(--fs-small);
}

/* ═══════════════════════════════════════════
   FORM (Auth pages)
   ═══════════════════════════════════════════ */
.auth-form-card {
  background: var(--color-surface); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-card);
}
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: var(--fs-small); font-weight: 600; margin-bottom: 6px; color: var(--color-text); }
.form-input {
  width: 100%; padding: 12px 16px; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); font-size: var(--fs-body);
  background: var(--color-bg); color: var(--color-text);
  transition: border-color var(--motion-fast), box-shadow var(--motion-fast);
}
.form-input:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-soft); outline: none; }
.form-btn {
  width: 100%; min-height: 48px; background: var(--gradient-button);
  color: #fff; border: none; border-radius: var(--radius-sm);
  font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: all var(--motion-fast);
}
.form-btn:hover { background: var(--gradient-button-hover); }
.form-help { font-size: var(--fs-small); color: var(--color-text-muted); margin-top: 12px; text-align: center; }

/* ═══════════════════════════════════════════
   TABLE
   ═══════════════════════════════════════════ */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table {
  width: 100%; border-collapse: collapse; font-size: var(--fs-small);
}
.data-table th {
  background: var(--color-primary); color: #fff; font-weight: 600;
  padding: 12px 16px; text-align: left; white-space: nowrap;
}
.data-table td {
  padding: 12px 16px; border-bottom: 1px solid var(--color-border);
  color: var(--color-text-soft); vertical-align: middle;
}
.data-table tr:hover td { background: var(--color-primary-soft); }
.data-table .check-yes { color: var(--color-success); }
.data-table .check-no { color: var(--color-danger); }

/* ═══════════════════════════════════════════
   BREADCRUMB
   ═══════════════════════════════════════════ */
.breadcrumb-nav {
  font-size: var(--fs-small); color: rgba(255,255,255,.5);
  margin-bottom: 16px;
}
.breadcrumb-nav a { color: rgba(255,255,255,.65); }
.breadcrumb-nav a:hover { color: #fff; }

/* ═══════════════════════════════════════════
   ARTICLE / PROSE
   ═══════════════════════════════════════════ */
.prose { max-width: var(--container-narrow); }
.prose h2 { font-size: var(--fs-h2); font-weight: 800; margin: 2rem 0 0.75rem; line-height: var(--lh-heading); }
.prose h3 { font-size: var(--fs-h3); font-weight: 700; margin: 1.5rem 0 0.5rem; }
.prose p { margin-bottom: 1rem; line-height: var(--lh-readable); color: var(--color-text-soft); }
.prose ul, .prose ol { margin: 0 0 1rem 1.5rem; color: var(--color-text-soft); }
.prose li { margin-bottom: 0.4rem; line-height: 1.7; }
.prose img { border-radius: var(--radius-image); margin: 1.5rem 0; }

/* Policy layout */
.policy-layout { display: grid; grid-template-columns: 220px 1fr; gap: var(--gap-xl); padding: var(--section-y) 0; }
.policy-toc { position: sticky; top: 90px; }
.policy-toc a { display: block; padding: 6px 0; font-size: var(--fs-small); color: var(--color-text-muted); }
.policy-toc a:hover { color: var(--color-primary); }
.policy-body { max-width: var(--container-narrow); }
.policy-note {
  background: var(--color-primary-soft); border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px; margin-bottom: 24px;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer {
  background: var(--gradient-footer); color: var(--color-footer-text);
  padding: 56px 0 24px; border-top: 3px solid var(--color-primary);
}
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: var(--gap-xl); }
.footer-brand-text { font-size: var(--fs-small); line-height: 1.7; margin-bottom: 12px; color: var(--color-footer-text); }
.footer-heading { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--color-footer-text); font-size: var(--fs-small); transition: color var(--motion-fast); }
.footer-links a:hover { color: var(--color-accent); }
.footer-bottom {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center; font-size: 0.8rem; color: rgba(255,255,255,.35);
}
.footer-warning {
  background: rgba(255,255,255,.04); border-radius: var(--radius-sm);
  padding: 12px 16px; margin-top: 12px; font-size: 0.78rem;
  color: rgba(255,255,255,.4); line-height: 1.6;
}

/* ═══════════════════════════════════════════
   MOBILE MENU
   ═══════════════════════════════════════════ */
.mobile-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4);
  z-index: 1050;
}
.mobile-overlay.is-open { display: block; }

/* ═══════════════════════════════════════════
   TRUST STRIP
   ═══════════════════════════════════════════ */
.trust-strip {
  background: var(--color-surface); border-bottom: 1px solid var(--color-border);
  padding: 14px 0;
}
.trust-strip-inner { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: var(--fs-small); color: var(--color-text-muted); }
.trust-item i { color: var(--color-primary); font-size: 1.1rem; }

/* ═══════════════════════════════════════════
   COMPARISON BANNER
   ═══════════════════════════════════════════ */
.compare-section { background: var(--color-card-alt); }

/* ═══════════════════════════════════════════
   PRIVACY CALLOUT
   ═══════════════════════════════════════════ */
.privacy-callout {
  background: var(--color-primary-soft); border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px 28px; display: flex; gap: 16px; align-items: flex-start;
}
.privacy-callout i { font-size: 1.6rem; color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }

/* ═══════════════════════════════════════════
   DEGRADE & ACCESSIBILITY
   ═══════════════════════════════════════════ */
.swiper:not(.swiper-initialized) { overflow-x: auto; display: flex; gap: 16px; scroll-snap-type: x mandatory; }
.swiper:not(.swiper-initialized) .swiper-slide { flex: 0 0 280px; scroll-snap-align: start; }
[data-aos] { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --section-y: 48px; --section-y-lg: 64px; }
  .header-inner {
    min-height: var(--mobile-header-h);
    grid-template-columns: 140px 1fr auto; gap: 10px;
  }
  .brand-wrap { width: 140px; min-width: 140px; max-width: 140px; height: 48px; }
  .brand-logo { width: 140px; max-height: 42px; }
  .primary-nav {
    position: fixed; left: 12px; right: 12px; top: 72px;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 14px; border-radius: var(--radius-lg);
    max-height: calc(100vh - 96px); overflow-y: auto;
    background: var(--color-surface); border: 1px solid var(--color-border);
    box-shadow: var(--shadow-menu); z-index: 1100;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { max-width: none; width: 100%; padding: 14px 12px; text-overflow: initial; border-bottom: none; font-size: 1rem; }
  .header-actions { gap: 6px; }
  .header-actions .btn { min-height: 38px; padding: 0 12px; font-size: 0.85rem; }
  .nav-toggle { display: inline-flex; }
  .nav-more { display: none !important; }

  .home-hero .hero-grid,
  .game-hero .hero-grid,
  .split-content,
  .split-content.reverse { grid-template-columns: 1fr; }
  .auth-layout { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .policy-layout { grid-template-columns: 1fr; }
  .policy-toc { position: static; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
}

@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.2rem; }
  .trust-strip-inner { gap: 1rem; }
}

@media (max-width: 414px) {
  .container { padding: 0 16px; }
  .header-inner { padding: 0 12px; }
  .header-actions .btn { min-height: 36px; padding: 0 10px; font-size: 0.8rem; }
  .home-hero { padding: 40px 0 32px; }
  .cta-banner { padding: 40px 0; }
}

@media (max-width: 375px) {
  body { font-size: 0.95rem; }
  .brand-wrap { width: 120px; min-width: 120px; max-width: 120px; }
  .brand-logo { width: 120px; }
  .header-actions .btn { font-size: 0.75rem; padding: 0 8px; min-height: 34px; }
  .home-hero h1 { font-size: 1.5rem; }
}
