:root {
  /* Emerald Trust Gaming UI - Design System */
  --color-primary: #0d9e6d;
  --color-primary-dark: #087a54;
  --color-primary-soft: rgba(13,158,109,0.12);
  --color-secondary: #1a2942;
  --color-accent: #f0b429;
  --color-bg: #0b1120;
  --color-bg-soft: #101829;
  --color-surface: #141e30;
  --color-surface-strong: #1a2840;
  --color-card: #162032;
  --color-card-alt: #1c2a42;
  --color-border: rgba(13,158,109,0.18);
  --color-border-strong: rgba(13,158,109,0.35);
  --color-text: #e2e8f0;
  --color-text-soft: #94a3b8;
  --color-text-muted: #64748b;
  --color-success: #22c55e;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-footer-bg: #060d1a;
  --color-footer-text: #94a3b8;

  --gradient-hero: linear-gradient(135deg, #0b1120 0%, #0d2818 40%, #0b1120 100%);
  --gradient-hero-soft: linear-gradient(180deg, rgba(13,158,109,0.06) 0%, transparent 60%);
  --gradient-button: linear-gradient(135deg, #0d9e6d, #0bbd80);
  --gradient-button-hover: linear-gradient(135deg, #0bbd80, #0d9e6d);
  --gradient-card-border: linear-gradient(135deg, rgba(13,158,109,0.3), rgba(240,180,41,0.15));
  --gradient-cta: linear-gradient(135deg, #0d2818, #1a2942);
  --gradient-footer: linear-gradient(180deg, #0a0f1e, #060d1a);

  --shadow-header: 0 2px 20px rgba(0,0,0,0.4);
  --shadow-card: 0 4px 16px rgba(0,0,0,0.25);
  --shadow-card-hover: 0 12px 32px rgba(13,158,109,0.15);
  --shadow-button: 0 4px 12px rgba(13,158,109,0.25);
  --shadow-soft: 0 2px 8px rgba(0,0,0,0.15);

  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 50px;
  --radius-card: 12px;

  --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans Bengali", sans-serif;
  --fs-h1: clamp(28px, 5vw, 48px);
  --fs-h2: clamp(22px, 3.5vw, 36px);
  --fs-h3: clamp(18px, 2.5vw, 26px);
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-nav: clamp(13px, 0.84vw, 15px);
  --lh-heading: 1.25;
  --lh-body: 1.8;

  --container-max: 1200px;
  --container-wide: 1400px;
  --container-narrow: 780px;
  --section-y: clamp(48px, 6vw, 80px);
  --gap-sm: 12px;
  --gap-md: 20px;
  --gap-lg: 32px;
  --header-h: 72px;

  --motion-fast: 0.15s;
  --motion-normal: 0.25s;
  --motion-slow: 0.4s;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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); }
a:hover { color: var(--color-accent); }

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== CONTAINERS ===== */
.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;
  background: rgba(11,17,32,0.96);
  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);
}

.site-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, 0.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(6px, 0.72vw, 14px);
  white-space: nowrap;
  overflow: visible;
}

.primary-nav a {
  flex: 0 1 auto;
  min-width: 0;
  padding: 9px clamp(6px, 0.65vw, 12px);
  font-size: var(--fs-nav);
  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);
  font-weight: 500;
}

.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, 0.6vw, 10px);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  cursor: pointer;
  font-size: 20px;
  transition: background var(--motion-fast);
}

.nav-toggle:hover { background: var(--color-primary-soft); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: var(--fs-small);
  line-height: 1;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: all var(--motion-fast);
  min-height: 42px;
  gap: 6px;
}

.btn-primary {
  background: var(--gradient-button);
  color: #fff;
  box-shadow: var(--shadow-button);
}

.btn-primary:hover {
  background: var(--gradient-button-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13,158,109,0.35);
  color: #fff;
}

.btn-register {
  background: var(--gradient-button);
  color: #fff;
  box-shadow: var(--shadow-button);
}

.btn-register:hover {
  background: var(--gradient-button-hover);
  transform: translateY(-1px);
  color: #fff;
}

.btn-login {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-login:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.btn-accent {
  background: linear-gradient(135deg, var(--color-accent), #e09400);
  color: #0b1120;
  font-weight: 700;
}

.btn-accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(240,180,41,0.3);
  color: #0b1120;
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
}

.btn-outline:hover {
  background: var(--color-primary-soft);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  min-height: 48px;
  border-radius: var(--radius-md);
}

/* ===== SECTIONS ===== */
.section { padding: var(--section-y) 0; }
.section-alt { background: var(--color-surface); }
.section-dark { background: var(--color-bg); }

.section-header {
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.section-header h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: var(--lh-heading);
  color: #fff;
  margin-bottom: 10px;
}

.section-header h2 .accent { color: var(--color-primary); }

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
  margin: 12px auto 16px;
  border-radius: 2px;
}

.section-header p {
  color: var(--color-text-soft);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== 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); }

