/* ============================================
   High School Sports — Premium Dark Theme
   ============================================ */

:root {
  --primary-red: #e4002b;
  --primary-red-glow: rgba(228, 0, 43, 0.35);
  --dark-bg: #0a0a0f;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.08);
  --text-light: #f0f0f5;
  --text-mid: #8a8a9a;
  --text-dim: #5a5a6a;
  --border-color: rgba(255, 255, 255, 0.08);
  --nav-bg: rgba(10, 10, 18, 0.85);
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-pill: 20px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-light);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(228, 0, 43, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(228, 0, 43, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, #0a0a0f 0%, #111118 50%, #0a0a0f 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================
   Header
   ============================================ */
.site-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0 1.5rem;
}

.event-title {
  text-align: center;
}

.event-title h1 {
  font-size: 1.6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  background: linear-gradient(135deg, var(--text-light) 0%, var(--primary-red) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.25rem;
}

.event-title p {
  font-size: 0.85rem;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 400;
}

/* ============================================
   Navigation
   ============================================ */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

.main-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  z-index: -1;
  pointer-events: none;
}

/* Hamburger Button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.4rem;
  padding: 0.85rem 1.2rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.nav-toggle:hover {
  color: var(--primary-red);
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  align-items: center;
  position: relative;
}

.nav-list::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, var(--border-color) 30%, var(--border-color) 70%, transparent 100%);
  pointer-events: none;
}

.nav-list>li {
  position: relative;
}

.nav-dropdown {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.9rem 1.1rem;
  color: var(--text-mid);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color var(--transition-fast), background-color var(--transition-fast);
  white-space: nowrap;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--text-light);
  background-color: rgba(255, 255, 255, 0.04);
  border-bottom-color: var(--primary-red);
}

.dropdown-arrow {
  font-size: 0.45rem;
  transition: transform var(--transition-fast);
  display: inline-block;
  opacity: 0.5;
}

/* ---- Desktop: hover-based dropdowns ---- */
@media (min-width: 769px) {
  .nav-dropdown:hover>.nav-link {
    color: var(--text-light);
    border-bottom-color: var(--primary-red);
  }

  .nav-dropdown:hover>.nav-link .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
  }

  .dropdown-menu {
    position: absolute;
    top: calc(100% + 1px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background-color: #151520;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    min-width: 190px;
    list-style: none;
    margin: 0;
    padding: 0.4rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-lg);
    z-index: 200;
  }

  .nav-dropdown:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .dropdown-menu li {
    position: relative;
  }

  .dropdown-menu>li>a {
    display: block;
    padding: 0.6rem 0.85rem;
    color: var(--text-mid);
    text-decoration: none;
    font-size: 0.82rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
  }

  .dropdown-menu>li>a:hover {
    background-color: var(--primary-red);
    color: var(--text-light);
  }

  .dropdown-wide {
    min-width: 280px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  /* Sub Dropdown - Desktop */
  .dropdown-sub {
    position: absolute;
    left: calc(100% + 4px);
    top: -0.4rem;
    min-width: 160px;
    background-color: #1a1a28;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    list-style: none;
    margin: 0;
    padding: 0.4rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-8px);
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-lg);
    z-index: 300;
  }

  .dropdown-menu>li:hover>.dropdown-sub {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .dropdown-sub a {
    padding: 0.55rem 0.85rem;
    display: block;
    color: var(--text-mid);
    text-decoration: none;
    font-size: 0.82rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
  }

  .dropdown-sub a:hover {
    background-color: var(--primary-red);
    color: var(--text-light);
  }
}

/* ============================================
   Main Content
   ============================================ */
.main-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 0 3rem;
  gap: 2rem;
}

/* ---- Video Player ---- */
.video-player-mockup {
  position: relative;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  background-color: #000;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--card-border);
  overflow: hidden;
  box-shadow:
    var(--shadow-lg),
    0 0 60px rgba(228, 0, 43, 0.08);
}

