/* ============================================================
   BAJI GAME 888 — Global Stylesheet
   Domain: bajigame-888.com
   Design System: Dark Gold Casino Theme
   ============================================================ */

/* ── CSS Variables ── */
:root {
  --primary:       #d4a017;
  --primary-dark:  #b8860b;
  --primary-light: #f0c040;
  --accent:        #e63946;
  --accent-hover:  #c1121f;
  --bg-dark:       #0a0c10;
  --bg-card:       #12161e;
  --bg-section:    #0e1118;
  --bg-alt:        #161b26;
  --border:        #2a2f3d;
  --border-gold:   rgba(212,160,23,0.35);
  --text-primary:  #f0f0f0;
  --text-secondary:#b0b8cc;
  --text-muted:    #6b7280;
  --text-gold:     #d4a017;
  --shadow-card:   0 4px 24px rgba(0,0,0,0.55);
  --shadow-glow:   0 0 20px rgba(212,160,23,0.25);
  --radius-sm:     6px;
  --radius-md:     10px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --transition:    0.25s ease;
  --font-main:     system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --header-h:      68px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-light); }
img, svg { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 700;
  color: var(--text-primary);
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; color: var(--text-secondary); }
p:last-child { margin-bottom: 0; }

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section Spacing ── */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 96px 0; }

/* ── Section Header ── */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { max-width: 600px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  background: rgba(212,160,23,0.15);
  color: var(--primary);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ── Divider ── */
.gold-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(10,12,16,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition), background var(--transition);
}
#site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.6);
  background: rgba(10,12,16,0.99);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.site-logo svg {
  width: auto;
  height: 42px;
  max-height: 42px;
  flex-shrink: 0;
}
.logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  background: rgba(212,160,23,0.1);
}

/* Header CTA Buttons */
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: rgba(10,12,16,0.98);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px 20px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--primary);
  background: rgba(212,160,23,0.1);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.btn-register {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #0a0c10;
  border: 1px solid var(--primary);
}
.btn-register:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #0a0c10;
  box-shadow: 0 0 16px rgba(212,160,23,0.45);
  transform: translateY(-1px);
}
.btn-login {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.btn-login:hover {
  background: rgba(212,160,23,0.12);
  color: var(--primary-light);
  transform: translateY(-1px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #0a0c10;
  border: none;
  padding: 13px 32px;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #0a0c10;
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 12px 28px;
  font-size: 0.92rem;
  border-radius: var(--radius-md);
}
.btn-secondary:hover {
  background: rgba(212,160,23,0.1);
  color: var(--primary-light);
  transform: translateY(-2px);
}
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff;
  border: none;
  padding: 13px 32px;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
}
.btn-accent:hover {
  background: linear-gradient(135deg, #ff4d5a, var(--accent));
  box-shadow: 0 0 16px rgba(230,57,70,0.4);
  transform: translateY(-2px);
}
.btn-lg {
  padding: 15px 40px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* ============================================================
   HERO / BANNER
   ============================================================ */
.hero-section {
  position: relative;
  margin-top: var(--header-h);
  overflow: hidden;
}
.hero-banner-wrap {
  position: relative;
  width: 100%;
  background: #0a0c10;
}
.hero-banner-wrap img,
.hero-banner-wrap 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,12,16,0.75) 0%, rgba(10,12,16,0.2) 60%, transparent 100%);
  display: flex;
  align-items: center;
}
.hero-content {
  padding: 0 40px;
  max-width: 600px;
}
.hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.hero-content h1 span { color: var(--primary); }
.hero-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Inner page hero */
.page-hero {
  margin-top: var(--header-h);
  padding: 56px 0 48px;
  background: linear-gradient(135deg, #0e1118 0%, #12161e 50%, #0a0c10 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(212,160,23,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { max-width: 640px; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--primary); }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-gold);
}
.card-icon {
  width: 52px; height: 52px;
  background: rgba(212,160,23,0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--primary);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.card p { font-size: 0.9rem; margin: 0; }

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

/* Category Cards */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.cat-card:hover {
  border-color: var(--primary);
  background: rgba(212,160,23,0.06);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.cat-card .cat-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  background: rgba(212,160,23,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.cat-card .cat-icon svg { width: 32px; height: 32px; }
.cat-card h3 { font-size: 1rem; margin-bottom: 8px; }
.cat-card p { font-size: 0.83rem; color: var(--text-muted); margin: 0; }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: linear-gradient(135deg, var(--bg-alt), var(--bg-card));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-item .stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--border-gold); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  background: var(--bg-card);
  gap: 12px;
  user-select: none;
}
.faq-question h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  flex: 1;
}
.faq-icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  color: var(--primary);
  transition: transform 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 22px 18px;
  background: var(--bg-card);
}
.faq-answer p { font-size: 0.9rem; margin: 0; }

