/* ============================================================
   365bajiapp.com - Global Stylesheet
   Design System: Dark Premium Casino / Sports Betting
   ============================================================ */

/* ---- CSS Variables / Design Tokens ---- */
:root {
  --color-primary: #ffd700;
  --color-primary-dark: #e8a000;
  --color-primary-light: #fff3b0;
  --color-accent-red: #e63946;
  --color-accent-blue: #2196f3;
  --color-accent-green: #4caf50;
  --color-bg-deep: #0d0d1a;
  --color-bg-dark: #12122a;
  --color-bg-mid: #1a1a35;
  --color-bg-card: #1e1e3a;
  --color-bg-card-hover: #252548;
  --color-bg-section-alt: #161630;
  --color-text-primary: #f0f0f8;
  --color-text-secondary: #a8b2c8;
  --color-text-muted: #6b7a99;
  --color-border: rgba(255,215,0,0.15);
  --color-border-strong: rgba(255,215,0,0.35);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.45), 0 1px 4px rgba(255,215,0,0.08);
  --shadow-card-hover: 0 8px 40px rgba(0,0,0,0.6), 0 2px 12px rgba(255,215,0,0.18);
  --shadow-btn: 0 4px 16px rgba(255,215,0,0.3);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans Bengali", sans-serif;
  --transition: 0.25s ease;
  --header-height: 72px;
}

/* ---- 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(--color-bg-deep);
  color: var(--color-text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-light); }
img, svg { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { line-height: 1.3; font-weight: 700; color: var(--color-text-primary); }
p { margin-bottom: 1rem; color: var(--color-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;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13,13,26,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,0.6);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 16px;
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  max-height: 48px;
  overflow: hidden;
}
.site-logo svg {
  width: auto;
  height: 44px;
  max-height: 44px;
  flex-shrink: 0;
}
.logo-text {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.site-nav a {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--color-primary);
  background: rgba(255,215,0,0.08);
}
.site-nav a.nav-home {
  color: var(--color-primary);
  font-weight: 700;
}

/* 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: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.btn-register {
  background: linear-gradient(135deg, #f5c518, #e8a000);
  color: #1a1a2e;
  box-shadow: var(--shadow-btn);
}
.btn-register:hover {
  background: linear-gradient(135deg, #ffd740, #f5c518);
  color: #0d0d1a;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255,215,0,0.45);
}
.btn-login {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.btn-login:hover {
  background: rgba(255,215,0,0.1);
  color: var(--color-primary-light);
  transform: translateY(-1px);
}
.btn-primary {
  background: linear-gradient(135deg, #f5c518, #e8a000);
  color: #1a1a2e;
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #ffd740, #f5c518);
  color: #0d0d1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,215,0,0.5);
}
.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  padding: 12px 28px;
  font-size: 0.95rem;
  border-radius: var(--radius-xl);
}
.btn-secondary:hover {
  background: rgba(255,215,0,0.1);
  transform: translateY(-1px);
}
.btn-danger {
  background: linear-gradient(135deg, #e63946, #9b1d20);
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--radius-xl);
}
.btn-danger:hover {
  background: linear-gradient(135deg, #ff4d5a, #e63946);
  transform: translateY(-1px);
}
.btn-lg {
  padding: 16px 40px;
  font-size: 1.1rem;
}
.btn-sm {
  padding: 8px 18px;
  font-size: 0.8rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-text-primary);
  flex-direction: column;
  gap: 5px;
}
.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.mobile-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: rgba(13,13,26,0.99);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 24px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--color-text-secondary);
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav a:hover { color: var(--color-primary); background: rgba(255,215,0,0.06); }
.mobile-nav a.nav-home { color: var(--color-primary); }

/* ============================================================
   BANNER SECTION
   ============================================================ */
.banner-section {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  position: relative;
}
.banner-section img,
.banner-section .banner-svg-wrap {
  width: 100%;
  display: block;
}
.banner-section .banner-svg-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   HERO SECTION (for inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, #0d0d1a 0%, #1a0a2e 50%, #0a1628 100%);
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,215,0,0.06) 0%, transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}
.page-hero h1 span { color: var(--color-primary); }
.page-hero p {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  max-width: 640px;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  padding: 14px 0;
  background: var(--color-bg-dark);
  border-bottom: 1px solid var(--color-border);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.breadcrumb li a { color: var(--color-text-secondary); }
.breadcrumb li a:hover { color: var(--color-primary); }
.breadcrumb li.active { color: var(--color-primary); }
.breadcrumb li::after { content: '/'; color: var(--color-text-muted); }
.breadcrumb li:last-child::after { display: none; }

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 96px 0; }
.section-alt { background: var(--color-bg-section-alt); }
.section-dark { background: var(--color-bg-dark); }
.section-mid { background: var(--color-bg-mid); }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.section-header h2 span { color: var(--color-primary); }
.section-header p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.25);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card:hover {
  background: var(--color-bg-card-hover);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.2);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text-primary);
}
.card p { font-size: 0.9rem; color: var(--color-text-secondary); margin: 0; }

