/* ============================================================
   SPORTWAY.IT.COM — Global Stylesheet
   Target: Bangladesh | Language: Bengali (bn-BD)
   Theme: FIFA Club World Cup 2026 — Sports Info Portal
   ============================================================ */

/* ---- CSS Variables / Design Tokens ---- */
:root {
  --color-primary:       #0d6efd;
  --color-primary-dark:  #0a58ca;
  --color-primary-light: #3d8bfd;
  --color-accent:        #ffd700;
  --color-accent-dark:   #e6c200;
  --color-success:       #28a745;
  --color-danger:        #dc3545;
  --color-bg-deep:       #050e2b;
  --color-bg-dark:       #0a1628;
  --color-bg-mid:        #0f2044;
  --color-bg-card:       #112255;
  --color-bg-card-hover: #163070;
  --color-bg-light:      #f4f7ff;
  --color-bg-section:    #f8faff;
  --color-text-primary:  #1a2340;
  --color-text-body:     #3a4a6b;
  --color-text-muted:    #6b7a9a;
  --color-text-white:    #ffffff;
  --color-text-light:    #aac4ff;
  --color-border:        #d0daf0;
  --color-border-dark:   #1e3a7a;

  --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  --shadow-sm:  0 2px 8px rgba(13,110,253,0.08);
  --shadow-md:  0 4px 20px rgba(13,110,253,0.14);
  --shadow-lg:  0 8px 40px rgba(13,110,253,0.18);
  --shadow-card: 0 2px 16px rgba(10,22,40,0.12);

  --transition: 0.22s 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);
  color: var(--color-text-body);
  background: var(--color-bg-light);
  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-primary-dark); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-stack); }

/* ---- Container ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   TOP INFO BAR
   ============================================================ */
.topbar {
  background: var(--color-bg-deep);
  color: var(--color-text-light);
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid var(--color-border-dark);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.topbar-left { display: flex; align-items: center; gap: 16px; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar a { color: var(--color-text-light); font-size: 12px; }
.topbar a:hover { color: var(--color-accent); }
.topbar-badge {
  background: var(--color-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}
.topbar-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #ff4d4d;
  font-weight: 600;
}
.topbar-live::before {
  content: '';
  width: 7px; height: 7px;
  background: #ff4d4d;
  border-radius: 50%;
  animation: pulse 1.2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  background: var(--color-bg-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
  border-bottom: 2px solid var(--color-primary);
}
.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;
  max-height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--color-text-light);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  background: rgba(13,110,253,0.18);
  color: var(--color-accent);
}

/* Header CTA Buttons */
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn:active { transform: translateY(0); }
.btn-register {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(40,167,69,0.25);
}
.btn-login {
  background: linear-gradient(135deg, var(--color-primary), #00c6ff);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(13,110,253,0.25);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-white);
  font-size: 24px;
  padding: 4px;
  line-height: 1;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  background: var(--color-bg-mid);
  border-top: 1px solid var(--color-border-dark);
  padding: 12px 0;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  color: var(--color-text-light);
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-menu a:hover { background: rgba(13,110,253,0.15); color: var(--color-accent); }
.mobile-menu-cta {
  display: flex;
  gap: 10px;
  padding: 12px 20px;
}
.mobile-menu-cta .btn { flex: 1; justify-content: center; }

/* ============================================================
   HERO BANNER
   ============================================================ */
.hero-banner {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: var(--color-bg-deep);
  max-height: 480px;
}
.hero-banner img,
.hero-banner svg {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-bar {
  background: var(--color-bg-section);
  border-bottom: 1px solid var(--color-border);
  padding: 10px 0;
  font-size: 13px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  color: var(--color-text-muted);
}
.breadcrumb a { color: var(--color-primary); }
.breadcrumb a:hover { color: var(--color-primary-dark); }
.breadcrumb-sep { color: var(--color-text-muted); }

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section { padding: 60px 0; }
.section-sm { padding: 40px 0; }
.section-dark {
  background: var(--color-bg-dark);
  color: var(--color-text-white);
}
.section-mid {
  background: var(--color-bg-mid);
  color: var(--color-text-white);
}
.section-light { background: var(--color-bg-light); }
.section-white { background: #fff; }
.section-accent { background: linear-gradient(135deg, #050e2b 0%, #0a1e5e 100%); }

.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}
.section-title-white { color: var(--color-text-white); }
.section-subtitle {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 36px;
}
.section-subtitle-light { color: var(--color-text-light); }
.section-header { margin-bottom: 36px; }
.section-header-center { text-align: center; }

.title-accent {
  color: var(--color-primary);
}
.title-gold { color: var(--color-accent); }

/* Divider */
.divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 2px;
  margin: 12px 0 20px;
}
.divider-center { margin: 12px auto 20px; }

/* ============================================================
   SHORTCUT CARDS (Quick Entry 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-dark);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.shortcut-card:hover {
  background: var(--color-bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}
.shortcut-icon {
  width: 52px; height: 52px;
  background: rgba(13,110,253,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.shortcut-card .card-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-white);
}
.shortcut-card .card-desc {
  font-size: 12px;
  color: var(--color-text-light);
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--color-primary), #00c6ff);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
  color: #fff;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   ARTICLE / POST LISTING (Archive style — like competitor)
   ============================================================ */
.archive-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}
.post-list { display: flex; flex-direction: column; gap: 28px; }
.post-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  display: grid;
  grid-template-columns: 280px 1fr;
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.post-card-img {
  overflow: hidden;
  position: relative;
}
.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.post-cat {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.post-card h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 10px;
  line-height: 1.4;
}
.post-card h2 a { color: inherit; }
.post-card h2 a:hover { color: var(--color-primary); }
.post-meta {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.post-excerpt {
  font-size: 14px;
  color: var(--color-text-body);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  transition: background var(--transition), color var(--transition);
  align-self: flex-start;
}
.read-more:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-card);
}
.sidebar-widget h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
}
.sidebar-links { display: flex; flex-direction: column; gap: 8px; }
.sidebar-links a {
  font-size: 14px;
  color: var(--color-text-body);
  padding: 6px 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-links a::before {
  content: '▶';
  font-size: 10px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.sidebar-links a:hover { color: var(--color-primary); }

/* ============================================================
   CONTENT AREA (Article / Page)
   ============================================================ */
.content-area {
  max-width: 860px;
  margin: 0 auto;
}
.page-content h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 16px;
  line-height: 1.3;
}
.page-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-border);
}
.page-content h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 24px 0 10px;
}
.page-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-body);
  margin-bottom: 16px;
}
.page-content ul, .page-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-body);
  margin-bottom: 6px;
}
.page-content strong { color: var(--color-text-primary); }
.page-content blockquote {
  border-left: 4px solid var(--color-primary);
  background: var(--color-bg-section);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
  font-style: italic;
  color: var(--color-text-muted);
}

