/* ============================================================
   Design System: Emerald Trust Gaming UI
   Visual Style: Premium, trust-focused, Bangladesh market
   ============================================================ */

:root {
  /* Color Tokens */
  --color-primary: #1a5632;
  --color-primary-dark: #0e3a20;
  --color-primary-soft: #e8f5ee;
  --color-secondary: #b8860b;
  --color-accent: #2e8b57;
  --color-bg: #f7f9f8;
  --color-bg-soft: #eef3f0;
  --color-surface: #ffffff;
  --color-surface-strong: #f0f5f2;
  --color-card: #ffffff;
  --color-card-alt: #f5faf7;
  --color-border: #d4e2da;
  --color-border-strong: #a3c4b3;
  --color-text: #1a2e23;
  --color-text-soft: #3d5a4a;
  --color-text-muted: #6b8f7a;
  --color-success: #27ae60;
  --color-warning: #f39c12;
  --color-danger: #e74c3c;
  --color-footer-bg: #0e2a1a;
  --color-footer-text: #c8ddd0;

  /* Gradient Tokens */
  --gradient-hero: linear-gradient(135deg, #0e3a20 0%, #1a5632 40%, #2e8b57 100%);
  --gradient-hero-soft: linear-gradient(180deg, #e8f5ee 0%, #f7f9f8 100%);
  --gradient-button: linear-gradient(135deg, #b8860b 0%, #d4a017 100%);
  --gradient-button-hover: linear-gradient(135deg, #a07608 0%, #c49515 100%);
  --gradient-card-border: linear-gradient(135deg, #d4e2da, #a3c4b3);
  --gradient-card-bg: linear-gradient(180deg, #ffffff 0%, #f5faf7 100%);
  --gradient-cta: linear-gradient(135deg, #1a5632 0%, #2e8b57 100%);
  --gradient-footer: linear-gradient(180deg, #0e2a1a 0%, #071a0f 100%);
  --gradient-mobile-menu: linear-gradient(180deg, #f0f5f2 0%, #ffffff 100%);
  --gradient-form-panel: linear-gradient(135deg, #f5faf7 0%, #e8f5ee 100%);

  /* Shadow Tokens */
  --shadow-header: 0 2px 20px rgba(14,42,26,.08);
  --shadow-card: 0 4px 24px rgba(26,86,50,.06);
  --shadow-card-hover: 0 12px 36px rgba(26,86,50,.12);
  --shadow-button: 0 4px 16px rgba(184,134,11,.2);
  --shadow-cta: 0 8px 32px rgba(26,86,50,.15);
  --shadow-menu: 0 12px 48px rgba(14,42,26,.15);
  --shadow-form: 0 4px 20px rgba(26,86,50,.08);
  --shadow-footer: 0 -4px 24px rgba(0,0,0,.1);
  --shadow-soft: 0 2px 12px rgba(26,86,50,.04);
  --shadow-mobile: 0 4px 16px rgba(14,42,26,.1);

  /* Radius Tokens */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --radius-card: 16px;
  --radius-image: 12px;
  --radius-form: 10px;
  --radius-section: 0;

  /* Typography Tokens */
  --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-h1: clamp(28px, 4vw, 48px);
  --fs-h2: clamp(22px, 3vw, 36px);
  --fs-h3: clamp(18px, 2.2vw, 26px);
  --fs-body: 17px;
  --fs-small: 14px;
  --fs-nav: clamp(13px, .84vw, 15px);
  --fs-button: 15px;
  --lh-heading: 1.3;
  --lh-body: 1.8;
  --lh-readable: 1.9;

  /* Spacing Tokens */
  --container-max: 1200px;
  --container-wide: 1400px;
  --container-narrow: 780px;
  --section-y: clamp(48px, 6vw, 80px);
  --section-y-sm: clamp(32px, 4vw, 56px);
  --section-y-lg: clamp(64px, 8vw, 100px);
  --gap-xs: 6px;
  --gap-sm: 12px;
  --gap-md: 20px;
  --gap-lg: 32px;
  --gap-xl: 48px;
  --header-h: 72px;
  --mobile-header-h: 60px;
  --card-padding: clamp(16px, 2vw, 28px);
  --form-padding: clamp(20px, 3vw, 40px);
  --footer-padding: clamp(40px, 5vw, 72px);

  /* Motion Tokens */
  --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 & Base
   ============================================================ */
*, *::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; border-radius: var(--radius-image); }
a { color: var(--color-primary); text-decoration: none; transition: color var(--motion-fast) var(--ease-soft); }
a:hover { color: var(--color-accent); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: transparent; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: var(--lh-heading); color: var(--color-text); font-weight: 700; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); margin-bottom: 18px; }
h3 { font-size: var(--fs-h3); margin-bottom: 12px; }
p { margin-bottom: 16px; }

: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); }
.container-wide { max-width: var(--container-wide); }
.container-narrow { max-width: var(--container-narrow); }

/* ============================================================
   HEADER — Emerald Trust Bar
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-header);
  transition: box-shadow var(--motion-normal) var(--ease-soft);
}
.site-header.scrolled { box-shadow: 0 4px 28px rgba(14,42,26,.12); }

.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-soft);
  border-radius: var(--radius-sm);
  transition: color var(--motion-fast), background var(--motion-fast);
  text-decoration: none;
}
.primary-nav a:hover,
.primary-nav a.active {
  color: var(--color-primary);
  background: var(--color-primary-soft);
}

.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;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  background: var(--color-surface-strong);
  transition: background var(--motion-fast);
}
.nav-toggle:hover { background: var(--color-primary-soft); }
.nav-toggle svg { width: 22px; height: 22px; }

/* Mobile Menu */
#mobile-menu {
  display: none;
  position: fixed;
  top: var(--mobile-header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(12px);
  z-index: 999;
  padding: 20px;
  overflow-y: auto;
  flex-direction: column;
  gap: 4px;
}
#mobile-menu.is-open { display: flex; }
#mobile-menu a {
  display: block;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: background var(--motion-fast);
}
#mobile-menu a:hover { background: var(--color-primary-soft); color: var(--color-primary); }

@media (max-width: 1180px) {
  .site-header .header-inner {
    width: 100%;
    max-width: none;
    padding-left: clamp(8px, 2.4vw, 14px);
    padding-right: clamp(8px, 2.4vw, 14px);
    min-height: var(--mobile-header-h);
    justify-content: flex-start;
    gap: clamp(6px, 1.8vw, 10px);
  }
  .brand-wrap { flex: 0 1 auto; margin-right: 0; }
  .site-logo { height: clamp(30px, 8vw, 40px); max-width: clamp(104px, 27vw, 138px); }
  .primary-nav { display: none; }
  .header-actions { margin-left: auto; flex: 0 0 auto; }
  .nav-toggle {
    display: inline-flex;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    margin-left: 2px;
  }
}

@media (max-width: 375px) {
  .site-header .header-inner { padding-left: 8px; padding-right: 8px; gap: 6px; }
  .site-logo { max-width: 104px; }
  .nav-toggle { flex-basis: 38px; width: 38px; height: 38px; }
}

/* ============================================================
   HERO Variants
   ============================================================ */
/* Home Hero — Strong visual */
.home-hero {
  padding: var(--section-y-lg) 0 var(--section-y);
  background: var(--gradient-hero);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(46,139,87,.3) 0%, transparent 70%);
  border-radius: 50%;
}
.home-hero .hero-content { position: relative; z-index: 2; }
.home-hero h1 { color: #fff; margin-bottom: 20px; max-width: 780px; }
.home-hero .hero-lead { font-size: clamp(16px, 1.8vw, 20px); opacity: .9; margin-bottom: 28px; max-width: 640px; line-height: 1.7; }
.home-hero .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.home-hero .hero-img { border-radius: var(--radius-lg); box-shadow: 0 16px 48px rgba(0,0,0,.2); }
.home-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-lg); align-items: center; }

/* Inner Hero — Breadcrumb + Title */
.inner-title-bar {
  padding: clamp(28px, 4vw, 48px) 0 clamp(20px, 3vw, 36px);
  background: var(--gradient-hero-soft);
  border-bottom: 1px solid var(--color-border);
}
.inner-title-bar h1 { margin-bottom: 12px; }
.inner-title-bar .lead { color: var(--color-text-soft); font-size: clamp(15px, 1.6vw, 18px); max-width: 720px; }

/* Category Hero — Gradient accent */
.category-title-bar {
  padding: clamp(32px, 4.5vw, 56px) 0;
  background: var(--gradient-hero);
  color: #fff;
}
.category-title-bar h1 { color: #fff; margin-bottom: 14px; }
.category-title-bar .lead { color: rgba(255,255,255,.85); font-size: clamp(15px, 1.6vw, 18px); max-width: 720px; }

/* Auth Hero — Form focused */
.auth-title-bar {
  padding: clamp(24px, 3vw, 40px) 0;
  background: var(--gradient-form-panel);
  border-bottom: 1px solid var(--color-border);
}

/* Policy Hero — Minimal */
.policy-title-bar {
  padding: clamp(24px, 3vw, 40px) 0;
  background: var(--color-surface-strong);
  border-bottom: 1px solid var(--color-border);
}
.policy-title-bar .updated-date {
  display: inline-block;
  padding: 6px 14px;
  background: var(--color-primary-soft);
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 12px;
}

/* FAQ Hero — Question focused */
.faq-title-bar {
  padding: clamp(28px, 4vw, 48px) 0;
  background: linear-gradient(135deg, #e8f5ee 0%, #f0f5f2 50%, #f7f9f8 100%);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

@media (max-width: 768px) {
  .home-hero { padding: clamp(36px, 8vw, 56px) 0 var(--section-y-sm); }
  .home-hero-grid { grid-template-columns: 1fr; gap: var(--gap-md); }
  .home-hero .hero-img { max-height: 280px; object-fit: cover; width: 100%; }
}

/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: var(--fs-small);
  margin-bottom: 14px;
  color: var(--color-text-muted);
}
.breadcrumb a { color: var(--color-primary); font-weight: 500; }
.breadcrumb .sep { margin: 0 2px; }

/* ============================================================
   Content Sections
   ============================================================ */
.content-section { padding: var(--section-y) 0; }
.content-section:nth-child(even) { background: var(--color-surface-strong); }
.content-section.alt-bg { background: var(--color-primary-soft); }

.section-header { margin-bottom: var(--gap-lg); }
.section-header h2 { position: relative; }
.section-header .section-lead { color: var(--color-text-soft); font-size: clamp(15px, 1.5vw, 17px); max-width: 680px; }

.eyebrow {
  display: inline-block;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Prose */
.prose { max-width: var(--container-narrow); }
.prose p { line-height: var(--lh-readable); margin-bottom: 18px; }
.prose h2 { margin-top: 36px; margin-bottom: 16px; }
.prose h3 { margin-top: 28px; }
.prose ul, .prose ol { margin: 14px 0 20px 24px; }
.prose li { margin-bottom: 8px; list-style: disc; }

/* Image in content */
.content-img-wrap {
  margin: 28px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}
.content-img-wrap img { width: 100%; display: block; border-radius: 0; }

/* Two-column content */
.content-split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: var(--gap-lg);
  align-items: start;
}
@media (max-width: 768px) { .content-split { grid-template-columns: 1fr; } }

/* ============================================================
   Cards
   ============================================================ */
.card-grid { display: grid; gap: var(--gap-md); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .card-grid-3, .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
}

/* Feature Card */
.feature-card {
  background: var(--gradient-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--card-padding);
  box-shadow: var(--shadow-card);
  transition: transform var(--motion-normal) var(--ease-soft), box-shadow var(--motion-normal) var(--ease-soft);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.feature-card .card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { color: var(--color-text-soft); font-size: 15px; line-height: 1.7; }

/* Trust Card */
.trust-card {
  background: var(--color-surface);
  border: 2px solid var(--color-primary-soft);
  border-radius: var(--radius-card);
  padding: var(--card-padding);
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.trust-card .trust-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 6px;
}

/* Step Card */
.step-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--card-padding);
  position: relative;
  box-shadow: var(--shadow-soft);
}
.step-card .step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 12px;
}
.step-card h3 { font-size: 17px; }

/* Guide Card */
.guide-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--motion-normal) var(--ease-soft), box-shadow var(--motion-normal);
}
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.guide-card .card-thumb { aspect-ratio: 16/10; overflow: hidden; }
.guide-card .card-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.guide-card .card-body { padding: var(--card-padding); }
.guide-card h3 { font-size: 17px; margin-bottom: 8px; }
.guide-card p { font-size: 14px; color: var(--color-text-soft); line-height: 1.6; }
.guide-card .card-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--color-primary);
}

