:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", sans-serif;
  color: #f3f7ff;
  background: #080b15;
}

* { box-sizing: border-box; }
body { margin: 0; }

.cover {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 24px 24px clamp(32px, 8vh, 90px);
  overflow: hidden;
  isolation: isolate;
  background: #080b15;
}

.cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, #080b15f0 0%, transparent 45%);
}

.cover-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 50%;
}

.cover-radar {
  position: absolute;
  top: 45%;
  left: 66%;
  width: clamp(210px, 38vw, 555px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  overflow: hidden;
  border: 1px solid #83dcff66;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #91e8ff50 0 1px, transparent 1px 17%);
  box-shadow: 0 0 45px #58caff2e, inset 0 0 55px #64ddff1f;
  pointer-events: none;
}

.cover-radar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 30deg, #59e8ff90, transparent 3deg 278deg, #59e8ff40 355deg, #59e8ff90);
  animation: radar-turn 4.8s linear;
}

.cover-radar span {
  position: absolute;
  top: 49%;
  left: 49%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b4fbff;
  box-shadow: 0 0 0 5px #7dcaff38, 0 0 24px #7dcaff;
}

@keyframes radar-turn { to { transform: rotate(1turn); } }

.cover-button {
  display: inline-block;
  position: relative;
  padding: 13px 24px;
  border: 1px solid #a5f5ff;
  border-radius: 8px;
  font: inherit;
  font-weight: 750;
  color: #081421;
  background: #75efff;
  text-decoration: none;
  cursor: pointer;
}

.cover-button:hover { background: #bbf7ff; }
:focus-visible { outline: 2px solid #d4faff; outline-offset: 5px; }
.gate { place-items: center; padding: 24px; }
.gate::before { background: #070a17aa; }
.gate-panel {
  width: min(100%, 390px);
  padding: clamp(24px, 5vw, 36px);
  border: 1px solid #52688a;
  border-radius: 16px;
  background: #10182a;
}
.gate-panel h1 { margin: 0 0 22px; font-size: 1.8rem; }
.gate-panel label { display: block; margin-bottom: 8px; font-weight: 650; }
.gate-panel input {
  display: block;
  width: 100%;
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid #7186a8;
  border-radius: 7px;
  color: inherit;
  background: #080d18;
  font: inherit;
}
.gate-error { display: none; color: #ffb5b5; }
.gate-error:target { display: block; }

@media (max-width: 620px) {
  .cover-art { object-position: 73% 50%; }
  .cover-radar { left: 52%; width: min(78vw, 410px); }
}

@media (prefers-reduced-motion: reduce) {
  .cover-radar::before { animation: none; }
}
