/* ============================================================
   999baji-sign.com — Global Stylesheet
   Design System: Dark Navy + Gold + Crimson Accent
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Primary Palette */
  --clr-bg-deep:    #080E1A;
  --clr-bg-dark:    #0D1B2A;
  --clr-bg-mid:     #112236;
  --clr-bg-card:    #162840;
  --clr-bg-light:   #1C3352;

  /* Gold */
  --clr-gold:       #D4AF37;
  --clr-gold-light: #F0D060;
  --clr-gold-dark:  #A8860A;

  /* Crimson Accent */
  --clr-red:        #C0392B;
  --clr-red-light:  #E74C3C;

  /* Text */
  --clr-text:       #E8EDF4;
  --clr-text-muted: #8FA3BC;
  --clr-text-dim:   #5A7A9A;

  /* Borders */
  --clr-border:     rgba(212,175,55,0.18);
  --clr-border-mid: rgba(212,175,55,0.35);

  /* Shadows */
  --shadow-card:    0 4px 24px rgba(0,0,0,0.45);
  --shadow-glow:    0 0 20px rgba(212,175,55,0.25);
  --shadow-btn:     0 4px 16px rgba(212,175,55,0.35);

  /* Typography */
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  /* Spacing */
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  1.5rem;
  --sp-lg:  2.5rem;
  --sp-xl:  4rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Transitions */
  --trans: 0.25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  background: var(--clr-bg-deep);
  color: var(--clr-text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--clr-gold); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--clr-gold-light); }

img, svg { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--clr-text);
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

p { margin-bottom: 1rem; color: var(--clr-text-muted); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.section { padding: var(--sp-xl) 0; }
.section-alt { background: var(--clr-bg-mid); }
.section-dark { background: var(--clr-bg-dark); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all var(--trans);
  white-space: nowrap;
  text-decoration: none;
}

.btn-register {
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-dark));
  color: #080E1A;
  box-shadow: var(--shadow-btn);
}
.btn-register:hover {
  background: linear-gradient(135deg, var(--clr-gold-light), var(--clr-gold));
  color: #080E1A;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212,175,55,0.5);
}

.btn-login {
  background: transparent;
  color: var(--clr-gold);
  border: 2px solid var(--clr-gold);
}
.btn-login:hover {
  background: var(--clr-gold);
  color: #080E1A;
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-dark));
  color: #080E1A;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--clr-gold-light), var(--clr-gold));
  color: #080E1A;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--clr-gold);
  border: 2px solid var(--clr-gold);
  padding: 0.8rem 2rem;
  font-size: 1rem;
}
.btn-secondary:hover {
  background: var(--clr-gold);
  color: #080E1A;
  transform: translateY(-2px);
}

.btn-danger {
  background: linear-gradient(135deg, var(--clr-red-light), var(--clr-red));
  color: #fff;
  padding: 0.8rem 2rem;
  font-size: 1rem;
}
.btn-danger:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
}

/* ── Header ───────────────────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8,14,26,0.97);
  border-bottom: 1px solid var(--clr-border);
  backdrop-filter: blur(10px);
  transition: box-shadow var(--trans);
}
#site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.6); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: var(--sp-sm);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  text-decoration: none;
  pointer-events: none;
  cursor: default;
}
.site-logo svg {
  width: auto;
  height: 40px;
  max-height: 40px;
}
.logo-text {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--clr-gold);
  letter-spacing: 0.5px;
  line-height: 1;
}
.logo-text span { color: var(--clr-text); }

/* Nav */
.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.main-nav a {
  color: var(--clr-text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--trans);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--clr-gold);
  background: rgba(212,175,55,0.1);
}

/* Header CTA group */
.header-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-gold);
  border-radius: 2px;
  transition: all var(--trans);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--clr-bg-dark);
  border-top: 1px solid var(--clr-border);
  padding: var(--sp-sm) var(--sp-md);
  gap: 0.25rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color var(--trans);
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--clr-gold); }

/* ── Banner ───────────────────────────────────────────────── */
.home-banner {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  position: relative;
}
.home-banner img,
.home-banner svg {
  width: 100%;
  height: auto;
  display: block;
  max-height: 480px;
  object-fit: cover;
}

