/* ============================================================
   888BAJI-BD.COM - Global Stylesheet
   Design System: Dark Premium Casino + Bengali Market
   ============================================================ */

/* ---- CSS Variables / Design Tokens ---- */
:root {
  --color-primary: #f5c518;
  --color-primary-dark: #e6a800;
  --color-primary-light: #ffe066;
  --color-accent: #7c3aed;
  --color-accent-light: #a78bfa;
  --color-success: #10b981;
  --color-danger: #ef4444;

  --bg-base: #0a0a1a;
  --bg-surface: #111128;
  --bg-card: #1a1a35;
  --bg-card-hover: #22224a;
  --bg-elevated: #1e1e40;
  --bg-section-alt: #0d0d22;

  --text-primary: #f0f0f8;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --text-gold: #f5c518;
  --text-white: #ffffff;

  --border-subtle: rgba(245, 197, 24, 0.12);
  --border-card: rgba(245, 197, 24, 0.18);
  --border-active: rgba(245, 197, 24, 0.5);

  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-card-hover: 0 8px 40px rgba(245,197,24,0.15);
  --shadow-glow: 0 0 20px rgba(245,197,24,0.2);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans Bengali", sans-serif;

  --header-height: 72px;
  --topbar-height: 36px;
  --container-max: 1280px;
  --section-pad: 72px 0;
  --section-pad-sm: 48px 0;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-stack);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-primary-light); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Container ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: #07071a;
  border-bottom: 1px solid var(--border-subtle);
  height: var(--topbar-height);
  display: flex;
  align-items: center;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  color: var(--text-muted);
}
.topbar-left span { display: flex; align-items: center; gap: 5px; }
.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}
.topbar-badge {
  background: var(--color-primary);
  color: #1a1a2e;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 26, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  height: var(--header-height);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 16px;
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.site-logo img,
.site-logo svg {
  height: 44px;
  width: auto;
  max-width: 180px;
  display: block;
}

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--color-primary);
  background: rgba(245,197,24,0.08);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-stack);
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: all 0.25s;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-sm { font-size: 13px; padding: 7px 18px; }
.btn-md { font-size: 15px; padding: 11px 28px; }
.btn-lg { font-size: 17px; padding: 14px 36px; }
.btn-xl { font-size: 18px; padding: 16px 44px; }

.btn-register {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #1a1a2e;
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(245,197,24,0.3);
}
.btn-register:hover {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: #1a1a2e;
  box-shadow: 0 6px 24px rgba(245,197,24,0.45);
  transform: translateY(-1px);
}
.btn-login {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-login:hover {
  background: rgba(245,197,24,0.1);
  color: var(--color-primary-light);
  transform: translateY(-1px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #1a1a2e;
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(245,197,24,0.25);
}
.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(245,197,24,0.4);
  transform: translateY(-2px);
  color: #1a1a2e;
}
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover {
  background: rgba(245,197,24,0.1);
  color: var(--color-primary-light);
}
.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.1);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-white);
}
.btn-accent {
  background: linear-gradient(135deg, var(--color-accent), #6d28d9);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-accent:hover {
  box-shadow: 0 6px 24px rgba(124,58,237,0.4);
  transform: translateY(-2px);
  color: #fff;
}

/* ============================================================
   MOBILE NAV TOGGLE
   ============================================================ */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 999;
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  display: block;
}
.mobile-menu a:hover { color: var(--color-primary); background: rgba(245,197,24,0.08); }
.mobile-menu-cta {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}
.mobile-menu-cta .btn { flex: 1; justify-content: center; }

/* ============================================================
   HERO / BANNER
   ============================================================ */
.hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg-base);
}
.hero-banner img,
.hero-banner svg {
  width: 100%;
  height: auto;
  display: block;
  max-height: 520px;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,26,0.6) 0%, transparent 60%);
  pointer-events: none;
}

