/* ============================================================
   BAJI LIVE 666 - Global Stylesheet
   Site: https://www.baji666-game.com
   Market: Bangladesh | Language: Bengali (bn-BD)
   ============================================================ */

/* ---- CSS Variables / Design Tokens ---- */
:root {
  --color-primary: #f5a623;
  --color-primary-dark: #e8320a;
  --color-accent: #ffd700;
  --color-bg-deep: #0d0d2b;
  --color-bg-dark: #12122e;
  --color-bg-card: #1a1a3e;
  --color-bg-card-hover: #22224e;
  --color-bg-section-alt: #111130;
  --color-text-main: #e8e8f0;
  --color-text-muted: #9999bb;
  --color-text-light: #ffffff;
  --color-border: rgba(245,166,35,0.25);
  --color-border-strong: rgba(245,166,35,0.6);
  --color-success: #22c55e;
  --color-danger: #ef4444;

  --gradient-gold: linear-gradient(90deg, #f5a623 0%, #e8320a 100%);
  --gradient-gold-v: linear-gradient(180deg, #f5a623 0%, #e8320a 100%);
  --gradient-bg: linear-gradient(135deg, #0d0d2b 0%, #1a1a4e 50%, #0d0d2b 100%);
  --gradient-card: linear-gradient(145deg, #1a1a3e 0%, #12122e 100%);

  --shadow-card: 0 4px 24px rgba(0,0,0,0.5);
  --shadow-card-hover: 0 8px 40px rgba(245,166,35,0.2);
  --shadow-btn: 0 4px 16px rgba(245,166,35,0.4);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 50px;

  --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans Bengali", sans-serif;

  --header-height: 72px;
  --container-max: 1280px;
  --section-pad: 64px 0;
  --section-pad-sm: 40px 0;
}

/* ---- 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-main);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-accent); }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-stack);
  color: var(--color-text-light);
  line-height: 1.3;
  font-weight: 700;
}
p { margin-bottom: 1rem; color: var(--color-text-main); }
strong { color: var(--color-text-light); }

/* ---- Container ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-gold { color: var(--color-primary); }
.text-white { color: #fff; }
.text-muted { color: var(--color-text-muted); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.hidden { display: none !important; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.3px;
}
.btn-register {
  background: var(--gradient-gold);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245,166,35,0.6);
  color: #fff;
}
.btn-login {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-login:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--gradient-gold);
  color: #fff;
  box-shadow: var(--shadow-btn);
  padding: 14px 36px;
  font-size: 1rem;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245,166,35,0.5);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  padding: 12px 32px;
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 48px; font-size: 1.1rem; }

/* ---- Section Titles ---- */
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text-light);
  margin-bottom: 12px;
}
.section-title span { color: var(--color-primary); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  max-width: 600px;
}
.section-header { margin-bottom: 40px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin-left: auto; margin-right: auto; }

.title-bar {
  display: inline-block;
  width: 48px;
  height: 4px;
  background: var(--gradient-gold);
  border-radius: 2px;
  margin-bottom: 16px;
}

/* ---- Header ---- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13,13,43,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 16px;
}
.header-logo-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.header-logo-wrap img,
.header-logo-wrap svg {
  height: 44px;
  width: auto;
  max-width: 180px;
  display: block;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.header-nav a {
  color: var(--color-text-main);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  white-space: nowrap;
}
.header-nav a:hover,
.header-nav a.active {
  color: var(--color-primary);
  background: rgba(245,166,35,0.1);
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-cta .btn {
  padding: 9px 20px;
  font-size: 0.88rem;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-main);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13,13,43,0.98);
  z-index: 999;
  padding: 24px 20px;
  overflow-y: auto;
}
.mobile-nav-overlay.open { display: block; }
.mobile-nav-overlay .nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}
.mobile-nav-overlay .nav-links a {
  color: var(--color-text-main);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border-bottom: 1px solid var(--color-border);
  display: block;
}
.mobile-nav-overlay .nav-links a:hover { color: var(--color-primary); background: rgba(245,166,35,0.08); }
.mobile-nav-overlay .mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-nav-overlay .mobile-cta .btn { width: 100%; justify-content: center; padding: 14px; font-size: 1rem; }

/* ---- Banner ---- */
.home-banner {
  width: 100%;
  display: block;
  overflow: hidden;
  line-height: 0;
}
.home-banner img,
.home-banner svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- Shortcut Cards (Quick Nav) ---- */
.shortcut-section {
  padding: 32px 0;
  background: var(--color-bg-dark);
  border-bottom: 1px solid var(--color-border);
}
.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.shortcut-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
}
.shortcut-card:hover {
  border-color: var(--color-primary);
  background: var(--color-bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.shortcut-card .sc-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(245,166,35,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.shortcut-card .sc-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-main);
  text-align: center;
}
.shortcut-card:hover .sc-label { color: var(--color-primary); }

/* ---- Feature Cards ---- */
.features-section { padding: var(--section-pad); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all 0.3s;
}
.feature-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.feature-card .fc-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--color-primary);
}
.feature-card p { font-size: 0.92rem; color: var(--color-text-muted); margin-bottom: 0; }

