/* ============================================
   SPORTS TV LIVE - game8x.it.com
   Global Stylesheet
   ============================================ */

/* ---- CSS Variables / Design Tokens ---- */
:root {
  --primary:       #1d3557;
  --primary-dark:  #0d1b2a;
  --primary-light: #457b9d;
  --accent:        #e63946;
  --accent-hover:  #c1121f;
  --accent2:       #ff6b35;
  --sky:           #a8dadc;
  --sky-light:     #e8f4f8;
  --white:         #ffffff;
  --off-white:     #f8fafc;
  --text-dark:     #0d1b2a;
  --text-mid:      #2d4a6b;
  --text-muted:    #6b7a8d;
  --border:        #d0dce8;
  --card-bg:       #ffffff;
  --section-alt:   #f0f6fb;
  --footer-bg:     #0d1b2a;
  --footer-mid:    #1d3557;
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --shadow-sm:     0 2px 8px rgba(29,53,87,0.08);
  --shadow-md:     0 4px 20px rgba(29,53,87,0.14);
  --shadow-lg:     0 8px 40px rgba(29,53,87,0.18);
  --transition:    0.25s ease;
  --font-main:     system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --max-w:         1280px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { line-height: 1.3; font-weight: 700; color: var(--primary); }
p { margin-bottom: 1rem; }

/* ---- Container ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ---- Topbar ---- */
.topbar {
  background: var(--primary-dark);
  color: var(--sky);
  font-size: 0.82rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(168,218,220,0.15);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.topbar-left { display: flex; align-items: center; gap: 16px; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar a { color: var(--sky); }
.topbar a:hover { color: var(--accent); }
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  animation: pulse-badge 2s infinite;
}
.live-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: blink 1s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }
@keyframes pulse-badge { 0%,100%{box-shadow:0 0 0 0 rgba(230,57,70,0.4)} 50%{box-shadow:0 0 0 6px rgba(230,57,70,0)} }

/* ---- Header ---- */
.site-header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(13,27,42,0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.logo-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.logo-wrap img, .logo-wrap svg {
  height: 44px;
  width: auto;
  max-width: 200px;
  display: block;
}
@media (max-width: 768px) {
  .logo-wrap img, .logo-wrap svg { height: 36px; max-width: 160px; }
}

/* ---- Main Nav ---- */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: rgba(255,255,255,0.88);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.12);
}
.main-nav a.nav-home {
  color: var(--sky);
  font-weight: 700;
}

/* ---- Header CTA Buttons ---- */
.header-ctas { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
  text-decoration: none;
}
.btn-register {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 3px 12px rgba(230,57,70,0.35);
}
.btn-register:hover {
  background: linear-gradient(135deg, var(--accent-hover), var(--accent));
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(230,57,70,0.45);
}
.btn-login {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-login:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  color: #fff;
}

/* ---- Mobile Menu Toggle ---- */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: #fff;
  flex-direction: column;
  gap: 5px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}
.mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ---- Mobile Nav Drawer ---- */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(13,27,42,0.97);
  z-index: 999;
  flex-direction: column;
  padding: 80px 24px 24px;
  overflow-y: auto;
}
.mobile-nav-drawer.open { display: flex; }
.mobile-nav-drawer a {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: block;
}
.mobile-nav-drawer a:hover { color: var(--sky); }
.mobile-nav-drawer .mobile-ctas {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.mobile-nav-drawer .mobile-ctas .btn { flex: 1; justify-content: center; }
.mobile-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

/* ---- Banner ---- */
.home-banner {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: var(--primary-dark);
  max-height: 480px;
}
.home-banner img, .home-banner svg {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
@media (max-width: 768px) {
  .home-banner { max-height: 220px; }
}

/* ---- Section Styles ---- */
.section { padding: 64px 0; }
.section-alt { background: var(--section-alt); }
.section-dark { background: var(--primary); color: #fff; }
.section-dark h2, .section-dark h3 { color: var(--sky); }
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--primary);
  margin-bottom: 10px;
}
.section-title p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}
.section-title .title-bar {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px;
  margin: 12px auto 0;
}