/* Inner page hero */
.page-hero {
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-elevated) 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 48px 0 40px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245,197,24,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 12px;
  line-height: 1.25;
}
.page-hero p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 640px;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb-sep { color: var(--text-muted); opacity: 0.5; }
.breadcrumb-current { color: var(--color-primary); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: var(--section-pad); }
.section-sm { padding: var(--section-pad-sm); }
.section-alt { background: var(--bg-section-alt); }
.section-surface { background: var(--bg-surface); }
.section-elevated { background: var(--bg-elevated); }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 12px;
  line-height: 1.3;
}
.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}
.section-header-left { text-align: left; }
.section-header-left p { margin: 0; }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(245,197,24,0.1);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s;
}
.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}
.card-sm { padding: 20px; border-radius: var(--radius-md); }
.card-flat { border-radius: var(--radius-md); padding: 24px; }

/* Feature card */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
}
.feature-card:hover {
  border-color: var(--border-active);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.feature-icon {
  width: 64px;
  height: 64px;
  background: rgba(245,197,24,0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Game card */
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  position: relative;
}
.game-card:hover {
  border-color: var(--border-active);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.game-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
  overflow: hidden;
}
.game-card-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.6));
}
.game-card-body { padding: 16px; }
.game-card-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}
.game-card-body p {
  font-size: 13px;
  color: var(--text-secondary);
}
.game-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--color-primary);
  color: #1a1a2e;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

/* Promo card */
.promo-card {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.promo-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(245,197,24,0.12) 0%, transparent 70%);
}
.promo-card:hover {
  border-color: var(--border-active);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}
.promo-amount {
  font-size: 36px;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
}
.promo-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
}
.promo-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* ============================================================
   SHORTCUT / QUICK LINKS GRID
   ============================================================ */
.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.shortcut-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 20px 12px;
  text-align: center;
  transition: all 0.25s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.shortcut-item:hover {
  border-color: var(--border-active);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}
.shortcut-icon {
  width: 52px;
  height: 52px;
  background: rgba(245,197,24,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: background 0.25s;
}
.shortcut-item:hover .shortcut-icon { background: rgba(245,197,24,0.2); }
.shortcut-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

/* ============================================================
   GRIDS
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 0;
}
.stats-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 28px;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ============================================================
   CONTENT FEED / ARTICLE LIST
   ============================================================ */
.content-feed { display: flex; flex-direction: column; gap: 16px; }
.feed-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.25s;
}
.feed-item:hover {
  border-color: var(--border-active);
  background: var(--bg-card-hover);
}
.feed-icon {
  width: 48px;
  height: 48px;
  background: rgba(245,197,24,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.feed-content h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}
.feed-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================================
   LONG-FORM CONTENT
   ============================================================ */
.longform-content {
  max-width: 860px;
  margin: 0 auto;
}
.longform-content h2 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: var(--text-white);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-subtle);
}
.longform-content h3 {
  font-size: clamp(17px, 2.5vw, 22px);
  font-weight: 700;
  color: var(--color-primary);
  margin: 28px 0 12px;
}
.longform-content p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}
.longform-content ul {
  list-style: none;
  margin: 16px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.longform-content ul li {
  font-size: 15px;
  color: var(--text-secondary);
  padding-left: 24px;
  position: relative;
  line-height: 1.7;
}
.longform-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
}
.longform-content ol {
  counter-reset: ol-counter;
  margin: 16px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.longform-content ol li {
  counter-increment: ol-counter;
  font-size: 15px;
  color: var(--text-secondary);
  padding-left: 36px;
  position: relative;
  line-height: 1.7;
}
.longform-content ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background: var(--color-primary);
  color: #1a1a2e;
  font-size: 12px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-box {
  background: rgba(245,197,24,0.06);
  border: 1px solid rgba(245,197,24,0.2);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
}
.info-box p {
  margin: 0;
  color: var(--text-primary);
  font-size: 14px;
}
.warning-box {
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.2);
  border-left: 4px solid var(--color-danger);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
}
.warning-box p { margin: 0; color: var(--text-primary); font-size: 14px; }