/* Bullet list styled */
.styled-list { list-style: none; padding: 0; }
.styled-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
  color: var(--color-text-body);
}
.styled-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--color-bg-section); }
.faq-question.open { background: var(--color-bg-section); color: var(--color-primary); }
.faq-toggle {
  width: 28px; height: 28px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}
.faq-question.open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 15px;
  color: var(--color-text-body);
  line-height: 1.7;
  border-top: 1px solid var(--color-border);
}
.faq-answer.open { display: block; }
.faq-answer p { margin-bottom: 8px; }
.faq-answer a { color: var(--color-primary); font-weight: 600; }

/* ============================================================
   YOUTUBE VIDEO MODULE
   ============================================================ */
.video-section { background: var(--color-bg-mid); }
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
  border-radius: var(--radius-md);
}
.video-info {
  margin-top: 20px;
  text-align: center;
}
.video-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-white);
  margin-bottom: 8px;
}
.video-info p {
  font-size: 14px;
  color: var(--color-text-light);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, #050e2b 0%, #0a1e5e 60%, #0d3b8e 100%);
  text-align: center;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(13,110,253,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-text-white);
  margin-bottom: 12px;
}
.cta-section p {
  font-size: 17px;
  color: var(--color-text-light);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-cta-primary {
  background: linear-gradient(135deg, var(--color-primary), #00c6ff);
  color: #fff;
  padding: 14px 36px;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(13,110,253,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  display: inline-block;
}
.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(13,110,253,0.5);
  color: #fff;
}
.btn-cta-secondary {
  background: transparent;
  color: var(--color-accent);
  padding: 13px 36px;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 700;
  border: 2px solid var(--color-accent);
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
  display: inline-block;
}
.btn-cta-secondary:hover {
  background: var(--color-accent);
  color: var(--color-bg-deep);
}

/* ============================================================
   STATS / NUMBERS STRIP
   ============================================================ */
.stats-strip {
  background: var(--color-bg-mid);
  padding: 32px 0;
  border-top: 1px solid var(--color-border-dark);
  border-bottom: 1px solid var(--color-border-dark);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-item {}
.stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  color: var(--color-text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================
   LONGFORM CONTENT SECTION
   ============================================================ */
.longform-section {
  background: #fff;
  padding: 60px 0;
}
.longform-inner {
  max-width: 900px;
  margin: 0 auto;
}
.longform-inner h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-text-primary);
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-border);
}
.longform-inner h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 24px 0 10px;
}
.longform-inner p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-text-body);
  margin-bottom: 16px;
}
.longform-inner ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}
.longform-inner ul li {
  padding: 8px 0 8px 28px;
  position: relative;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
  color: var(--color-text-body);
}
.longform-inner ul li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-size: 11px;
  top: 11px;
}
.longform-inner ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.longform-inner ol li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-body);
  margin-bottom: 8px;
}
.info-box {
  background: var(--color-bg-section);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 20px 0;
}
.info-box p { margin: 0; font-size: 15px; color: var(--color-text-body); }
.warning-box {
  background: #fff8e1;
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 20px 0;
}
.warning-box p { margin: 0; font-size: 15px; color: #7a5c00; }

/* ============================================================
   ABOUT PAGE — Story / Blog style
   ============================================================ */
.about-hero {
  background: linear-gradient(135deg, var(--color-bg-deep) 0%, var(--color-bg-mid) 100%);
  padding: 80px 0 60px;
  text-align: center;
}
.about-hero h1 {
  font-size: 38px;
  font-weight: 800;
  color: var(--color-text-white);
  margin-bottom: 16px;
}
.about-hero p {
  font-size: 18px;
  color: var(--color-text-light);
  max-width: 700px;
  margin: 0 auto;
}
.timeline {
  position: relative;
  padding-left: 32px;
  margin: 32px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 10px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary), var(--color-accent));
}
.timeline-item {
  position: relative;
  margin-bottom: 32px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px; top: 6px;
  width: 12px; height: 12px;
  background: var(--color-primary);
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px rgba(13,110,253,0.3);
}
.timeline-year {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.timeline-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 6px;
}
.timeline-item p {
  font-size: 15px;
  color: var(--color-text-body);
  line-height: 1.7;
}

