/* ============================================================
   888BAJI-LIVE.COM - Global Stylesheet
   Style DNA: Mixed (Brand Navigation + Content Distribution + Long-form SEO)
   Color System: Deep Navy + Gold + Crimson
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --primary: #f5a623;
  --primary-dark: #d4891a;
  --accent: #e8320a;
  --accent-light: #ff5533;
  --bg-deep: #0a0e1a;
  --bg-dark: #0f1525;
  --bg-mid: #161d30;
  --bg-card: #1c2540;
  --bg-card-hover: #222d4a;
  --bg-section-alt: #111827;
  --text-primary: #f0f4ff;
  --text-secondary: #a8b4cc;
  --text-muted: #6b7a99;
  --border-color: rgba(245,166,35,0.2);
  --border-hover: rgba(245,166,35,0.5);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-gold: 0 0 20px rgba(245,166,35,0.2);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-bn: "Noto Sans Bengali", system-ui, -apple-system, Arial, sans-serif;
  --transition: 0.25s ease;
  --container-max: 1200px;
  --header-h: 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-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { line-height: 1.3; font-weight: 700; color: var(--text-primary); }

/* ---- Container ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,14,26,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}
.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.header-logo img,
.header-logo svg {
  height: 44px;
  width: auto;
  max-width: 200px;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.header-nav a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.header-nav a:hover,
.header-nav a.active {
  color: var(--primary);
  background: rgba(245,166,35,0.1);
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 14px;
  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: #0a0e1a;
  box-shadow: 0 4px 15px rgba(245,166,35,0.35);
}
.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,166,35,0.5);
  color: #0a0e1a;
}
.btn-login {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-login:hover {
  background: rgba(245,166,35,0.1);
  color: var(--primary);
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #0a0e1a;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(245,166,35,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,166,35,0.45);
  color: #0a0e1a;
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: rgba(245,166,35,0.1);
  color: var(--primary);
}
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-sm { padding: 7px 16px; font-size: 13px; }

/* ---- Mobile Menu Toggle ---- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
}
.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: all var(--transition);
}

/* ---- Mobile Nav ---- */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 20px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: block;
}
.mobile-nav a:hover { color: var(--primary); background: rgba(245,166,35,0.08); }
.mobile-nav .mobile-cta-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}
.mobile-nav .mobile-cta-row .btn { flex: 1; justify-content: center; }

/* ============================================================
   HERO / BANNER SECTION
   ============================================================ */
.hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg-deep);
}
.hero-banner img,
.hero-banner svg {
  width: 100%;
  height: auto;
  display: block;
  max-height: 520px;
  object-fit: cover;
}

/* ============================================================
   SHORTCUT CARDS (Quick Entry Icons)
   ============================================================ */
.shortcut-section {
  background: var(--bg-dark);
  padding: 28px 0;
  border-bottom: 1px solid var(--border-color);
}
.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.shortcut-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  color: var(--text-secondary);
}
.shortcut-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
  color: var(--primary);
}
.shortcut-card .sc-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(245,166,35,0.15), rgba(232,50,10,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.shortcut-card .sc-label {
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section {
  padding: 60px 0;
}
.section-alt {
  background: var(--bg-section-alt);
}
.section-dark {
  background: var(--bg-mid);
}
.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.section-title span {
  color: var(--primary);
}
.section-subtitle {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 32px;
}
.section-header {
  margin-bottom: 36px;
}
.section-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---- Divider ---- */
.divider-gold {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 12px 0 20px;
}

/* ============================================================
   FEATURE CARDS (4-column grid)
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  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(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-card:hover::before { opacity: 1; }
.feature-card .fc-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--primary);
}
.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   GAME CATEGORY CARDS (Casino/Slots/Sports/Promo)
   ============================================================ */
.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}
.game-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.game-card-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--bg-mid), var(--bg-card));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  position: relative;
  overflow: hidden;
}
.game-card-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.5));
}
.game-card-body {
  padding: 16px;
}
.game-card-body h3 {
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 6px;
}
.game-card-body p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}
.game-card-body .badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(245,166,35,0.15);
  color: var(--primary);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* ============================================================
   CONTENT FEED / ARTICLE CARDS (3-column)
   ============================================================ */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.article-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}
.article-card-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--bg-mid), var(--bg-card));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  overflow: hidden;
}
.article-card-body {
  padding: 18px;
}
.article-card-body .tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(245,166,35,0.12);
  color: var(--primary);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}
