/* ============================================================
   GAME9X - Live TV Sports Bangladesh
   style.css - Global Design System
   Reference: graceful.uk.com skeleton (聚合分发型 + 重Footer)
   ============================================================ */

/* ---- CSS Variables / Design Tokens ---- */
:root {
  --color-primary: #f97316;
  --color-primary-dark: #ea6c0a;
  --color-secondary: #ef4444;
  --color-accent: #fbbf24;
  --color-bg-dark: #0f0c29;
  --color-bg-mid: #1a1a4e;
  --color-bg-card: #1e1b4b;
  --color-bg-card2: #16213e;
  --color-bg-section: #0d1117;
  --color-bg-footer: #0a0a1a;
  --color-text: #e2e8f0;
  --color-text-muted: #94a3b8;
  --color-text-heading: #ffffff;
  --color-border: #2d2d5e;
  --color-border-light: rgba(249,115,22,0.25);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 20px rgba(249,115,22,0.3);
  --shadow-btn: 0 4px 16px rgba(249,115,22,0.4);
  --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --container-max: 1200px;
  --header-h: 72px;
  --transition: 0.25s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-stack);
  background: var(--color-bg-section);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent); }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-heading);
  font-weight: 700;
  line-height: 1.3;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
p { margin-bottom: 1rem; }

/* ---- Container ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Topbar ---- */
.topbar {
  background: var(--color-bg-dark);
  border-bottom: 1px solid var(--color-border);
  padding: 6px 0;
  font-size: 13px;
  color: var(--color-text-muted);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-left { display: flex; align-items: center; gap: 16px; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar a { color: var(--color-text-muted); font-size: 13px; }
.topbar a:hover { color: var(--color-primary); }
.topbar-badge {
  background: var(--color-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15,12,41,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}
.logo-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.logo-wrap img,
.logo-wrap svg {
  height: 44px;
  width: auto;
  max-width: 180px;
  display: block;
}

/* ---- Main Navigation ---- */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--color-primary);
  background: rgba(249,115,22,0.1);
}

/* ---- Header CTA Buttons ---- */
.header-ctas { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
  text-decoration: none;
}
.btn-register {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(249,115,22,0.5);
  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;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  box-shadow: var(--shadow-btn);
  padding: 12px 28px;
  font-size: 15px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(249,115,22,0.5);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  padding: 12px 28px;
  font-size: 15px;
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ---- Mobile Menu Toggle ---- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- Mobile Nav Drawer ---- */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15,12,41,0.98);
  z-index: 999;
  padding: 24px 20px;
  overflow-y: auto;
  flex-direction: column;
  gap: 8px;
}
.mobile-nav-drawer.open { display: flex; }
.mobile-nav-drawer a {
  color: var(--color-text);
  font-size: 18px;
  font-weight: 600;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border-bottom: 1px solid var(--color-border);
  display: block;
}
.mobile-nav-drawer a:hover { color: var(--color-primary); background: rgba(249,115,22,0.08); }
.mobile-nav-ctas {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.mobile-nav-ctas .btn { flex: 1; min-width: 120px; justify-content: center; }

/* ---- Banner Section ---- */
.banner-section {
  width: 100%;
  overflow: hidden;
  background: var(--color-bg-dark);
  position: relative;
}
.banner-section img,
.banner-section svg {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* ---- Section Base ---- */
.section {
  padding: 64px 0;
}
.section-sm { padding: 40px 0; }
.section-lg { padding: 80px 0; }
.section-dark { background: var(--color-bg-dark); }
.section-mid { background: var(--color-bg-mid); }
.section-card { background: var(--color-bg-card); }
.section-alt { background: var(--color-bg-card2); }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--color-text-muted); max-width: 600px; margin: 0 auto; }
.section-label {
  display: inline-block;
  background: rgba(249,115,22,0.15);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  border: 1px solid rgba(249,115,22,0.3);
}

/* ---- Shortcut Cards Grid (竞品骨架: 快捷入口图块) ---- */
.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.shortcut-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.shortcut-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0;
  transition: opacity var(--transition);
}
.shortcut-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.shortcut-card:hover::before { opacity: 1; }
.shortcut-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  background: rgba(249,115,22,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.shortcut-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 4px;
}
.shortcut-card p {
  font-size: 12px;
  color: var(--color-text-muted);
  margin: 0;
}

/* ---- Feature Cards (3-col) ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--color-border-light);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}
.feature-card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(249,115,22,0.2), rgba(239,68,68,0.1));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 20px;
}
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--color-text-muted); font-size: 15px; margin: 0; }

/* ---- Content Feed / Listing Cards (竞品骨架: 内容流) ---- */
.content-feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.feed-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}
.feed-card:hover {
  border-color: var(--color-border-light);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}
.feed-card-thumb {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--color-bg-mid), var(--color-bg-card));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
  overflow: hidden;
}
.feed-card-thumb-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.feed-card-body { padding: 20px; }
.feed-card-body h3 { font-size: 16px; margin-bottom: 8px; }
.feed-card-body p { font-size: 14px; color: var(--color-text-muted); margin-bottom: 16px; }
.feed-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--color-text-muted);
}
.feed-card-link {
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
}