.feature-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  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-card .card-icon {
  width: 52px;
  height: 52px;
  background: var(--color-primary-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.feature-card h5 {
  color: #fff;
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 8px;
}

.feature-card p { color: var(--color-text-soft); font-size: 14px; }

.trust-card {
  background: linear-gradient(135deg, var(--color-card), var(--color-card-alt));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 24px;
  text-align: center;
}

.guide-card {
  background: var(--color-card);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: 24px;
}

.step-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 28px 20px;
  text-align: center;
  position: relative;
}

.step-num {
  width: 48px;
  height: 48px;
  background: var(--gradient-button);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.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%;
  height: 180px;
  object-fit: cover;
}

.game-card-body { padding: 16px; }
.game-card-body h6 { color: #fff; font-weight: 600; margin-bottom: 4px; }
.game-card-body p { color: var(--color-text-soft); font-size: 13px; }

/* ===== HERO VARIANTS ===== */
.home-hero {
  background: var(--gradient-hero);
  padding: clamp(60px, 8vw, 100px) 0 clamp(48px, 6vw, 80px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.home-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 40%, rgba(13,158,109,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.home-hero .hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-primary-soft);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  margin-bottom: 16px;
}

.home-hero h1 {
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: var(--lh-heading);
  color: #fff;
  margin-bottom: 16px;
}

.home-hero h1 .brand { color: var(--color-primary); }

.hero-lead {
  color: var(--color-text-soft);
  font-size: 17px;
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }
.stat-num { display: block; font-size: 28px; font-weight: 700; color: var(--color-primary); }
.stat-label { font-size: 13px; color: var(--color-text-muted); }

.hero-visual {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  width: 100%;
  object-fit: cover;
}

.hero-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* Inner page heroes - different per page type */
.page-intro {
  background: var(--color-surface);
  padding: clamp(36px, 5vw, 56px) 0;
  border-bottom: 1px solid var(--color-border);
}

.page-intro h1 {
  font-size: var(--fs-h1);
  font-weight: 700;
  color: #fff;
  line-height: var(--lh-heading);
  margin-bottom: 12px;
}

.page-intro .lead {
  color: var(--color-text-soft);
  font-size: 17px;
  max-width: 700px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb .sep { color: var(--color-text-muted); }

/* ===== CONTENT SECTIONS ===== */
.content-block {
  padding: var(--section-y) 0;
}

.prose {
  max-width: var(--container-narrow);
}

.prose h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: #fff;
  line-height: var(--lh-heading);
  margin: 40px 0 16px;
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  margin: 28px 0 12px;
}

.prose p {
  color: var(--color-text);
  font-size: 16px;
  line-height: var(--lh-body);
  margin-bottom: 16px;
}

.prose ul, .prose ol {
  margin: 16px 0;
  padding-left: 24px;
  color: var(--color-text);
}

.prose li { margin-bottom: 8px; }

.content-image {
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  margin: 24px 0;
  width: 100%;
  object-fit: cover;
}

.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.info-box {
  background: var(--color-primary-soft);
  border: 1px solid var(--color-primary);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
}

.info-box h6 { color: var(--color-primary); font-weight: 700; margin-bottom: 8px; }
.info-box p { color: var(--color-text-soft); font-size: 14px; margin: 0; }

.warning-box {
  background: rgba(245,158,11,0.08);
  border: 1px solid var(--color-warning);
  border-left: 4px solid var(--color-warning);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
}

.warning-box h6 { color: var(--color-warning); font-weight: 700; margin-bottom: 8px; }
.warning-box p { color: var(--color-text-soft); font-size: 14px; margin: 0; }

/* ===== COMPARISON TABLE ===== */
.table-scroll { overflow-x: auto; margin: 24px 0; }

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.compare-table th {
  background: var(--color-card);
  color: var(--color-primary);
  padding: 16px 20px;
  font-weight: 600;
  border-bottom: 2px solid var(--color-border);
  text-align: center;
  font-size: 14px;
}

.compare-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--color-text);
  text-align: center;
  background: var(--color-card);
  font-size: 14px;
}

.compare-table td:first-child { text-align: left; color: var(--color-text-soft); }
.compare-table tr:last-child td { border-bottom: none; }

/* ===== FAQ ===== */
.faq-group { margin-bottom: 12px; }

.faq-item {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: transparent;
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-align: left;
  gap: 12px;
  transition: background var(--motion-fast);
}

.faq-question:hover { background: rgba(13,158,109,0.05); }

.faq-question .icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--motion-normal);
  color: var(--color-primary);
  font-size: 18px;
}

.faq-item.is-open .faq-question { background: rgba(13,158,109,0.06); color: var(--color-primary); }
.faq-item.is-open .faq-question .icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--motion-slow) var(--ease-out);
}

.faq-answer-inner {
  padding: 0 20px 18px;
  color: var(--color-text-soft);
  font-size: 15px;
  line-height: 1.7;
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}

