:root {
  --cream: #fff4dc;
  --cream-soft: #f6dcc0;
  --orange: #ff651a;
  --orange-light: #ff963e;
  --red: #de1522;
  --deep-red: #7f0710;
  --magenta: #c50b62;
  --ink: #16080a;
  --muted: rgba(255, 244, 220, 0.7);
  --line: rgba(255, 244, 220, 0.16);
  --header-height: 108px;
  color-scheme: dark;
  font-synthesis: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--cream);
  background: var(--ink);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(100deg, rgba(18, 5, 8, 0.97) 0%, rgba(69, 6, 14, 0.88) 47%, rgba(25, 5, 8, 0.93) 100%),
    url("assets/brand-waves.png") center / cover no-repeat;
  content: "";
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
video:focus-visible {
  outline: 3px solid var(--orange-light);
  outline-offset: 4px;
}

.page-art {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.page-art__glow {
  position: absolute;
  display: block;
  width: 38vw;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.46;
  filter: blur(100px);
}

.page-art__glow--one {
  top: -22vw;
  right: -5vw;
  background: var(--orange);
}

.page-art__glow--two {
  bottom: -28vw;
  left: -14vw;
  background: var(--magenta);
}

.page-art__grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.site-header,
.hero,
.site-footer {
  width: min(1460px, calc(100% - 80px));
  margin-inline: auto;
}

.site-header {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 132px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.34));
}

.live-chip {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 17px;
  border: 1px solid rgba(255, 244, 220, 0.2);
  border-radius: 999px;
  background: rgba(22, 8, 10, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.live-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3343;
  box-shadow: 0 0 0 5px rgba(255, 51, 67, 0.12), 0 0 18px #ff3343;
  animation: pulse 1.8s infinite;
}

.live-chip__divider {
  width: 1px;
  height: 15px;
  background: var(--line);
}

.hero {
  min-height: calc(100vh - var(--header-height) - 70px);
  display: grid;
  grid-template-columns: minmax(360px, 0.76fr) minmax(600px, 1.24fr);
  align-items: center;
  gap: clamp(54px, 6vw, 112px);
  padding-block: clamp(42px, 6vh, 82px);
}

.hero-copy {
  max-width: 570px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 19px;
  color: var(--orange-light);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 28px;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--cream);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(58px, 6.35vw, 108px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.86;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero h1 em {
  display: inline-block;
  color: var(--orange);
  font-style: normal;
  text-shadow: 0 12px 38px rgba(255, 72, 17, 0.2);
  transform: rotate(-1.5deg);
}

.intro {
  max-width: 590px;
  margin: 32px 0 0;
  color: rgba(255, 244, 220, 0.8);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.72;
}

.player-column {
  min-width: 0;
}

.player-card {
  overflow: hidden;
  border: 1px solid rgba(255, 244, 220, 0.14);
  border-radius: 28px;
  background: rgba(19, 7, 9, 0.9);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.46),
    0 0 0 8px rgba(255, 255, 255, 0.025),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
}

.player-card__header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 24px;
}

.player-card__header h2 {
  margin: 4px 0 0;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.on-air {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-light);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.on-air i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff3343;
  box-shadow: 0 0 12px rgba(255, 51, 67, 0.85);
  animation: pulse 1.8s infinite;
}

.player-card__quality {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.video-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
  background: #090405;
}

.video-stage::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(21, 4, 7, 0.9), rgba(21, 4, 7, 0.12) 70%);
  content: "";
}

.video-stage video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #090405;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: var(--cream);
  background: linear-gradient(0deg, rgba(18, 4, 7, 0.68), rgba(18, 4, 7, 0.06));
  cursor: pointer;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.play-overlay[hidden] {
  display: none;
}

.play-overlay__icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--orange), var(--red));
  box-shadow: 0 18px 46px rgba(194, 14, 31, 0.42);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.play-overlay:hover .play-overlay__icon {
  transform: scale(1.07);
  box-shadow: 0 22px 54px rgba(255, 69, 27, 0.5);
}

.play-overlay__icon svg {
  width: 31px;
  margin-left: 5px;
  fill: currentColor;
}

.play-overlay__label {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}

.player-status {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: var(--cream-soft);
  background: rgba(13, 5, 7, 0.72);
  font-size: 11px;
  font-weight: 700;
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
  transition: opacity 200ms ease, visibility 200ms ease;
}

.video-stage[data-state="ready"] .player-status,
.video-stage[data-state="playing"] .player-status {
  opacity: 0;
  visibility: hidden;
}

.video-stage[data-state="playing"] .play-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-stage[data-state="error"] .player-status {
  width: min(90%, 430px);
  justify-content: center;
  border-color: rgba(255, 101, 26, 0.35);
  color: var(--cream);
  text-align: center;
}

.video-stage[data-state="error"] .player-status__spinner {
  display: none;
}

.player-status__spinner {
  width: 13px;
  height: 13px;
  border: 2px solid rgba(255, 244, 220, 0.28);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.player-card__footer {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 24px;
}

.player-card__footer p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.player-card__footer p span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff3343;
}

.player-card__footer a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cream);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.player-card__footer a:hover {
  color: var(--orange-light);
}

.player-card__footer svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.player-note {
  margin: 19px 0 0;
  color: rgba(255, 244, 220, 0.5);
  font-family: Georgia, serif;
  font-size: 13px;
  font-style: italic;
  text-align: center;
}

.player-note span {
  margin-right: 7px;
  color: var(--orange);
}

.site-footer {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: rgba(255, 244, 220, 0.42);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.82); }
}

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

@media (max-width: 1120px) {
  .site-header,
  .hero,
  .site-footer {
    width: min(100% - 48px, 920px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 54px;
    padding-block: 52px 64px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero h1 {
    font-size: clamp(68px, 10vw, 100px);
  }

  .intro {
    max-width: 760px;
  }

  .player-column {
    width: 100%;
  }
}

@media (max-width: 700px) {
  :root {
    --header-height: 88px;
  }

  .site-header,
  .hero,
  .site-footer {
    width: min(100% - 30px, 560px);
  }

  .brand img {
    width: 104px;
    height: 70px;
  }

  .live-chip {
    min-height: 38px;
    padding-inline: 13px;
    font-size: 10px;
  }

  .hero {
    gap: 38px;
    padding-block: 32px 48px;
  }

  .hero-copy {
    order: 2;
  }

  .player-column {
    order: 1;
  }

  .hero h1 {
    font-size: clamp(52px, 16vw, 78px);
  }

  .intro {
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.65;
  }

  .player-card {
    border-radius: 20px;
  }

  .player-card__header {
    min-height: 70px;
    padding: 14px 17px;
  }

  .player-card__header h2 {
    font-size: 16px;
  }

  .play-overlay__icon {
    width: 60px;
    height: 60px;
  }

  .play-overlay__icon svg {
    width: 24px;
  }

  .play-overlay__label {
    font-size: 10px;
  }

  .player-card__footer {
    min-height: 58px;
    padding: 13px 17px;
  }

  .player-card__footer p {
    font-size: 10px;
  }

  .player-card__footer a {
    font-size: 0;
  }

  .player-card__footer a::before {
    font-size: 10px;
    content: "YouTube";
  }

  .player-status {
    bottom: 14px;
  }

  .site-footer {
    min-height: 86px;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .player-card__footer p {
    max-width: 190px;
  }

  .player-note {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
