/* ============================================================
   Emerald Trust Gaming UI - Design System
   Project: 8777betapk.one
   ============================================================ */

:root {
  --color-primary: #0d9488;
  --color-primary-dark: #0f766e;
  --color-primary-soft: #ccfbf1;
  --color-secondary: #f59e0b;
  --color-accent: #6366f1;
  --color-bg: #f0fdfa;
  --color-bg-soft: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-strong: #f1f5f9;
  --color-card: #ffffff;
  --color-card-alt: #f0fdfa;
  --color-border: #e2e8f0;
  --color-border-strong: #cbd5e1;
  --color-text: #0f172a;
  --color-text-soft: #475569;
  --color-text-muted: #94a3b8;
  --color-success: #22c55e;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-footer-bg: #0f172a;
  --color-footer-text: #cbd5e1;

  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #0d9488 60%, #f59e0b 100%);
  --gradient-hero-soft: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
  --gradient-button: linear-gradient(135deg, #0d9488, #0f766e);
  --gradient-button-hover: linear-gradient(135deg, #0f766e, #115e59);
  --gradient-card-border: linear-gradient(135deg, #0d9488, #f59e0b);
  --gradient-cta: linear-gradient(135deg, #0f172a 0%, #0d9488 100%);
  --gradient-footer: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);

  --shadow-header: 0 2px 16px rgba(13,148,136,0.15);
  --shadow-card: 0 4px 20px rgba(15,23,42,0.08);
  --shadow-card-hover: 0 8px 32px rgba(13,148,136,0.18);
  --shadow-button: 0 4px 12px rgba(13,148,136,0.25);
  --shadow-soft: 0 2px 8px rgba(15,23,42,0.06);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 50px;
  --radius-card: 16px;

  --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans Bengali", 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-nav: clamp(13px, .84vw, 15px);
  --lh-heading: 1.3;
  --lh-body: 1.85;

  --container-max: 1200px;
  --container-narrow: 820px;
  --section-y: clamp(48px, 6vw, 80px);
  --header-h: 72px;
  --mobile-header-h: 64px;

  --motion-fast: 0.15s;
  --motion-normal: 0.3s;
  --motion-slow: 0.5s;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- RESET ---- */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-base);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--motion-fast); }
a:hover { color: var(--color-primary-dark); }
h1, h2, h3, h4, h5, h6 { line-height: var(--lh-heading); font-weight: 700; color: var(--color-text); }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); margin-bottom: 18px; }
h3 { font-size: var(--fs-h3); margin-bottom: 12px; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

/* ---- CONTAINER ---- */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 clamp(16px, 3vw, 24px); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 clamp(16px, 3vw, 24px); }
.section { padding: var(--section-y) 0; }
.section-alt { background: var(--color-surface-strong); }
.section-dark { background: var(--gradient-cta); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }

