/* ─────────────────────────────────────────────────────────────
   SportStream — Main Stylesheet
   Colors: #e10600 (red), #0d0d0d (black), #1a1a2e (dark navy)
───────────────────────────────────────────────────────────── */

/* ░░ RESET & BASE ░░ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:       #e10600;
  --red-dark:  #b30500;
  --black:     #0d0d0d;
  --dark:      #111827;
  --dark2:     #1f2937;
  --gray:      #6b7280;
  --light:     #f9fafb;
  --white:     #ffffff;
  --accent:    #e10600;
  --radius:    10px;
  --shadow:    0 4px 24px rgba(0,0,0,.18);
  --transition: .25s ease;
  --font-head: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
h1,h2,h3,h4,h5 { font-family: var(--font-head); line-height: 1.2; letter-spacing: .5px; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section       { padding: 5rem 0; }
.section-dark  { background: var(--dark); }
.accent        { color: var(--red); }
.text-center   { text-align: center; }
.mt-8          { margin-top: 2rem; }
.mb-6          { margin-bottom: 1.5rem; }

/* ░░ BUTTONS ░░ */
.btn {
  display: inline-block;
  padding: .75rem 2rem;
  border-radius: 6px;
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: .8px;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.btn-primary  { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); }
.btn-outline  { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-sm { padding: .45rem 1.2rem; font-size: .85rem; }
.btn-full { width: 100%; text-align: center; }

/* ░░ BADGE ░░ */
.badge { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .9rem; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.badge-live { background: var(--red); color: var(--white); animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.6} }

/* ░░ HEADER ░░ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,13,13,.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--red);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-size: 1.5rem; letter-spacing: 1px;
}
.logo-icon { color: var(--red); font-size: 1.3rem; }
.logo strong { color: var(--red); }
.main-nav { display: flex; gap: 2rem; }
.main-nav a {
  font-family: var(--font-head); font-size: 1rem; letter-spacing: .8px;
  text-transform: uppercase; color: #ccc;
  padding: .3rem 0; border-bottom: 2px solid transparent;
  transition: var(--transition);
}
.main-nav a:hover, .main-nav a.active { color: var(--white); border-bottom-color: var(--red); }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--white); transition: var(--transition); }

/* ░░ HERO ░░ */
.hero {
  position: relative; min-height: 90vh;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,.85) 40%, rgba(225,6,0,.15) 100%); }
.hero-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 1.5rem;
  max-width: 680px;
}
.hero-content h1 { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.05; }
.hero-content p  { font-size: 1.15rem; color: #ccc; max-width: 520px; }
.hero-actions    { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 1; color: #666; animation: bounce .9s infinite alternate; }
@keyframes bounce { from{transform:translateX(-50%) translateY(0)} to{transform:translateX(-50%) translateY(8px)} }

/* ░░ SPORTS BAR ░░ */
.sports-bar { background: var(--dark2); border-bottom: 1px solid #222; }
.sports-bar-inner {
  display: flex; justify-content: space-around; align-items: center;
  flex-wrap: wrap; gap: 1rem; padding: 1.2rem 1.5rem;
}
.sport-item {
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  font-family: var(--font-head); font-size: .85rem; letter-spacing: .5px;
  text-transform: uppercase; color: #aaa; cursor: pointer;
  transition: var(--transition);
}
.sport-item img { width: 40px; height: 40px; object-fit: contain; filter: grayscale(1) brightness(.7); transition: var(--transition); }
.sport-item:hover { color: var(--white); }
.sport-item:hover img { filter: none; }

/* ░░ SECTION HEADER ░░ */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(1.8rem,4vw,2.8rem); margin-bottom: .75rem; }
.section-header p  { color: var(--gray); font-size: 1.05rem; }

/* ░░ FEATURES ░░ */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 1.5rem;
}
.feature-card {
  background: var(--dark2); border-radius: var(--radius);
  padding: 2rem; border: 1px solid #222;
  transition: var(--transition);
}
.feature-card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.feature-card p  { color: var(--gray); font-size: .95rem; }

/* ░░ POST CARDS ░░ */
.posts-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 2rem;
}
.posts-grid-wide { grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); }

