/* ============================================================
   TheFour11 Soccer Hub — Design System
   ============================================================ */

:root {
  --bg: #080c16;
  --bg-card: #0e1520;
  --bg-card-hover: #162030;
  --border: #1e3050;
  --border-light: #2a4070;
  --text: #d8e8f4;
  --text-muted: #5a7a9a;
  --text-bright: #ffffff;
  --orange: #ff6b35;
  --orange-dark: #e05020;
  --green: #00c853;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  --radius: 8px;
  --radius-lg: 14px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  min-height: 100vh;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  background: rgba(8,12,22,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  height: 62px;
}

.nav-brand {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-bright);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  letter-spacing: -0.01em;
}

.nav-brand .accent { color: var(--orange); }

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-links li { list-style: none; }

.nav-links a {
  display: block;
  padding: 0 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 62px;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--text-bright); }
.nav-links a.active { color: var(--orange); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
  margin-left: 1rem;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hero {
  background: linear-gradient(160deg, #080c16 0%, #0c1830 50%, #080c16 100%);
  border-bottom: 1px solid var(--border);
  padding: 5rem 1.25rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--text-bright);
  line-height: 1.05;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.hero h1 .hl { color: var(--orange); }

.hero .subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.hero-cta { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.625rem 1.375rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.18s;
  border: none;
}

.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border-light); }
.btn-outline:hover { background: var(--bg-card); border-color: var(--text-muted); }

.section { padding: 3.5rem 0; }
.section + .section { border-top: 1px solid var(--border); }
.section-header { margin-bottom: 2rem; }

.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-bright);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.section-subtitle { color: var(--text-muted); font-size: 0.95rem; }

.topic-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.topic-card:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.topic-card-header {
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border-bottom: 1px solid var(--border);
}

.topic-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  background: rgba(255,107,53,0.12);
}

.topic-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 0.25rem;
}

.topic-date { font-size: 0.78rem; color: var(--text-muted); }

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-live { background: #e63946; color: #fff; }
.badge-soon { background: rgba(255,107,53,0.15); color: var(--orange); border: 1px solid rgba(255,107,53,0.3); }
.badge-category { background: rgba(255,107,53,0.1); color: var(--orange); }

.topic-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 0.4rem; }

.topic-body { padding: 1.25rem 1.5rem; flex: 1; }
.topic-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

.topic-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topic-pages { font-size: 0.78rem; color: var(--text-muted); }

.topic-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  white-space: nowrap;
}

.topic-link:hover { text-decoration: underline; }

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.25rem;
  margin-top: 5rem;
  text-align: center;
}

footer p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.8; }
footer a { color: var(--orange); text-decoration: none; }
footer a:hover { text-decoration: underline; }

.the411-bar {
  background: #050810;
  border-bottom: 1px solid #1a2840;
  padding: 0.45rem 1.25rem;
  font-size: 0.78rem;
  color: #4a6a8a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.the411-bar a {
  color: #ff6b35;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s;
}

.the411-bar a:hover { color: #ff8a5a; }
.the411-bar .sep { color: #2a3f5f; }

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 62px; left: 0; right: 0;
    background: rgba(8,12,22,0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 0.5rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { line-height: 1; padding: 0.8rem 1.25rem; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; }
  .topics-grid { grid-template-columns: 1fr; }
  .hero { padding: 3rem 1.25rem; }
}


/* ============================================================
   Sports Navigation Strip
   ============================================================ */

.sports-strip {
  background: #ff6b35;
  padding: 0.38rem 0 0.38rem 1.25rem;
  font-size: 0.74rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid rgba(0,0,0,0.15);
}

.sports-strip a {
  color: rgba(0,0,0,0.65);
  font-weight: 600;
  text-decoration: none;
  padding: 0 0.45rem;
  transition: color 0.15s;
  white-space: nowrap;
}

.sports-strip a:first-child { padding-left: 0; }

.sports-strip a:hover { color: #000; }

.sports-strip a.active {
  color: #fff;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

.sports-strip .ss-sep {
  color: rgba(0,0,0,0.28);
  flex-shrink: 0;
  user-select: none;
}

.ss-group {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.ss-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #d94f1e;
  min-width: 140px;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 100;
  padding: 0.25rem 0;
}

.ss-group:hover .ss-dropdown,
.ss-group:focus-within .ss-dropdown { display: block; }

.ss-dropdown a {
  display: block;
  padding: 0.35rem 0.75rem;
  color: rgba(0,0,0,0.7);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.74rem;
}

.ss-dropdown a:hover { color: #000; background: rgba(0,0,0,0.08); }
