/* ============================================================
   SPORTR1.COM - Global Stylesheet
   Target: Bangladesh | Language: Bengali (bn-BD)
   Design: Aggregator-Distribution + Heavy Footer
   ============================================================ */

/* ---- CSS Variables / Design Tokens ---- */
:root {
  --primary: #f59e0b;
  --primary-dark: #d97706;
  --primary-light: #fde68a;
  --accent: #ef4444;
  --accent-dark: #dc2626;
  --bg-deep: #0f172a;
  --bg-dark: #1e293b;
  --bg-mid: #334155;
  --bg-card: #1e293b;
  --bg-card-hover: #263348;
  --bg-section-alt: #0d1526;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-heading: #f8fafc;
  --border-color: #334155;
  --border-accent: #f59e0b;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --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 4px 20px rgba(245,158,11,0.25);
  --transition: 0.25s ease;
  --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --container-max: 1280px;
  --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;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-light); }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  line-height: 1.3;
  font-weight: 700;
}

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.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--text-secondary); }
p:last-child { margin-bottom: 0; }

/* ---- Layout Utilities ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 60px 0; }
.section-sm { padding: 40px 0; }
.section-lg { padding: 80px 0; }

.section-alt { background-color: var(--bg-section-alt); }
.section-dark { background-color: var(--bg-dark); }

.text-center { text-align: center; }
.text-left { text-align: left; }

.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; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }

.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; }

/* ---- Section Titles ---- */
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.section-title span {
  color: var(--primary);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 40px;
}

.section-header {
  margin-bottom: 40px;
}

.title-bar {
  display: inline-block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin-bottom: 16px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font-stack);
}

.btn-register {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #0f172a;
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

.btn-register:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245,158,11,0.4);
}

.btn-login {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-login:hover {
  background: var(--primary);
  color: #0f172a;
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #0f172a;
  border-color: transparent;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: #0f172a;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #0f172a;
}

.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }

/* ---- Header ---- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  height: var(--header-h);
  transition: box-shadow var(--transition);
}

#site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  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: 180px;
  display: block;
}

/* Main Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  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(--primary);
  background: rgba(245,158,11,0.1);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Mobile menu toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-deep);
  z-index: 999;
  overflow-y: auto;
  padding: 24px 20px;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-nav-drawer a {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border-bottom: 1px solid var(--border-color);
  display: block;
}

.mobile-nav-drawer a:hover {
  color: var(--primary);
  background: rgba(245,158,11,0.08);
}

.mobile-nav-cta {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.mobile-nav-cta .btn {
  flex: 1;
  min-width: 120px;
}

/* ---- Hero / Banner ---- */
.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: 600px;
  object-fit: cover;
}

/* ---- Shortcut Icons / Quick Entry ---- */
.quick-entry {
  background: var(--bg-dark);
  padding: 32px 0;
  border-bottom: 1px solid var(--border-color);
}

.quick-entry-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.quick-entry-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 24px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all var(--transition);
  min-width: 110px;
  text-decoration: none;
  color: var(--text-secondary);
}

.quick-entry-item:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
  color: var(--primary);
}

.quick-entry-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(239,68,68,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  border: 1px solid rgba(245,158,11,0.2);
}

.quick-entry-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 28px 0;
}

.stats-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 0 48px;
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(15,23,42,0.3);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(15,23,42,0.75);
  margin-top: 4px;
  display: block;
}

/* ---- Content Feed / News Cards ---- */
.content-feed {
  background: var(--bg-deep);
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feed-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.feed-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feed-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-mid);
  overflow: hidden;
  position: relative;
}

.feed-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--bg-mid), var(--bg-dark));
}

.feed-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feed-card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(245,158,11,0.12);
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feed-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.4;
  margin-bottom: 8px;
  flex: 1;
}

.feed-card-title a {
  color: inherit;
}

.feed-card-title a:hover {
  color: var(--primary);
}

.feed-card-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

/* ---- Feature Blocks (Slots / Sports) ---- */
.feature-blocks {
  background: var(--bg-section-alt);
}

.feature-block-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-block {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: all var(--transition);
}

.feature-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.95) 40%, rgba(15,23,42,0.3) 100%);
  z-index: 1;
}

.feature-block-bg {
  position: absolute;
  inset: 0;
  font-size: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.15;
}

.feature-block-content {
  position: relative;
  z-index: 2;
}

.feature-block:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.feature-block-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(245,158,11,0.15);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.feature-block-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.feature-block-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* ---- Long-form Content Area ---- */
.longform-content {
  background: var(--bg-deep);
}

.longform-inner {
  max-width: 900px;
  margin: 0 auto;
}

.longform-inner h2 {
  color: var(--primary);
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(245,158,11,0.2);
}

.longform-inner h3 {
  color: var(--text-heading);
  margin-top: 28px;
  margin-bottom: 12px;
}

