/* ============================================
   91F Streaming — Hardcore FPS
   Female streamer, no-mercy vibe. Dark + neon.
   ============================================ */

:root {
  /* Core palette */
  --bg-deep: #08080f;
  --bg-charcoal: #0d0d14;
  --bg-panel: #161618;
  --bg-elevated: #1a1a1d;
  --border: #252528;
  --text: #e8e8ec;
  --text-muted: #8a8a92;
  --text-dim: #5c5c64;
  /* Background texture (edgy gaming) */
  --bg-base: #08080f;
  --bg-base-alt: #0d0d14;
  --bg-texture-line: rgba(255, 255, 255, 0.03);
  --bg-accent-slash: rgba(255, 20, 80, 0.06);
  --bg-accent-cyan: rgba(0, 188, 212, 0.06);

  /* Jersey-inspired background tokens (refactor-safe) */
  --bg-0: #0a0a0f;
  --bg-1: #0e0e14;
  --bg-2: #12121a;
  --bg-vignette: rgba(0, 0, 0, 0.4);
  --accent-cyan: rgba(0, 212, 255, 0.14);
  --accent-magenta: rgba(255, 45, 106, 0.12);
  --streak-opacity: 1;
  --streak-blur: 0;
  --streak-size: 85;
  --jersey-panel-opacity: 0.02;
  --bg-fade-duration: 0.9s;

  /* Accent — electric blue (primary) */
  --accent: #00d4ff;
  --accent-dim: #0099bb;
  --accent-glow: rgba(0, 212, 255, 0.35);
  --accent-subtle: rgba(0, 212, 255, 0.12);

  /* Accent alt — hot pink (hardcore edge) */
  --accent-alt: #ff2d6a;
  --accent-alt-dim: #e01a52;
  --accent-alt-glow: rgba(255, 45, 106, 0.3);
  --accent-alt-subtle: rgba(255, 45, 106, 0.1);

  /* Live/status */
  --live: #00ff88;
  --live-glow: rgba(0, 255, 136, 0.4);

  /* Typography */
  --font-display: "Barlow Condensed", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  background-color: var(--bg-0);
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 320px;
  overflow-x: hidden;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== Jersey-inspired background (layered greys + edge streaks) ========== */
.bg-91f-base {
  position: relative;
  background: transparent;
}

.bg-91f-base::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 80% at 50% 50%, var(--bg-vignette) 0%, transparent 55%),
    repeating-linear-gradient(
      125deg,
      transparent 0,
      transparent 32px,
      rgba(255, 255, 255, var(--jersey-panel-opacity)) 32px,
      rgba(255, 255, 255, var(--jersey-panel-opacity)) 33px
    ),
    repeating-linear-gradient(
      -125deg,
      transparent 0,
      transparent 40px,
      rgba(255, 255, 255, calc(var(--jersey-panel-opacity) * 0.6)) 40px,
      rgba(255, 255, 255, calc(var(--jersey-panel-opacity) * 0.6)) 41px
    ),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 25%, var(--bg-2) 50%, var(--bg-1) 75%, var(--bg-0) 100%);
  background-size: 100% 100%, auto auto, auto auto, 100% 100%;
  animation: j91f-bg-fade-in var(--bg-fade-duration) ease-out forwards;
}

.bg-91f-base::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse var(--streak-size)% 70% at -15% 35%, var(--accent-cyan) 0%, transparent 52%),
    radial-gradient(ellipse var(--streak-size)% 70% at 115% 65%, var(--accent-magenta) 0%, transparent 52%);
  background-repeat: no-repeat;
  opacity: 0;
  animation: j91f-bg-fade-in-streaks var(--bg-fade-duration) ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
  .bg-91f-base::before,
  .bg-91f-base::after {
    animation: none;
    opacity: 1;
  }
  .bg-91f-base::after {
    opacity: var(--streak-opacity);
  }
}

