/* ============================================================
   662bet Design System - Emerald Trust Gaming UI
   Visual Style: Premium dark theme with emerald/cyan accents
   Target: Bangladesh market, en-BD, mobile-first
   ============================================================ */

:root {
  /* Color Tokens */
  --color-primary: #22c55e;
  --color-primary-dark: #16a34a;
  --color-primary-soft: rgba(34,197,94,.12);
  --color-secondary: #22d3ee;
  --color-accent: #a855f7;
  --color-bg: #020617;
  --color-bg-soft: #071122;
  --color-surface: #0b1328;
  --color-surface-strong: #0f1a35;
  --color-card: linear-gradient(180deg, rgba(8,18,36,.96), rgba(5,12,24,.98));
  --color-card-alt: linear-gradient(135deg, rgba(11,19,40,.95), rgba(7,17,34,.98));
  --color-border: rgba(34,211,238,.15);
  --color-border-strong: rgba(34,211,238,.28);
  --color-text: #e5f7ff;
  --color-text-soft: #9cc7d8;
  --color-text-muted: #6b8fa0;
  --color-success: #22c55e;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-footer-bg: linear-gradient(180deg, #020617, #040b16);
  --color-footer-text: #9cc7d8;

  /* Gradient Tokens */
  --gradient-hero: radial-gradient(ellipse at 20% 0%, rgba(34,197,94,.18), transparent 50%), radial-gradient(ellipse at 80% 0%, rgba(34,211,238,.15), transparent 50%), linear-gradient(180deg, #04111f, #020617);
  --gradient-button: linear-gradient(135deg, #22c55e, #39ff88);
  --gradient-button-hover: linear-gradient(135deg, #39ff88, #22c55e);
  --gradient-cta: linear-gradient(135deg, rgba(34,197,94,.08), rgba(34,211,238,.06));
  --gradient-footer: linear-gradient(180deg, #020617, #040b16);

  /* Shadow Tokens */
  --shadow-header: 0 2px 20px rgba(0,0,0,.4), 0 0 1px rgba(34,211,238,.15);
  --shadow-card: 0 0 0 1px rgba(34,211,238,.12), 0 4px 24px rgba(0,0,0,.3);
  --shadow-card-hover: 0 0 0 1px rgba(34,211,238,.25), 0 8px 32px rgba(0,0,0,.4), 0 0 20px rgba(34,197,94,.08);
  --shadow-button: 0 0 18px rgba(34,197,94,.2);
  --shadow-soft: 0 2px 12px rgba(0,0,0,.2);
  --shadow-menu: 0 8px 40px rgba(0,0,0,.6), 0 0 1px rgba(34,211,238,.2);

  /* Radius Tokens */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --radius-card: 16px;
  --radius-image: 14px;

  /* Typography */
  --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading: var(--font-base);
  --fs-h1: clamp(1.75rem, 4vw, 2.8rem);
  --fs-h2: clamp(1.4rem, 3vw, 2.2rem);
  --fs-h3: clamp(1.1rem, 2vw, 1.4rem);
  --fs-body: 1.05rem;
  --fs-small: .92rem;
  --fs-nav: clamp(13px, .84vw, 15px);
  --lh-heading: 1.2;
  --lh-body: 1.75;

  /* Spacing */
  --container-max: 1200px;
  --container-narrow: 820px;
  --section-y: clamp(48px, 8vw, 80px);
  --section-y-sm: clamp(32px, 5vw, 56px);
  --gap-sm: 12px;
  --gap-md: 20px;
  --gap-lg: 32px;
  --gap-xl: 48px;
  --header-h: 72px;
  --mobile-header-h: 62px;

  /* Motion */
  --motion-fast: .15s;
  --motion-normal: .3s;
  --motion-slow: .5s;
  --ease-out: cubic-bezier(.25,.46,.45,.94);
}

/* ============================================================
   Base Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  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 { text-decoration: none; color: var(--color-secondary); transition: color var(--motion-fast); }
a:hover { color: var(--color-primary); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: var(--lh-heading); margin: 0 0 .75em; font-weight: 800; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; color: var(--color-text-soft); }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

/* Focus */
:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Container
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 24px);
  padding-right: clamp(16px, 4vw, 24px);
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(2,6,23,.94);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-header);
  transition: box-shadow var(--motion-normal);
}
.site-header.scrolled {
  box-shadow: var(--shadow-header), 0 4px 30px rgba(0,0,0,.5);
}
.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 - Desktop */
.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: color var(--motion-fast), background var(--motion-fast);
  text-decoration: none;
}
.primary-nav a:hover {
  color: var(--color-secondary);
  background: rgba(34,211,238,.06);
}
.primary-nav a.active {
  color: var(--color-primary);
  background: var(--color-primary-soft);
}