/* Video Loading Spinner */
.video-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 3;
  background: var(--bg-dark);
  color: var(--text-dim);
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.video-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary-red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.video-loading.hidden {
  display: none;
}

/* Video Error Fallback */
.video-error {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  z-index: 4;
  background: var(--bg-dark);
  color: var(--text-dim);
  font-size: 0.85rem;
}

.video-error svg {
  color: var(--primary-red);
  opacity: 0.7;
}

.video-retry-btn {
  margin-top: 0.5rem;
  padding: 0.5rem 1.5rem;
  background: var(--primary-red);
  color: var(--text-light);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.video-retry-btn:hover {
  background: var(--primary-red-hover);
  transform: scale(1.05);
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.5s ease;
}

.background-video.blurred {
  filter: blur(10px);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 30%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, transparent 15%);
  z-index: 1;
}

.live-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(200, 0, 30, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.3rem 0.8rem 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  z-index: 2;
  box-shadow:
    0 0 12px rgba(228, 0, 43, 0.5),
    0 0 30px rgba(228, 0, 43, 0.2);
  border: 1px solid rgba(255, 60, 80, 0.3);
}

.viewer-badge {
  position: absolute;
  top: 1rem;
  left: 6.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 2;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.live-dot {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
  animation: live-dot-pulse 1.5s ease-in-out infinite;
}

.live-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%);
  animation: live-ring-expand 1.5s ease-out infinite;
}

@keyframes live-dot-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

@keyframes live-ring-expand {
  0% {
    width: 8px;
    height: 8px;
    opacity: 0.6;
  }

  100% {
    width: 22px;
    height: 22px;
    opacity: 0;
  }
}

/* ---- Stream Info ---- */
.stream-info {
  text-align: center;
  max-width: 700px;
}

.stream-info h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  letter-spacing: -0.5px;
}

.stream-info p {
  font-size: 0.95rem;
  color: var(--text-mid);
}

/* ============================================
   Event Details — Glass Card
   ============================================ */
.event-details {
  width: 100%;
  max-width: 960px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: left;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.event-details h2 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-mid);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.detail-item strong {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.detail-item strong svg {
  opacity: 0.5;
}

.detail-item span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
}

.event-description {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-mid);
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
  margin-top: 0.5rem;
}

/* ============================================
   Sports Section — Pill Tags
   ============================================ */
.sports-section {
  width: 100%;
  max-width: 960px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.sports-section h2 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-red);
  text-align: center;
}

.sports-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.sport-item {
  background: linear-gradient(135deg, rgba(228, 0, 43, 0.12) 0%, rgba(228, 0, 43, 0.06) 100%);
  border: 1px solid rgba(228, 0, 43, 0.2);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-light);
  transition: all var(--transition-fast);
  letter-spacing: 0.3px;
}

.sport-item:hover {
  background: var(--primary-red);
  border-color: var(--primary-red);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--primary-red-glow);
}

/* ============================================
   Associations Section — Compact Tags
   ============================================ */
.associations-section {
  width: 100%;
  max-width: 960px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.associations-section h2 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-red);
  text-align: center;
}

.associations-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.association-item {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-dim);
  transition: all var(--transition-fast);
  letter-spacing: 0.3px;
}

.association-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  border-color: rgba(228, 0, 43, 0.4);
  transform: translateY(-1px);
}

/* ============================================
   Footer
   ============================================ */
.site-footer-bottom {
  text-align: center;
  padding: 2rem 0;
  font-size: 0.8rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-content p {
  letter-spacing: 0.3px;
}

.social-links {
  display: flex;
  gap: 1.25rem;
}

.social-links a {
  color: var(--text-dim);
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
}

.social-links a:hover {
  color: var(--primary-red);
  border-color: rgba(228, 0, 43, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(228, 0, 43, 0.15);
}

/* ============================================
   Responsive — Tablet
   ============================================ */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.25rem;
  }

  .site-header {
    padding: 1.75rem 0 1.25rem;
  }

  .event-title h1 {
    font-size: 1.4rem;
    letter-spacing: 2px;
  }

  .main-content {
    padding: 2rem 0 2.5rem;
    gap: 1.75rem;
  }

  .event-details,
  .sports-section,
  .associations-section {
    padding: 1.5rem;
  }

  .details-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .stream-info h2 {
    font-size: 1.4rem;
  }
}

