:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  background: #09070c;
}

* { box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 58, 126, .16), transparent 34%),
    radial-gradient(circle at 78% 74%, rgba(112, 69, 255, .14), transparent 38%),
    #09070c;
}

cast-media-player {
  --background-color: #09070c;
  --splash-image: none;
  --logo-image: none;
  --spinner-image: none;
  --buffering-image: none;
  --progress-color: #ff3a7e;
  --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  position: absolute;
  inset: 0;
  z-index: 2;
  visibility: visible;
  opacity: 1;
}

.brand {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 58, 126, .16), transparent 34%),
    radial-gradient(circle at 78% 74%, rgba(112, 69, 255, .14), transparent 38%),
    #09070c;
  transition: opacity .45s ease, transform .45s ease;
}

.brand.hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(.98);
  pointer-events: none;
}

.mark {
  width: 12rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 2rem 4rem rgba(255, 58, 126, .22));
}

.mark img { width: 100%; height: 100%; object-fit: contain; }

h1 {
  margin: 2rem 0 .3rem;
  font-size: 3.25rem;
  letter-spacing: -.045em;
  font-weight: 720;
}

p {
  margin: 0;
  color: rgba(255, 255, 255, .58);
  font-size: 1.25rem;
  letter-spacing: .015em;
}

.build {
  margin-top: .65rem;
  color: rgba(255, 255, 255, .32);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.signal { display: flex; gap: .45rem; margin-top: 1.8rem; align-items: end; height: 1.2rem; }
.signal i { display: block; width: .35rem; border-radius: 999px; background: #ff4b88; animation: pulse 1.15s ease-in-out infinite alternate; }
.signal i:nth-child(1) { height: 35%; }
.signal i:nth-child(2) { height: 65%; animation-delay: .18s; }
.signal i:nth-child(3) { height: 100%; animation-delay: .36s; }

@keyframes pulse { to { opacity: .25; transform: scaleY(.75); } }