@keyframes j91f-bg-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes j91f-bg-fade-in-streaks {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: var(--streak-opacity);
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  :root {
    --streak-size: 65;
    --accent-cyan: rgba(0, 212, 255, 0.09);
    --accent-magenta: rgba(255, 45, 106, 0.08);
  }
}

.bg-91f-texture {
  position: relative;
}

.bg-91f-noise {
  /* Noise kept optional; jersey design uses subtle panels only to avoid busy look */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

/* ---- Section common ---- */
.section {
  width: 100%;
  padding: 4.5rem 0;
  box-sizing: border-box;
}

main {
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.section-head {
  margin-bottom: 2.5rem;
}

.section-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}

.section-cta {
  margin-top: 2.5rem;
  text-align: center;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out),
    transform 0.15s var(--ease-out);
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-deep);
}

.btn-primary:hover {
  background: #00b8e6;
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-tiktok {
  background: var(--accent-alt);
  color: var(--bg-deep);
}

.btn-tiktok:hover {
  background: var(--accent-alt-dim);
  box-shadow: 0 0 24px var(--accent-alt-glow);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--text-muted);
  color: var(--accent);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent-subtle);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* ---- Navigation ---- */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.5rem;
  max-width: 100%;
  box-sizing: border-box;
}

.nav-links {
  display: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem;
  transition: color 0.2s var(--ease-out);
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-cta {
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  padding: 0.5rem 0;
}

@media (max-width: 767px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-charcoal);
    padding: 1rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  body.nav-open .nav-links {
    display: flex;
  }
  .nav-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    gap: 0.25rem;
    position: static;
    flex-direction: row;
    background: transparent;
    padding: 0;
    border-bottom: none;
  }
  .nav-cta {
    display: none;
  }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #0a0a0f;
  pointer-events: none;
}

/* Large "91F" watermark — hero only */
.hero-bg-91f .hero-watermark {
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 35vw, 22rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.025);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

/* Diagonal grid / crosshatch texture */
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 39px,
      rgba(255, 255, 255, 0.03) 39px,
      rgba(255, 255, 255, 0.03) 41px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 39px,
      rgba(255, 255, 255, 0.03) 39px,
      rgba(255, 255, 255, 0.03) 41px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent 0,
      transparent 28px,
      rgba(255, 255, 255, 0.02) 28px,
      rgba(255, 255, 255, 0.02) 29px
    );
  pointer-events: none;
  z-index: 1;
}

/* Faint radial magenta glow behind title + scan-line overlay */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 42%, rgba(255, 20, 80, 0.16) 0%, transparent 55%),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 2px,
      rgba(0, 0, 0, 0.15) 2px,
      rgba(0, 0, 0, 0.15) 3px
    );
  background-size: 100% 100%, 100% 4px;
  pointer-events: none;
  z-index: 2;
}

/* Gritty noise texture overlay */
.hero-bg-noise {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
  z-index: 3;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Diagonal slash marks — sharp angular feel */
.hero-bg-slashes {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(135deg, transparent 48%, rgba(255, 255, 255, 0.02) 49%, rgba(255, 255, 255, 0.02) 51%, transparent 52%),
    linear-gradient(-135deg, transparent 48%, rgba(255, 255, 255, 0.02) 49%, rgba(255, 255, 255, 0.02) 51%, transparent 52%);
  background-size: 120px 120px, 120px 120px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
}

.hero-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
  opacity: 0.9;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 14vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 1rem;
  color: var(--text);
  text-shadow: 0 0 60px var(--accent-glow);
  animation: titlePulse 4s var(--ease-in-out) infinite;
}

.hero-title-streaming {
  color: var(--accent-alt);
  text-shadow: 0 0 40px var(--accent-alt-glow);
}

@keyframes titlePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.92; }
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 2.5rem;
}

/* Live module */
.live-module,
.offline-module {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--live);
  margin-bottom: 0.75rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 12px var(--live-glow);
  animation: livePulse 1.5s var(--ease-in-out) infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