/* ============================================
   Responsive — Mobile
   ============================================ */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .site-header {
    padding: 1.25rem 0 0.75rem;
  }

  .event-title h1 {
    font-size: 1.2rem;
    letter-spacing: 1.5px;
  }

  .event-title p {
    font-size: 0.72rem;
    letter-spacing: 2.5px;
  }

  /* Disable nav fade mask on mobile so menu bg is fully visible */
  .main-nav::before {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .main-content {
    padding: 1.25rem 0 2rem;
    gap: 1.25rem;
  }

  .stream-info h2 {
    font-size: 1.15rem;
  }

  .stream-info p {
    font-size: 0.82rem;
  }

  /* Video badges — scale down & prevent overlap */
  .live-badge {
    top: 0.6rem;
    left: 0.6rem;
    font-size: 0.6rem;
    padding: 0.25rem 0.6rem 0.25rem 0.5rem;
    letter-spacing: 1px;
  }

  .viewer-badge {
    top: 0.6rem;
    left: 5rem;
    font-size: 0.65rem;
    padding: 0.25rem 0.55rem;
  }

  .live-dot {
    width: 6px;
    height: 6px;
  }

  .event-details,
  .sports-section,
  .associations-section {
    padding: 1.25rem;
  }

  .event-details h2,
  .sports-section h2,
  .associations-section h2 {
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    text-align: center;
  }

  .details-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .detail-item span {
    font-size: 0.9rem;
  }

  .event-description {
    font-size: 0.82rem;
  }

  .sport-item {
    padding: 0.4rem 0.9rem;
    font-size: 0.78rem;
  }

  .association-item {
    padding: 0.35rem 0.7rem;
    font-size: 0.72rem;
  }

  /* Footer */
  .site-footer-bottom {
    padding: 1.5rem 0;
  }

  .footer-links {
    gap: 1rem;
  }

  .social-links {
    gap: 0.85rem;
  }

  .social-links a {
    width: 32px;
    height: 32px;
  }

  .social-links a svg {
    width: 16px;
    height: 16px;
  }

  /* ---- Hamburger visible on mobile ---- */
  .nav-toggle {
    display: block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    background-color: #12121a;
    border-top: 1px solid var(--border-color);
  }

  .nav-list::after {
    display: none;
  }

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

  .nav-list>li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .nav-link {
    padding: 0.85rem 1.1rem;
    justify-content: space-between;
    width: 100%;
    border-bottom: none;
  }

  .nav-link:hover {
    border-bottom: none;
  }

  /* Mobile dropdown menus */
  .dropdown-menu {
    position: static;
    background-color: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 0;
    box-shadow: none;
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-dropdown.active>.dropdown-menu {
    display: block;
  }

  .dropdown-menu>li>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem 0.65rem 2rem;
    color: var(--text-mid);
    text-decoration: none;
    font-size: 0.82rem;
    transition: all var(--transition-fast);
    cursor: pointer;
  }

  .dropdown-menu>li>a:hover {
    background-color: var(--primary-red);
    color: var(--text-light);
  }

  .dropdown-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .dropdown-menu li:last-child {
    border-bottom: none;
  }

  /* Sub dropdown mobile */
  .dropdown-sub {
    position: static;
    background-color: rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 0;
    box-shadow: none;
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-dropdown.active>.dropdown-sub {
    display: block;
  }

  .dropdown-sub a {
    padding: 0.55rem 1rem 0.55rem 3rem;
    display: block;
    color: var(--text-mid);
    text-decoration: none;
    font-size: 0.82rem;
    transition: all var(--transition-fast);
  }

  .dropdown-sub a:hover {
    background-color: var(--primary-red);
    color: var(--text-light);
  }

  .dropdown-sub li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .dropdown-sub li:last-child {
    border-bottom: none;
  }

  .nav-dropdown.active>.dropdown-wide {
    display: flex;
    flex-direction: column;
  }

  .dropdown-wide {
    display: none;
  }

  .dropdown-arrow {
    transition: transform var(--transition-fast);
  }

  .nav-dropdown.active>a>.dropdown-arrow,
  .nav-dropdown.active>.nav-link>.dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
  }
}

