:root {
  --bg: #02070b;
  --panel: #07131e;
  --panel-2: #0a1e2e;
  --navy: #062840;
  --navy-bright: #0c4f7d;
  --white: #f7f7f4;
  --muted: #9eb0bd;
  --line: rgba(255,255,255,.13);
  --shadow: 0 28px 90px rgba(0,0,0,.5);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--white);
  background: var(--bg);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

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

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 4vw;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(to bottom, rgba(0,0,0,.84), rgba(0,0,0,.48));
  backdrop-filter: blur(16px);
}

.topbar-logo img { width: 240px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.main-nav a {
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
}

.live-link {
  padding: .7rem 1rem;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 999px;
}

.menu-toggle { display: none; }

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 9rem 7vw 7rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 72% 35%, rgba(20,87,129,.55), transparent 23rem),
    radial-gradient(circle at 20% 25%, rgba(9,48,75,.5), transparent 28rem),
    linear-gradient(115deg, #02070b 20%, #071927 65%, #02070b);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to right, transparent, black 30%, black);
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  z-index: -2;
  background: linear-gradient(to bottom, transparent, var(--bg));
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(760px, 68vw);
}

.kicker,
.section-label,
.episode-number,
.show-night {
  margin: 0 0 1rem;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #91c8e8;
}

.hero-logo {
  width: min(760px, 100%);
  margin-bottom: 2rem;
}

h1,h2,h3 {
  margin-top: 0;
  font-family: "Archivo Black", sans-serif;
  line-height: 1.02;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 5vw, 5.6rem);
  text-transform: uppercase;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 5vw, 5rem);
}

h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.7rem, 3vw, 3rem);
}

.hero-text {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.hero-meta {
  display: grid;
  grid-template-columns: auto auto;
  width: fit-content;
  gap: .2rem 1rem;
  margin-top: 1.8rem;
  color: var(--muted);
}

.hero-meta strong { color: white; }

.hero-actions,
.featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2rem;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.3rem;
  border-radius: 7px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}

.button:hover { transform: translateY(-2px); }

.button.primary {
  background: white;
  color: #071018;
}

.button.ghost {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
}

.hero-badge {
  position: absolute;
  right: -4vw;
  bottom: -14vw;
  width: min(48vw, 720px);
  opacity: .11;
  transform: rotate(-8deg);
  filter: drop-shadow(0 40px 80px rgba(0,0,0,.7));
}

.scroll-cue {
  position: absolute;
  left: 7vw;
  bottom: 2.2rem;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.featured-section,
.schedule-section,
.shows-section,
.games-section,
.follow-section {
  padding: 7rem 7vw;
}

.featured-section {
  background:
    radial-gradient(circle at 70% 20%, rgba(12,79,125,.22), transparent 30rem),
    var(--bg);
}

.featured-layout {
  display: grid;
  grid-template-columns: .85fr 1.25fr;
  gap: 5vw;
  align-items: center;
}

.featured-copy p:not(.episode-number) {
  color: var(--muted);
  max-width: 570px;
}

.episode-player {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: var(--shadow);
}

.episode-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 3rem;
}

