:root {
  --bg: #08101e;
  --bg-deep: #050912;
  --fg: #e6eefb;
  --muted: #8fa3c4;
  --line: #1f3050;
  --ice: #a8d8ff;
  --pink: #f4c3e2;
  --lilac: #c9b6f2;
  --accent: var(--ice);
  color-scheme: dark;
}

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

html { background: var(--bg-deep); }

body {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
  color: var(--fg);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, #2c4f86aa 0%, transparent 65%),
    radial-gradient(ellipse 60% 45% at 100% 105%, #6b3f7a55 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 80%, #24508044 0%, transparent 60%),
    linear-gradient(180deg, #0c1a30 0%, var(--bg) 45%, var(--bg-deep) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* Sädelus: kaks kihti tähti/lumehelbeid, mis vaheldumisi vilguvad */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background:
    radial-gradient(1px 1px at 12% 18%, #ffffff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 78% 9%, var(--ice) 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 42%, #ffffff 50%, transparent 51%),
    radial-gradient(2px 2px at 24% 71%, var(--pink) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 83%, #ffffff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 41% 27%, var(--ice) 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 52%, #ffffff 50%, transparent 51%),
    radial-gradient(2px 2px at 94% 34%, var(--lilac) 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 92%, var(--ice) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 33% 4%, #ffffff 50%, transparent 51%);
  opacity: 0.8;
  animation: twinkle 5s ease-in-out infinite alternate;
}

body::after {
  background:
    radial-gradient(1.5px 1.5px at 18% 38%, var(--pink) 50%, transparent 51%),
    radial-gradient(1px 1px at 71% 23%, #ffffff 50%, transparent 51%),
    radial-gradient(2px 2px at 84% 62%, var(--ice) 50%, transparent 51%),
    radial-gradient(1px 1px at 9% 88%, #ffffff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 47% 58%, var(--lilac) 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 13%, var(--pink) 50%, transparent 51%),
    radial-gradient(2px 2px at 29% 95%, var(--ice) 50%, transparent 51%),
    radial-gradient(1px 1px at 97% 7%, #ffffff 50%, transparent 51%);
  opacity: 0.3;
  animation: twinkle 7s ease-in-out infinite alternate-reverse;
}

@keyframes twinkle {
  from { opacity: 0.25; }
  to   { opacity: 0.95; }
}

main, footer { position: relative; z-index: 1; }

main {
  width: 100%;
  max-width: 420px;
  padding: 72px 0 48px;
  text-align: center;
}

h1 {
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  font-weight: 300;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  margin-right: -0.45em; /* tasakaalustab letter-spacingut */
  background: linear-gradient(100deg, var(--ice) 0%, #ffffff 45%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 14px #a8d8ff55);
}

.release { margin-top: 56px; }

.kicker {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cover {
  display: block;
  aspect-ratio: 1;
  background: #101c30;
  border: 1px solid #a8d8ff40;
  box-shadow:
    0 0 0 1px #f4c3e214,
    0 0 40px -6px #a8d8ff55,
    0 18px 60px -20px #f4c3e266;
  transition: box-shadow 0.3s, transform 0.3s;
}

.cover:hover, .cover:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px #f4c3e233,
    0 0 56px -4px #a8d8ff88,
    0 22px 70px -18px #f4c3e299;
}

.cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.release h2 {
  margin-top: 24px;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.listen {
  display: inline-block;
  margin-top: 16px;
  color: var(--ice);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color 0.15s;
}

.listen:hover, .listen:focus-visible { color: var(--pink); }

.sprite { display: none; }

.icon {
  flex: none;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.streams {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.streams a {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--ice);
  border: 1px solid #a8d8ff33;
  background: #a8d8ff0d;
  transition: color 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.streams .icon { width: 24px; height: 24px; }

.streams a:hover, .streams a:focus-visible {
  color: var(--pink);
  border-color: #f4c3e266;
  box-shadow: 0 0 20px -2px #f4c3e266;
  transform: translateY(-2px);
}

.links {
  list-style: none;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 0.15s, letter-spacing 0.15s, text-shadow 0.15s;
}

.links a:hover, .links a:focus-visible {
  color: var(--pink);
  letter-spacing: 0.14em;
  text-shadow: 0 0 12px #f4c3e299;
}

footer {
  margin-top: auto;
  padding: 32px 0;
  font-size: 0.85rem;
}

footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ice); }

:focus-visible { outline: 1px solid var(--pink); outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  body::before, body::after { animation: none; }
  .cover:hover, .cover:focus-visible,
  .streams a:hover, .streams a:focus-visible { transform: none; }
}