/* ============================================================
   PRIVACY / POLICY PAGE
   ============================================================ */
.policy-header {
  background: var(--color-bg-section);
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--color-border);
}
.policy-header h1 {
  font-size: 30px;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 10px;
}
.policy-header p {
  font-size: 15px;
  color: var(--color-text-muted);
}
.policy-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 20px;
}
.policy-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}
.policy-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 20px 0 8px;
}
.policy-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-body);
  margin-bottom: 14px;
}
.policy-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}
.policy-content ul li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-body);
  margin-bottom: 6px;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-bg-section);
  padding: 60px 20px;
}
.error-code {
  font-size: 120px;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  opacity: 0.15;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  pointer-events: none;
  user-select: none;
}
.error-content { position: relative; z-index: 1; }
.error-content h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}
.error-content p {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}
.error-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.error-links a {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  transition: background var(--transition), color var(--transition);
}
.error-links a:hover {
  background: var(--color-primary);
  color: #fff;
}
.error-links a.primary-link {
  background: var(--color-primary);
  color: #fff;
}
.error-links a.primary-link:hover {
  background: var(--color-primary-dark);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-bg-deep);
  color: var(--color-text-light);
  padding: 60px 0 0;
  border-top: 2px solid var(--color-primary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--color-border-dark);
}
.footer-brand {}
.footer-logo {
  margin-bottom: 16px;
}
.footer-logo img,
.footer-logo svg {
  height: 44px;
  max-height: 44px;
  width: auto;
  max-width: 180px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--color-text-light);
}
.footer-contact-icon {
  width: 20px;
  flex-shrink: 0;
  color: var(--color-accent);
  font-size: 14px;
  margin-top: 2px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 13px;
  color: var(--color-text-light);
  transition: color var(--transition), padding-left var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before {
  content: '›';
  color: var(--color-primary);
  font-size: 16px;
  line-height: 1;
}
.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copyright {
  font-size: 13px;
  color: var(--color-text-muted);
}
.footer-bottom-links {
  display: flex;
  gap: 16px;
}
.footer-bottom-links a {
  font-size: 12px;
  color: var(--color-text-muted);
}
.footer-bottom-links a:hover { color: var(--color-accent); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px; height: 44px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 999;
  border: none;
  text-decoration: none;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-3px);
  color: #fff;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.w-100 { width: 100%; }
.hidden { display: none; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .archive-layout { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .topbar .container { flex-direction: column; gap: 4px; text-align: center; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-cta { gap: 6px; }
  .btn { padding: 7px 14px; font-size: 12px; }
  .site-logo img, .site-logo svg { height: 36px; max-height: 36px; }
  .section { padding: 40px 0; }
  .section-title { font-size: 22px; }
  .feature-grid { grid-template-columns: 1fr; }
  .shortcut-grid { grid-template-columns: repeat(2, 1fr); }
  .post-card { grid-template-columns: 1fr; }
  .post-card-img { height: 200px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .sidebar { grid-template-columns: 1fr; }
  .cta-section h2 { font-size: 24px; }
  .about-hero h1 { font-size: 28px; }
  .hero-banner { max-height: 280px; }
  .hero-banner img, .hero-banner svg { max-height: 280px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .shortcut-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-buttons { flex-direction: column; align-items: center; }
  .error-links { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .topbar-left, .topbar-right { flex-wrap: wrap; justify-content: center; }
}