/* ---- Shortcut Cards (Quick Entry) ---- */
.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.shortcut-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.shortcut-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
  color: var(--primary);
}
.shortcut-card .sc-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
}
.shortcut-card.hot .sc-icon { background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.shortcut-card span { font-size: 0.88rem; font-weight: 600; }

/* ---- Feature Cards ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  border-radius: 4px 0 0 4px;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.feature-card .fc-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}
.feature-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--primary); }
.feature-card p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* ---- Content Feed / Listing Cards ---- */
.content-feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.feed-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.feed-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feed-card-thumb {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.5rem;
  position: relative;
}
.feed-card-thumb .live-tag {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.feed-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.feed-card-body h3 { font-size: 0.95rem; margin-bottom: 6px; color: var(--primary); }
.feed-card-body p { font-size: 0.83rem; color: var(--text-muted); flex: 1; margin: 0; }
.feed-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
}
.feed-card-meta a {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.82rem;
}

/* ---- Tabs ---- */
.tab-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 10px 20px;
  border: none;
  background: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all var(--transition);
}
.tab-btn.active, .tab-btn:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---- Long-form Content Area ---- */
.longform-content {
  max-width: 860px;
  margin: 0 auto;
}
.longform-content h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 2rem 0 0.8rem;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sky-light);
}
.longform-content h3 {
  font-size: 1.15rem;
  color: var(--primary-light);
  margin: 1.5rem 0 0.6rem;
}
.longform-content p { color: var(--text-mid); line-height: 1.8; }
.longform-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.longform-content ul li { color: var(--text-mid); margin-bottom: 6px; }
.longform-content .info-box {
  background: var(--sky-light);
  border-left: 4px solid var(--primary-light);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
}
.longform-content .info-box p { margin: 0; color: var(--text-mid); }

/* ---- FAQ ---- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-question {
  width: 100%;
  background: var(--card-bg);
  border: none;
  padding: 18px 20px;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--sky-light); }
.faq-question.open { background: var(--primary); color: #fff; }
.faq-question .faq-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
}
.faq-question.open .faq-icon { background: rgba(255,255,255,0.2); transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 16px 20px;
  background: var(--off-white);
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  border-top: 1px solid var(--border);
}
.faq-answer.open { display: block; }
.faq-answer a { color: var(--accent); font-weight: 600; }

/* ---- YouTube Video ---- */
.video-section { background: var(--primary-dark); padding: 64px 0; }
.video-section .section-title h2 { color: var(--sky); }
.video-section .section-title p { color: rgba(168,218,220,0.7); }
.video-section .title-bar { background: linear-gradient(90deg, var(--accent), var(--accent2)); }
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  max-width: 900px;
  margin: 0 auto;
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ---- CTA Section ---- */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-dark) 100%);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(230,57,70,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 12px; }
.cta-section p { color: var(--sky); margin-bottom: 28px; font-size: 1rem; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary-lg {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(230,57,70,0.4);
  transition: all var(--transition);
  text-decoration: none;
  display: inline-block;
}
.btn-primary-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(230,57,70,0.55);
  color: #fff;
}
.btn-outline-lg {
  background: transparent;
  color: #fff;
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  border: 2px solid rgba(255,255,255,0.5);
  transition: all var(--transition);
  text-decoration: none;
  display: inline-block;
}
.btn-outline-lg:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

/* ---- Breadcrumb ---- */
.breadcrumb-bar {
  background: var(--sky-light);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--primary-light); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--border); }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 56px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent));
}
.page-hero h1 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.5rem); margin-bottom: 10px; }
.page-hero p { color: var(--sky); font-size: 1rem; max-width: 600px; margin: 0 auto; }