/* Header Actions */
.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;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: rgba(34,211,238,.08);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 1.4rem;
  padding: 0;
  transition: background var(--motion-fast);
}
.nav-toggle:hover { background: rgba(34,211,238,.15); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 12px;
  right: 12px;
  z-index: 999;
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-menu);
  max-height: calc(100vh - var(--header-h) - 24px);
  overflow-y: auto;
  padding: 12px;
}
.mobile-menu.is-open { display: block; }
.mobile-menu-inner { display: flex; flex-direction: column; gap: 2px; }
.mobile-menu a {
  display: block;
  padding: 14px 16px;
  color: var(--color-text);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  transition: background var(--motion-fast), color var(--motion-fast);
  text-decoration: none;
}
.mobile-menu a:hover, .mobile-menu a.active {
  background: rgba(34,211,238,.08);
  color: var(--color-secondary);
}

/* ============================================================
   Responsive Header
   ============================================================ */
@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);
    justify-content: flex-start;
    gap: clamp(6px, 1.8vw, 10px);
    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); }
  .primary-nav { display: none; }
  .header-actions { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu { top: var(--mobile-header-h); }
}
@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; font-size: 1.25rem; }
}

/* ============================================================
   Sections
   ============================================================ */
.section-base { padding: var(--section-y) 0; }
.section-alt { padding: var(--section-y) 0; background: var(--color-bg-soft); }
.section-kicker {
  display: inline-block;
  color: var(--color-primary);
  border: 1px solid rgba(34,197,94,.3);
  background: rgba(34,197,94,.06);
  padding: .3rem .7rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: .03em;
  margin-bottom: 1rem;
}
.section-header { margin-bottom: var(--gap-xl); }
.section-header.center { text-align: center; }
.section-sub { max-width: 860px; margin: 0 auto; color: var(--color-text-soft); }
.center { text-align: center; }

/* ============================================================
   Hero - Homepage
   ============================================================ */
.home-hero {
  background: var(--gradient-hero);
  padding: clamp(90px, 12vw, 130px) 0 var(--section-y);
  border-bottom: 1px solid var(--color-border);
}
.hero-split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: var(--gap-xl);
  align-items: center;
}
.hero-badge {
  display: inline-block;
  color: var(--color-primary);
  border: 1px solid rgba(34,197,94,.35);
  background: rgba(34,197,94,.08);
  padding: .35rem .8rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.hero-lead { font-size: 1.08rem; color: var(--color-text-soft); margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.5rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-block;
  padding: .4rem .75rem;
  border-radius: var(--radius-pill);
  background: rgba(168,85,247,.08);
  border: 1px solid rgba(168,85,247,.25);
  color: #e8d5ff;
  font-size: var(--fs-small);
}
.hero-img-wrap {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: var(--shadow-card);
}
.hero-image { border-radius: var(--radius-md); width: 100%; }

@media (max-width: 900px) {
  .home-hero { padding: clamp(80px, 10vw, 100px) 0 var(--section-y-sm); }
  .hero-split { grid-template-columns: 1fr; gap: var(--gap-lg); }
  .hero-visual { order: -1; }
}

/* ============================================================
   Inner Page Heroes - Multiple variants
   ============================================================ */
/* Category hero - gradient bar with breadcrumb */
.inner-hero-bar {
  padding: clamp(80px, 10vw, 110px) 0 var(--section-y-sm);
  background: var(--gradient-hero);
  border-bottom: 1px solid var(--color-border);
}
.inner-hero-bar h1 { max-width: 900px; }
.inner-hero-bar .hero-lead { max-width: 820px; }

/* Split hero for category pages */
.inner-hero-split {
  padding: clamp(80px, 10vw, 110px) 0 var(--section-y-sm);
  background: var(--gradient-hero);
  border-bottom: 1px solid var(--color-border);
}
.inner-hero-split .hero-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--gap-xl); align-items: center; }
@media (max-width: 900px) {
  .inner-hero-split { padding-top: 80px; }
  .inner-hero-split .hero-split { grid-template-columns: 1fr; }
}