/* Security Card */
.security-card {
  background: linear-gradient(135deg, #f5faf7 0%, #e8f5ee 100%);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-card);
  padding: var(--card-padding);
  box-shadow: var(--shadow-soft);
}
.security-card h3 { color: var(--color-primary-dark); }

/* Benefit Card */
.benefit-card {
  background: var(--color-surface);
  border-left: 4px solid var(--color-secondary);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: var(--card-padding);
  box-shadow: var(--shadow-soft);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: var(--fs-button);
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: all var(--motion-fast) var(--ease-soft);
  text-decoration: none;
  line-height: 1.2;
  min-height: 44px;
}
.btn-primary {
  background: var(--gradient-button);
  color: #fff;
  box-shadow: var(--shadow-button);
}
.btn-primary:hover { background: var(--gradient-button-hover); color: #fff; transform: translateY(-1px); }
.btn-secondary {
  background: var(--color-surface);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-secondary:hover { background: var(--color-primary-soft); color: var(--color-primary-dark); }
.btn-accent {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-accent:hover { opacity: .9; transform: translateY(-1px); color: #fff; }

/* ============================================================
   CTA Sections
   ============================================================ */
.cta-section {
  padding: var(--section-y) 0;
  background: var(--gradient-hero);
  color: #fff;
  text-align: center;
}
.cta-section h2 { color: #fff; }
.cta-section p { color: rgba(255,255,255,.85); max-width: 600px; margin: 0 auto 24px; }
.cta-section .cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-section .cta-note { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 16px; }

.inline-cta {
  background: var(--color-primary-soft);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  padding: var(--card-padding);
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  margin: 28px 0;
}
.inline-cta p { margin: 0; flex: 1; }
@media (max-width: 600px) { .inline-cta { flex-direction: column; text-align: center; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: var(--container-narrow); margin: 0 auto; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  background: var(--color-surface);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.faq-btn {
  width: 100%;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  background: transparent;
  transition: background var(--motion-fast);
}
.faq-btn:hover { background: var(--color-bg-soft); }
.faq-btn .faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: transform var(--motion-normal);
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 20px 18px;
  color: var(--color-text-soft);
  line-height: 1.7;
  font-size: 15px;
}
.faq-item.is-open .faq-answer { display: block; }

/* ============================================================
   Forms (Auth Pages)
   ============================================================ */
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  align-items: start;
  padding: var(--section-y) 0;
}
.auth-form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--form-padding);
  box-shadow: var(--shadow-form);
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}
.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-form);
  font-size: 15px;
  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(46,139,87,.1);
}
.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--gradient-button);
  color: #fff;
  border: none;
  border-radius: var(--radius-form);
  font-size: 16px;
  font-weight: 700;
  box-shadow: var(--shadow-button);
  transition: all var(--motion-fast);
  min-height: 48px;
}
.form-submit:hover { background: var(--gradient-button-hover); }
.form-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--color-text-muted);
  text-align: center;
}
.auth-info-panel { display: flex; flex-direction: column; gap: var(--gap-md); }
@media (max-width: 768px) { .auth-layout { grid-template-columns: 1fr; } }