/* ---- Archive / Listing Page ---- */
.archive-header {
  background: var(--section-alt);
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.archive-header h1 { font-size: 1.8rem; color: var(--primary); margin-bottom: 6px; }
.archive-header p { color: var(--text-muted); margin: 0; }
.archive-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.filter-btn {
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--card-bg);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--primary);
  padding: 28px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-item { color: #fff; }
.stat-item .stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--sky);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-item .stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.7); }

/* ---- Trust Badges ---- */
.trust-bar {
  background: var(--off-white);
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-mid);
}
.trust-item .ti-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.75);
  padding-top: 56px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .footer-logo { margin-bottom: 16px; }
.footer-brand .footer-logo img, .footer-brand .footer-logo svg {
  height: 40px;
  width: auto;
  max-width: 180px;
}
.footer-brand p { font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.6); }
.footer-col h4 {
  color: var(--sky);
  font-size: 0.9rem;
  font-weight: 700;
  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 {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a::before {
  content: '›';
  color: var(--accent);
  font-size: 1rem;
}
.footer-col ul li a:hover { color: var(--sky); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.65);
}
.footer-contact-item .fci-icon {
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--sky);
}
.footer-contact-item a { color: rgba(255,255,255,0.65); }
.footer-contact-item a:hover { color: var(--sky); }
.footer-cert {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-cert-title {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-align: center;
}
.cert-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cert-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  letter-spacing: 0.5px;
}
.footer-bottom {
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--sky); }
.footer-bottom-links { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---- About Page ---- */
.about-story { max-width: 860px; margin: 0 auto; }
.about-story h2 { font-size: 1.5rem; color: var(--primary); margin: 2rem 0 0.8rem; }
.about-story h3 { font-size: 1.1rem; color: var(--primary-light); margin: 1.5rem 0 0.6rem; }
.about-story p { color: var(--text-mid); line-height: 1.8; }
.about-story ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.about-story ul li { color: var(--text-mid); margin-bottom: 6px; }
.timeline {
  position: relative;
  padding-left: 32px;
  margin: 2rem 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--primary-light));
}
.timeline-item {
  position: relative;
  margin-bottom: 28px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline-item .year {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.timeline-item h4 { font-size: 1rem; color: var(--primary); margin-bottom: 4px; }
.timeline-item p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* ---- Privacy / Policy Page ---- */
.policy-content { max-width: 800px; margin: 0 auto; }
.policy-content h2 { font-size: 1.3rem; color: var(--primary); margin: 2rem 0 0.8rem; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.policy-content h3 { font-size: 1.05rem; color: var(--primary-light); margin: 1.2rem 0 0.5rem; }
.policy-content p { color: var(--text-mid); line-height: 1.8; }
.policy-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.policy-content ul li { color: var(--text-mid); margin-bottom: 5px; }
.policy-updated { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 2rem; padding: 10px 16px; background: var(--sky-light); border-radius: var(--radius-sm); }

/* ---- 404 Page ---- */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}
.error-page .error-num {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  opacity: 0.15;
  display: block;
}
.error-page h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); color: var(--primary); margin-bottom: 12px; }
.error-page p { color: var(--text-muted); margin-bottom: 28px; }
.error-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- Related Links Block ---- */
.related-links {
  background: var(--sky-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 32px;
}
.related-links h4 { font-size: 0.9rem; color: var(--primary); margin-bottom: 12px; font-weight: 700; }
.related-links ul { display: flex; flex-wrap: wrap; gap: 8px; }
.related-links ul li a {
  display: inline-block;
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.82rem;
  color: var(--primary-light);
  font-weight: 600;
  transition: all var(--transition);
}
.related-links ul li a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-muted { color: var(--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; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-2 { gap: 16px; }
.w-100 { width: 100%; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-toggle { display: flex; }
  .header-ctas .btn-login { display: none; }
  .section { padding: 44px 0; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .shortcut-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .content-feed { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-items { gap: 16px; }
}
@media (max-width: 480px) {
  .shortcut-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .header-ctas .btn-register { padding: 8px 14px; font-size: 0.78rem; }
}