/* ===== FORMS ===== */
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.auth-form-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  color: var(--color-text-soft);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 15px;
  font-family: var(--font-base);
  transition: border-color var(--motion-fast), box-shadow var(--motion-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}

.auth-trust-card {
  background: linear-gradient(135deg, var(--color-card), var(--color-surface));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

/* ===== CTA SECTIONS ===== */
.cta-section {
  background: var(--gradient-cta);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 24px 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(13,158,109,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 { color: #fff; font-weight: 700; position: relative; margin-bottom: 12px; }
.cta-section p { color: var(--color-text-soft); position: relative; margin-bottom: 28px; }
.cta-section .btn { position: relative; }

.inline-cta {
  background: var(--color-primary-soft);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.inline-cta p { color: var(--color-text); margin: 0; font-weight: 500; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--gradient-footer);
  border-top: 1px solid var(--color-border);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--color-footer-text);
  font-size: 14px;
  max-width: 280px;
  margin-top: 16px;
  line-height: 1.7;
}

.footer-heading {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: var(--color-footer-text);
  font-size: 14px;
  transition: color var(--motion-fast);
}

.footer-links a:hover { color: var(--color-primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--color-text-muted);
  font-size: 13px;
}

.footer-email {
  color: var(--color-primary);
  font-size: 13px;
}

/* ===== MOBILE MENU ===== */
#mobile-menu {
  position: fixed;
  left: 12px;
  right: 12px;
  top: calc(var(--header-h) + 8px);
  display: none;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  max-height: calc(100vh - var(--header-h) - 24px);
  overflow-y: auto;
  z-index: 999;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

#mobile-menu.is-open { display: flex; }

#mobile-menu a {
  display: block;
  padding: 14px 16px;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background var(--motion-fast);
}

#mobile-menu a:hover,
#mobile-menu a.active {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

/* ===== POLICY LAYOUT ===== */
.policy-layout { max-width: var(--container-narrow); }

.policy-toc {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 24px;
  margin-bottom: 32px;
}

.policy-toc h6 { color: var(--color-primary); margin-bottom: 12px; font-weight: 600; }
.policy-toc ul { list-style: none; padding: 0; }
.policy-toc li { margin-bottom: 8px; }
.policy-toc a { color: var(--color-text-soft); font-size: 14px; }

.policy-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary-soft);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--color-primary);
  margin-bottom: 20px;
}

/* ===== ARTICLE LAYOUT ===== */
.article-shell { max-width: var(--container-narrow); }
.article-meta { display: flex; gap: 16px; color: var(--color-text-muted); font-size: 13px; margin-bottom: 20px; flex-wrap: wrap; }
.article-cover { border-radius: var(--radius-card); margin-bottom: 28px; }
.article-body { line-height: 1.9; }
.article-related { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--color-border); }

/* ===== VIP TIERS ===== */
.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.tier-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 28px 20px;
  text-align: center;
  transition: transform var(--motion-normal), box-shadow var(--motion-normal);
}

.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.tier-card.featured {
  border-color: var(--color-accent);
  background: linear-gradient(135deg, var(--color-card), rgba(240,180,41,0.06));
}

.tier-badge {
  display: inline-flex;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  font-size: 20px;
  box-shadow: var(--shadow-button);
  transition: opacity var(--motion-fast);
}

.back-to-top.visible { display: flex; }

/* ===== SWIPER FALLBACK ===== */
.swiper:not(.swiper-initialized) {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.swiper:not(.swiper-initialized) .swiper-slide {
  flex: 0 0 auto;
  width: 280px;
  scroll-snap-align: start;
}

/* ===== AOS FALLBACK ===== */
[data-aos] { opacity: 1 !important; transform: none !important; }

/* ===== RESPONSIVE ===== */
@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);
  }

  .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;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(5px, 1.6vw, 8px);
    white-space: nowrap;
  }

  .header-actions .btn {
    min-height: 40px;
    padding-inline: clamp(10px, 2.6vw, 14px);
    font-size: clamp(12px, 3.2vw, 14px);
  }

  .nav-toggle {
    display: inline-flex;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    margin-left: 2px;
  }
}

@media (max-width: 900px) {
  .hero-row { grid-template-columns: 1fr; }
  .content-split { grid-template-columns: 1fr; }
  .auth-layout { grid-template-columns: 1fr; }
  .card-grid-4, .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .card-grid-4, .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-stats { gap: 20px; }
  .cta-section { padding: 32px 20px; }
}

@media (max-width: 375px) {
  .site-header .header-inner { padding-left: 8px; padding-right: 8px; gap: 6px; }
  .site-logo { max-width: 104px; }
  .header-actions .btn { min-height: 38px; padding-inline: 9px; font-size: 12px; }
  .nav-toggle { flex-basis: 38px; width: 38px; height: 38px; }
  .section { padding: 36px 0; }
}

/* ===== PRINT ===== */
@media print {
  .site-header, .site-footer, .nav-toggle, .back-to-top, #mobile-menu, #br-stick { display: none !important; }
  body { color: #000; background: #fff; }
}