/* ---- Game Category Cards ---- */
.games-section { padding: var(--section-pad); background: var(--color-bg-section-alt); }
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.game-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  text-decoration: none;
  display: block;
}
.game-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}
.game-card-img {
  width: 100%;
  height: 160px;
  background: var(--gradient-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}
.game-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(13,13,43,0.8) 100%);
}
.game-card-body { padding: 16px; }
.game-card-body h3 { font-size: 1rem; margin-bottom: 6px; color: var(--color-text-light); }
.game-card-body p { font-size: 0.82rem; color: var(--color-text-muted); margin-bottom: 12px; }
.game-card-body .btn-sm { font-size: 0.8rem; }

/* ---- Promotion Banner Strip ---- */
.promo-strip {
  padding: 48px 0;
  background: linear-gradient(135deg, #1a0a00 0%, #2d1500 50%, #1a0a00 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.promo-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.promo-strip-text h2 { font-size: 1.8rem; margin-bottom: 8px; }
.promo-strip-text p { color: var(--color-text-muted); margin-bottom: 0; }
.promo-strip-badge {
  background: var(--gradient-gold);
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  padding: 16px 32px;
  border-radius: var(--radius-lg);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ---- Content / Long Text Section ---- */
.content-section { padding: var(--section-pad); }
.content-section h2 { font-size: 1.5rem; margin-top: 32px; margin-bottom: 12px; color: var(--color-primary); }
.content-section h3 { font-size: 1.2rem; margin-top: 24px; margin-bottom: 10px; color: var(--color-text-light); }
.content-section p { color: var(--color-text-main); line-height: 1.8; }
.content-section ul.styled-list { padding-left: 0; margin-bottom: 16px; }
.content-section ul.styled-list li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--color-text-main);
  font-size: 0.95rem;
}
.content-section ul.styled-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient-gold);
}
.content-box {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}
.content-box h2:first-child,
.content-box h3:first-child { margin-top: 0; }

/* ---- Steps / Process ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.step-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  position: relative;
}
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step-card h3 { font-size: 1rem; margin-bottom: 8px; }
.step-card p { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 0; }

/* ---- FAQ Section ---- */
.faq-section { padding: var(--section-pad); background: var(--color-bg-section-alt); }
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}
.faq-question span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-light);
  flex: 1;
}
.faq-question .faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(245,166,35,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
  color: var(--color-primary);
  font-size: 1.1rem;
  font-weight: 700;
}
.faq-item.open .faq-icon { background: var(--gradient-gold); color: #fff; transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}
.faq-item.open .faq-answer { display: block; }
.faq-item.open { border-color: var(--color-border-strong); }

/* ---- YouTube Video Section ---- */
.video-section { padding: var(--section-pad); }
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  max-width: 900px;
  margin: 0 auto;
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-lg);
}