/* Auth hero for login/register */
.auth-hero {
  padding: clamp(80px, 10vw, 100px) 0 var(--section-y-sm);
  background: radial-gradient(ellipse at 50% 0%, rgba(34,211,238,.1), transparent 60%), var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

/* Policy hero - minimal */
.policy-hero {
  padding: clamp(80px, 10vw, 100px) 0 var(--section-y-sm);
  background: linear-gradient(180deg, #04111f, var(--color-bg));
  border-bottom: 1px solid var(--color-border);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: .95rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--motion-fast) var(--ease-out);
  text-decoration: none;
  line-height: 1.2;
  min-height: 44px;
}
.btn-primary {
  background: var(--gradient-button);
  color: #03120a;
  box-shadow: var(--shadow-button);
}
.btn-primary:hover {
  background: var(--gradient-button-hover);
  color: #02110a;
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(34,197,94,.35);
}
.btn-outline {
  background: transparent;
  color: var(--color-secondary);
  border: 1px solid rgba(34,211,238,.4);
}
.btn-outline:hover {
  background: rgba(34,211,238,.08);
  color: #baf7ff;
  border-color: rgba(34,211,238,.6);
}
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.cta-row.center { justify-content: center; }

/* ============================================================
   Split Layout
   ============================================================ */
.split-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: var(--gap-xl);
  align-items: start;
}
.split-layout.reverse { grid-template-columns: .95fr 1.05fr; }
.split-layout.reverse .split-visual { order: -1; }
.split-img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}
.highlight-bar {
  border-left: 4px solid var(--color-accent);
  padding-left: 1rem;
  font-style: italic;
}

@media (max-width: 900px) {
  .split-layout, .split-layout.reverse {
    grid-template-columns: 1fr;
    gap: var(--gap-lg);
  }
  .split-layout.reverse .split-visual { order: 0; }
}

/* ============================================================
   Feature Cards
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-md);
}
.feature-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.4rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--motion-normal) var(--ease-out), box-shadow var(--motion-normal);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(34,211,238,.08);
  border: 1px solid rgba(34,211,238,.2);
  color: var(--color-secondary);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

@media (max-width: 1024px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Content Image
   ============================================================ */
.content-img {
  width: 100%;
  border-radius: var(--radius-image);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

/* ============================================================
   Info Table
   ============================================================ */
.info-table-wrap {
  margin-top: 1.5rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.info-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--color-text);
  font-size: .95rem;
}
.info-table th, .info-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(34,211,238,.1);
}
.info-table th {
  font-weight: 700;
  color: var(--color-secondary);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.info-table tbody tr:last-child td { border-bottom: none; }

/* ============================================================
   Note Panel
   ============================================================ */
.note-panel {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

/* ============================================================
   Steps
   ============================================================ */
.steps-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: var(--gap-xl);
  align-items: start;
}
.step-list { margin-top: 1.5rem; }
.step-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.step-num {
  flex: 0 0 48px;
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: rgba(34,211,238,.08);
  border: 1px solid rgba(34,211,238,.2);
  color: var(--color-secondary);
  font-size: 1.2rem;
  font-weight: 800;
}
.step-body h3 { margin-bottom: .4rem; }
.aside-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}
@media (max-width: 900px) {
  .steps-layout { grid-template-columns: 1fr; }
}

/* ============================================================
   Trust Badges
   ============================================================ */
.trust-badge-group {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-card);
  font-weight: 700;
  font-size: 1.1rem;
}
.trust-badge i { font-size: 1.5rem; color: var(--color-primary); }

/* ============================================================
   Warning Panel
   ============================================================ */
.warning-panel {
  background: rgba(34,197,94,.04);
  border: 1px solid rgba(34,197,94,.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.warning-panel h3 { color: var(--color-primary); margin-bottom: 1rem; }
.warning-panel ul { padding-left: 1.2rem; }
.warning-panel li {
  list-style: disc;
  margin-bottom: .6rem;
  color: var(--color-text-soft);
}

/* ============================================================
   Responsible Layout
   ============================================================ */
.responsible-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: var(--gap-xl);
  margin-top: 1.5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .responsible-layout { grid-template-columns: 1fr; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-md);
}
.faq-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.1rem 1.25rem;
  background: transparent;
  border: none;
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 1rem;
  text-align: left;
  gap: 12px;
  cursor: pointer;
  transition: background var(--motion-fast);
}
.faq-trigger:hover { background: rgba(34,211,238,.04); }
.faq-trigger i {
  font-size: .85rem;
  transition: transform var(--motion-normal);
  flex-shrink: 0;
}
.faq-trigger[aria-expanded="true"] i { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 1.25rem 1.1rem;
}
.faq-answer.is-open { display: block; }
.faq-answer p { color: var(--color-text-soft); margin: 0; }

@media (max-width: 768px) {
  .faq-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb-nav { margin-bottom: 1.5rem; }
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding: 0;
  font-size: var(--fs-small);
}
.breadcrumb-item { display: flex; align-items: center; gap: .4rem; }
.breadcrumb-item::after { content: '/'; color: var(--color-text-muted); }
.breadcrumb-item:last-child::after { display: none; }
.breadcrumb-item a { color: var(--color-text-muted); }
.breadcrumb-item a:hover { color: var(--color-secondary); }
.breadcrumb-item.active { color: var(--color-text-soft); }