/* Feature Cards */
.feature-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all var(--transition);
  text-align: center;
}
.feature-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.feature-card .icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.9rem; color: var(--color-text-secondary); }

/* Game Cards */
.game-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}
.game-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.game-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--color-bg-mid), var(--color-bg-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.game-card-thumb svg { width: 60px; height: 60px; opacity: 0.7; }
.game-card-body { padding: 18px 16px; }
.game-card-body h3 { font-size: 1rem; margin-bottom: 6px; }
.game-card-body p { font-size: 0.85rem; color: var(--color-text-secondary); margin: 0; }
.game-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--color-accent-red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
}

/* Promo Cards */
.promo-card {
  background: linear-gradient(135deg, var(--color-bg-card), var(--color-bg-mid));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.promo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent-red));
}
.promo-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}
.promo-card .promo-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(255,215,0,0.1);
  padding: 3px 12px;
  border-radius: 12px;
  margin-bottom: 12px;
}
.promo-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.promo-card .promo-amount {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
}
.promo-card p { font-size: 0.88rem; color: var(--color-text-secondary); }

/* ============================================================
   GRIDS
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-bar {
  background: linear-gradient(90deg, #1a0a2e, #0a1628, #1a0a2e);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 32px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 16px 20px;
  border-right: 1px solid var(--color-border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--color-border-strong); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  background: var(--color-bg-card);
  transition: background var(--transition);
  gap: 16px;
}
.faq-question:hover { background: var(--color-bg-card-hover); }
.faq-question h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
  flex: 1;
}
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  color: var(--color-primary);
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1;
}
.faq-item.open .faq-icon {
  background: var(--color-primary);
  color: #1a1a2e;
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  background: var(--color-bg-card);
}
.faq-answer p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin: 0;
  padding-top: 4px;
}
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   STEPS / PROCESS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  position: relative;
}
.step-item {
  text-align: center;
  padding: 32px 20px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  position: relative;
}
.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #1a1a2e;
  font-size: 1.3rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.step-item h3 { font-size: 1rem; margin-bottom: 8px; }
.step-item p { font-size: 0.88rem; color: var(--color-text-secondary); margin: 0; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, #1a0a2e 0%, #0d0d1a 50%, #0a1628 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,215,0,0.07) 0%, transparent 65%);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 16px;
}
.cta-section h2 span { color: var(--color-primary); }
.cta-section p {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  max-width: 520px;
  margin: 0 auto 32px;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   YOUTUBE VIDEO MODULE
   ============================================================ */
.video-section { background: var(--color-bg-dark); padding: 72px 0; }
.video-wrapper {
  max-width: 800px;
  margin: 0 auto;
}
.video-header {
  text-align: center;
  margin-bottom: 32px;
}
.video-header h2 { font-size: 1.8rem; margin-bottom: 10px; }
.video-header p { color: var(--color-text-secondary); }
.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}
.video-responsive iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ============================================================
   CATEGORY ENTRY GRID
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.category-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}
.category-card:hover {
  border-color: var(--color-border-strong);
  background: var(--color-bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.category-card .cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.category-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 6px;
}
.category-card p {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  margin: 0;
}

/* ============================================================
   TRUST / INFO SECTION
   ============================================================ */
.trust-section {
  background: var(--color-bg-mid);
  padding: 64px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.trust-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg { width: 22px; height: 22px; }
.trust-content h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.trust-content p { font-size: 0.85rem; color: var(--color-text-secondary); margin: 0; }

/* ============================================================
   LONG-FORM CONTENT SECTIONS
   ============================================================ */
.content-section { padding: 64px 0; }
.content-section h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--color-text-primary);
}
.content-section h2 span { color: var(--color-primary); }
.content-section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--color-text-primary);
}
.content-section p {
  font-size: 0.97rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}
.content-section ul, .content-section ol {
  padding-left: 0;
  margin-bottom: 20px;
}
.content-section ul li, .content-section ol li {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  padding: 6px 0 6px 24px;
  position: relative;
  line-height: 1.7;
}
.content-section ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-size: 0.85rem;
}
.content-section ol { counter-reset: ol-counter; }
.content-section ol li { counter-increment: ol-counter; }
.content-section ol li::before {
  content: counter(ol-counter) '.';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.85rem;
}

/* Bullet Points highlight box */
.highlight-box {
  background: rgba(255,215,0,0.05);
  border: 1px solid rgba(255,215,0,0.2);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 24px 0;
}
.highlight-box h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.highlight-box ul { margin: 0; }
.highlight-box ul li {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  padding: 4px 0 4px 20px;
}
.highlight-box ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent-green);
  font-weight: 700;
}