/* ── Hero Section ─────────────────────────────────────────── */
.hero {
  position: relative;
  padding: var(--sp-xl) 0;
  background: linear-gradient(160deg, var(--clr-bg-dark) 0%, var(--clr-bg-deep) 60%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(212,175,55,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-badge {
  display: inline-block;
  background: rgba(212,175,55,0.15);
  border: 1px solid var(--clr-border-mid);
  color: var(--clr-gold);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: var(--sp-sm);
  letter-spacing: 0.5px;
}
.hero h1 { margin-bottom: var(--sp-sm); }
.hero h1 .highlight { color: var(--clr-gold); }
.hero p { font-size: 1.05rem; margin-bottom: var(--sp-md); max-width: 560px; }
.hero-cta { display: flex; gap: var(--sp-sm); flex-wrap: wrap; }

/* ── Section Headings ─────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: var(--sp-lg); }
.section-header h2 { margin-bottom: 0.5rem; }
.section-header h2 .gold { color: var(--clr-gold); }
.section-header p { max-width: 560px; margin: 0 auto; }
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-gold-dark));
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--sp-md);
  transition: all var(--trans);
}
.card:hover {
  border-color: var(--clr-border-mid);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(212,175,55,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-sm);
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 0.5rem; font-size: 1.05rem; }
.card p { font-size: 0.9rem; margin-bottom: 0; }

/* ── Grid Layouts ─────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-md); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-md); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-md); }

/* ── Stats Bar ────────────────────────────────────────────── */
.stats-bar {
  background: linear-gradient(90deg, var(--clr-bg-mid), var(--clr-bg-card));
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: var(--sp-lg) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
  text-align: center;
}
.stat-item { padding: var(--sp-sm); }
.stat-number {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--clr-gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label { font-size: 0.85rem; color: var(--clr-text-muted); }

/* ── Feature Grid ─────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-md);
}

/* ── Category Cards ───────────────────────────────────────── */
.cat-card {
  position: relative;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--trans);
  text-decoration: none;
  display: block;
}
.cat-card:hover {
  border-color: var(--clr-gold);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.cat-card-body {
  padding: var(--sp-md);
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}
.cat-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(212,175,55,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cat-card-icon svg { width: 32px; height: 32px; }
.cat-card-info h3 { font-size: 1rem; margin-bottom: 0.2rem; color: var(--clr-text); }
.cat-card-info p { font-size: 0.82rem; margin: 0; color: var(--clr-text-muted); }
.cat-card-arrow {
  margin-left: auto;
  color: var(--clr-gold);
  opacity: 0.5;
  transition: all var(--trans);
}
.cat-card:hover .cat-card-arrow { opacity: 1; transform: translateX(4px); }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color var(--trans);
}
.faq-item.open { border-color: var(--clr-border-mid); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-sm) var(--sp-md);
  cursor: pointer;
  background: var(--clr-bg-card);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--clr-text);
  gap: var(--sp-sm);
  user-select: none;
}
.faq-question:hover { color: var(--clr-gold); }
.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(212,175,55,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--trans), background var(--trans);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--clr-gold); }
.faq-icon svg { width: 14px; height: 14px; stroke: var(--clr-gold); }
.faq-item.open .faq-icon svg { stroke: #080E1A; }
.faq-answer {
  display: none;
  padding: var(--sp-sm) var(--sp-md) var(--sp-md);
  background: var(--clr-bg-dark);
  font-size: 0.92rem;
  color: var(--clr-text-muted);
  line-height: 1.75;
}
.faq-answer p { margin-bottom: 0.5rem; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ── Steps ────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-md);
  counter-reset: step;
}
.step-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--sp-md);
  position: relative;
  transition: all var(--trans);
}
.step-card:hover { border-color: var(--clr-border-mid); transform: translateY(-3px); }
.step-num {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  color: #080E1A;
  margin-bottom: var(--sp-sm);
}
.step-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.step-card p { font-size: 0.88rem; margin: 0; }

/* ── Promo Cards ──────────────────────────────────────────── */
.promo-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--trans);
}
.promo-card:hover { border-color: var(--clr-gold); box-shadow: var(--shadow-glow); transform: translateY(-4px); }
.promo-card-header {
  background: linear-gradient(135deg, var(--clr-bg-mid), var(--clr-bg-light));
  padding: var(--sp-md);
  border-bottom: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}
.promo-badge {
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-dark));
  color: #080E1A;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.promo-card-body { padding: var(--sp-md); }