/* ---- CTA Section ---- */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a0a00 0%, #2d1500 50%, #1a0a00 100%);
  text-align: center;
  border-top: 1px solid var(--color-border);
}
.cta-section h2 { font-size: 2.2rem; margin-bottom: 16px; }
.cta-section p { color: var(--color-text-muted); margin-bottom: 32px; font-size: 1.05rem; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 28px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item .stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-primary);
  display: block;
}
.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ---- Breadcrumb ---- */
.breadcrumb-bar {
  padding: 14px 0;
  background: var(--color-bg-dark);
  border-bottom: 1px solid var(--color-border);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb .sep { color: var(--color-border-strong); }
.breadcrumb .current { color: var(--color-primary); }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  padding: 56px 0 48px;
  background: linear-gradient(135deg, #0d0d2b 0%, #1a1a4e 100%);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}
.page-hero h1 { font-size: 2.4rem; margin-bottom: 12px; }
.page-hero p { color: var(--color-text-muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ---- Archive / Listing Grid ---- */
.archive-section { padding: var(--section-pad); }
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.archive-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.archive-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.archive-card-thumb {
  height: 180px;
  background: var(--gradient-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
}
.archive-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gradient-gold);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.archive-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.archive-card-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.archive-card-body p { font-size: 0.88rem; color: var(--color-text-muted); flex: 1; margin-bottom: 16px; }
.archive-card-body .btn { align-self: flex-start; }

/* ---- Promotion Cards ---- */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.promo-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s;
}
.promo-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-card-hover);
}
.promo-card-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: rgba(245,166,35,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.promo-card-content h3 { font-size: 1.1rem; margin-bottom: 6px; color: var(--color-primary); }
.promo-card-content p { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 12px; }
.promo-card-amount {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--color-accent);
  margin-bottom: 12px;
}

/* ---- Contact Section ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info-block { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.contact-info-item .ci-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(245,166,35,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info-item h4 { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 4px; }
.contact-info-item p { font-size: 0.95rem; color: var(--color-text-light); margin-bottom: 0; }
.contact-form-block {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; color: var(--color-text-main); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--color-text-light);
  font-family: var(--font-stack);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.8rem; color: var(--color-text-muted); margin-top: 12px; }

/* ---- Policy / Terms Pages ---- */
.policy-content {
  max-width: 860px;
  margin: 0 auto;
  padding: var(--section-pad);
}
.policy-content h2 { font-size: 1.4rem; margin-top: 40px; margin-bottom: 12px; color: var(--color-primary); }
.policy-content h3 { font-size: 1.1rem; margin-top: 28px; margin-bottom: 10px; }
.policy-content p { color: var(--color-text-main); line-height: 1.9; margin-bottom: 16px; }
.policy-content ul { padding-left: 20px; margin-bottom: 16px; }
.policy-content ul li { color: var(--color-text-main); margin-bottom: 8px; list-style: disc; }
.policy-content .last-updated {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  padding: 12px 16px;
  background: var(--color-bg-card);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-primary);
}

/* ---- 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: 8rem;
  font-weight: 900;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}
.error-page h1 { font-size: 2rem; margin-bottom: 12px; }
.error-page p { color: var(--color-text-muted); margin-bottom: 32px; }
.error-nav-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- Footer ---- */
#site-footer {
  background: #080818;
  border-top: 1px solid var(--color-border);
  padding-top: 56px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border);
}
.footer-brand .footer-logo {
  height: 44px;
  width: auto;
  max-width: 180px;
  margin-bottom: 16px;
}
.footer-brand p { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.7; margin-bottom: 20px; }
.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--color-primary); }
.footer-contact-list { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-list li {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.footer-contact-list li strong { color: var(--color-text-main); display: block; font-size: 0.8rem; margin-bottom: 2px; }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.82rem; color: var(--color-text-muted); margin-bottom: 0; }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { font-size: 0.82rem; color: var(--color-text-muted); }
.footer-bottom-links a:hover { color: var(--color-primary); }
.footer-disclaimer {
  padding: 16px 0;
  border-top: 1px solid var(--color-border);
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  text-align: center;
}

/* ---- Inline Related Links ---- */
.related-links-section {
  padding: 40px 0;
  background: var(--color-bg-dark);
  border-top: 1px solid var(--color-border);
}
.related-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.related-link-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: all 0.25s;
}
.related-link-card:hover {
  border-color: var(--color-primary);
  background: var(--color-bg-card-hover);
}
.related-link-card .rl-icon { font-size: 1.8rem; flex-shrink: 0; }
.related-link-card .rl-text h4 { font-size: 0.95rem; color: var(--color-text-light); margin-bottom: 4px; }
.related-link-card .rl-text p { font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: 0; }

/* ---- Trust Badges ---- */
.trust-bar {
  padding: 24px 0;
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
}
.trust-grid {
  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.85rem;
  color: var(--color-text-muted);
}
.trust-item .ti-icon { font-size: 1.2rem; color: var(--color-primary); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .shortcut-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-height: 60px; }
  .header-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .header-cta { gap: 8px; }
  .header-cta .btn { padding: 8px 14px; font-size: 0.82rem; }
  .header-logo-wrap img,
  .header-logo-wrap svg { height: 36px; max-width: 140px; }

  .shortcut-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .shortcut-card { padding: 14px 8px; }
  .shortcut-card .sc-icon { width: 40px; height: 40px; font-size: 1.2rem; }
  .shortcut-card .sc-label { font-size: 0.75rem; }

  .features-grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr; }
  .related-links-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .section-title { font-size: 1.5rem; }
  .page-hero h1 { font-size: 1.8rem; }
  .cta-section h2 { font-size: 1.6rem; }

  .promo-strip-inner { flex-direction: column; text-align: center; }
  .promo-strip-badge { font-size: 1.5rem; padding: 12px 24px; }

  .error-page .error-code { font-size: 5rem; }
}

@media (max-width: 480px) {
  .shortcut-grid { grid-template-columns: repeat(2, 1fr); }
  .games-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-buttons { flex-direction: column; align-items: center; }
  .header-cta .btn-login { display: none; }
}