.live-platform,
.live-game {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.live-game {
  margin-bottom: 1.25rem;
  font-weight: 600;
  color: var(--text);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  width: 100%;
  max-width: 100%;
}

.hero-buttons .btn,
.offline-module .btn {
  min-width: 120px;
  flex-shrink: 0;
}

.offline-module .btn {
  margin: 0 0.25rem 0.25rem 0;
}

.offline-text {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--border), transparent);
  animation: scrollLine 2s var(--ease-in-out) infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---- Section angled dividers (tactical cut) ---- */
.section-divider {
  position: relative;
  height: 24px;
  margin-top: -1px;
  background: linear-gradient(175deg, transparent 50%, var(--bg-base-alt) 50%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%);
}

.section-divider--reverse {
  clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
}

/* ---- Store / Merch ---- */
.merch {
  position: relative;
  background: linear-gradient(180deg, #0e0e12 0%, var(--bg-charcoal) 50%, #0c0c10 100%);
  z-index: 1;
}

.store-banner {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 220px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .store-banner {
    height: 280px;
  }
}

.store-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.5) 0%, rgba(10, 10, 11, 0.75) 100%);
}

.merch-countdown {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1rem;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 4px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.countdown-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.countdown-timer {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.countdown-value {
  display: inline-block;
  min-width: 1.5em;
}

.countdown-unit {
  margin: 0 0.25rem;
  color: var(--text-dim);
  font-weight: 700;
}

.merch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 640px) {
  .merch-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.merch-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}

.merch-card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.merch-image {
  position: relative;
  aspect-ratio: 5 / 6;
  overflow: hidden;
  background: var(--bg-elevated);
}

.merch-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

.merch-card:hover .merch-image img {
  transform: scale(1.05);
}

.merch-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: var(--accent-alt);
  padding: 0.25rem 0.5rem;
  border-radius: 2px;
  box-shadow: 0 0 12px var(--accent-alt-glow);
}

.merch-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin: 1rem 1rem 0.25rem;
  color: var(--text);
}

.merch-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 1rem 1rem;
}

/* ---- Highlights ---- */
.highlights {
  position: relative;
  background: linear-gradient(180deg, #080a0f 0%, #0a0c12 50%, var(--bg-deep) 100%);
  z-index: 1;
}

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 640px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .highlights-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.highlight-card {
  transition: transform 0.2s var(--ease-out);
}

.highlight-card:hover {
  transform: translateY(-2px);
}

.highlight-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.highlight-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s var(--ease-out);
}

.highlight-card:hover .highlight-thumb img {
  transform: scale(1.03);
}

.highlight-duration {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.85);
  padding: 0.2rem 0.4rem;
  border-radius: 2px;
}

.highlight-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.9;
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.highlight-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  border: 10px solid transparent;
  border-left-color: var(--bg-deep);
  border-left-width: 14px;
  margin-left: 4px;
}

.highlight-card:hover .highlight-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.highlight-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0.75rem 0 0;
  color: var(--text);
}

.highlight-username {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0.25rem 0 0;
}

.highlight-thumb .highlight-tiktok-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 28px;
  height: 28px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.highlight-thumb .highlight-tiktok-badge svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  color: #fff;
}

.highlight-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
  pointer-events: none;
}

.highlight-card--loading .highlight-thumb {
  min-height: 180px;
}

.highlight-card--loading .highlight-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-elevated);
  animation: skeletonPulse 1.2s ease-in-out infinite;
}

@keyframes skeletonPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.highlight-card--fallback .highlight-thumb {
  background: var(--bg-panel);
  align-items: center;
  justify-content: center;
  display: flex;
}

.highlight-fallback-inner {
  text-align: center;
  padding: 1rem;
}

.highlight-fallback-inner .highlight-title {
  margin-top: 0;
}

.highlight-card--fallback a.highlight-thumb-link {
  color: var(--accent);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: inline-block;
}

