/* ============================================================
   999baji-club.com — Global Stylesheet
   Design System: Dark Gold Casino Theme
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --primary: #d4a017;
  --primary-light: #f5d060;
  --primary-dark: #a07810;
  --accent: #e84040;
  --accent2: #00c9a7;
  --bg-deep: #080810;
  --bg-dark: #0d0d1a;
  --bg-mid: #12122a;
  --bg-card: #1a1a35;
  --bg-card2: #1e1e3a;
  --bg-light: #252545;
  --text-primary: #f0f0f8;
  --text-secondary: #b0b0cc;
  --text-muted: #7070a0;
  --border: rgba(212,160,23,0.25);
  --border-light: rgba(212,160,23,0.12);
  --shadow-gold: 0 0 20px rgba(212,160,23,0.25);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.5);
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.25s ease;
  --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans Bengali", 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-stack);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  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; font-family: var(--font-stack); }
input, textarea, select { font-family: var(--font-stack); }

/* ---- 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; }

/* ---- Layout Utilities ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 96px 0; }
.text-center { text-align: center; }
.text-gold { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.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; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }

/* ---- Section Headers ---- */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { max-width: 600px; margin: 0 auto; color: var(--text-secondary); }
.section-tag {
  display: inline-block;
  background: rgba(212,160,23,0.15);
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.divider-gold {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  margin: 12px auto 0;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(8,8,16,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition);
}
.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: var(--header-h);
  gap: 16px;
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.logo-mark svg {
  width: 44px;
  height: 44px;
  max-width: 44px;
  max-height: 44px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text .logo-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.02em;
}
.logo-text .logo-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all 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;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.btn-register {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #1a0a00;
}
.btn-register:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #1a0a00;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212,160,23,0.4);
}
.btn-login {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-login:hover {
  background: rgba(212,160,23,0.12);
  color: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-1px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #1a0a00;
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: 10px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212,160,23,0.45);
  color: #1a0a00;
}
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 12px 28px;
  font-size: 0.95rem;
  border-radius: 10px;
}
.btn-secondary:hover {
  background: rgba(212,160,23,0.1);
  color: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}
.btn-accent {
  background: linear-gradient(135deg, var(--accent), #c02020);
  color: #fff;
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: 10px;
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232,64,64,0.4);
  color: #fff;
}
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.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); }

/* ============================================================
   BANNER
   ============================================================ */
.home-banner {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: var(--bg-dark);
  max-height: 480px;
}
.home-banner img,
.home-banner svg {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-mid) 50%, var(--bg-dark) 100%);
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212,160,23,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { max-width: 700px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 span { color: var(--primary); }
.hero-desc { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 32px; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}
.hero-stat-item { text-align: center; }
.hero-stat-item .stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.hero-stat-item .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}
.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(212,160,23,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 1.4rem;
}
.card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.card p { font-size: 0.9rem; color: var(--text-secondary); }

/* Feature Cards */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-gold);
  transform: translateY(-6px);
}
.feature-card .card-icon { margin: 0 auto 20px; }

/* Game Cards */
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}
.game-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}
.game-card-img {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, var(--bg-mid), var(--bg-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.game-card-img svg { width: 80px; height: 80px; }
.game-card-body { padding: 20px; }
.game-card-body h3 { font-size: 1rem; margin-bottom: 6px; }
.game-card-body p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 14px; }
.game-badge {
  display: inline-block;
  background: rgba(212,160,23,0.15);
  color: var(--primary);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 600;
}
.game-badge.hot { background: rgba(232,64,64,0.15); color: var(--accent); }
.game-badge.new { background: rgba(0,201,167,0.15); color: var(--accent2); }

/* Promo Cards */
.promo-card {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card2));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.promo-card::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(212,160,23,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.promo-card:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}
.promo-badge {
  display: inline-block;
  background: var(--primary);
  color: #1a0a00;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.promo-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

/* ============================================================
   SECTIONS
   ============================================================ */

/* Advantages */
.advantages-section { background: var(--bg-dark); }
.advantages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }

/* Categories */
.categories-section { background: var(--bg-deep); }
.categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}
.category-card:hover {
  border-color: var(--primary);
  background: var(--bg-card2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.category-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;
}
.category-card .cat-icon svg { width: 32px; height: 32px; }
.category-card h3 { font-size: 1rem; color: var(--text-primary); margin-bottom: 6px; }
.category-card p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, var(--bg-mid), var(--bg-dark));
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
.stat-item { text-align: center; }
.stat-item .num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item .label { font-size: 0.9rem; color: var(--text-secondary); }