.post-card {
  background: var(--dark2); border-radius: var(--radius);
  overflow: hidden; border: 1px solid #222;
  transition: var(--transition);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--red); }

.post-card-img {
  display: block; position: relative; overflow: hidden; height: 210px;
}
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card-img img { transform: scale(1.06); }
.post-card-category {
  position: absolute; top: .75rem; left: .75rem;
  background: var(--red); color: var(--white);
  padding: .25rem .7rem; border-radius: 4px;
  font-size: .75rem; font-weight: 600; text-transform: uppercase;
}
.post-card-body { padding: 1.4rem; }
.post-meta-date { font-size: .8rem; color: var(--gray); display: block; margin-bottom: .5rem; }
.post-card-body h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.post-card-body h3 a:hover { color: var(--red); }
.post-card-body p  { color: #9ca3af; font-size: .9rem; margin-bottom: 1rem; }
.read-more { color: var(--red); font-size: .9rem; font-weight: 600; }
.read-more:hover { text-decoration: underline; }

/* ░░ CTA SECTION ░░ */
.cta-section { background: linear-gradient(135deg, var(--dark) 60%, #1a0000 100%); }
.cta-inner {
  display: flex; align-items: center; gap: 3rem; flex-wrap: wrap;
}
.cta-content { flex: 1; min-width: 280px; }
.cta-content h2 { font-size: clamp(1.6rem,3.5vw,2.4rem); margin-bottom: 1rem; }
.cta-content p  { color: var(--gray); margin-bottom: 1.5rem; }
.cta-image { flex: 1; min-width: 280px; border-radius: var(--radius); overflow: hidden; max-height: 320px; }
.cta-image img { width: 100%; height: 100%; object-fit: cover; }

/* ░░ PAGE HERO ░░ */
.page-hero {
  background: linear-gradient(135deg, var(--dark2) 0%, #1a0000 100%);
  border-bottom: 3px solid var(--red);
  padding: 4rem 0;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem,5vw,3.5rem); }
.page-hero p  { color: var(--gray); margin-top: .75rem; font-size: 1.05rem; }
.page-hero-sm { padding: 3rem 0; }

/* ░░ PAGINATION ░░ */
.pagination-wrap { margin-top: 3rem; display: flex; justify-content: center; }
.pagination { display: flex; gap: .5rem; align-items: center; }
.page-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 6px;
  font-weight: 600; font-size: .9rem;
  background: var(--dark2); color: var(--white);
  border: 1px solid #333; transition: var(--transition);
}
.page-btn:hover { background: var(--red); border-color: var(--red); }
.page-btn-active { background: var(--red) !important; border-color: var(--red) !important; }
.page-btn-disabled { opacity: .4; cursor: not-allowed; }

/* ░░ SINGLE POST ░░ */
.post-hero { position: relative; height: 500px; overflow: hidden; }
.post-hero-img { width: 100%; height: 100%; object-fit: cover; }
.post-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.9) 40%, transparent 100%); }
.post-hero-content {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  width: 100%; display: flex; flex-direction: column; gap: .75rem;
}
.post-hero-content h1 { font-size: clamp(1.8rem,4vw,3rem); }
.post-hero-content time { color: #9ca3af; font-size: .9rem; }
.badge-category { background: var(--red); color: var(--white); padding: .3rem .8rem; border-radius: 4px; font-size: .75rem; font-weight: 700; text-transform: uppercase; width: fit-content; }

.post-layout { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; padding-top: 3rem; padding-bottom: 3rem; }
.prose { font-size: 1.05rem; line-height: 1.9; color: #d1d5db; }
.prose p { margin-bottom: 1.2rem; }

.post-sidebar { display: flex; flex-direction: column; gap: 2rem; }
.sidebar-widget { background: var(--dark2); border-radius: var(--radius); padding: 1.5rem; border: 1px solid #222; }
.sidebar-widget h4 { font-size: 1rem; margin-bottom: 1.2rem; text-transform: uppercase; letter-spacing: .5px; border-bottom: 2px solid var(--red); padding-bottom: .5rem; }

.related-item { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1rem; }
.related-item img { width: 70px; height: 50px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.related-item time { display: block; font-size: .75rem; color: var(--gray); margin-top: .25rem; }
.related-item a:hover strong { color: var(--red); }

.cta-widget { text-align: center; }
.cta-widget p { color: var(--gray); font-size: .9rem; margin: .75rem 0 1rem; }

/* ░░ CONTACT PAGE ░░ */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding-top: 1rem; }
.contact-info h2 { font-size: 1.8rem; margin-bottom: 1.5rem; }
.contact-steps  { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-step   { display: flex; gap: 1rem; align-items: flex-start; }
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--red); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 700;
  flex-shrink: 0;
}
.contact-step h4 { font-size: 1rem; margin-bottom: .3rem; }
.contact-step p  { color: var(--gray); font-size: .9rem; }
.contact-image img { border-radius: var(--radius); width: 100%; }

/* ░░ FORM ░░ */
.contact-form-wrap {
  background: var(--dark2); border-radius: var(--radius);
  padding: 2.5rem; border: 1px solid #222;
}
.contact-form .form-group { margin-bottom: 1.4rem; }
.contact-form label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .5rem; color: #d1d5db; }
.required { color: var(--red); }
.optional  { color: var(--gray); font-weight: 400; font-size: .8rem; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%; padding: .75rem 1rem;
  background: #111827; border: 1px solid #374151;
  border-radius: 6px; color: var(--white);
  font-size: .95rem; font-family: var(--font-body);
  transition: var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(225,6,0,.15); }
.contact-form input.is-invalid,
.contact-form textarea.is-invalid { border-color: #f87171; }
.field-error { color: #f87171; font-size: .82rem; display: block; margin-top: .4rem; }
.alert-success {
  background: #064e3b; border: 1px solid #059669; color: #d1fae5;
  padding: 1rem 1.25rem; border-radius: 6px; margin-bottom: 1.5rem;
}

/* ░░ FOOTER ░░ */
.site-footer { background: #080808; border-top: 2px solid #1a1a1a; }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; padding: 4rem 1.5rem 3rem;
}
.footer-brand p { color: var(--gray); font-size: .9rem; margin-top: 1rem; max-width: 320px; }
.footer-links, .footer-sports { display: flex; flex-direction: column; }
.footer-links h4, .footer-sports h4 { font-family: var(--font-head); font-size: .9rem; letter-spacing: .8px; text-transform: uppercase; color: var(--red); margin-bottom: 1rem; }
.footer-links a, .footer-sports a { color: #6b7280; font-size: .9rem; padding: .25rem 0; transition: var(--transition); }
.footer-links a:hover, .footer-sports a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid #1a1a1a; padding: 1.2rem 0; text-align: center; }
.footer-bottom p { color: #4b5563; font-size: .85rem; }

/* ░░ EMPTY STATE ░░ */
.empty-state { text-align: center; padding: 5rem 0; color: var(--gray); font-size: 1.1rem; }

/* ░░ RESPONSIVE ░░ */
@media (max-width: 900px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { order: -1; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; }
}

@media (max-width: 680px) {
  .main-nav {
    display: none; flex-direction: column; gap: .5rem;
    position: absolute; top: 70px; left: 0; right: 0;
    background: rgba(13,13,13,.98); padding: 1.5rem;
    border-bottom: 2px solid var(--red); z-index: 99;
  }
  .main-nav.open { display: flex; }
  .burger { display: flex; }
  .hero { min-height: 70vh; }
  .hero-content h1 { font-size: 2.2rem; }
  .sports-bar-inner { gap: 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .post-hero { height: 320px; }
}