.schedule-section {
  background: linear-gradient(180deg, #06101a, #02070b);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.schedule-card {
  min-height: 300px;
  padding: 2.2rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  overflow: hidden;
}

.schedule-copy {
  flex: 1 1 60%;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.schedule-art {
  flex: 0 0 clamp(140px, 32%, 280px);
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}

.schedule-art img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 260px;
  object-fit: contain;
}

.schedule-card.featured-card {
  background: linear-gradient(145deg, #0a3f64, #07131e);
}

.day {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.time {
  margin: .4rem 0 2.6rem;
  color: #91c8e8;
  font-weight: 800;
}

.schedule-card p { color: var(--muted); }

.shows-section {
  background: #02070b;
}

.show-banner {
  min-height: 500px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  overflow: hidden;
  margin-bottom: 2rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.show-art {
  min-height: 500px;
  overflow: hidden;
  background: #000;
}

.show-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zacbox-banner .show-art img {
  object-fit: contain;
  background: linear-gradient(135deg, #9fc7db, #dfeef6);
}

.show-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4vw;
  background: linear-gradient(145deg, #0a2133, #050d14);
}

.show-info p:not(.show-night) { color: var(--muted); }

.show-info a {
  margin-top: 1rem;
  font-weight: 800;
  text-decoration: none;
}

.network-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 5vw;
  padding: 8rem 7vw;
  background:
    linear-gradient(rgba(2,7,11,.62), rgba(2,7,11,.88)),
    radial-gradient(circle at 15% 30%, #0d4e79, #02070b 62%);
  border-block: 1px solid var(--line);
}

.network-strip p:last-child {
  color: var(--muted);
  font-size: 1.1rem;
}

.follow-section {
  text-align: center;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.platform-grid a {
  min-height: 90px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  padding: 1rem 1.2rem;
  text-align: left;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, #0a1c2b, #050d14);
  transition: transform .2s ease, border-color .2s ease;
}

.platform-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.platform-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.platform-grid a:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,.4);
}

.platform-grid span {
  font-family: "Archivo Black", sans-serif;
  font-size: 1.3rem;
}

.platform-grid small { color: var(--muted); }

.footer {
  padding: 4rem 7vw;
  text-align: center;
  border-top: 1px solid var(--line);
  background: #010407;
}

.footer img {
  width: min(380px, 80vw);
  margin: 0 auto 1.5rem;
}

.footer p { margin: .25rem 0; }
.footer small { display: block; margin-top: 1rem; color: var(--muted); }

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
    padding: .6rem .85rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: transparent;
    color: white;
    font-weight: 800;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    padding: 1.4rem 4vw;
    flex-direction: column;
    align-items: stretch;
    background: rgba(2,7,11,.98);
    border-bottom: 1px solid var(--line);
  }

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

  .hero-copy { width: 100%; }
  .hero-badge { width: 72vw; right: -28vw; bottom: -10vw; }
  .featured-layout,
  .show-banner,
  .network-strip {
    grid-template-columns: 1fr;
  }

  .show-banner { min-height: 0; }
  .show-art { min-height: 340px; }
  .show-info { padding: 2.2rem; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .topbar-logo img { width: 190px; }
  .hero { padding-left: 5vw; padding-right: 5vw; }
  .featured-section,
.schedule-section,
.shows-section,
.games-section,
.follow-section,
.network-strip { padding: 5rem 5vw; }
  
  .schedule-grid,
  .platform-grid { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .scroll-cue { left: 5vw; }
}


.games-section { position: relative; }
.game-feature { display:grid; grid-template-columns:1.2fr .8fr; min-height:430px; border:1px solid rgba(255,255,255,.13); border-radius:32px; overflow:hidden; text-decoration:none; color:inherit; background:linear-gradient(115deg, rgba(3,105,161,.9), rgba(2,18,35,.96)); box-shadow:0 28px 90px rgba(0,0,0,.35); }
.game-feature-copy { padding:clamp(2rem,5vw,5rem); display:flex; flex-direction:column; align-items:flex-start; justify-content:center; }
.game-feature-copy h3 { font-size:clamp(2.7rem,6vw,6.5rem); margin:.35rem 0 1rem; text-transform:uppercase; letter-spacing:-.06em; }
.game-feature-copy p { max-width:680px; color:rgba(255,255,255,.72); font-size:1.1rem; line-height:1.7; margin-bottom:2rem; }
.game-status { color:#fbbf24; font-size:.75rem; font-weight:900; letter-spacing:.18em; text-transform:uppercase; }
.game-feature-art { position:relative; display:grid; place-items:center; background:radial-gradient(circle, rgba(56,189,248,.35), transparent 62%); overflow:hidden; }
.game-feature-art img { width:min(72%,420px); filter:drop-shadow(0 30px 30px rgba(0,0,0,.35)); transition:transform .35s ease; }
.game-feature-art span { position:absolute; font-size:clamp(3rem,7vw,8rem); font-weight:1000; font-style:italic; color:#fbbf24; transform:rotate(-8deg); text-shadow:0 8px 0 #082f49, 0 18px 35px rgba(0,0,0,.5); }
.game-feature:hover .game-feature-art img { transform:scale(1.06) rotate(4deg); }
@media(max-width:800px){.game-feature{grid-template-columns:1fr}.game-feature-art{min-height:320px}.game-feature-copy{padding:2rem}}

.analytics-section{position:relative}.analytics-feature{display:grid;grid-template-columns:.8fr 1.2fr;min-height:430px;border:1px solid rgba(255,255,255,.13);border-radius:32px;overflow:hidden;text-decoration:none;color:inherit;background:linear-gradient(115deg,#031f34,#073d63);box-shadow:0 28px 90px rgba(0,0,0,.35)}.analytics-feature-art{display:grid;place-items:center;padding:2rem;background:radial-gradient(circle,rgba(59,130,246,.3),transparent 65%)}.analytics-feature-art img{width:min(90%,520px);filter:drop-shadow(0 25px 35px rgba(0,0,0,.4));transition:transform .35s ease}.analytics-feature-copy{padding:clamp(2rem,5vw,5rem);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.analytics-feature-copy h3{font-size:clamp(2.7rem,6vw,6.5rem);margin:.35rem 0 1rem;text-transform:uppercase;letter-spacing:-.06em}.analytics-feature-copy p{max-width:680px;color:rgba(255,255,255,.72);font-size:1.1rem;line-height:1.7;margin-bottom:2rem}.analytics-feature:hover .analytics-feature-art img{transform:scale(1.05) rotate(-2deg)}@media(max-width:800px){.analytics-feature{grid-template-columns:1fr}.analytics-feature-art{min-height:300px}.analytics-feature-copy{padding:2rem}}

/* Compact horizontal selectors */
.content-carousel {
  position: relative;
  padding: 0 3.25rem 2.25rem;
}
.carousel-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
  flex: 0 0 min(60vw, 380px);
  scroll-snap-align: center;
}
.show-card,
.viewer-game-card {
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #0a2133, #050d14);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
}
.show-card-art,
.viewer-game-art {
  width: 100%;
  aspect-ratio: 12 / 5;
  min-height: 0;
  overflow: hidden;
  background: #000;
}
.show-card-art img,
.viewer-game-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .3s ease;
}
.show-card:hover .show-card-art img,
.viewer-game-card:hover .viewer-game-art img {
  transform: scale(1.03);
}
.show-card-info,
.viewer-game-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 2.75rem);
}
.show-card-info h3,
.viewer-game-copy h3 {
  margin: .25rem 0 .75rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
}
.show-card-info p:not(.show-night),
.viewer-game-copy p { color: var(--muted); }
.show-card-info a { color: #7dd3fc; font-weight: 800; text-decoration: none; }
.viewer-game-card { background: linear-gradient(115deg, rgba(3,105,161,.9), rgba(2,18,35,.96)); }
.viewer-game-art { background: #000; }
.carousel-arrow {
  position: absolute;
  top: calc(50% - 2.25rem);
  z-index: 3;
  width: 44px;
  height: 64px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  background: rgba(2,10,16,.86);
  color: white;
  font-size: 2.4rem;
  cursor: pointer;
}
.carousel-prev { left: 0; }
.carousel-next { right: 0; }
.carousel-arrow:disabled { opacity: .25; cursor: default; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: .65rem;
  margin-top: 1rem;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.28);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.carousel-dot.active { width: 30px; background: #38bdf8; }
@media (max-width: 760px) {
  .content-carousel { padding-inline: 0; }
  .carousel-arrow { display: none; }
  .carousel-slide { flex-basis: 88vw; }
  .show-card-art, .viewer-game-art { aspect-ratio: 12 / 5; }
}
#analytics {
  scroll-margin-top: 120px;
}

/* LIVE STATUS */

.live-link.is-live {
  background: #dc2626;
  border-color: #ef4444;
  color: white;
  animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
  0%, 100% {
    box-shadow: 0 0 0 rgba(239, 68, 68, 0);
  }

  50% {
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.55);
  }
}
@media (max-width: 1000px) {
  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .schedule-card {
    min-height: 280px;
  }
}

.auth-button {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: #fff;
  border-radius: 10px;
  padding: .7rem 1rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.auth-button:hover {
  background: rgba(255,255,255,.12);
}

.auth-button.signed-in {
  border-color: #9146ff;
}

.auth-menu-wrap {
  position: relative;
}

.auth-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 170px;
  padding: .5rem;
  background: #07131e;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
  z-index: 1000;
}

.auth-menu.hidden {
  display: none;
}

.auth-menu button {
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  padding: .75rem .9rem;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.auth-menu button:hover {
  background: rgba(255,255,255,.08);
}

.profile-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 5, 10, .82);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 24px;
}

.profile-modal.hidden {
  display: none;
}

.profile-card {
  position: relative;
  width: min(560px, 94vw);
  background: linear-gradient(145deg, #0a2235, #06111b);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}

.profile-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.profile-identity {
  min-width: 0;
  flex: 1;
}

.profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,.15);
}

.profile-eyebrow {
  margin: 0 0 .35rem;
  color: #83b8eb;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  font-weight: 900;
}

.profile-header h2 {
  margin: 0;
  font-family: "Archivo Black", sans-serif;
  font-size: 2rem;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.profile-provider {
  margin: .35rem 0 0;
  color: var(--muted);
  text-transform: capitalize;
}

.profile-stats {
  display: grid;
  gap: 12px;
}

.profile-account-meta {
  margin-bottom: 1.5rem;
}

.profile-game-section {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.25rem;
}

.profile-game-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.profile-game-heading h3 {
  margin: 0;
  font-size: 1.05rem;
}

.profile-game-heading label {
  display: grid;
  gap: .35rem;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
}

.profile-game-heading select {
  max-width: 100%;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  background: #0a2235;
  color: #fff;
  padding: .5rem .7rem;
}

.profile-stat {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
}

.profile-stat span {
  color: var(--muted);
}

.profile-stat strong {
  text-align: right;
}

@media (max-width: 600px) {
  .profile-modal {
    padding: 12px;
  }

  .profile-card {
    padding: 1.25rem;
  }

  .profile-header {
    align-items: flex-start;
  }

  .profile-avatar {
    width: 76px;
    height: 76px;
  }

  .profile-header h2 {
    font-size: clamp(1.25rem, 7vw, 1.75rem);
  }

  .profile-game-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .profile-stat {
    flex-direction: column;
  }

  .profile-stat strong {
    text-align: left;
  }
}