/* ============================================================
   STEPS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  position: relative;
}
.step-item {
  text-align: center;
  padding: 28px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
}
.step-num {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #0a0c10;
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step-item h3 { font-size: 0.95rem; margin-bottom: 8px; }
.step-item p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ============================================================
   PROMO CARDS
   ============================================================ */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.promo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.promo-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.promo-card-header {
  padding: 24px;
  background: linear-gradient(135deg, rgba(212,160,23,0.15), rgba(212,160,23,0.05));
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
}
.promo-badge {
  background: var(--primary);
  color: #0a0c10;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.promo-card-body { padding: 20px 24px; }
.promo-card-body h3 { font-size: 1rem; margin-bottom: 8px; }
.promo-card-body p { font-size: 0.87rem; color: var(--text-muted); margin-bottom: 16px; }

/* ============================================================
   TABLE
   ============================================================ */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.compare-table th {
  background: var(--bg-alt);
  color: var(--primary);
  padding: 14px 18px;
  text-align: left;
  border-bottom: 2px solid var(--border-gold);
  font-weight: 700;
}
.compare-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
.compare-table tr:hover td { background: rgba(212,160,23,0.04); }
.compare-table .check { color: #22c55e; font-weight: 700; }
.compare-table .cross { color: var(--accent); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, #12161e 0%, #1a1f2e 50%, #12161e 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(212,160,23,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { margin-bottom: 14px; }
.cta-section p { max-width: 560px; margin: 0 auto 32px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   YOUTUBE VIDEO MODULE
   ============================================================ */
.video-section { background: var(--bg-section); }
.video-wrap {
  max-width: 860px;
  margin: 0 auto;
}
.video-header { text-align: center; margin-bottom: 28px; }
.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.video-responsive iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-caption {
  text-align: center;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   LONG CONTENT / ARTICLE
   ============================================================ */
.content-article {
  max-width: 860px;
  margin: 0 auto;
}
.content-article h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.content-article h3 {
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--primary);
}
.content-article p { margin-bottom: 1.1rem; }
.content-article ul,
.content-article ol {
  margin: 0 0 1.1rem 0;
  padding-left: 0;
}
.content-article ul li,
.content-article ol li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 0.93rem;
}
.content-article ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary);
}
.content-article ol { counter-reset: ol-counter; }
.content-article ol li { counter-increment: ol-counter; }
.content-article ol li::before {
  content: counter(ol-counter) '.';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}
.content-article .highlight-box {
  background: rgba(212,160,23,0.08);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 24px 0;
}
.content-article .highlight-box p { margin: 0; color: var(--text-primary); }
.content-article .warning-box {
  background: rgba(230,57,70,0.08);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 24px 0;
}
.content-article .warning-box p { margin: 0; color: var(--text-primary); }

/* Bullet list standalone */
.bullet-list {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}
.bullet-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: 0.93rem;
}
.bullet-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.7rem;
  top: 4px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}
.contact-info-block h3 { margin-bottom: 20px; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.contact-info-item .ci-icon {
  width: 40px; height: 40px;
  background: rgba(212,160,23,0.12);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-info-item .ci-icon svg { width: 20px; height: 20px; }
.contact-info-item .ci-text strong { display: block; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 3px; }
.contact-info-item .ci-text span { font-size: 0.92rem; color: var(--text-primary); }

/* Form */
.contact-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 7px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text-primary);
  font-size: 0.92rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-error { font-size: 0.8rem; color: var(--accent); margin-top: 5px; display: none; }
.form-success {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: #22c55e;
  font-size: 0.9rem;
  display: none;
  margin-top: 16px;
}

/* ============================================================
   POLICY PAGES
   ============================================================ */
.policy-content {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.policy-content h2 {
  margin-top: 36px;
  margin-bottom: 14px;
  font-size: 1.25rem;
  color: var(--primary);
}
.policy-content h3 {
  margin-top: 24px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.policy-content p { font-size: 0.9rem; margin-bottom: 1rem; }
.policy-content ul { margin: 0 0 1rem 0; }
.policy-content ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 7px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.policy-content ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
}
.policy-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   RELATED LINKS
   ============================================================ */
.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.related-links a {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.related-links a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(212,160,23,0.06);
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: #080a0e;
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .site-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }
.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--primary); }