.article-card-body h3 {
  font-size: 15px;
  margin-bottom: 8px;
  line-height: 1.4;
}
.article-card-body h3 a {
  color: var(--text-primary);
}
.article-card-body h3 a:hover { color: var(--primary); }
.article-card-body p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   TOPLIST / RANKING CARDS
   ============================================================ */
.toplist-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 12px;
  transition: all var(--transition);
  position: relative;
}
.toplist-item:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-gold);
}
.toplist-rank {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  flex-shrink: 0;
}
.rank-1 { background: linear-gradient(135deg, #f5a623, #e8320a); color: #fff; }
.rank-2 { background: linear-gradient(135deg, #8a8aff, #4f34ff); color: #fff; }
.rank-3 { background: linear-gradient(135deg, #6aff8a, #34a853); color: #fff; }
.rank-n { background: var(--bg-mid); color: var(--text-secondary); }
.toplist-icon { font-size: 36px; flex-shrink: 0; }
.toplist-info { flex: 1; }
.toplist-info h3 { font-size: 16px; color: var(--primary); margin-bottom: 4px; }
.toplist-info p { font-size: 13px; color: var(--text-secondary); }
.toplist-rating { color: var(--primary); font-size: 13px; font-weight: 700; text-align: center; flex-shrink: 0; }
.toplist-btn { flex-shrink: 0; }

/* ============================================================
   LONG-FORM CONTENT AREA
   ============================================================ */
.longform-content {
  max-width: 860px;
  margin: 0 auto;
}
.longform-content h2 {
  font-size: 22px;
  color: var(--primary);
  margin: 36px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
}
.longform-content h3 {
  font-size: 18px;
  color: var(--text-primary);
  margin: 28px 0 12px;
}
.longform-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}
.longform-content ul,
.longform-content ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
.longform-content ul { list-style: disc; }
.longform-content ol { list-style: decimal; }
.longform-content li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 8px;
}
.longform-content strong { color: var(--text-primary); }
.longform-content a { color: var(--primary); }
.longform-content a:hover { text-decoration: underline; }
.longform-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.longform-content table th {
  background: var(--bg-card);
  color: var(--primary);
  padding: 12px 16px;
  text-align: left;
  border: 1px solid var(--border-color);
}
.longform-content table td {
  padding: 10px 16px;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}
.longform-content table tr:nth-child(even) td {
  background: rgba(255,255,255,0.02);
}

/* ---- Info Box ---- */
.info-box {
  background: rgba(245,166,35,0.07);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
}
.info-box p { color: var(--text-secondary); margin: 0; }

/* ---- Step List ---- */
.step-list { counter-reset: step; }
.step-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.step-num {
  counter-increment: step;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #0a0e1a;
  font-weight: 900;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-content h4 { font-size: 16px; margin-bottom: 6px; color: var(--text-primary); }
.step-content p { font-size: 14px; color: var(--text-secondary); margin: 0; }

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--border-hover); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  cursor: pointer;
  background: var(--bg-card);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  transition: background var(--transition);
  gap: 12px;
}
.faq-question:hover { background: var(--bg-card-hover); }
.faq-item.open .faq-question { color: var(--primary); }
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(245,166,35,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  color: var(--primary);
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 16px 20px 20px;
  background: var(--bg-dark);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }
.faq-answer a { color: var(--primary); }

/* ============================================================
   YOUTUBE VIDEO MODULE
   ============================================================ */
.video-section { padding: 60px 0; background: var(--bg-section-alt); }
.video-wrapper {
  max-width: 800px;
  margin: 0 auto;
}
.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}
.video-responsive iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0f1525 0%, #1a0a2e 50%, #2d0a0a 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: 36px;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.cta-section h2 span { color: var(--primary); }
.cta-section p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--bg-mid);
  padding: 32px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item .stat-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item .stat-label {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  padding: 14px 0;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 6px; }
.breadcrumb .current { color: var(--text-secondary); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-mid) 100%);
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,166,35,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 12px;
}
.page-hero h1 span { color: var(--primary); }
.page-hero p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
}

/* ============================================================
   ARCHIVE / LISTING PAGE
   ============================================================ */
