:root {
  --bg-base: #342a4d;
  --bg-mid: #4b3d6a;
  --bg-soft: #625287;
  --text-main: #fdfbff;
  --text-soft: #ede5fb;
  --accent-violet: #dcc7ff;
  --accent-ice: #c7ebff;
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-border-soft: rgba(255, 255, 255, 0.26);
  --shadow-soft: 0 22px 54px rgba(9, 7, 18, 0.28);
  --radius-xl: 30px;
  --radius-md: 13px;
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(72rem 50rem at 88% -16%, rgba(220, 199, 255, 0.42), transparent 70%),
    radial-gradient(54rem 38rem at -10% 20%, rgba(199, 235, 255, 0.22), transparent 72%),
    linear-gradient(180deg, var(--bg-base) 0%, var(--bg-mid) 58%, var(--bg-soft) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 32%);
  opacity: 0.38;
}

body::after {
  content: "";
  position: fixed;
  left: -12%;
  bottom: -26%;
  width: min(52vw, 36rem);
  height: min(52vw, 36rem);
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.24), transparent 72%);
  filter: blur(30px);
  opacity: 0.52;
  animation: haze-drift 12s ease-in-out infinite;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.landing-shell {
  min-height: 100vh;
  padding: 0.9rem;
  display: grid;
  place-items: center;
}

.glass {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border-soft);
  background:
    linear-gradient(152deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.02)),
    var(--glass-bg);
  box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: blur(58px) saturate(245%);
  backdrop-filter: blur(58px) saturate(245%);
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(156deg, rgba(255, 255, 255, 0.4), transparent 40%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08), transparent 30%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    inset 0 -14px 28px rgba(255, 255, 255, 0.04);
}

.glass::after {
  content: "";
  position: absolute;
  left: -8%;
  top: -18%;
  width: 62%;
  height: 46%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.52), transparent 74%);
  filter: blur(20px);
  opacity: 0.72;
  animation: glass-drift 8s ease-in-out infinite;
}

.landing-card {
  width: min(720px, 100%);
  padding: 1.08rem;
}

.landing-logo {
  width: min(238px, 72vw);
  margin: 0 auto 0.84rem;
  max-height: 4rem;
  object-fit: contain;
}

.eyebrow {
  margin: 0;
  text-align: center;
  color: var(--accent-violet);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0.34rem 0 0;
  text-align: center;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.95rem, 8vw, 3.08rem);
  letter-spacing: -0.02em;
}

.subtitle {
  margin: 0.28rem 0 0;
  text-align: center;
  color: var(--text-soft);
  font-weight: 700;
}

.help-text {
  margin: 0.7rem 0 0.84rem;
  text-align: center;
  color: var(--text-soft);
}

.platform-list {
  display: grid;
  gap: 0.52rem;
}

.platform-item {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0.76rem;
  padding: 0.74rem 0.86rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    0 12px 26px rgba(8, 6, 14, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.44);
  -webkit-backdrop-filter: blur(34px) saturate(220%);
  backdrop-filter: blur(34px) saturate(220%);
  transition:
    transform 0.24s var(--ease-smooth),
    border-color 0.24s var(--ease-smooth),
    background 0.24s var(--ease-smooth),
    box-shadow 0.24s var(--ease-smooth);
}

.platform-item::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 34%;
  left: -42%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  transition: left 0.62s var(--ease-smooth);
}

.platform-item:hover::before,
.platform-item:focus-visible::before {
  left: 116%;
}

.platform-item:hover,
.platform-item:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.56);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.05);
  box-shadow:
    0 16px 32px rgba(149, 112, 224, 0.34),
    0 0 22px rgba(163, 228, 255, 0.3);
}

.platform-icon {
  width: 2.36rem;
  height: 2.36rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.platform-icon img {
  width: 1.32rem;
  height: 1.32rem;
  object-fit: contain;
}

.platform-text {
  display: grid;
  gap: 0.08rem;
}

.platform-text strong {
  font-size: 0.99rem;
}

.platform-text small {
  color: var(--text-soft);
  font-size: 0.81rem;
}

.spotify {
  color: #b3ffd0;
}

.apple {
  color: #ffe5ef;
}

.deezer {
  color: #ffe4c2;
}

.ytmusic {
  color: #ffd7e4;
}

.amazon {
  color: #ffe8c5;
}

.back-link {
  display: inline-flex;
  margin-top: 0.84rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.back-link:hover,
.back-link:focus-visible {
  text-decoration: underline;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(5px);
  transition:
    opacity 0.66s var(--ease-smooth),
    transform 0.66s var(--ease-smooth),
    filter 0.66s var(--ease-smooth);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (min-width: 760px) {
  .landing-shell {
    padding: 1.4rem;
  }

  .landing-card {
    padding: 1.34rem;
  }

  .platform-item {
    padding: 0.78rem 0.92rem;
  }

  .platform-text strong {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes haze-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(16px, -10px, 0);
  }
}

@keyframes glass-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(10px, 5px, 0);
  }
}
