:root {
  color-scheme: dark;
  --pink: #ff2a8a;
  --cyan: #35e7ff;
  --green: #25ff9a;
  --amber: #ffd166;
  --ink: #03050a;
  --glass: rgba(4, 8, 14, 0.44);
  --line: rgba(255, 255, 255, 0.22);
  --text: #f8fbff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow: hidden;
  background: var(--ink);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.enter-screen {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 42, 138, 0.18), transparent 34%),
    radial-gradient(circle at 58% 54%, rgba(53, 231, 255, 0.15), transparent 38%),
    rgba(2, 4, 8, 0.9);
  backdrop-filter: blur(16px);
  transition: opacity 420ms ease, visibility 420ms ease;
}

body.has-entered .enter-screen {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.enter-button {
  position: relative;
  display: grid;
  min-width: min(74vw, 360px);
  min-height: 88px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 42, 138, 0.76), rgba(53, 231, 255, 0.7) 54%, rgba(37, 255, 154, 0.7)),
    rgba(5, 8, 14, 0.82);
  color: white;
  cursor: pointer;
  font-family: Audiowide, Inter, system-ui, sans-serif;
  font-size: clamp(1.8rem, 7vw, 3.7rem);
  letter-spacing: 0;
  overflow: hidden;
  text-transform: uppercase;
  box-shadow: 0 0 38px rgba(53, 231, 255, 0.34), 0 24px 74px rgba(0, 0, 0, 0.54);
}

.enter-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  transform: translateX(-110%);
  transition: transform 520ms ease;
}

.enter-button:hover::before,
.enter-button:focus-visible::before {
  transform: translateX(110%);
}

.enter-button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.72);
  outline-offset: 5px;
}

.enter-button span {
  position: relative;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.44);
}

.stage {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
}

.video-bg {
  position: absolute;
  inset: -5vmax;
  z-index: -5;
  overflow: hidden;
  background: #02050b;
}

.video-bg video,
.video-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.18) contrast(1.08) brightness(0.82);
  transform: scale(1.04);
  animation: videoFloat 15s ease-in-out infinite alternate;
}

.video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.74) 64%),
    linear-gradient(90deg, rgba(255, 42, 138, 0.2), transparent 36%, rgba(37, 255, 154, 0.16)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.78));
}

.video-noise {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: screen;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 4px);
}

.visualizer {
  position: absolute;
  left: 50%;
  bottom: max(104px, calc(env(safe-area-inset-bottom) + 104px));
  z-index: 1;
  width: min(86vw, 920px);
  height: 118px;
  opacity: 0.94;
  pointer-events: none;
  transform: translateX(-50%);
}

.identity {
  width: min(92vw, 900px);
  padding: 24px;
  text-align: center;
  transform: translateY(-2vh);
}

.tagline {
  margin: 0 0 8px;
  color: rgba(248, 251, 255, 0.82);
  font-size: clamp(0.76rem, 1.4vw, 0.95rem);
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(53, 231, 255, 0.45);
}

h1 {
  margin: 0;
  font-family: Audiowide, Inter, system-ui, sans-serif;
  font-size: clamp(4.3rem, 16vw, 12.5rem);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.34),
    0 0 34px rgba(255, 42, 138, 0.92),
    0 0 64px rgba(53, 231, 255, 0.58),
    5px 4px 0 rgba(37, 255, 154, 0.35),
    -5px -3px 0 rgba(255, 42, 138, 0.24);
  animation: titlePulse 2.8s ease-in-out infinite;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(26px, 5vw, 44px);
}

.social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 52px;
  gap: 10px;
  padding: 0 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--glass);
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34), inset 0 0 28px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.social-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.17), transparent);
  transform: translateX(-120%);
  transition: transform 420ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.52);
  box-shadow: 0 0 24px rgba(53, 231, 255, 0.28), 0 0 34px rgba(255, 42, 138, 0.24);
  transform: translateY(-3px);
  outline: none;
}

.social-link:hover::before,
.social-link:focus-visible::before {
  transform: translateX(120%);
}

.social-link svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex: 0 0 auto;
}

.transport {
  position: fixed;
  left: 50%;
  bottom: max(22px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(3, 6, 11, 0.62);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
  z-index: 3;
}

.play-toggle {
  position: relative;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 255, 255, 0.34), transparent 34%),
    linear-gradient(145deg, rgba(255, 42, 138, 0.8), rgba(53, 231, 255, 0.72) 52%, rgba(37, 255, 154, 0.76));
  color: white;
  cursor: pointer;
  box-shadow: 0 0 34px rgba(53, 231, 255, 0.34), 0 18px 48px rgba(0, 0, 0, 0.42);
}

.play-toggle::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: inherit;
  animation: ring 1.8s ease-out infinite;
}

.play-toggle svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.play-toggle .icon-play {
  display: none;
}

body.is-paused .play-toggle .icon-pause {
  display: none;
}

body.is-paused .play-toggle .icon-play {
  display: block;
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 10px;
  width: clamp(138px, 20vw, 190px);
  height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(53, 231, 255, 0.2);
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 50%, rgba(53, 231, 255, 0.16), transparent 44%),
    linear-gradient(145deg, rgba(255, 42, 138, 0.08), rgba(37, 255, 154, 0.08)),
    rgba(3, 6, 11, 0.54);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.05), 0 0 22px rgba(53, 231, 255, 0.08);
}

.volume-control svg {
  width: 22px;
  height: 22px;
  fill: var(--text);
  flex: 0 0 auto;
  opacity: 0.9;
}

.volume-control input {
  width: 100%;
  height: 18px;
  accent-color: var(--green);
  background: transparent;
  cursor: pointer;
}

.volume-control input::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  box-shadow: 0 0 12px rgba(37, 255, 154, 0.22);
}

.volume-control input::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  margin-top: -5.5px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 14px rgba(53, 231, 255, 0.54);
  appearance: none;
}

.volume-control input::-moz-range-track {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  box-shadow: 0 0 12px rgba(37, 255, 154, 0.22);
}

.volume-control input::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 14px rgba(53, 231, 255, 0.54);
}

body.is-paused .play-toggle::after,
body.is-paused h1 {
  animation-play-state: paused;
}

@keyframes videoFloat {
  0% { transform: scale(1.04) translate3d(-1.2%, -0.7%, 0); }
  100% { transform: scale(1.1) translate3d(1.1%, 0.7%, 0); }
}

@keyframes titlePulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.28); }
}

@keyframes ring {
  0% { opacity: 0.68; transform: scale(0.9); }
  100% { opacity: 0; transform: scale(1.32); }
}

@media (max-width: 620px) {
  .identity {
    transform: translateY(-4vh);
  }

  h1 {
    font-size: clamp(3.4rem, 20vw, 6rem);
  }

  .social-link {
    min-width: 136px;
    min-height: 48px;
    padding: 0 16px;
  }

  .transport {
    gap: 10px;
  }

  .volume-control {
    width: 128px;
    padding: 0 10px;
  }

  .visualizer {
    bottom: max(98px, calc(env(safe-area-inset-bottom) + 98px));
    width: 92vw;
    height: 96px;
  }
}