/* ============================================
   Responsive — Small Phone
   ============================================ */
@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .site-header {
    padding: 1rem 0 0.5rem;
  }

  .event-title h1 {
    font-size: 1rem;
    letter-spacing: 1px;
  }

  .event-title p {
    font-size: 0.65rem;
    letter-spacing: 2px;
  }

  .main-content {
    padding: 1rem 0 1.5rem;
    gap: 1rem;
  }

  .stream-info h2 {
    font-size: 1rem;
  }

  .stream-info p {
    font-size: 0.78rem;
  }

  /* Video badges — even smaller */
  .live-badge {
    top: 0.4rem;
    left: 0.4rem;
    font-size: 0.55rem;
    padding: 0.2rem 0.5rem 0.2rem 0.4rem;
    gap: 0.3rem;
  }

  .viewer-badge {
    top: 0.4rem;
    left: 4.2rem;
    font-size: 0.58rem;
    padding: 0.2rem 0.45rem;
  }

  .viewer-badge svg {
    width: 11px;
    height: 11px;
  }

  .live-dot {
    width: 5px;
    height: 5px;
  }

  .details-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .event-details,
  .sports-section,
  .associations-section {
    padding: 1rem;
  }

  .event-details h2,
  .sports-section h2,
  .associations-section h2 {
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
    text-align: center;
  }

  .detail-item strong {
    font-size: 0.7rem;
  }

  .detail-item span {
    font-size: 0.85rem;
  }

  .event-description {
    font-size: 0.78rem;
    line-height: 1.6;
  }

  .sport-item {
    padding: 0.35rem 0.75rem;
    font-size: 0.72rem;
  }

  .association-item {
    padding: 0.3rem 0.6rem;
    font-size: 0.68rem;
  }

  /* Footer compact */
  .site-footer-bottom {
    padding: 1.25rem 0;
    font-size: 0.72rem;
  }

  .footer-links {
    gap: 0.75rem;
  }

  .footer-links a {
    font-size: 0.72rem;
  }

  .social-links {
    gap: 0.7rem;
  }

  .social-links a {
    width: 30px;
    height: 30px;
  }

  .social-links a svg {
    width: 14px;
    height: 14px;
  }
}

/* ============================================
   Shared Page Styles (Contact, Privacy, DMCA)
   ============================================ */
.page-section {
  width: 100%;
  max-width: 960px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.page-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.page-header-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(228, 0, 43, 0.15) 0%, rgba(228, 0, 43, 0.05) 100%);
  border: 1px solid rgba(228, 0, 43, 0.25);
  border-radius: 50%;
  color: var(--primary-red);
  margin-bottom: 1.25rem;
}

.page-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--text-light) 0%, var(--primary-red) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-subtitle {
  font-size: 0.9rem;
  color: var(--text-mid);
}

/* ---- Legal Content ---- */
.legal-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.legal-block h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-block h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary-red);
  margin: 1rem 0 0.5rem;
}

.legal-block p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 0.5rem;
}

.legal-block ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
}

.legal-block ul li {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
  padding: 0.35rem 0 0.35rem 1.25rem;
  position: relative;
}

.legal-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 5px;
  height: 5px;
  background: var(--primary-red);
  border-radius: 50%;
}