/* ============================================================
   Tables
   ============================================================ */
.table-wrap { overflow-x: auto; margin: 20px 0; border-radius: var(--radius-md); border: 1px solid var(--color-border); }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.data-table th, .data-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--color-border); }
.data-table th { background: var(--color-primary-soft); color: var(--color-primary-dark); font-weight: 700; font-size: 14px; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--color-bg-soft); }

/* ============================================================
   Policy Layout
   ============================================================ */
.policy-layout { padding: var(--section-y) 0; }
.policy-toc {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 32px;
}
.policy-toc h3 { font-size: 16px; margin-bottom: 10px; }
.policy-toc ol { margin-left: 20px; }
.policy-toc li { margin-bottom: 6px; list-style: decimal; }
.policy-toc a { font-size: 14px; }
.policy-note {
  background: var(--color-primary-soft);
  border-left: 4px solid var(--color-primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
  font-size: 15px;
  color: var(--color-primary-dark);
}
.policy-warning {
  background: #fff3cd;
  border-left: 4px solid var(--color-warning);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
  font-size: 15px;
}

/* ============================================================
   About Page
   ============================================================ */
.about-data-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-md);
  margin: 28px 0;
}
@media (max-width: 768px) { .about-data-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--gradient-footer);
  color: var(--color-footer-text);
  padding: var(--footer-padding) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: var(--gap-lg);
  padding-bottom: var(--footer-padding);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(200,221,208,.7); margin-top: 14px; }
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: .3px;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: rgba(200,221,208,.7);
  transition: color var(--motion-fast);
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: rgba(200,221,208,.5);
}
.footer-bottom a { color: rgba(200,221,208,.5); }
.footer-bottom a:hover { color: #fff; }
.footer-safe {
  margin-top: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 12px;
  color: rgba(200,221,208,.4);
  text-align: center;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Utility
   ============================================================ */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-sm { margin-top: var(--gap-sm); }
.mt-md { margin-top: var(--gap-md); }
.mt-lg { margin-top: var(--gap-lg); }
.mb-md { margin-bottom: var(--gap-md); }
.mb-lg { margin-bottom: var(--gap-lg); }

/* ============================================================
   Responsive Polish
   ============================================================ */
@media (max-width: 414px) {
  body { font-size: 16px; }
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
  .btn { padding: 11px 22px; font-size: 14px; }
  .card-grid { gap: 14px; }
}

@media (max-width: 375px) {
  .container { padding: 0 12px; }
  .feature-card, .step-card, .trust-card, .guide-card .card-body { padding: 14px; }
}

@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: var(--gap-md); scroll-snap-type: x mandatory; }
.swiper:not(.swiper-initialized) .swiper-slide { flex: 0 0 auto; width: 300px; scroll-snap-align: start; }

/* AOS fallback - never hide content */
[data-aos] { opacity: 1 !important; transform: none !important; }