/* TikTok modal */
.tiktok-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.tiktok-modal.hidden {
  display: none !important;
}

.tiktok-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.tiktok-modal-content {
  position: relative;
  max-width: 400px;
  width: 100%;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

.tiktok-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s;
}

.tiktok-modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.tiktok-modal-embed {
  position: relative;
  width: 100%;
  min-height: 200px;
}

.tiktok-modal-embed iframe {
  width: 100%;
  min-height: 500px;
  border: none;
  display: block;
}

/* ---- Schedule ---- */
.schedule {
  position: relative;
  background: var(--bg-deep);
  z-index: 1;
}

.schedule::before {
  content: "";
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(0, 188, 212, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.schedule .container {
  position: relative;
  z-index: 1;
}

.schedule-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0.25rem 0 0;
}

.schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
}

.schedule-grid--seven {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .schedule-grid--seven {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .schedule-grid--seven {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1200px) {
  .schedule-grid--seven {
    grid-template-columns: repeat(7, 1fr);
  }
}

.schedule-day {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 1rem;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.schedule-day:hover {
  border-color: var(--accent-dim);
}

.schedule-day--on {
  border-color: rgba(0, 212, 255, 0.35);
  background: var(--accent-subtle);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.08);
}

.schedule-day--off {
  opacity: 0.65;
  background: rgba(22, 22, 24, 0.6);
}

.schedule-day--off .schedule-time-slot {
  text-decoration: line-through;
  color: var(--text-dim);
}

.schedule-day--off .schedule-off-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-top: 0.25rem;
}

.schedule-day--today {
  border-color: var(--accent-alt);
  box-shadow: 0 0 24px var(--accent-alt-subtle);
}

.schedule-day--today .schedule-today-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--accent-alt);
  margin-bottom: 0.25rem;
}

.schedule-day-abbr {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.05em;
}

.schedule-day-full {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.schedule-time-slot {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.schedule-game {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

.schedule-platform {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.schedule-cta {
  margin-top: 2rem;
  text-align: center;
}

.schedule-cta--row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.btn-calendar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ---- Community ---- */
.community {
  position: relative;
  background: linear-gradient(180deg, var(--bg-charcoal) 0%, #0a0a0f 100%);
  z-index: 1;
}

.community-content {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.community-desc {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.btn-discord {
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-link {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.social-link:hover {
  color: var(--accent);
  border-color: var(--accent-dim);
}

.newsletter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.newsletter input {
  flex: 1;
  min-width: 200px;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s var(--ease-out);
}

.newsletter input::placeholder {
  color: var(--text-dim);
}

.newsletter input:focus {
  border-color: var(--accent);
}

.newsletter-message {
  width: 100%;
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
}

.newsletter-message.success {
  color: var(--live);
}

.newsletter-message.error {
  color: var(--accent-alt);
}

.btn.is-loading {
  pointer-events: none;
  opacity: 0.8;
}

.btn.is-loading::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: 0.5rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---- Sponsors ---- */
.sponsors {
  padding: 3rem 0;
  background: #08080d;
  border-top: 1px solid var(--border);
}

.sponsors-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.sponsors-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.sponsors-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  height: 40px;
  color: var(--text-dim);
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.25s var(--ease-out), opacity 0.25s var(--ease-out),
    color 0.25s var(--ease-out);
}

.sponsor-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  color: var(--accent);
}

.sponsor-placeholder {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* ---- Footer ---- */
.footer {
  padding: 3rem 0 2rem;
  background: #06060a;
  border-top: 1px solid var(--border);
}

.footer {
  width: 100%;
  box-sizing: border-box;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  width: 100%;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: auto 1fr auto;
    align-items: start;
  }
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
}

.footer-logo-streaming {
  font-weight: 700;
  color: var(--accent-alt);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.25rem 0 0;
}

.footer-links,
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a,
.footer-legal a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s var(--ease-out);
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--accent);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