/* ---- HEADER ---- */
.site-header {
  position: sticky; top: 0; z-index: 1000; width: 100%;
  background: linear-gradient(90deg, #0f172a 0%, #0d9488 100%);
  box-shadow: var(--shadow-header);
  transition: box-shadow var(--motion-normal);
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(13,148,136,0.25); }
.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(6px, .72vw, 14px);
  white-space: nowrap; overflow: visible;
}
.primary-nav a {
  flex: 0 1 auto; min-width: 0;
  padding: 9px clamp(6px, .65vw, 12px);
  font-size: var(--fs-nav); line-height: 1;
  white-space: nowrap; color: #e0f2fe;
  border-radius: var(--radius-sm);
  transition: background var(--motion-fast), color var(--motion-fast);
  text-decoration: none;
}
.primary-nav a:hover, .primary-nav a.active { background: rgba(255,255,255,0.12); color: #fff; }
.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;
}
.btn { display: inline-flex; align-items: center; justify-content: center; border: none; cursor: pointer; font-weight: 600; text-decoration: none; transition: all var(--motion-fast); border-radius: var(--radius-pill); }
.btn-login { min-height: 42px; padding: 0 18px; background: transparent; border: 2px solid #ccfbf1; color: #ccfbf1; font-size: 14px; }
.btn-login:hover { background: #ccfbf1; color: #0f172a; }
.btn-register { min-height: 42px; padding: 0 18px; background: var(--color-secondary); color: #0f172a; font-size: 14px; box-shadow: var(--shadow-button); }
.btn-register:hover { background: #d97706; color: #fff; transform: translateY(-1px); }
.nav-toggle { display: none; flex: 0 0 40px; width: 40px; height: 40px; background: transparent; border: 2px solid rgba(255,255,255,0.3); border-radius: var(--radius-sm); color: #fff; font-size: 22px; cursor: pointer; align-items: center; justify-content: center; }

/* ---- MOBILE 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); }
  .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: 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; }
}

/* ---- MOBILE MENU ---- */
#mobile-menu {
  display: none; position: fixed;
  left: 12px; right: 12px; top: calc(var(--mobile-header-h) + 12px);
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-lg); padding: 16px;
  max-height: calc(100vh - 96px); overflow-y: auto;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4); z-index: 999;
  flex-direction: column; gap: 0;
}
#mobile-menu.is-open { display: flex; }
#mobile-menu a {
  display: block; padding: 14px 12px; color: #e0f2fe;
  border-radius: var(--radius-sm); font-size: 16px; font-weight: 500;
  text-decoration: none; transition: background var(--motion-fast);
}
#mobile-menu a:hover, #mobile-menu a.active { background: rgba(13,148,136,0.2); color: #fff; }

/* ---- HERO VARIANTS ---- */
.home-hero {
  background: var(--gradient-hero); color: #fff;
  padding: clamp(60px, 8vw, 100px) 0 clamp(50px, 6vw, 80px);
  position: relative; overflow: hidden;
}
.home-hero::before { content: ''; position: absolute; top: -80px; right: -100px; width: 400px; height: 400px; background: rgba(245,158,11,0.1); border-radius: 50%; }
.home-hero h1 { text-shadow: 0 2px 12px rgba(0,0,0,0.2); margin-bottom: 16px; }
.home-hero p { font-size: 18px; opacity: 0.92; margin-bottom: 24px; max-width: 560px; }
.hero-stats { display: flex; gap: clamp(16px, 3vw, 32px); flex-wrap: wrap; margin-top: 24px; }
.hero-stat { text-align: center; }
.hero-stat-num { font-size: clamp(24px, 3vw, 36px); font-weight: 800; display: block; }
.hero-stat-label { font-size: 14px; opacity: 0.75; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 768px) { .hero-grid { grid-template-columns: 1fr; } .home-hero { padding: 48px 0 40px; } }

.inner-hero {
  background: var(--gradient-hero-soft);
  padding: clamp(32px, 4vw, 48px) 0; border-bottom: 1px solid var(--color-border);
  text-align: center;
}
.inner-hero h1 { color: var(--color-text); margin-bottom: 12px; }
.inner-hero p { max-width: 720px; margin: 0 auto; color: var(--color-text-soft); text-align: center; }

.category-intro { padding: clamp(32px, 4vw, 56px) 0; }
.policy-header { padding: 32px 0; border-bottom: 2px solid var(--color-primary-soft); }
.auth-header { background: var(--gradient-hero); color: #fff; padding: 40px 0; text-align: center; }

/* ---- BREADCRUMB ---- */
.breadcrumb { display: flex; gap: 8px; font-size: 14px; color: var(--color-text-muted); padding: 12px 0; flex-wrap: wrap; }
.breadcrumb a { color: var(--color-primary); }
.breadcrumb span { color: var(--color-text-muted); }

/* ---- BUTTONS ---- */
.btn-primary { background: var(--gradient-button); color: #fff; padding: 12px 28px; font-size: 16px; box-shadow: var(--shadow-button); }
.btn-primary:hover { background: var(--gradient-button-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(13,148,136,0.3); }
.btn-secondary { background: transparent; border: 2px solid var(--color-primary); color: var(--color-primary); padding: 11px 26px; font-size: 16px; }
.btn-secondary:hover { background: var(--color-primary); color: #fff; }
.btn-cta { background: var(--color-secondary); color: #0f172a; padding: 14px 32px; font-size: 17px; font-weight: 700; box-shadow: 0 4px 16px rgba(245,158,11,0.3); }
.btn-cta:hover { background: #d97706; color: #fff; transform: translateY(-2px); }

/* ---- CARDS ---- */
.card-grid { display: grid; gap: 24px; }
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.feature-card {
  background: var(--color-card); border-radius: var(--radius-card);
  padding: 28px 24px; box-shadow: var(--shadow-card);
  border-top: 4px solid var(--color-primary);
  transition: transform var(--motion-normal), box-shadow var(--motion-normal);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.feature-card .card-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--color-primary-soft); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 24px; color: var(--color-primary);
}
.feature-card h5 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: var(--color-text-soft); font-size: 15px; line-height: 1.7; }

.trust-card { background: var(--color-card); border-radius: var(--radius-card); padding: 24px; box-shadow: var(--shadow-card); border-left: 5px solid var(--color-success); }
.guide-card { background: var(--color-card-alt); border-radius: var(--radius-card); padding: 24px; text-align: center; box-shadow: var(--shadow-soft); }
.step-card { background: var(--color-card); border-radius: var(--radius-card); padding: 28px 20px; text-align: center; box-shadow: var(--shadow-card); position: relative; }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--gradient-button); color: #fff; font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }

.pricing-card { background: var(--color-card); border-radius: var(--radius-card); padding: 32px 24px; text-align: center; box-shadow: var(--shadow-card); border-bottom: 4px solid var(--color-primary); }
.pricing-card.featured { background: var(--gradient-cta); color: #fff; transform: scale(1.03); }
.pricing-card.featured h4, .pricing-card.featured .price { color: #fff; }
.pricing-card .price { font-size: 32px; font-weight: 800; color: var(--color-primary); margin: 8px 0; }

.review-card { background: var(--color-card); border-radius: var(--radius-card); padding: 24px; box-shadow: var(--shadow-card); border-left: 5px solid var(--color-secondary); }
.review-card .stars { color: var(--color-secondary); font-size: 18px; margin-bottom: 12px; }

/* ---- CONTENT AREA ---- */
.content-area { max-width: var(--container-narrow); margin: 0 auto; }
.content-area p { margin-bottom: 18px; line-height: var(--lh-body); }
.content-area h2 { margin-top: 36px; padding-top: 12px; }
.content-area h3 { margin-top: 28px; color: var(--color-primary-dark); }
.content-area ul, .content-area ol { margin-bottom: 18px; }
.content-area li { margin-bottom: 6px; line-height: 1.7; }

.content-sidebar { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .content-sidebar { grid-template-columns: 1fr; } }

.sidebar-card { background: var(--color-card); border-radius: var(--radius-card); box-shadow: var(--shadow-card); overflow: hidden; position: sticky; top: 84px; }
.sidebar-card-header { background: var(--color-primary); color: #fff; padding: 14px 18px; font-weight: 700; }
.sidebar-card-body { padding: 18px; }
.sidebar-card-body a { display: block; padding: 8px 0; color: var(--color-text); font-size: 15px; border-bottom: 1px solid var(--color-border); }
.sidebar-card-body a:last-child { border-bottom: none; }
.sidebar-card-body a:hover { color: var(--color-primary); }

.sidebar-promo { background: var(--gradient-cta); border-radius: var(--radius-card); padding: 28px; color: #fff; text-align: center; }
.sidebar-promo h5 { color: #fff; margin: 12px 0 8px; }

/* ---- IMAGE ---- */
.content-img { border-radius: var(--radius-card); box-shadow: var(--shadow-card); width: 100%; object-fit: cover; margin: 24px auto; display: block; }
.img-center { margin: 24px auto; display: flex; justify-content: center; align-items: center; }
.img-center .content-img { margin: 0; }

/* ---- TABLE ---- */
.table-scroll { overflow-x: auto; margin: 24px 0; border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.data-table { width: 100%; border-collapse: collapse; background: var(--color-card); }
.data-table th { background: var(--color-primary); color: #fff; padding: 14px 16px; font-weight: 700; text-align: center; white-space: nowrap; }
.data-table td { padding: 12px 16px; text-align: center; border-bottom: 1px solid var(--color-border); }
.data-table tr:nth-child(even) { background: var(--color-card-alt); }
.data-table .check { color: var(--color-success); font-size: 20px; }
.data-table .cross { color: var(--color-danger); font-size: 20px; }

/* ---- FAQ ---- */
.faq-section { background: var(--color-surface-strong); }
.faq-item { background: var(--color-card); border-radius: var(--radius-card); box-shadow: var(--shadow-soft); margin-bottom: 12px; overflow: hidden; }
.faq-btn { width: 100%; text-align: left; padding: 18px 20px; background: transparent; border: none; font-size: 16px; font-weight: 600; color: var(--color-text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background var(--motion-fast); }
.faq-btn:hover { background: var(--color-card-alt); }
.faq-btn::after { content: '+'; font-size: 22px; color: var(--color-primary); transition: transform var(--motion-normal); flex-shrink: 0; margin-left: 12px; }
.faq-btn[aria-expanded="true"]::after { content: '−'; }
.faq-btn[aria-expanded="true"] { background: var(--color-primary-soft); color: var(--color-primary-dark); }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height var(--motion-slow) var(--ease-out), padding var(--motion-normal); }
.faq-answer.open { max-height: 500px; padding: 0 20px 20px; }
.faq-answer p { color: var(--color-text-soft); line-height: 1.8; }

/* ---- NOTICE BOX ---- */
.notice-box { background: var(--gradient-hero-soft); border-left: 6px solid var(--color-primary); border-radius: var(--radius-md); padding: 20px 24px; margin: 24px 0; }
.notice-box h5 { color: var(--color-text); margin-bottom: 8px; }
.notice-box p { color: var(--color-text-soft); margin: 0; }

.warning-box { background: #fef3c7; border-left: 6px solid var(--color-warning); border-radius: var(--radius-md); padding: 20px 24px; margin: 24px 0; }

/* ---- FORM ---- */
.auth-form { background: var(--color-card); border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-card); max-width: 480px; margin: 0 auto; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 15px; color: var(--color-text); }
.form-group input { width: 100%; padding: 12px 16px; border: 2px solid var(--color-border); border-radius: var(--radius-sm); font-size: 16px; transition: border-color var(--motion-fast); background: var(--color-bg-soft); }
.form-group input:focus { border-color: var(--color-primary); outline: none; box-shadow: 0 0 0 3px rgba(13,148,136,0.15); }
.form-submit { width: 100%; padding: 14px; background: var(--gradient-button); color: #fff; border: none; border-radius: var(--radius-pill); font-size: 17px; font-weight: 700; cursor: pointer; transition: all var(--motion-fast); box-shadow: var(--shadow-button); }
.form-submit:hover { background: var(--gradient-button-hover); transform: translateY(-2px); }
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .auth-layout { grid-template-columns: 1fr; } }

/* ---- RG SECTION ---- */
.rg-section { background: var(--gradient-cta); color: #fff; border-radius: var(--radius-xl); padding: clamp(28px, 4vw, 40px); }
.rg-section h3 { color: #fff; }
.rg-card { background: rgba(255,255,255,0.08); border-radius: var(--radius-md); padding: 20px; border: 1px solid rgba(255,255,255,0.15); }
.rg-card i { font-size: 28px; color: var(--color-secondary); margin-bottom: 12px; display: block; }
.rg-card h6 { color: #fff; font-weight: 700; margin-bottom: 8px; }
.rg-card p { color: #bae6fd; font-size: 14px; }

/* ---- CTA BANNER ---- */
.cta-banner { text-align: center; padding: clamp(40px, 5vw, 64px) 0; max-width: var(--container-max); margin: 0 auto; }
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p { color: #ccfbf1; font-size: 18px; max-width: 540px; margin: 0 auto 28px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---- FOOTER ---- */
.site-footer { background: var(--gradient-footer); color: var(--color-footer-text); padding: clamp(40px, 5vw, 56px) 0 20px; border-top: 3px solid var(--color-primary); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-desc { color: #94a3b8; font-size: 15px; line-height: 1.7; margin-bottom: 12px; }
.footer-email { color: #94a3b8; font-size: 14px; }
.footer-col h6 { color: #fff; font-weight: 700; margin-bottom: 14px; font-size: 16px; }
.footer-col a { display: block; color: #94a3b8; font-size: 14px; padding: 4px 0; transition: color var(--motion-fast); text-decoration: none; }
.footer-col a:hover { color: var(--color-primary-soft); }
.footer-bottom { border-top: 1px solid rgba(148,163,184,0.15); padding-top: 18px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { color: #64748b; font-size: 13px; }
.footer-badges { display: flex; gap: 8px; }
.footer-badge { background: rgba(13,148,136,0.2); color: var(--color-primary-soft); padding: 4px 10px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; }

/* ---- MISC ---- */
.section-title { text-align: center; margin-bottom: 8px; }
.section-line { width: 60px; height: 4px; background: var(--gradient-card-border); border-radius: 4px; margin: 0 auto 28px; }
.section-desc { text-align: center; color: var(--color-text-muted); max-width: 600px; margin: 0 auto 32px; font-size: 16px; }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-3 { margin-bottom: 24px; }
.gap-flex { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---- POLICY PAGE ---- */
.policy-toc { background: var(--color-card); border-radius: var(--radius-card); padding: 24px; box-shadow: var(--shadow-soft); margin-bottom: 32px; }
.policy-toc h4 { margin-bottom: 12px; font-size: 18px; }
.policy-toc a { display: block; padding: 6px 0; color: var(--color-primary); font-size: 15px; }
.policy-toc a:hover { color: var(--color-primary-dark); }
.policy-updated { background: var(--color-primary-soft); padding: 12px 20px; border-radius: var(--radius-sm); font-size: 14px; color: var(--color-text-soft); margin-bottom: 24px; }

/* ---- ARTICLE PAGE ---- */
.article-meta { display: flex; gap: 16px; color: var(--color-text-muted); font-size: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.article-cover { border-radius: var(--radius-card); margin-bottom: 28px; }
.article-related { background: var(--color-surface-strong); border-radius: var(--radius-card); padding: 24px; margin-top: 32px; }
.article-related h4 { margin-bottom: 16px; }
.article-related a { display: block; padding: 8px 0; color: var(--color-primary); border-bottom: 1px solid var(--color-border); }

/* ---- Swiper Degrade ---- */
.swiper:not(.swiper-initialized) { overflow-x: auto; display: flex; gap: 20px; scroll-snap-type: x mandatory; }
.swiper:not(.swiper-initialized) .swiper-slide { flex: 0 0 280px; scroll-snap-align: start; }

/* ---- AOS Degrade ---- */
[data-aos] { opacity: 1 !important; transform: none !important; }
.aos-animate { opacity: 1 !important; }

/* ---- 404 ---- */
.error-page { text-align: center; padding: 80px 0; }
.error-page h1 { font-size: 96px; color: var(--color-primary); margin-bottom: 16px; }
.error-page p { font-size: 18px; color: var(--color-text-soft); margin-bottom: 32px; }