.legal-block a {
  color: var(--primary-red);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.legal-block a:hover {
  color: #ff1040;
  text-decoration: underline;
}

.dmca-agent-card {
  background: rgba(228, 0, 43, 0.06);
  border: 1px solid rgba(228, 0, 43, 0.15);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
}

.dmca-agent-card p {
  margin-bottom: 0.25rem;
}

/* ---- Contact Page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: border-color var(--transition-fast);
}

.info-card:hover {
  border-color: rgba(228, 0, 43, 0.3);
}

.info-card-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: rgba(228, 0, 43, 0.1);
  border-radius: var(--radius-sm);
  color: var(--primary-red);
  margin-bottom: 0.75rem;
}

.info-card h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.3rem;
}

.info-card p {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-bottom: 0.25rem;
}

.info-card-note {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.contact-form-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.contact-form-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(228, 0, 43, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: #1a1a28;
  color: var(--text-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit-btn {
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, var(--primary-red) 0%, #c50024 100%);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 20px var(--primary-red-glow);
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(228, 0, 43, 0.45);
}

/* ---- Footer Links ---- */
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-red);
}

@media (max-width: 768px) {
  .page-section {
    padding: 1.5rem;
  }

  .page-header h2 {
    font-size: 1.4rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Signup Popup Overlay
   ============================================ */
.signup-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  padding: 1rem;
  box-sizing: border-box;
}

.signup-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile & tablet popup overlay adjustments */
@media (max-width: 1024px) {
  .signup-popup-overlay {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .signup-popup-overlay {
    padding: 1rem;
  }
}

.signup-popup {
  background: linear-gradient(145deg, rgba(22, 22, 35, 0.95) 0%, rgba(15, 15, 25, 0.98) 100%);
  border: 1px solid rgba(228, 0, 43, 0.25);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 380px;
  width: 100%;
  box-shadow:
    0 0 40px rgba(228, 0, 43, 0.15),
    0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.85) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.signup-popup-overlay.active .signup-popup {
  transform: scale(1) translateY(0);
}

.popup-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, rgba(228, 0, 43, 0.15) 0%, rgba(228, 0, 43, 0.05) 100%);
  border: 1px solid rgba(228, 0, 43, 0.3);
  border-radius: 50%;
  color: var(--primary-red);
  animation: pulse-icon 2.5s ease-in-out infinite;
}

@keyframes pulse-icon {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(228, 0, 43, 0.2);
  }

  50% {
    box-shadow: 0 0 0 12px rgba(228, 0, 43, 0);
  }
}

.popup-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--text-light) 0%, var(--primary-red) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.3px;
}

.popup-message {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.popup-message strong {
  color: var(--primary-red);
  -webkit-text-fill-color: var(--primary-red);
}

.popup-cta-btn {
  display: inline-block;
  width: 100%;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, var(--primary-red) 0%, #c50024 100%);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 20px var(--primary-red-glow);
}

.popup-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(228, 0, 43, 0.45);
  background: linear-gradient(135deg, #ff1040 0%, var(--primary-red) 100%);
}

.popup-dismiss {
  display: inline-block;
  margin-top: 1rem;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 0.78rem;
  cursor: pointer;
  transition: color var(--transition-fast);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.3px;
}

.popup-dismiss:hover {
  color: var(--text-light);
}

@media (max-width: 480px) {
  .signup-popup {
    padding: 0.75rem 0.7rem;
    max-width: 190px;
    width: 75%;
  }

  .popup-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 0.5rem;
  }

  .popup-icon svg {
    width: 16px;
    height: 16px;
  }

  .popup-title {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
  }

  .popup-message {
    font-size: 0.62rem;
    line-height: 1.25;
    margin-bottom: 0.75rem;
  }

  .popup-cta-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.65rem;
  }
}

/* Tablet specific popup styles */
@media (min-width: 481px) and (max-width: 1024px) {
  .signup-popup {
    max-width: 260px;
    width: 70%;
    padding: 1.1rem 0.9rem;
  }

  .popup-icon {
    width: 40px;
    height: 40px;
  }

  .popup-icon svg {
    width: 22px;
    height: 22px;
  }

  .popup-title {
    font-size: 0.9rem;
  }

  .popup-message {
    font-size: 0.7rem;
  }

  .popup-cta-btn {
    padding: 0.55rem 1rem;
    font-size: 0.72rem;
  }
}