/* Footer Contact */
.footer-contact-list { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-list li {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.footer-contact-list li strong {
  color: var(--text-secondary);
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}
.footer-contact-list li a { color: var(--text-muted); }
.footer-contact-list li a:hover { color: var(--primary); }

/* Footer Bottom */
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.8rem; color: var(--text-muted); }
.footer-bottom-links a:hover { color: var(--primary); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: #0a0c10;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 900;
  border: none;
  box-shadow: 0 4px 16px rgba(212,160,23,0.4);
}
#back-to-top.visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover { transform: translateY(-3px); }
#back-to-top svg { width: 20px; height: 20px; }

/* ============================================================
   404 PAGE
   ============================================================ */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  background: var(--bg-dark);
}
.error-content { max-width: 560px; }
.error-code {
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.error-content h2 { margin-bottom: 14px; }
.error-content p { margin-bottom: 32px; }
.error-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   TABS
   ============================================================ */
.tabs-nav {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border: 1px solid transparent;
  border-bottom: none;
  cursor: pointer;
  transition: all var(--transition);
  background: none;
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.active {
  color: var(--primary);
  background: var(--bg-card);
  border-color: var(--border);
  border-bottom-color: var(--bg-card);
  margin-bottom: -1px;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ============================================================
   HIGHLIGHT STRIP
   ============================================================ */
.highlight-strip {
  background: linear-gradient(135deg, rgba(212,160,23,0.12), rgba(212,160,23,0.04));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.highlight-strip .hs-icon {
  width: 56px; height: 56px;
  background: rgba(212,160,23,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.highlight-strip .hs-icon svg { width: 28px; height: 28px; }
.highlight-strip .hs-text h3 { margin-bottom: 6px; }
.highlight-strip .hs-text p { margin: 0; font-size: 0.9rem; }

/* ============================================================
   TRUST BADGES
   ============================================================ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.trust-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.trust-item .trust-icon {
  width: 48px; height: 48px;
  margin: 0 auto 12px;
  color: var(--primary);
}
.trust-item .trust-icon svg { width: 48px; height: 48px; }
.trust-item h4 { font-size: 0.9rem; margin-bottom: 6px; }
.trust-item p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 10px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), transparent);
}
.timeline-item {
  position: relative;
  margin-bottom: 28px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px; top: 6px;
  width: 12px; height: 12px;
  background: var(--primary);
  border-radius: 50%;
  border: 2px solid var(--bg-dark);
}
.timeline-item h4 { font-size: 0.95rem; margin-bottom: 6px; }
.timeline-item p { font-size: 0.87rem; color: var(--text-muted); margin: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .site-logo svg { height: 34px; max-height: 34px; }
  .logo-text { font-size: 1rem; }
  .hero-content { padding: 0 20px; }
  .hero-content h1 { font-size: 1.6rem; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .policy-content { padding: 28px 20px; }
  .section { padding: 52px 0; }
  .section-lg { padding: 64px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight-strip { flex-direction: column; text-align: center; }
  .cta-btns { flex-direction: column; align-items: center; }
  .hero-banner-wrap img,
  .hero-banner-wrap svg { max-height: 280px; }
  .hero-overlay { position: relative; background: linear-gradient(180deg, rgba(10,12,16,0.7) 0%, rgba(10,12,16,0.95) 100%); }
  .hero-content { padding: 24px 20px; max-width: 100%; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
  .error-code { font-size: 5rem; }
  .btn-lg { padding: 13px 28px; font-size: 0.95rem; }
  .header-cta .btn { padding: 8px 14px; font-size: 0.8rem; }
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-gold { color: var(--primary); }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.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; }
.gap-16 { gap: 16px; }
.w-full { width: 100%; }
.bg-alt { background: var(--bg-alt); }
.bg-card { background: var(--bg-card); }
.border-top { border-top: 1px solid var(--border); }
.border-bottom { border-bottom: 1px solid var(--border); }
.rounded { border-radius: var(--radius-md); }
.p-24 { padding: 24px; }
.p-32 { padding: 32px; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
