/* ============================================
   BD-OK.APP Design System: Emerald Trust Gaming UI
   Visual Style: Bangladesh Premium Play UI
   ============================================ */

:root {
  --color-primary: #1e3a5f;
  --color-primary-dark: #0f2440;
  --color-primary-soft: #2a4f7a;
  --color-secondary: #16a34a;
  --color-accent: #3b82f6;
  --color-bg: #f0f4f8;
  --color-bg-soft: #e8eef4;
  --color-surface: #ffffff;
  --color-surface-strong: #f8fafc;
  --color-card: #ffffff;
  --color-card-alt: #f1f5f9;
  --color-border: #d1d9e6;
  --color-border-strong: #94a3b8;
  --color-text: #1e293b;
  --color-text-soft: #475569;
  --color-text-muted: #64748b;
  --color-success: #16a34a;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-footer-bg: #0f172a;
  --color-footer-text: #cbd5e1;

  --gradient-hero: linear-gradient(135deg, #1e3a5f 0%, #0f2440 60%, #1a365d 100%);
  --gradient-hero-soft: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
  --gradient-button: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  --gradient-button-hover: linear-gradient(135deg, #15803d 0%, #166534 100%);
  --gradient-card-border: linear-gradient(135deg, #3b82f6, #16a34a);
  --gradient-cta: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
  --gradient-footer: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);

  --shadow-header: 0 2px 20px rgba(30,58,95,.12);
  --shadow-card: 0 4px 24px rgba(30,58,95,.08);
  --shadow-card-hover: 0 8px 32px rgba(30,58,95,.16);
  --shadow-button: 0 4px 14px rgba(22,163,74,.25);
  --shadow-cta: 0 6px 20px rgba(30,58,95,.18);
  --shadow-soft: 0 2px 12px rgba(0,0,0,.06);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --radius-card: 16px;

  --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(28px, 4vw, 48px);
  --fs-h2: clamp(24px, 3vw, 36px);
  --fs-h3: clamp(18px, 2vw, 24px);
  --fs-body: 17px;
  --fs-small: 14px;
  --fs-nav: clamp(13px, .84vw, 15px);
  --lh-heading: 1.3;
  --lh-body: 1.85;

  --container-max: 1200px;
  --container-wide: 1400px;
  --container-narrow: 820px;
  --section-y: clamp(48px, 6vw, 80px);
  --gap-sm: 12px;
  --gap-md: 20px;
  --gap-lg: 32px;
  --header-h: 72px;
  --mobile-header-h: 64px;

  --motion-fast: .15s;
  --motion-normal: .25s;
  --motion-slow: .4s;
  --ease-out: cubic-bezier(.25,.46,.45,.94);
}

/* ---- 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-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-accent); text-decoration: none; transition: color var(--motion-fast); }
a:hover { color: var(--color-primary); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--lh-heading);
  color: var(--color-primary-dark);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); margin-bottom: 18px; }
h3 { font-size: var(--fs-h3); margin-bottom: 12px; }

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

/* ---- CONTAINER ---- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 24px);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(240,244,248,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-header);
}
.header-inner {
  width: 100%;
  max-width: none;
  padding-left: clamp(10px, 1.2vw, 20px);
  padding-right: clamp(10px, 1.2vw, 20px);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(10px, 1vw, 18px);
}
.brand-wrap {
  flex: 0 0 auto;
  margin-right: clamp(4px, .8vw, 14px);
  display: flex;
  align-items: center;
}
.site-logo {
  display: block;
  width: auto;
  height: clamp(32px, 3vw, 42px);
  max-width: clamp(118px, 10vw, 168px);
  object-fit: contain;
}
.primary-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(4px, .6vw, 12px);
  white-space: nowrap;
  overflow: visible;
}
.primary-nav a {
  flex: 0 1 auto;
  min-width: 0;
  padding: 8px clamp(5px, .55vw, 10px);
  font-size: var(--fs-nav);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: all var(--motion-fast);
  text-decoration: none;
}
.primary-nav a:hover,
.primary-nav a.active {
  color: #fff;
  background: var(--color-primary);
}
.header-actions {
  flex: 0 0 auto;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(6px, .6vw, 10px);
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--motion-fast);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.btn-register {
  background: var(--gradient-button);
  color: #fff !important;
  padding: 10px 16px;
  min-height: 42px;
  font-size: 14px;
  box-shadow: var(--shadow-button);
}
.btn-register:hover {
  background: var(--gradient-button-hover);
  transform: translateY(-1px);
  color: #fff !important;
}
.btn-login {
  background: var(--color-primary);
  color: #fff !important;
  padding: 10px 16px;
  min-height: 42px;
  font-size: 14px;
}
.btn-login:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  color: #fff !important;
}

/* Nav Toggle */
.nav-toggle {
  display: none;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-soft);
  margin-left: 2px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--motion-normal);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--mobile-header-h);
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  z-index: 999;
  max-height: calc(100vh - var(--mobile-header-h));
  overflow-y: auto;
  padding: 16px;
}
.mobile-menu.is-open { display: block; }
.mobile-nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--motion-fast);
}
.mobile-nav a:hover { background: var(--color-bg-soft); color: var(--color-primary); }