/* Steps Section */
.steps-section { background: var(--bg-dark); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}
.step-num {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #1a0a00;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 1rem; margin-bottom: 8px; }
.step-card p { font-size: 0.88rem; color: var(--text-secondary); }

/* Trust Section */
.trust-section { background: var(--bg-deep); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}
.trust-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: rgba(212,160,23,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.trust-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.trust-item p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* Long Content Section */
.content-section { background: var(--bg-dark); }
.content-section h2 { color: var(--primary); margin-bottom: 16px; }
.content-section h3 { color: var(--text-primary); margin: 24px 0 12px; font-size: 1.2rem; }
.content-section p { color: var(--text-secondary); margin-bottom: 14px; }
.content-section ul, .content-section ol {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}
.content-section ul li, .content-section ol li {
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.content-section ol { list-style: decimal; }
.content-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
}
.content-box h4 { color: var(--primary); margin-bottom: 10px; }
.content-box p { margin: 0; font-size: 0.92rem; }

/* Bullet Points */
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.bullet-list li:last-child { border-bottom: none; }
.bullet-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { background: var(--bg-mid); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--border); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  gap: 16px;
}
.faq-question h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  flex: 1;
}
.faq-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: rgba(212,160,23,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
}
.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin: 0;
}
.faq-answer a { color: var(--primary); }

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.video-section { background: var(--bg-deep); }
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  max-width: 860px;
  margin: 0 auto;
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-lg);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--bg-mid) 0%, var(--bg-dark) 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
  padding: 80px 0;
  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.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { max-width: 560px; margin: 0 auto 32px; color: var(--text-secondary); }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-section {
  background: var(--bg-dark);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); font-size: 0.85rem; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text-muted); font-size: 0.85rem; }
.breadcrumb .current { color: var(--primary); font-size: 0.85rem; }
.breadcrumb-sep { color: var(--text-muted); font-size: 0.75rem; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-mid) 100%);
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 400px;
  height: 100%;
  background: radial-gradient(ellipse at right, rgba(212,160,23,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { color: var(--text-secondary); max-width: 600px; }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.compare-table th {
  background: var(--bg-mid);
  color: var(--primary);
  padding: 16px 20px;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}
.compare-table td {
  padding: 14px 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-light);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: rgba(212,160,23,0.04); }
.check-yes { color: var(--accent2); font-weight: 700; }
.check-no { color: var(--accent); }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-mid);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 12px 16px;
  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);
  box-shadow: 0 0 0 3px rgba(212,160,23,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-error { color: var(--accent); font-size: 0.8rem; margin-top: 4px; display: none; }
.form-success {
  background: rgba(0,201,167,0.1);
  border: 1px solid rgba(0,201,167,0.3);
  border-radius: 8px;
  padding: 16px;
  color: var(--accent2);
  text-align: center;
  display: none;
}

/* ============================================================
   POLICY PAGES
   ============================================================ */
.policy-content {
  max-width: 860px;
  margin: 0 auto;
}
.policy-content h2 {
  color: var(--primary);
  margin: 36px 0 14px;
  font-size: 1.3rem;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}
.policy-content h3 {
  color: var(--text-primary);
  margin: 24px 0 10px;
  font-size: 1.05rem;
}
.policy-content p { color: var(--text-secondary); margin-bottom: 14px; font-size: 0.95rem; }
.policy-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}
.policy-content ul li {
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-size: 0.93rem;
}
.policy-content ol {
  list-style: decimal;
  padding-left: 24px;
  margin-bottom: 16px;
}
.policy-content ol li {
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-size: 0.93rem;
}
.policy-date {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ============================================================
   TABS
   ============================================================ */
.tabs-nav {
  display: flex;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.tab-btn {
  flex: 1;
  min-width: 100px;
  padding: 10px 16px;
  background: none;
  border: none;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.tab-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #1a0a00;
}
.tab-btn:hover:not(.active) { color: var(--primary); background: rgba(212,160,23,0.08); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #1a0a00;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
  box-shadow: 0 4px 16px rgba(212,160,23,0.4);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-light); transform: translateY(-2px); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-light);
  padding-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-light);
}
.footer-brand .logo-mark { margin-bottom: 16px; }
.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--primary); }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.footer-contact li strong { color: var(--text-secondary); min-width: 60px; }
.footer-contact a { color: var(--text-muted); }
.footer-contact a:hover { color: var(--primary); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.82rem; color: var(--text-muted); }
.footer-bottom-links a:hover { color: var(--primary); }
.footer-disclaimer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-light);
  padding: 16px 0;
  text-align: center;
}
.footer-disclaimer p {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}
.error-code {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  opacity: 0.3;
  margin-bottom: 16px;
}
.error-page h1 { margin-bottom: 16px; }
.error-page p { max-width: 480px; margin: 0 auto 32px; }
.error-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   RELATED LINKS SECTION
   ============================================================ */
.related-section { background: var(--bg-dark); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.related-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}
.related-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}
.related-card h4 { font-size: 0.95rem; color: var(--text-primary); margin-bottom: 6px; }
.related-card p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .main-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(8,8,16,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid var(--border-light);
    z-index: 999;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 16px; font-size: 1rem; }
  .menu-toggle { display: flex; }
  .header-cta { gap: 8px; }
  .btn { padding: 8px 14px; font-size: 0.82rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 48px 0; }
  .section-lg { padding: 64px 0; }
  .logo-text .logo-name { font-size: 0.95rem; }
  .logo-mark { width: 36px; height: 36px; }
  .logo-mark svg { width: 36px; height: 36px; max-width: 36px; max-height: 36px; }
  .home-banner { max-height: 280px; }
  .home-banner img, .home-banner svg { max-height: 280px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .hero-actions { flex-direction: column; }
  .contact-form { padding: 24px; }
  .tabs-nav { flex-direction: column; }
  .tab-btn { text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  .btn-primary, .btn-secondary, .btn-accent { padding: 12px 24px; font-size: 0.92rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .home-banner { max-height: 200px; }
  .home-banner img, .home-banner svg { max-height: 200px; }
}
