/* ============================================================
   999bajilive.com - Global Stylesheet
   Style DNA: 混合型 | 聚合分发 + 内容流 + 重Footer
   Primary: #f5a623 | Accent: #e8320a | Dark BG: #050a1a
   ============================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans Bengali", sans-serif;
  background: #050a1a;
  color: #d0d8f0;
  line-height: 1.7;
  min-height: 100vh;
}

a { color: #f5a623; text-decoration: none; transition: color 0.2s; }
a:hover { color: #ffd700; }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

/* ---- CSS Variables ---- */
:root {
  --primary: #f5a623;
  --primary-dark: #d4880f;
  --accent: #e8320a;
  --accent2: #00d4ff;
  --gold: #ffd700;
  --bg-deep: #050a1a;
  --bg-dark: #0a1535;
  --bg-card: #0d1a35;
  --bg-card2: #111e3a;
  --bg-section: #080f28;
  --text-main: #d0d8f0;
  --text-muted: #7a8aaa;
  --text-light: #ffffff;
  --border: rgba(245,166,35,0.2);
  --border-strong: rgba(245,166,35,0.5);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 20px rgba(245,166,35,0.25);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 50px;
  --transition: 0.25s ease;
  --container: 1200px;
}

/* ---- Container ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-light);
}
h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--text-main); }

.text-gold { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-white { color: #fff; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-register {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 4px 15px rgba(245,166,35,0.35);
}
.btn-register:hover {
  background: linear-gradient(135deg, #ffc040, #ff4a1a);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,166,35,0.5);
}

.btn-login {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-login:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  padding: 14px 36px;
  font-size: 1rem;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245,166,35,0.5);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 12px 30px;
  font-size: 1rem;
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-lg { padding: 16px 44px; font-size: 1.1rem; }

/* ---- Header ---- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5,10,26,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.site-logo img,
.site-logo svg {
  height: 44px;
  width: auto;
  max-width: 200px;
  display: block;
}

/* Main Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  background: rgba(245,166,35,0.1);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text-main);
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  margin: 5px 0;
  transition: all var(--transition);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 12px 0;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 10px 20px;
  color: var(--text-main);
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all var(--transition);
}
.mobile-nav a:hover { color: var(--primary); background: rgba(245,166,35,0.08); }
.mobile-nav .mobile-cta {
  display: flex;
  gap: 10px;
  padding: 12px 20px;
}
.mobile-nav .mobile-cta .btn { flex: 1; justify-content: center; }

/* ---- Banner ---- */
.site-banner {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.site-banner img,
.site-banner svg {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}

/* ---- Section Base ---- */
.section {
  padding: 60px 0;
}
.section-sm { padding: 40px 0; }
.section-lg { padding: 80px 0; }
.section-dark { background: var(--bg-section); }
.section-card { background: var(--bg-dark); }

.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header h2 {
  margin-bottom: 10px;
}
.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ---- Shortcut Cards (Quick Entry) ---- */
.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}
.shortcut-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 12px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.shortcut-card:hover {
  border-color: var(--primary);
  background: var(--bg-card2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.shortcut-card .sc-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}
.shortcut-card .sc-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}
.shortcut-card:hover .sc-label { color: var(--primary); }

/* ---- Feature Cards ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}
.feature-card .fc-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(245,166,35,0.15), rgba(232,50,10,0.1));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}
.feature-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ---- Game Category Cards ---- */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}
.game-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(245,166,35,0.2);
}
.game-card-header {
  padding: 28px 20px 20px;
  background: linear-gradient(135deg, var(--bg-card2), var(--bg-dark));
  text-align: center;
  position: relative;
}
.game-card-header .game-icon {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 10px;
}
.game-card-header h3 { color: var(--primary); font-size: 1.1rem; }
.game-card-body {
  padding: 16px 20px;
}
.game-card-body p { font-size: 0.88rem; color: var(--text-muted); margin: 0 0 12px; }
.game-card-body .btn { width: 100%; justify-content: center; font-size: 0.85rem; padding: 9px 16px; }