/* ============================================================
   Auth / Form Pages
   ============================================================ */
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-xl);
  align-items: start;
}
.auth-form-card {
  background: var(--color-card);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  margin-bottom: .4rem;
  font-weight: 600;
  font-size: .92rem;
  color: var(--color-text);
}
.form-group input {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  transition: border-color var(--motion-fast), box-shadow var(--motion-fast);
  font-family: var(--font-base);
}
.form-group input:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(34,211,238,.12);
}
.form-help { font-size: .85rem; color: var(--color-text-muted); margin-top: .3rem; }
.auth-trust-card {
  background: var(--color-card-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  margin-bottom: var(--gap-md);
}
.auth-step-list { counter-reset: auth-step; }
.auth-step-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  counter-increment: auth-step;
}
.auth-step-item::before {
  content: counter(auth-step);
  flex: 0 0 36px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(34,211,238,.08);
  border: 1px solid rgba(34,211,238,.2);
  border-radius: var(--radius-sm);
  color: var(--color-secondary);
  font-weight: 800;
  font-size: .9rem;
}

@media (max-width: 900px) {
  .auth-layout { grid-template-columns: 1fr; }
}

/* ============================================================
   Policy Pages
   ============================================================ */
.policy-layout {
  max-width: var(--container-narrow);
  margin: 0 auto;
}
.policy-toc {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.policy-toc h3 { color: var(--color-secondary); font-size: 1rem; margin-bottom: .75rem; }
.policy-toc ul { padding-left: 1rem; }
.policy-toc li { list-style: decimal; margin-bottom: .4rem; }
.policy-toc a { color: var(--color-text-soft); font-size: .95rem; }
.policy-note {
  background: rgba(34,211,238,.04);
  border-left: 4px solid var(--color-secondary);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
}
.policy-warning {
  background: rgba(239,68,68,.06);
  border-left: 4px solid var(--color-danger);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
}
.policy-updated-box {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

/* ============================================================
   Article Pages
   ============================================================ */
.article-shell { max-width: var(--container-narrow); margin: 0 auto; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}
.article-cover {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  border: 1px solid var(--color-border);
}
.article-body { line-height: 1.85; }
.article-body h2 { margin-top: 2.5rem; }
.article-body h3 { margin-top: 1.8rem; }
.article-body p { margin-bottom: 1.2rem; }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }
.article-body li { list-style: disc; margin-bottom: .5rem; color: var(--color-text-soft); }
.article-related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

/* ============================================================
   Category Card Grid
   ============================================================ */
.category-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
}
.category-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--motion-normal), box-shadow var(--motion-normal);
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.category-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.category-card-body { padding: 1.25rem; }
.category-card-body h3 { margin-bottom: .5rem; }

@media (max-width: 900px) { .category-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .category-card-grid { grid-template-columns: 1fr; } }

/* ============================================================
   About Page
   ============================================================ */
.about-data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
  margin: 2rem 0;
}
.about-data-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.about-data-card .data-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  display: block;
  margin-bottom: .3rem;
}

@media (max-width: 600px) { .about-data-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--gradient-footer);
  border-top: 1px solid var(--color-border);
  padding: var(--section-y) 0 var(--section-y-sm);
}
.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--gap-xl);
}
.footer-logo { margin-bottom: 1rem; height: 36px; width: auto; }
.footer-desc { font-size: var(--fs-small); color: var(--color-footer-text); line-height: 1.7; }
.footer-contact { font-size: var(--fs-small); color: var(--color-text-muted); margin-top: .75rem; }
.footer-col h4 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-secondary);
  margin-bottom: 1rem;
  font-weight: 700;
}
.footer-col ul { padding: 0; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a {
  color: var(--color-footer-text);
  font-size: var(--fs-small);
  transition: color var(--motion-fast);
  text-decoration: none;
}
.footer-col a:hover { color: var(--color-primary); }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}
.footer-bottom p {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin: 0;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--gap-lg); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   Utility
   ============================================================ */
.prose { max-width: var(--container-narrow); }
.prose h2 { margin-top: 2rem; }
.prose p { line-height: 1.85; }
.mt-2 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1.5rem; }

/* AOS Degrade - content must be visible if AOS fails */
[data-aos] { opacity: 1 !important; transform: none !important; }
.aos-animate[data-aos] { opacity: 1; }

/* Swiper degrade */
.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; scroll-snap-align: start; }

/* Table scroll */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ============================================================
   Print
   ============================================================ */
@media print {
  .site-header, .site-footer, .mobile-menu, .nav-toggle, .btn { display: none; }
  body { background: #fff; color: #000; }
}