.archive-header {
  background: var(--bg-dark);
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
}
.archive-header h1 { font-size: 30px; margin-bottom: 10px; }
.archive-header p { color: var(--text-secondary); font-size: 15px; }
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 40px 0;
}
.archive-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.archive-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.archive-card-thumb {
  height: 200px;
  background: linear-gradient(135deg, var(--bg-mid), var(--bg-card));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  position: relative;
}
.archive-card-thumb .badge-new {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}
.archive-card-body { padding: 20px; }
.archive-card-body h3 { font-size: 17px; margin-bottom: 8px; color: var(--text-primary); }
.archive-card-body p { font-size: 14px; color: var(--text-secondary); margin-bottom: 14px; line-height: 1.6; }
.archive-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   PROMOTION CARDS
   ============================================================ */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.promo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.promo-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-gold);
}
.promo-card-header {
  padding: 24px;
  background: linear-gradient(135deg, rgba(245,166,35,0.1), rgba(232,50,10,0.05));
  display: flex;
  align-items: center;
  gap: 16px;
}
.promo-card-icon { font-size: 40px; }
.promo-card-header h3 { font-size: 18px; color: var(--primary); margin-bottom: 4px; }
.promo-card-header .promo-value {
  font-size: 28px;
  font-weight: 900;
  color: var(--text-primary);
}
.promo-card-body { padding: 20px; flex: 1; }
.promo-card-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
.promo-card-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.promo-card-footer .terms { font-size: 12px; color: var(--text-muted); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-info-card h3 { font-size: 20px; color: var(--primary); margin-bottom: 20px; }
.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(245,166,35,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-item-text strong { display: block; font-size: 14px; color: var(--text-primary); margin-bottom: 2px; }
.contact-item-text span { font-size: 14px; color: var(--text-secondary); }
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-form-card h3 { font-size: 20px; color: var(--primary); margin-bottom: 20px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; color: var(--text-secondary); margin-bottom: 6px; font-weight: 600; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font-stack);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 12px; color: var(--text-muted); margin-top: 12px; }

/* ============================================================
   POLICY PAGES (Privacy / Terms)
   ============================================================ */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}
.policy-content h2 {
  font-size: 20px;
  color: var(--primary);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}
.policy-content h3 { font-size: 17px; color: var(--text-primary); margin: 20px 0 10px; }
.policy-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 14px; }
.policy-content ul { padding-left: 20px; list-style: disc; margin-bottom: 14px; }
.policy-content li { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 6px; }
.policy-last-updated {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding: 10px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: #060810;
  border-top: 1px solid var(--border-color);
  padding-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
}
.footer-brand .footer-logo {
  margin-bottom: 16px;
}
.footer-brand .footer-logo img,
.footer-brand .footer-logo svg {
  height: 40px;
  width: auto;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-contact-list { list-style: none; }
.footer-contact-list li {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.footer-contact-list li strong { color: var(--text-secondary); min-width: 60px; }
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
}
.footer-bottom-links {
  display: flex;
  gap: 16px;
}
.footer-bottom-links a {
  font-size: 12px;
  color: var(--text-muted);
}
.footer-bottom-links a:hover { color: var(--primary); }
.footer-disclaimer {
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
}

/* ============================================================
   RELATED LINKS / INTERNAL NAV
   ============================================================ */
.related-links {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 32px 0;
}
.related-links h4 { font-size: 15px; color: var(--primary); margin-bottom: 14px; }
.related-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.related-link-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.related-link-item:hover {
  border-color: var(--border-hover);
  color: var(--primary);
  background: rgba(245,166,35,0.05);
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}
.error-page .error-code {
  font-size: 120px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  opacity: 0.3;
  margin-bottom: 16px;
}
.error-page h1 { font-size: 28px; margin-bottom: 12px; }
.error-page p { font-size: 15px; color: var(--text-secondary); margin-bottom: 32px; }
.error-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 500px;
  margin: 0 auto 32px;
}
.error-nav-item {
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.error-nav-item:hover {
  border-color: var(--border-hover);
  color: var(--primary);
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-primary { color: var(--primary) !important; }
.text-muted { color: var(--text-muted) !important; }
.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; }
.hidden { display: none !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .shortcut-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .header-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .header-cta .btn-login { display: none; }
  .header-logo img, .header-logo svg { height: 36px; }
  .feature-grid { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: 1fr; }
  .shortcut-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 40px 0; }
  .page-hero h1 { font-size: 26px; }
  .cta-section h2 { font-size: 26px; }
  .related-links-grid { grid-template-columns: 1fr 1fr; }
  .error-nav-grid { grid-template-columns: repeat(2, 1fr); }
  .longform-content h2 { font-size: 19px; }
}

@media (max-width: 480px) {
  .game-grid { grid-template-columns: 1fr; }
  .shortcut-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .related-links-grid { grid-template-columns: 1fr; }
  .error-nav-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .toplist-item { flex-wrap: wrap; }
}