/* ---- Promotion Cards ---- */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.promo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.promo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.promo-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}
.promo-card .promo-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.promo-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.promo-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 16px; }
.promo-amount {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 4px;
}

/* ---- Article / Post Listing Cards ---- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.post-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.post-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}
.post-card-body { padding: 18px; }
.post-card-cat {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.post-card-body h3 { font-size: 1rem; margin-bottom: 8px; }
.post-card-body h3 a { color: var(--text-light); }
.post-card-body h3 a:hover { color: var(--primary); }
.post-card-body p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ---- Archive / Category Listing ---- */
.archive-header {
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
  margin-bottom: 40px;
}
.archive-header h1 { margin-bottom: 12px; }
.archive-header p { color: var(--text-muted); max-width: 700px; }

.archive-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}

.archive-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

/* Sidebar */
.sidebar { position: sticky; top: 80px; }
.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}
.sidebar-widget h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.sidebar-links a {
  display: block;
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--text-main);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color var(--transition);
}
.sidebar-links a:hover { color: var(--primary); }

/* ---- Article Detail Page ---- */
.article-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}
.article-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.article-content h1 { margin-bottom: 16px; }
.article-meta {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.article-meta span { display: flex; align-items: center; gap: 4px; }
.article-content h2 { margin: 28px 0 12px; color: var(--primary); }
.article-content h3 { margin: 22px 0 10px; }
.article-content ul, .article-content ol {
  padding-left: 20px;
  margin-bottom: 1rem;
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 6px; color: var(--text-main); }
.article-content img { border-radius: var(--radius-md); margin: 16px 0; }
.article-content blockquote {
  border-left: 3px solid var(--primary);
  padding: 12px 20px;
  background: rgba(245,166,35,0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 16px 0;
  font-style: italic;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 14px 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .current { color: var(--primary); }

/* ---- Steps / Process ---- */
.steps-list { counter-reset: step; }
.step-item {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.step-num {
  counter-increment: step;
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  color: #fff;
}
.step-num::before { content: counter(step); }
.step-body h4 { margin-bottom: 6px; }
.step-body p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ---- FAQ ---- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-question.active { color: var(--primary); }
.faq-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform var(--transition);
  color: var(--primary);
}
.faq-question.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-answer.open { display: block; }
.faq-answer a { color: var(--primary); }

/* ---- CTA Section ---- */
.cta-section {
  background: linear-gradient(135deg, #0a1535 0%, #0d0820 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 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(245,166,35,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { margin-bottom: 12px; }
.cta-section p { color: var(--text-muted); margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- YouTube Video ---- */
.video-section { padding: 60px 0; }
.video-wrap {
  max-width: 800px;
  margin: 0 auto;
}
.video-header { text-align: center; margin-bottom: 24px; }
.video-header h2 { margin-bottom: 8px; }
.video-header p { color: var(--text-muted); }
.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;
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  text-align: center;
}
.stat-item .stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  display: block;
}
.stat-item .stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---- Trust Badges ---- */
.trust-bar {
  background: var(--bg-section);
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.trust-item .ti-icon { font-size: 1.1rem; color: var(--primary); }

/* ---- Long-form Content ---- */
.longform-section {
  background: var(--bg-section);
  padding: 60px 0;
}
.longform-inner {
  max-width: 860px;
  margin: 0 auto;
}
.longform-inner h2 {
  color: var(--primary);
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.longform-inner h3 { margin: 24px 0 10px; }
.longform-inner p { color: var(--text-main); margin-bottom: 14px; }
.longform-inner ul {
  list-style: none;
  margin-bottom: 16px;
}
.longform-inner ul li {
  padding: 6px 0 6px 20px;
  position: relative;
  color: var(--text-main);
  font-size: 0.95rem;
}
.longform-inner ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary);
}
.longform-inner table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.longform-inner table th {
  background: var(--bg-card);
  color: var(--primary);
  padding: 10px 14px;
  text-align: left;
  border: 1px solid var(--border);
}
.longform-inner table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  color: var(--text-main);
}
.longform-inner table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }

/* ---- Contact Page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-info-block h3 { margin-bottom: 20px; color: var(--primary); }
.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
}
.contact-item .ci-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(245,166,35,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
}
.contact-item .ci-text strong { display: block; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 2px; }
.contact-item .ci-text span, .contact-item .ci-text a { font-size: 0.95rem; color: var(--text-main); }

.contact-form-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-form-block h3 { margin-bottom: 20px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-main);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ---- 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: 40px;
}
.policy-content h1 { margin-bottom: 8px; }
.policy-date { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 28px; }
.policy-content h2 { color: var(--primary); margin: 28px 0 12px; font-size: 1.2rem; }
.policy-content h3 { margin: 20px 0 8px; font-size: 1rem; }
.policy-content p { font-size: 0.92rem; color: var(--text-main); }
.policy-content ul { list-style: disc; padding-left: 20px; margin-bottom: 14px; }
.policy-content ul li { font-size: 0.92rem; color: var(--text-main); margin-bottom: 6px; }

/* ---- Footer ---- */
#site-footer {
  background: #020710;
  border-top: 1px solid var(--border);
  padding-top: 50px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .footer-logo {
  height: 44px;
  width: auto;
  max-width: 180px;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.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-list { list-style: none; }
.footer-contact-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.footer-contact-list li strong { color: var(--text-main); min-width: 60px; }
.footer-contact-list li a { color: var(--text-muted); }
.footer-contact-list li a:hover { color: var(--primary); }

.footer-providers {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.footer-providers p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.provider-logos {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.provider-badge {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.footer-bottom {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}
.footer-bottom-links {
  display: flex;
  gap: 16px;
}
.footer-bottom-links a {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.footer-bottom-links a:hover { color: var(--primary); }

/* ---- 404 Page ---- */
.page-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}
.page-404 .err-code {
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.page-404 h2 { margin-bottom: 12px; }
.page-404 p { color: var(--text-muted); margin-bottom: 28px; }
.page-404 .back-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Inline CTA Banner ---- */
.inline-cta {
  background: linear-gradient(135deg, rgba(245,166,35,0.1), rgba(232,50,10,0.08));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 32px 0;
  flex-wrap: wrap;
}
.inline-cta h3 { margin-bottom: 4px; }
.inline-cta p { color: var(--text-muted); margin: 0; font-size: 0.9rem; }
.inline-cta .cta-right { flex-shrink: 0; }

/* ---- Related Links ---- */
.related-links {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 32px;
}
.related-links h4 { color: var(--primary); margin-bottom: 14px; font-size: 0.9rem; text-transform: uppercase; }
.related-links ul { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links ul li a {
  display: inline-block;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.82rem;
  color: var(--text-main);
  transition: all var(--transition);
}
.related-links ul li a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ---- Highlight Box ---- */
.highlight-box {
  background: rgba(245,166,35,0.07);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 20px 0;
}
.highlight-box p { margin: 0; font-size: 0.92rem; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .archive-layout { grid-template-columns: 1fr; }
  .article-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .header-cta .btn-login { display: none; }
  .header-inner { height: 56px; }
  .site-logo img, .site-logo svg { height: 36px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .shortcut-grid { grid-template-columns: repeat(3, 1fr); }
  .game-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 40px 0; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .inline-cta { flex-direction: column; text-align: center; }
  .inline-cta .cta-right { width: 100%; }
  .inline-cta .cta-right .btn { width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .shortcut-grid { grid-template-columns: repeat(2, 1fr); }
  .game-grid { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .article-content { padding: 20px; }
  .policy-content { padding: 20px; }
  .contact-info-block, .contact-form-block { padding: 20px; }
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.2rem; }
}

/* ---- Utility ---- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: 16px; }
.flex-wrap { flex-wrap: wrap; }
.w-100 { width: 100%; }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
