:root {
  --maroon: #6B303C;
  --maroon-light: #9B4A56;
  --maroon-deep: #3D1820;
  --maroon-glow: rgba(107, 48, 60, 0.55);
  --gold: #e8b923;
  --gold-soft: #ffd95a;
  --ink: #070505;
  --panel: rgba(16, 8, 10, 0.92);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f0ee;
  --muted: #b0a8a6;
  --white: #ffffff;
  --radius: 4px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  font-family: var(--font-body);
  background: var(--ink);
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, var(--maroon-glow), transparent),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(107, 48, 60, 0.12), transparent),
    var(--ink);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  background: rgba(7, 5, 5, 0.85);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
}

.brand-tagline {
  color: var(--maroon-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 14px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
}

.site-nav .nav-admin {
  color: var(--maroon-light);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.15s, filter 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.btn-primary {
  background: var(--maroon);
  color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: #1a0a0a;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.text-link {
  color: var(--maroon-light);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
}

.eyebrow.gold { color: var(--gold-soft); }

/* Hero */
.hero-full {
  position: relative;
  min-height: clamp(520px, 82vh, 760px);
  display: flex;
  align-items: flex-end;
  margin-top: -72px;
  padding: calc(72px + 48px) 0 64px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 5, 5, 0.94) 0%, rgba(7, 5, 5, 0.72) 42%, rgba(7, 5, 5, 0.35) 100%),
    linear-gradient(0deg, rgba(7, 5, 5, 0.95) 0%, transparent 45%),
    linear-gradient(180deg, rgba(7, 5, 5, 0.55) 0%, transparent 28%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-content h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 16vw, 10rem);
  line-height: 0.82;
  letter-spacing: 0.04em;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}

.hero-content h1 span {
  color: var(--maroon-light);
  display: block;
}

.hero-subtitle {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 32rem;
  color: rgba(244, 240, 238, 0.82);
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 22px 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .site-header {
  background: rgba(7, 5, 5, 0.45);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.page-home .site-bg {
  display: none;
}

/* Gallery */
.gallery-strip {
  padding: 56px 0;
}

.gallery-head h2 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: 0.04em;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 1;
  background: #0a0a0a;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.35s ease;
}

.gallery-item img.gallery-portrait {
  object-position: center 38%;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

/* Sponsor */
.sponsor-strip {
  padding: 16px 0;
}

.sponsor-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: 32px;
  background: var(--panel);
  border: 1px solid rgba(232, 185, 35, 0.2);
  border-left: 4px solid var(--gold);
}

.sponsor-card h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
}

.sponsor-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 20px;
}

.sponsor-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: min(100%, 480px);
  aspect-ratio: 2 / 1;
  padding: 14px 18px;
  background: #fff;
  border-radius: 2px;
  justify-self: center;
}

.sponsor-logo-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Watch */
.watch-section {
  padding: 56px 0;
}

.watch-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.watch-copy h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0.03em;
  line-height: 0.95;
}

.watch-copy p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 22px;
}

.watch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.watch-logo {
  max-width: 180px;
  opacity: 0.9;
}

.video-shell {
  padding: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.video-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 700;
}

.video-frame {
  position: relative;
  padding-top: 56.25%;
  background: #000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Broadcaster */
.broadcaster-section {
  padding: 56px 0;
  background: linear-gradient(180deg, transparent, rgba(107, 48, 60, 0.14), transparent);
}

.broadcaster-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: center;
}

.broadcaster-photo-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.broadcaster-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  display: block;
}

.broadcaster-tag {
  position: absolute;
  padding: 8px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
}

.broadcaster-tag-partner {
  left: 8%;
  bottom: 18%;
  background: rgba(0, 0, 0, 0.65);
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
}

.broadcaster-tag-rob {
  right: 6%;
  bottom: 10%;
  background: var(--maroon);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  padding: 12px 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.broadcaster-role {
  margin: -8px 0 16px !important;
  color: var(--maroon-light) !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

.broadcaster-copy h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  letter-spacing: 0.04em;
  line-height: 0.9;
}

.broadcaster-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

/* Sports hub */
.sports-hub,
.news-section {
  padding: 56px 0;
}

.section-head {
  margin-bottom: 24px;
}

.section-head.row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: 0.04em;
}

.sport-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.sport-card {
  position: relative;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border-radius: 2px;
  display: flex;
  align-items: flex-end;
}

.sport-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.2) 55%, rgba(107,48,60,0.25) 100%);
  transition: background 0.3s;
}

.sport-card:hover .sport-card-overlay {
  background: linear-gradient(0deg, rgba(107,48,60,0.95) 0%, rgba(0,0,0,0.4) 100%);
}

.sport-card.football.sport-bg-football { background-image: url('/static/images/hero-team.jpg'); }
.sport-card.basketball.sport-bg-basketball { background-image: url('/static/images/gallery-basketball.jpg'); }
.sport-card.baseball.sport-bg-baseball { background-image: url('/static/images/gallery-baseball-field.jpg'); }

.sport-card-content {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.sport-card h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.06em;
}