/* Two-column content layout */
.content-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.content-two-col.reverse { direction: rtl; }
.content-two-col.reverse > * { direction: ltr; }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.compare-table th {
  background: var(--color-bg-mid);
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.compare-table td {
  padding: 14px 20px;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-card);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--color-bg-card-hover); }
.compare-table .check { color: var(--color-accent-green); font-weight: 700; }
.compare-table .cross { color: var(--color-accent-red); }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--color-bg-mid);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--color-text-primary);
  font-size: 0.95rem;
  font-family: var(--font-stack);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255,215,0,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-error {
  font-size: 0.8rem;
  color: var(--color-accent-red);
  margin-top: 4px;
  display: none;
}
.form-error.show { display: block; }
.form-success {
  background: rgba(76,175,80,0.1);
  border: 1px solid rgba(76,175,80,0.3);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: var(--color-accent-green);
  font-size: 0.95rem;
  display: none;
  margin-top: 16px;
}
.form-success.show { display: block; }

/* ============================================================
   POLICY / TERMS CONTENT
   ============================================================ */
.policy-content {
  max-width: 860px;
  margin: 0 auto;
}
.policy-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 40px 0 16px;
  color: var(--color-text-primary);
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}
.policy-content h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.policy-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 24px 0 10px;
  color: var(--color-primary);
}
.policy-content p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 14px;
}
.policy-content ul {
  padding-left: 0;
  margin-bottom: 16px;
}
.policy-content ul li {
  font-size: 0.93rem;
  color: var(--color-text-secondary);
  padding: 5px 0 5px 22px;
  position: relative;
  line-height: 1.7;
}
.policy-content ul li::before {
  content: '•';
  position: absolute;
  left: 6px;
  color: var(--color-primary);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #080814;
  border-top: 1px solid var(--color-border);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--color-border);
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-brand .footer-logo svg {
  width: auto;
  height: 40px;
  max-height: 40px;
}
.footer-brand .logo-text {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--color-primary);
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}
.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--color-primary); }

/* Footer Contact Info */
.footer-contact h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-contact-item .contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.footer-contact-item .contact-value {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
}
.footer-contact-item .contact-value a {
  color: var(--color-text-secondary);
}
.footer-contact-item .contact-value a:hover { color: var(--color-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.82rem;
  color: var(--color-text-muted);
  margin: 0;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}
.footer-bottom-links a:hover { color: var(--color-primary); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #1a1a2e;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(255,215,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 900;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(255,215,0,0.5); }

/* ============================================================
   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(--color-primary);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.8;
}
.error-page h1 { font-size: 2rem; margin-bottom: 16px; }
.error-page p { color: var(--color-text-secondary); max-width: 480px; margin: 0 auto 32px; }

/* ============================================================
   TABS
   ============================================================ */
.tabs-nav {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 32px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 12px 22px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  font-family: var(--font-stack);
}
.tab-btn:hover { color: var(--color-primary); }
.tab-btn.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ============================================================
   NOTICE / ALERT BOXES
   ============================================================ */
.notice {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 20px;
  border-left: 4px solid;
}
.notice-info {
  background: rgba(33,150,243,0.08);
  border-color: var(--color-accent-blue);
  color: #90caf9;
}
.notice-warning {
  background: rgba(255,215,0,0.08);
  border-color: var(--color-primary);
  color: var(--color-primary-light);
}
.notice-success {
  background: rgba(76,175,80,0.08);
  border-color: var(--color-accent-green);
  color: #a5d6a7;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--color-border); }
}

@media (max-width: 900px) {
  .site-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .content-two-col { grid-template-columns: 1fr; gap: 32px; }
  .content-two-col.reverse { direction: ltr; }
}

@media (max-width: 640px) {
  :root { --header-height: 64px; }
  .site-logo svg { height: 36px; max-height: 36px; }
  .logo-text { font-size: 1.05rem; }
  .btn { padding: 9px 18px; font-size: 0.82rem; }
  .btn-register, .btn-login { padding: 8px 14px; font-size: 0.78rem; }
  .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: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 48px 0; }
  .section-lg { padding: 64px 0; }
  .cta-section { padding: 56px 0; }
  .contact-form { padding: 24px 20px; }
  .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
}

@media (max-width: 400px) {
  .header-cta { gap: 6px; }
  .btn-register, .btn-login { padding: 7px 12px; font-size: 0.75rem; }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-gold { color: var(--color-primary); }
.text-muted { color: var(--color-text-muted); }
.text-secondary { color: var(--color-text-secondary); }
.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; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.w-full { width: 100%; }
.hidden { display: none; }
.divider {
  height: 1px;
  background: var(--color-border);
  margin: 40px 0;
}