.promo-amount {
  font-size: 2rem;
  font-weight: 900;
  color: var(--clr-gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.promo-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.promo-card p { font-size: 0.88rem; margin-bottom: var(--sp-sm); }

/* ── Table ────────────────────────────────────────────────── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.compare-table th {
  background: var(--clr-bg-mid);
  color: var(--clr-gold);
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--clr-border-mid);
  font-weight: 700;
}
.compare-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--clr-border);
  color: var(--clr-text-muted);
}
.compare-table tr:hover td { background: rgba(212,175,55,0.04); }
.compare-table .check { color: #2ECC71; font-weight: 700; }
.compare-table .cross { color: var(--clr-red-light); }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb {
  padding: var(--sp-sm) 0;
  border-bottom: 1px solid var(--clr-border);
  background: var(--clr-bg-dark);
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.breadcrumb-list li { display: flex; align-items: center; gap: 0.4rem; }
.breadcrumb-list a { color: var(--clr-text-muted); }
.breadcrumb-list a:hover { color: var(--clr-gold); }
.breadcrumb-list .sep { color: var(--clr-text-dim); }
.breadcrumb-list .current { color: var(--clr-gold); font-weight: 600; }

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  background: linear-gradient(160deg, var(--clr-bg-dark) 0%, var(--clr-bg-deep) 100%);
  padding: var(--sp-lg) 0;
  border-bottom: 1px solid var(--clr-border);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212,175,55,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { margin-bottom: 0.5rem; }
.page-hero p { max-width: 600px; }

/* ── YouTube Video ────────────────────────────────────────── */
.video-section { padding: var(--sp-xl) 0; }
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-card);
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-content { max-width: 700px; }
.video-content h2 { margin-bottom: var(--sp-sm); }

/* ── CTA Section ──────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--clr-bg-mid) 0%, var(--clr-bg-card) 100%);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: var(--sp-xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(212,175,55,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { margin-bottom: var(--sp-sm); }
.cta-section p { max-width: 500px; margin: 0 auto var(--sp-md); }
.cta-btns { display: flex; gap: var(--sp-sm); justify-content: center; flex-wrap: wrap; }

/* ── Long Content ─────────────────────────────────────────── */
.long-content h2 { margin: var(--sp-lg) 0 var(--sp-sm); color: var(--clr-text); }
.long-content h3 { margin: var(--sp-md) 0 0.5rem; color: var(--clr-gold); font-size: 1.1rem; }
.long-content p { color: var(--clr-text-muted); margin-bottom: 1rem; }
.long-content ul, .long-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--clr-text-muted);
}
.long-content ul { list-style: disc; }
.long-content ol { list-style: decimal; }
.long-content li { margin-bottom: 0.4rem; }
.long-content strong { color: var(--clr-text); }

/* Bullet list styled */
.bullet-list { list-style: none; padding: 0; margin-bottom: 1rem; }
.bullet-list li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  color: var(--clr-text-muted);
  font-size: 0.95rem;
}
.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--clr-gold);
  border-radius: 50%;
}

/* ── Contact Form ─────────────────────────────────────────── */
.contact-form { max-width: 600px; }
.form-group { margin-bottom: var(--sp-sm); }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  color: var(--clr-text);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: border-color var(--trans);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--clr-gold); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-error { color: var(--clr-red-light); font-size: 0.8rem; margin-top: 0.25rem; display: none; }
.form-success {
  background: rgba(46,204,113,0.1);
  border: 1px solid rgba(46,204,113,0.3);
  border-radius: var(--radius-sm);
  padding: var(--sp-sm) var(--sp-md);
  color: #2ECC71;
  display: none;
  margin-top: var(--sp-sm);
}

/* ── Info Box ─────────────────────────────────────────────── */
.info-box {
  background: rgba(212,175,55,0.07);
  border: 1px solid var(--clr-border-mid);
  border-left: 4px solid var(--clr-gold);
  border-radius: var(--radius-sm);
  padding: var(--sp-sm) var(--sp-md);
  margin-bottom: var(--sp-md);
}
.info-box p { margin: 0; font-size: 0.92rem; }

/* ── Back to Top ──────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--trans);
  z-index: 999;
  border: none;
  box-shadow: var(--shadow-btn);
}
#back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover { transform: translateY(-3px); }
#back-to-top svg { width: 20px; height: 20px; stroke: #080E1A; }

/* ── Footer ───────────────────────────────────────────────── */
#site-footer {
  background: var(--clr-bg-dark);
  border-top: 1px solid var(--clr-border);
  padding-top: var(--sp-xl);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--sp-lg);
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid var(--clr-border);
}
.footer-brand p { font-size: 0.88rem; margin-top: var(--sp-sm); }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--sp-sm);
}
.footer-logo svg { width: auto; height: 36px; max-height: 36px; }
.footer-logo-text { font-size: 1.1rem; font-weight: 900; color: var(--clr-gold); }
.footer-logo-text span { color: var(--clr-text); }

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--clr-gold);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: var(--sp-sm);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-col ul a {
  color: var(--clr-text-muted);
  font-size: 0.88rem;
  transition: color var(--trans);
}
.footer-col ul a:hover { color: var(--clr-gold); }