.longform-inner p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.longform-inner ul,
.longform-inner ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.longform-inner ul { list-style: disc; }
.longform-inner ol { list-style: decimal; }

.longform-inner li {
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.7;
}

.longform-inner strong {
  color: var(--text-heading);
}

.longform-inner a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- Info Cards / Advantage Cards ---- */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.advantage-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 28px 24px;
  transition: all var(--transition);
}

.advantage-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-gold);
  transform: translateY(-3px);
}

.advantage-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block;
}

.advantage-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.advantage-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- FAQ Section ---- */
.faq-section {
  background: var(--bg-section-alt);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open {
  border-color: var(--primary);
}

.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;
  color: var(--text-heading);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-stack);
  gap: 16px;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--primary);
  transition: transform var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: #0f172a;
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ---- YouTube Video Module ---- */
.video-section {
  background: var(--bg-dark);
}

.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 {
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 50%, #1a0a00 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(245,158,11,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.cta-title span {
  color: var(--primary);
}

.cta-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  background: var(--bg-dark);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb-list li a {
  color: var(--text-secondary);
}

.breadcrumb-list li a:hover {
  color: var(--primary);
}

.breadcrumb-list li.active {
  color: var(--primary);
}

.breadcrumb-sep {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-section-alt) 100%);
  padding: 60px 0 50px;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(245,158,11,0.12);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.05rem;
  max-width: 700px;
}

/* ---- Archive / Listing Grid ---- */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.archive-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.archive-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.archive-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}

.archive-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.archive-card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(245,158,11,0.12);
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.archive-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
  flex: 1;
  line-height: 1.4;
}

.archive-card-title a {
  color: inherit;
}

.archive-card-title a:hover {
  color: var(--primary);
}

.archive-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.archive-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---- Related Links / Internal Nav ---- */
.related-links {
  background: var(--bg-dark);
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
}

.related-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.related-link-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 20px;
  text-align: center;
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}

.related-link-card:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.related-link-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
  display: block;
}

.related-link-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-heading);
}

/* ---- Policy / About Page Content ---- */
.policy-content {
  max-width: 860px;
  margin: 0 auto;
}

.policy-content h2 {
  color: var(--primary);
  margin-top: 40px;
  margin-bottom: 14px;
  font-size: 1.3rem;
}

.policy-content h3 {
  color: var(--text-heading);
  margin-top: 24px;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.policy-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 14px;
}

.policy-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}

.policy-content li {
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.7;
}

/* ---- About Page Story ---- */
.story-timeline {
  position: relative;
  padding-left: 32px;
}

.story-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 2px;
}

.story-milestone {
  position: relative;
  margin-bottom: 36px;
}

.story-milestone::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--bg-deep);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.3);
}

.story-year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.story-milestone h3 {
  font-size: 1.1rem;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.story-milestone p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- Footer ---- */
#site-footer {
  background: #080e1a;
  border-top: 1px solid var(--border-color);
}

.footer-main {
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.footer-logo-svg {
  height: 40px;
  width: auto;
}

.footer-logo-text {
  font-size: 1.3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-contact-icon {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.9rem;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(245,158,11,0.3);
  display: inline-block;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '›';
  color: var(--primary);
  font-size: 1rem;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  background: #050a12;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ---- 404 Page ---- */
.error-page {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.error-code {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.error-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--text-heading);
  margin-bottom: 16px;
}

.error-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.error-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Utility Classes ---- */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-gold { background: rgba(245,158,11,0.15); color: var(--primary); }
.badge-red { background: rgba(239,68,68,0.15); color: var(--accent); }
.badge-green { background: rgba(34,197,94,0.15); color: #22c55e; }

.divider {
  height: 1px;
  background: var(--border-color);
  margin: 32px 0;
}

.highlight-box {
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 20px 0;
}

.highlight-box p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.95rem;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .feed-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .related-links-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .main-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .header-cta .btn { padding: 9px 16px; font-size: 0.82rem; }

  .feed-grid { grid-template-columns: 1fr; }
  .feature-block-grid { grid-template-columns: 1fr; }
  .advantage-grid { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr; }
  .related-links-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .stats-grid { gap: 0; }
  .stat-item { padding: 16px 24px; }
  .quick-entry-grid { gap: 10px; }
  .quick-entry-item { min-width: 90px; padding: 14px 12px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .section { padding: 40px 0; }
  .section-lg { padding: 60px 0; }
  .hero-banner img, .hero-banner svg { max-height: 300px; }
}

@media (max-width: 480px) {
  .header-cta .btn-login { display: none; }
  .quick-entry-item { min-width: 80px; }
  .stat-item { padding: 12px 16px; }
  .stat-number { font-size: 1.8rem; }
  .related-links-grid { grid-template-columns: repeat(2, 1fr); }
}