/* Steps */
.steps-list { display: flex; flex-direction: column; gap: 20px; margin: 24px 0; }
.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.step-num {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #1a1a2e;
  font-size: 16px;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}
.step-body p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item.open { border-color: var(--border-active); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  gap: 16px;
}
.faq-question h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.4;
}
.faq-toggle {
  width: 28px;
  height: 28px;
  background: rgba(245,197,24,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 300;
}
.faq-item.open .faq-toggle { background: var(--color-primary); color: #1a1a2e; transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   VIDEO MODULE
   ============================================================ */
.video-section { background: var(--bg-section-alt); }
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, #0f1e3d 0%, #1a0a2e 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,197,24,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #07071a;
  border-top: 1px solid var(--border-subtle);
  padding-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-subtle);
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 16px 0 20px;
  max-width: 280px;
}
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-contact-item strong { color: var(--text-secondary); }
.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--color-primary); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copyright {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-legal a {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-legal a:hover { color: var(--color-primary); }
.footer-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.footer-badge {
  background: rgba(245,197,24,0.08);
  border: 1px solid rgba(245,197,24,0.15);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* ============================================================
   TAGS / CHIPS
   ============================================================ */
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(245,197,24,0.1);
  color: var(--color-primary);
  border: 1px solid rgba(245,197,24,0.2);
}
.tag-accent {
  background: rgba(124,58,237,0.1);
  color: var(--color-accent-light);
  border-color: rgba(124,58,237,0.2);
}
.tag-success {
  background: rgba(16,185,129,0.1);
  color: var(--color-success);
  border-color: rgba(16,185,129,0.2);
}

/* ============================================================
   TABLE
   ============================================================ */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.data-table th {
  background: var(--bg-elevated);
  color: var(--color-primary);
  font-weight: 700;
  padding: 14px 16px;
  text-align: left;
  border-bottom: 2px solid var(--border-card);
}
.data-table td {
  padding: 14px 16px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}
.data-table tr:hover td { background: rgba(245,197,24,0.03); }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text-primary);
  font-family: var(--font-stack);
  transition: border-color 0.2s;
  outline: none;
}
.form-control:focus { border-color: var(--border-active); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* ============================================================
   POLICY / TERMS CONTENT
   ============================================================ */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
}
.policy-content h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-white);
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}
.policy-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 24px 0 10px;
}
.policy-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 14px;
}
.policy-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}
.policy-content ul li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
}
.policy-date {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding: 10px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-primary);
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}
.error-code {
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  opacity: 0.3;
  margin-bottom: 16px;
}
.error-page h1 {
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
}
.error-page p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-gold { color: var(--color-primary); }
.text-white { color: var(--text-white); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.fw-900 { font-weight: 900; }
.fw-700 { font-weight: 700; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 32px 0;
}
.gold-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
  border-radius: 2px;
  margin: 12px 0 24px;
}
.gold-line-center { margin: 12px auto 24px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --topbar-height: 0px;
  }
  .topbar { display: none; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-cta .btn-register,
  .header-cta .btn-login {
    font-size: 12px;
    padding: 8px 14px;
  }
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .stats-bar .container { justify-content: center; gap: 32px; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn { text-align: center; }
  .shortcut-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-banner img,
  .hero-banner svg { max-height: 280px; }
  .section { padding: 48px 0; }
  .section-sm { padding: 32px 0; }
  .page-hero { padding: 32px 0 28px; }
}

@media (max-width: 480px) {
  .shortcut-grid { grid-template-columns: repeat(2, 1fr); }
  .container { padding: 0 16px; }
  .card { padding: 20px; }
  .feature-card { padding: 24px 16px; }
  .stat-number { font-size: 22px; }
}