/* Footer contact */
.footer-contact { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-contact-item { font-size: 0.88rem; color: var(--clr-text-muted); line-height: 1.5; }
.footer-contact-item strong { color: var(--clr-text); display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.1rem; }

.footer-bottom {
  padding: var(--sp-sm) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}
.footer-bottom p { font-size: 0.82rem; color: var(--clr-text-dim); margin: 0; }
.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--clr-text-dim);
  text-align: center;
  padding: var(--sp-sm) 0;
  border-top: 1px solid var(--clr-border);
  line-height: 1.6;
}

/* ── Policy Pages ─────────────────────────────────────────── */
.policy-content {
  max-width: 860px;
  margin: 0 auto;
}
.policy-content h2 {
  font-size: 1.3rem;
  color: var(--clr-gold);
  margin: var(--sp-lg) 0 var(--sp-sm);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--clr-border);
}
.policy-content h3 { font-size: 1.05rem; margin: var(--sp-md) 0 0.4rem; }
.policy-content p { font-size: 0.93rem; }
.policy-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.policy-content ul li { color: var(--clr-text-muted); font-size: 0.93rem; margin-bottom: 0.3rem; }

/* ── 404 Page ─────────────────────────────────────────────── */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-xl) var(--sp-md);
}
.error-code {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 900;
  color: var(--clr-gold);
  line-height: 1;
  opacity: 0.3;
  margin-bottom: 0;
}
.error-page h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); margin-bottom: var(--sp-sm); }
.error-page p { max-width: 480px; margin: 0 auto var(--sp-md); }
.error-links { display: flex; gap: var(--sp-sm); justify-content: center; flex-wrap: wrap; }

/* ── Tabs ─────────────────────────────────────────────────── */
.tabs-nav {
  display: flex;
  gap: 0.25rem;
  border-bottom: 2px solid var(--clr-border);
  margin-bottom: var(--sp-md);
  flex-wrap: wrap;
}
.tab-btn {
  padding: 0.6rem 1.2rem;
  background: none;
  border: none;
  color: var(--clr-text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--trans);
  font-family: var(--font-main);
}
.tab-btn:hover { color: var(--clr-gold); }
.tab-btn.active { color: var(--clr-gold); border-bottom-color: var(--clr-gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Slot Grid ────────────────────────────────────────────── */
.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--sp-sm);
}
.slot-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--trans);
  cursor: pointer;
}
.slot-card:hover { border-color: var(--clr-gold); transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.slot-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--clr-bg-mid), var(--clr-bg-light));
  display: flex;
  align-items: center;
  justify-content: center;
}
.slot-thumb svg { width: 48px; height: 48px; opacity: 0.6; }
.slot-info { padding: 0.6rem; }
.slot-info h4 { font-size: 0.82rem; margin-bottom: 0.2rem; }
.slot-info p { font-size: 0.75rem; margin: 0; color: var(--clr-text-dim); }

/* ── Cricket ──────────────────────────────────────────────── */
.match-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--sp-sm) var(--sp-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-sm);
  transition: all var(--trans);
}
.match-card:hover { border-color: var(--clr-border-mid); }
.match-teams { font-weight: 700; font-size: 0.95rem; }
.match-meta { font-size: 0.8rem; color: var(--clr-text-dim); margin-top: 0.2rem; }
.match-odds { display: flex; gap: 0.4rem; }
.odd-btn {
  background: var(--clr-bg-mid);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--clr-gold);
  cursor: pointer;
  transition: all var(--trans);
  font-family: var(--font-main);
}
.odd-btn:hover { background: var(--clr-gold); color: #080E1A; }
.live-badge {
  background: var(--clr-red-light);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulse 1.5s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.6} }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-md); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-cta { flex-direction: column; }
  .cta-btns { flex-direction: column; align-items: center; }
  .header-inner { height: 56px; }
  .site-logo svg { height: 32px; max-height: 32px; }
  .logo-text { font-size: 1rem; }
  .home-banner img, .home-banner svg { max-height: 220px; }
  .match-card { flex-direction: column; align-items: flex-start; }
  .match-odds { width: 100%; }
  .odd-btn { flex: 1; text-align: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .slot-grid { grid-template-columns: repeat(2, 1fr); }
  .btn { padding: 0.6rem 1.1rem; font-size: 0.85rem; }
  .header-cta .btn { padding: 0.5rem 0.9rem; font-size: 0.8rem; }
}