/* ============================================
   HERO
   ============================================ */
.home-hero {
  padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 5vw, 60px);
  background: var(--gradient-hero);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: radial-gradient(circle, rgba(59,130,246,.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: var(--gap-lg);
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
  backdrop-filter: blur(4px);
}
.hero-content h1 { color: #fff; margin-bottom: 20px; }
.hero-lead { color: rgba(255,255,255,.85); font-size: 17px; line-height: 1.8; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-primary-hero {
  background: var(--gradient-button);
  color: #fff !important;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-button);
  text-decoration: none;
}
.btn-primary-hero:hover { background: var(--gradient-button-hover); transform: translateY(-2px); color: #fff !important; }
.btn-secondary-hero {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff !important;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-md);
  backdrop-filter: blur(4px);
  text-decoration: none;
}
.btn-secondary-hero:hover { background: rgba(255,255,255,.2); color: #fff !important; }

.page-about .btn-secondary-hero {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-color: #fbbf24;
  box-shadow: 0 10px 24px rgba(217,119,6,.24);
}

.page-about .btn-secondary-hero:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.page-home .final-cta .btn-secondary-hero {
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
  border-color: #14b8a6;
  box-shadow: 0 10px 24px rgba(13,148,136,.22);
}

.page-home .final-cta .btn-secondary-hero:hover {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.stat-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  padding: 20px;
  backdrop-filter: blur(4px);
  text-align: center;
}
.stat-card h3 { color: #fff; font-size: 20px; margin-bottom: 6px; }
.stat-card p { color: rgba(255,255,255,.7); font-size: 14px; margin: 0; line-height: 1.5; }

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.content-section {
  padding: var(--section-y) 0;
}
.content-section.alt-bg {
  background: var(--color-bg-soft);
}
.content-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }

.prose { max-width: var(--container-narrow); }
.prose p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text-soft);
  margin-bottom: 18px;
}
.prose h2 { color: var(--color-primary-dark); }
.prose h3 { color: var(--color-primary); }

.section-intro {
  font-size: 17px;
  color: var(--color-text-soft);
  max-width: 800px;
  margin-bottom: 32px;
}

.content-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.content-image img { width: 100%; border-radius: var(--radius-lg); }
.content-image.center-image {
  margin-top: 36px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

/* Info Card */
.info-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-card);
}
.info-card.highlight-card {
  border-left: 5px solid var(--color-accent);
  background: linear-gradient(135deg, #fff 0%, #eef4ff 100%);
}
.info-card p { color: var(--color-text-soft); margin-bottom: 14px; }
.info-card p:last-child { margin-bottom: 0; }

/* Sidebar Card */
.sidebar-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.sidebar-card h3 { color: var(--color-primary); font-size: 20px; }
.sidebar-card ul { padding-left: 0; }
.sidebar-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-soft);
  font-size: 15px;
}
.sidebar-card li:last-child { border-bottom: none; }

/* ============================================
   FEATURE GRID
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: all var(--motion-normal) var(--ease-out);
}
.feature-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
  border-color: var(--color-accent);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eaf1ff, #e0f2fe);
  color: var(--color-accent);
  font-size: 22px;
  margin-bottom: 14px;
}
.feature-card h3 { font-size: 18px; color: var(--color-primary-dark); }
.feature-card p { color: var(--color-text-soft); font-size: 15px; margin: 0; line-height: 1.7; }

/* ============================================
   STEP GRID
   ============================================ */
.step-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.step-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.step-num {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--color-primary);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.step-card h3 { font-size: 18px; color: var(--color-primary-dark); }
.step-card p { color: var(--color-text-soft); font-size: 15px; margin: 0; line-height: 1.7; }

/* ============================================
   PLAN GRID
   ============================================ */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0; }