/* Ensure popup is within viewport on all devices */
@media (max-height: 600px) and (orientation: landscape) {
  .signup-popup {
    padding: 1.5rem 1.25rem;
    max-width: 320px;
  }

  .popup-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 0.75rem;
  }

  .popup-icon svg {
    width: 28px;
    height: 28px;
  }

  .popup-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .popup-message {
    font-size: 0.8rem;
    margin-bottom: 1.25rem;
    line-height: 1.4;
  }

  .popup-cta-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
  }
}

/* ============================================
   Sticky Bottom Ad
   ============================================ */
.sticky-ad-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0.8) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.sticky-ad-wrapper.visible {
  transform: translateY(0);
  opacity: 1;
}

.sticky-ad-wrapper .ad-container {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  overflow: hidden;
}

/* Desktop: 468x60 ad */
.sticky-ad-wrapper .ad-container.ad-468x60 {
  width: 468px;
  height: 60px;
}

/* Mobile/Tablet: 320x50 ad */
.sticky-ad-wrapper .ad-container.ad-320x50 {
  width: 320px;
  height: 50px;
}

.sticky-ad-close {
  position: absolute;
  top: -10px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #1a1a24;
  color: var(--text-mid);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
  padding: 0;
}

.sticky-ad-close:hover {
  background: var(--primary-red);
  color: white;
  border-color: var(--primary-red);
}

/* Add bottom padding to body so footer isn't hidden behind sticky ad */
body.has-sticky-ad {
  padding-bottom: 80px;
  /* Desktop: 468x60 ad + spacing */
}

@media (max-width: 1024px) {
  body.has-sticky-ad {
    padding-bottom: 70px;
    /* Mobile/Tablet: 320x50 ad + spacing */
  }
}

/* ============================================
   Fake Signup Notifications
   ============================================ */
#notification-container {
  position: fixed;
  bottom: 90px;
  /* Desktop: above 468x60 ad */
  left: 20px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

@media (max-width: 1024px) {
  #notification-container {
    bottom: 80px;
    /* Mobile: above 320x50 ad */
  }
}

.signup-notification {
  position: relative;
  background: linear-gradient(135deg, rgba(22, 22, 35, 0.98) 0%, rgba(15, 15, 25, 0.98) 100%);
  border: 1px solid rgba(228, 0, 43, 0.3);
  border-radius: var(--radius-md);
  padding: 12px 45px 12px 12px;
  min-width: 280px;
  max-width: 320px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(228, 0, 43, 0.15);
  opacity: 0;
  transform: translateX(-100px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: auto;
}

.signup-notification.show {
  opacity: 1;
  transform: translateX(0);
}

.notification-icon {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--primary-red) 0%, #c50024 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(228, 0, 43, 0.4);
}

.notification-content {
  margin-left: 38px;
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.4;
}

.notification-content strong {
  color: var(--primary-red);
  font-weight: 600;
}

.notification-content em {
  color: var(--text-mid);
  font-style: normal;
}

.notification-time {
  display: block;
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.notification-close {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  line-height: 1;
  padding: 0;
}

.notification-close:hover {
  background: rgba(228, 0, 43, 0.2);
  color: var(--text-light);
}

/* Mobile responsive for notifications */
@media (max-width: 768px) {
  #notification-container {
    bottom: 70px;
    left: 10px;
    right: 10px;
  }

  .signup-notification {
    min-width: auto;
    max-width: none;
  }
}

@media (max-width: 480px) {
  #notification-container {
    bottom: 80px;
  }

  .signup-notification {
    padding: 10px 40px 10px 10px;
    min-width: auto;
    font-size: 0.75rem;
  }

  .notification-icon {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .notification-content {
    margin-left: 34px;
  }
}