/* ---- Archive / Listing Table (栏目型) ---- */
.archive-list { display: flex; flex-direction: column; gap: 16px; }
.archive-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all var(--transition);
}
.archive-item:hover {
  border-color: var(--color-border-light);
  box-shadow: var(--shadow-card);
}
.archive-item-icon {
  width: 48px;
  height: 48px;
  background: rgba(249,115,22,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.archive-item-body { flex: 1; }
.archive-item-body h3 { font-size: 16px; margin-bottom: 6px; }
.archive-item-body p { font-size: 14px; color: var(--color-text-muted); margin: 0; }
.archive-item-action { flex-shrink: 0; }

/* ---- Stats Bar ---- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.stat-item {
  background: var(--color-bg-card);
  padding: 28px 20px;
  text-align: center;
}
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ---- FAQ Section ---- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--color-text-heading);
  font-size: 16px;
  font-weight: 600;
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
  font-family: var(--font-stack);
}
.faq-question:hover { color: var(--color-primary); }
.faq-question.active { color: var(--color-primary); }
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(249,115,22,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  transition: transform var(--transition);
  color: var(--color-primary);
}
.faq-question.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.8;
  border-top: 1px solid var(--color-border);
}
.faq-answer.open { display: block; }
.faq-answer a { color: var(--color-primary); }

/* ---- YouTube Video Module ---- */
.video-section { background: var(--color-bg-dark); }
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ---- CTA Section ---- */
.cta-section {
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-mid) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
  padding: 72px 0;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { color: var(--color-text-muted); margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- Long-form Content Area ---- */
.longform-content {
  max-width: 860px;
  margin: 0 auto;
}
.longform-content h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-border);
}
.longform-content h3 {
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--color-primary);
}
.longform-content p { color: var(--color-text); line-height: 1.85; }
.longform-content ul, .longform-content ol {
  padding-left: 24px;
  margin-bottom: 1rem;
  color: var(--color-text);
}
.longform-content ul { list-style: disc; }
.longform-content ol { list-style: decimal; }
.longform-content li { margin-bottom: 8px; line-height: 1.7; }
.longform-content a { color: var(--color-primary); text-decoration: underline; }
.longform-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 16px 20px;
  background: rgba(249,115,22,0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  color: var(--color-text-muted);
  font-style: italic;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  padding: 14px 0;
  font-size: 13px;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-dark);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li:not(:last-child)::after { content: '/'; color: var(--color-border); }
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb li:last-child { color: var(--color-primary); }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-mid) 100%);
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(249,115,22,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { color: var(--color-text-muted); max-width: 600px; }

/* ---- Related Links Block ---- */
.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.related-link-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  transition: all var(--transition);
  flex: 1;
  min-width: 200px;
}
.related-link-item:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}
.related-link-item span { font-size: 20px; }

/* ---- Footer (重型信息架构 - 竞品骨架映射) ---- */
.site-footer {
  background: var(--color-bg-footer);
  border-top: 1px solid var(--color-border);
}
.footer-main {
  padding: 60px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}
.footer-brand .logo-wrap { margin-bottom: 16px; }
.footer-brand p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-col h4 {
  color: var(--color-text-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  color: var(--color-text-muted);
  font-size: 14px;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--color-primary); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-muted);
}
.footer-contact-item strong { color: var(--color-text); display: block; margin-bottom: 2px; }
.footer-contact-icon {
  width: 32px;
  height: 32px;
  background: rgba(249,115,22,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--color-text-muted);
}
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a { color: var(--color-text-muted); font-size: 13px; }
.footer-bottom-links a:hover { color: var(--color-primary); }

/* ---- Utility Classes ---- */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-muted { color: var(--color-text-muted); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.gap-16 { gap: 16px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.divider {
  height: 1px;
  background: var(--color-border);
  margin: 40px 0;
}
.badge {
  display: inline-block;
  background: rgba(249,115,22,0.15);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(249,115,22,0.3);
}
.badge-live {
  background: rgba(239,68,68,0.15);
  color: #ef4444;
  border-color: rgba(239,68,68,0.3);
}
.badge-live::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #ef4444;
  border-radius: 50%;
  margin-right: 5px;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ---- 404 Page ---- */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}
.error-code {
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}
.error-page h2 { margin-bottom: 12px; }
.error-page p { color: var(--color-text-muted); margin-bottom: 32px; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .header-ctas .btn-login { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .shortcut-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .cta-buttons { flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .topbar { display: none; }
  .section { padding: 48px 0; }
  .page-hero { padding: 40px 0 32px; }
}

@media (max-width: 480px) {
  .shortcut-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .logo-wrap img, .logo-wrap svg { height: 36px; max-width: 140px; }
  .btn { padding: 9px 18px; font-size: 13px; }
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg-dark); }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-primary); }

/* ---- Selection ---- */
::selection { background: rgba(249,115,22,0.3); color: #fff; }