.plan-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: all var(--motion-normal);
}
.plan-card.featured {
  border: 2px solid var(--color-accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}
.plan-badge {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}
.plan-level {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 16px;
}
.plan-card ul { text-align: left; margin-bottom: 20px; }
.plan-card li {
  padding: 6px 0;
  color: var(--color-text-soft);
  font-size: 15px;
  border-bottom: 1px solid var(--color-border);
}
.plan-card li:last-child { border-bottom: none; }
.btn-plan {
  display: block;
  background: var(--color-primary);
  color: #fff !important;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
}
.btn-plan:hover { background: var(--color-primary-dark); color: #fff !important; }
.btn-plan-accent {
  display: block;
  background: var(--gradient-button);
  color: #fff !important;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
}
.btn-plan-accent:hover { background: var(--gradient-button-hover); color: #fff !important; }

/* ============================================
   GAME SHOWCASE
   ============================================ */
.game-showcase { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin: 24px 0; }
.game-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  transition: all var(--motion-normal);
}
.game-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.game-card h3 { font-size: 17px; }
.game-card h3 a { color: var(--color-primary); text-decoration: none; }
.game-card h3 a:hover { color: var(--color-accent); }
.game-card p { color: var(--color-text-soft); font-size: 14px; margin: 0; line-height: 1.65; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin: 24px 0; }
.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.testimonial-card .rating { color: #f59e0b; font-size: 16px; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card p { color: var(--color-text-soft); font-size: 15px; line-height: 1.75; margin-bottom: 14px; }
.testimonial-card h3 { font-size: 16px; color: var(--color-primary-dark); margin-bottom: 2px; }
.testimonial-card span { color: var(--color-text-muted); font-size: 13px; }

/* ============================================
   FAQ
   ============================================ */
.faq-section { max-width: 800px; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  gap: 12px;
  transition: background var(--motion-fast);
}
.faq-question:hover { background: var(--color-bg-soft); }
.faq-question i {
  font-size: 14px;
  transition: transform var(--motion-normal);
  flex-shrink: 0;
}
.faq-question[aria-expanded="true"] i { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 20px 18px;
}
.faq-answer.is-open { display: block; }
.faq-answer p { color: var(--color-text-soft); font-size: 15px; line-height: 1.75; margin: 0; }

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb-nav { padding: 14px 0; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 14px;
}
.breadcrumb-item { color: var(--color-text-muted); }
.breadcrumb-item a { color: var(--color-accent); text-decoration: none; }
.breadcrumb-item + .breadcrumb-item::before { content: "›"; padding-right: 8px; color: var(--color-text-muted); }
.breadcrumb-item.active { color: var(--color-text); font-weight: 600; }

/* ============================================
   INNER PAGE HERO
   ============================================ */
.inner-hero {
  padding: clamp(40px, 5vw, 60px) 0;
  background: var(--gradient-hero);
  color: #fff;
}
.inner-hero h1 { color: #fff; margin-bottom: 14px; }
.inner-hero p { color: rgba(255,255,255,.8); max-width: 700px; }
.inner-hero .breadcrumb-item, .inner-hero .breadcrumb-item a { color: rgba(255,255,255,.7); }
.inner-hero .breadcrumb-item.active { color: #fff; }
.inner-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }

/* Auth pages */
.auth-hero {
  padding: clamp(30px, 4vw, 50px) 0;
  background: linear-gradient(135deg, #0f2440 0%, #1e3a5f 50%, #2a4f7a 100%);
  color: #fff;
}
.auth-hero h1 { color: #fff; font-size: clamp(24px, 3vw, 36px); }

/* Policy pages */
.policy-hero {
  padding: clamp(30px, 4vw, 50px) 0;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: #fff;
}
.policy-hero h1 { color: #fff; font-size: clamp(24px, 3vw, 36px); }

/* ============================================
   FORM STYLES (Login/Register)
   ============================================ */
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.auth-form-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text);
  margin-bottom: 6px;
}
.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: inherit;
  transition: border-color var(--motion-fast);
  background: var(--color-surface);
  color: var(--color-text);
}
.form-group input:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.btn-form-submit {
  width: 100%;
  padding: 14px;
  background: var(--gradient-button);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--motion-fast);
}
.btn-form-submit:hover { background: var(--gradient-button-hover); }

.auth-trust-card {
  background: var(--color-card-alt);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--color-border);
}
.auth-trust-card h3 { color: var(--color-primary); }

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 28px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--gradient-footer);
  color: var(--color-footer-text);
  padding-top: 60px;
}
.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 24px);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}
.footer-brand img { height: 40px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: var(--color-footer-text); font-size: 14px; line-height: 1.7; margin-bottom: 10px; }
.footer-links-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer-col ul { padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--color-footer-text); font-size: 14px; text-decoration: none; transition: color var(--motion-fast); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px clamp(16px, 3vw, 24px);
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.5); margin: 0; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1180px) {
  .primary-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-inner {
    padding-left: clamp(8px, 2.4vw, 14px);
    padding-right: clamp(8px, 2.4vw, 14px);
    min-height: var(--mobile-header-h);
  }
  .brand-wrap { flex: 0 1 auto; margin-right: 0; }
  .site-logo { height: clamp(30px, 8vw, 40px); max-width: clamp(104px, 27vw, 138px); }
  .header-actions {
    margin-left: auto;
    gap: clamp(5px, 1.6vw, 8px);
  }
  .btn-register, .btn-login {
    min-height: 38px;
    padding: 8px clamp(10px, 2.6vw, 14px);
    font-size: clamp(12px, 3.2vw, 14px);
  }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .content-grid.reverse { direction: ltr; }
  .step-grid { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card.featured { transform: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-links-group { grid-template-columns: repeat(2, 1fr); }
  .auth-layout { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; }
  .game-showcase { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-links-group { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 375px) {
  .header-inner { padding-left: 8px; padding-right: 8px; gap: 6px; }
  .site-logo { max-width: 104px; }
  .btn-register, .btn-login { min-height: 36px; padding: 6px 8px; font-size: 12px; }
  .nav-toggle { flex-basis: 38px; width: 38px; height: 38px; }
  body { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* Swiper fallback */
.swiper:not(.swiper-initialized) { overflow-x: auto; display: flex; gap: 16px; scroll-snap-type: x mandatory; }
.swiper:not(.swiper-initialized) .swiper-slide { scroll-snap-align: start; flex: 0 0 280px; }