.sport-card p {
  margin: 0;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

/* Articles */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.article-grid.compact {
  grid-template-columns: repeat(2, 1fr);
}

.article-card {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform 0.2s;
}

.article-card:hover {
  transform: translateY(-3px);
}

.article-card-link { display: block; height: 100%; }

.article-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.article-card-media img,
.article-card-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card-fallback {
  background: linear-gradient(135deg, var(--maroon-deep), #1a080c);
}

.article-card-fallback.sport-football { background: linear-gradient(135deg, #4a0a14, #1a080c); }
.article-card-fallback.sport-basketball { background: linear-gradient(135deg, var(--maroon-deep), #1a080c); }
.article-card-fallback.sport-baseball { background: linear-gradient(135deg, #4a0a14, #1a080c); }

.article-pill {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 5px 10px;
  background: var(--maroon);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-card-body {
  padding: 16px;
}

.article-card-body h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.article-card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.88rem;
}

.empty-state {
  padding: 48px;
  text-align: center;
  border: 1px dashed var(--line);
}

.empty-state h3 { margin: 0 0 8px; }
.empty-state p { margin: 0; color: var(--muted); }

/* Page hero */
.page-hero {
  padding: 48px 0 24px;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  letter-spacing: 0.04em;
  max-width: 16ch;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.filter-pills a {
  padding: 8px 14px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.filter-pills a.active,
.filter-pills a:hover {
  color: var(--text);
  border-color: var(--maroon-light);
  background: rgba(107, 48, 60, 0.2);
}

/* Article page */
.article-page {
  padding: 40px 0 64px;
}

.article-shell {
  max-width: 720px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.article-meta time {
  color: var(--muted);
  font-size: 0.88rem;
}

.article-shell h1 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: 0.03em;
  line-height: 0.95;
}

.article-hero-image {
  margin: 0 0 28px;
  overflow: hidden;
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #d4ccc8;
}

.related-section {
  padding-top: 0;
}

.footer-shn-logo {
  max-width: 140px;
  margin-bottom: 12px;
}

/* Footer */
.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,0.5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  padding: 40px 0 24px;
}

.footer-grid p,
.footer-grid a {
  display: block;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.92rem;
}

.footer-grid h4 {
  margin: 0 0 10px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 0 24px;
  color: var(--muted);
  font-size: 0.82rem;
  border-top: 1px solid var(--line);
}

.footer-bottom a {
  color: var(--maroon-light);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.footer-credit {
  margin-left: auto;
}

/* Flash */
.flash-stack { padding-top: 12px; }
.flash {
  padding: 12px 16px;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}
.flash-success { background: rgba(34, 197, 94, 0.15); color: #86efac; }
.flash-error { background: rgba(239, 68, 68, 0.15); color: #fca5a5; }

@media (max-width: 960px) {
  .broadcaster-tag-partner {
    left: 4%;
    bottom: 14%;
    font-size: 0.65rem;
    padding: 6px 10px;
  }

  .broadcaster-tag-rob {
    right: 4%;
    bottom: 6%;
    font-size: 0.95rem;
    padding: 10px 14px;
  }

  .hero-full {
    min-height: clamp(480px, 75vh, 620px);
    align-items: center;
    padding-bottom: 48px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(7, 5, 5, 0.92) 0%, rgba(7, 5, 5, 0.55) 50%, rgba(7, 5, 5, 0.75) 100%);
  }

  .hero-content h1 {
    font-size: clamp(4.5rem, 18vw, 7rem);
  }

  .sponsor-card,
  .watch-grid,
  .broadcaster-layout,
  .sport-cards,
  .article-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: rgba(7, 5, 5, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .site-nav.open { display: flex; }

  .site-header { position: relative; }
}

/* Alt homepage (/page2) — tighter, scannable layout */
.page-alt .hero-compact {
  min-height: clamp(420px, 70vh, 620px);
}

.page-alt .hero-compact .hero-lead {
  margin: 18px 0 24px;
  font-size: 1.15rem;
  max-width: 28rem;
}

.page-alt .hero-subtitle {
  display: none;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.78rem;
}

.alt-sponsor {
  padding: 20px 0;
}

.alt-sponsor-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 24px;
  background: var(--panel);
  border: 1px solid rgba(232, 185, 35, 0.2);
  border-left: 4px solid var(--gold);
}

.alt-sponsor-copy {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.alt-sponsor-copy .eyebrow {
  margin: 0;
}

.alt-watch {
  padding: 40px 0;
}

.alt-watch-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}

.alt-watch-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.alt-broadcaster {
  padding: 40px 0;
}

.alt-broadcaster-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: center;
}

.alt-broadcaster-copy h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
}

.alt-broadcaster-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 36ch;
}

.page-alt .alt-sports {
  padding-top: 0;
}

.page-alt .alt-sports .sport-card {
  min-height: 200px;
}

.page-alt .alt-sports .sport-card p {
  display: none;
}

.page-alt .alt-news {
  padding-top: 40px;
}

.page-alt .alt-news .section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0.04em;
}

.page-alt .alt-article-grid {
  grid-template-columns: repeat(3, 1fr);
}

.page-alt .alt-gallery {
  padding-top: 40px;
}

.page-alt .alt-gallery .gallery-head {
  display: none;
}

@media (max-width: 960px) {
  .alt-watch-grid,
  .alt-broadcaster-inner {
    grid-template-columns: 1fr;
  }

  .alt-watch-links {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .page-alt .alt-article-grid {
    grid-template-columns: 1fr;
  }
}
