:root {
  --bg: #090a0f;
  --bg-soft: #10131b;
  --panel: rgba(16, 19, 27, 0.74);
  --panel-strong: rgba(12, 14, 20, 0.9);
  --text: #f6f4ef;
  --muted: #a9aab5;
  --line: rgba(255, 255, 255, 0.14);
  --cyan: #37d5ff;
  --rose: #ff4f8b;
  --amber: #f4b75f;
  --green: #57f2a7;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100% - 32px, var(--max));
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 10, 15, 0.68);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.header-action,
.hero-actions,
.player-controls,
.player-topline,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(55, 213, 255, 0.12), inset 0 0 0 4px var(--rose);
}

.nav-links {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a,
.site-footer a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--text);
}

.header-action {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(55, 213, 255, 0.45);
  border-radius: 999px;
  color: var(--cyan);
  font-weight: 700;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 92svh;
  padding: 118px max(24px, calc((100vw - var(--max)) / 2)) 72px;
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 10, 15, 0.98) 0%, rgba(9, 10, 15, 0.78) 34%, rgba(9, 10, 15, 0.24) 70%),
    linear-gradient(0deg, #090a0f 0%, rgba(9, 10, 15, 0.08) 38%, rgba(9, 10, 15, 0.2) 100%);
}

.hero-content {
  width: min(660px, 100%);
}

.kicker {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 8ch;
  font-size: clamp(62px, 14vw, 154px);
  line-height: 0.84;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin: 16px 0 10px;
  font-size: 22px;
  line-height: 1.1;
}

.hero-copy {
  max-width: 620px;
  margin: 28px 0 0;
  color: #d7d7df;
  font-size: clamp(18px, 2.6vw, 23px);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.play-button,
.ghost-button,
.round-control {
  border: 0;
  cursor: pointer;
}

.play-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 999px;
  font-weight: 800;
}

.play-button {
  gap: 12px;
  padding: 0 24px;
  background: var(--text);
  color: #080910;
  box-shadow: 0 20px 70px rgba(55, 213, 255, 0.2);
}

.ghost-button {
  padding: 0 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.play-icon {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid currentColor;
}

.is-playing .play-icon {
  width: 14px;
  height: 16px;
  margin-left: 0;
  border: 0;
  background: linear-gradient(90deg, currentColor 0 36%, transparent 36% 64%, currentColor 64% 100%);
}

.now-card {
  position: absolute;
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 46px;
  width: min(420px, calc(100% - 48px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  backdrop-filter: blur(22px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

.player-topline {
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
}

.is-playing .live-dot {
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(87, 242, 167, 0.12);
}

.player-title {
  margin-top: 8px;
  font-size: 28px;
  font-weight: 900;
}

.equalizer {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  height: 70px;
  align-items: end;
  margin: 22px 0;
}

.equalizer span {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 2px;
  background:
    repeating-linear-gradient(
      to top,
      var(--green) 0 7px,
      transparent 7px 10px
    );
  box-shadow: 0 0 16px rgba(87, 242, 167, 0.22);
  opacity: 0.9;
  clip-path: inset(var(--equalizer-cut, calc(100% - 20px)) 0 0 0);
}

.equalizer span:nth-child(2n) {
  --equalizer-cut: calc(100% - 40px);
}

.equalizer span:nth-child(3n) {
  --equalizer-cut: calc(100% - 60px);
}

.is-playing .equalizer span {
  animation: equalizer-steps 8s steps(1, end) infinite;
}

.is-playing .equalizer span:nth-child(2) {
  animation-delay: -1.7s;
  animation-duration: 7.3s;
}

.is-playing .equalizer span:nth-child(3) {
  animation-delay: -3.2s;
  animation-duration: 8.9s;
}

.is-playing .equalizer span:nth-child(4) {
  animation-delay: -0.9s;
  animation-duration: 7.8s;
}

.is-playing .equalizer span:nth-child(5) {
  animation-delay: -4.4s;
  animation-duration: 8.4s;
}

.is-playing .equalizer span:nth-child(6) {
  animation-delay: -2.5s;
  animation-duration: 7.6s;
}

.is-playing .equalizer span:nth-child(7) {
  animation-delay: -5.8s;
  animation-duration: 9.1s;
}

.is-playing .equalizer span:nth-child(8) {
  animation-delay: -1.1s;
  animation-duration: 8.2s;
}

.round-control {
  display: inline-grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
}

.volume-control {
  display: grid;
  flex: 1;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.volume-control input {
  width: 100%;
  accent-color: var(--cyan);
}

.section,
.sound-section {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding: 96px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.2fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 42px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 270px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--bg-soft);
}

.feature-number {
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
}

.feature-card p,
.sound-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.sound-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: 56px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sound-copy p {
  margin-top: 24px;
  max-width: 620px;
}

.sound-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: center;
}

.sound-list span {
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #e8e8ee;
  font-weight: 800;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.timeline-item {
  display: grid;
  gap: 12px;
  min-height: 170px;
  padding: 22px;
  background: var(--panel-strong);
}

.timeline-item + .timeline-item {
  border-left: 1px solid var(--line);
}

.timeline-item span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.timeline-item strong {
  align-self: end;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
}

.site-footer {
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer span {
  color: var(--text);
  font-weight: 900;
}

@keyframes equalizer-steps {
  0% {
    clip-path: inset(calc(100% - 10px) 0 0 0);
  }
  8% {
    clip-path: inset(calc(100% - 50px) 0 0 0);
  }
  17% {
    clip-path: inset(calc(100% - 20px) 0 0 0);
  }
  29% {
    clip-path: inset(0 0 0 0);
  }
  37% {
    clip-path: inset(calc(100% - 30px) 0 0 0);
  }
  46% {
    clip-path: inset(calc(100% - 60px) 0 0 0);
  }
  58% {
    clip-path: inset(calc(100% - 50px) 0 0 0);
  }
  64% {
    clip-path: inset(calc(100% - 10px) 0 0 0);
  }
  73% {
    clip-path: inset(calc(100% - 40px) 0 0 0);
  }
  86% {
    clip-path: inset(0 0 0 0);
  }
  100% {
    clip-path: inset(calc(100% - 20px) 0 0 0);
  }
}

@media (max-width: 900px) {
  .site-header {
    width: calc(100% - 24px);
    margin-top: 12px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 88svh;
    padding: 104px 20px 288px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(9, 10, 15, 0.97) 0%, rgba(9, 10, 15, 0.72) 56%, rgba(9, 10, 15, 0.36) 100%),
      linear-gradient(0deg, #090a0f 0%, rgba(9, 10, 15, 0.1) 50%);
  }

  h1 {
    font-size: clamp(58px, 18vw, 104px);
  }

  .now-card {
    right: 20px;
    bottom: 28px;
    width: calc(100% - 40px);
  }

  .section,
  .sound-section {
    width: calc(100% - 40px);
    padding: 72px 0;
  }

  .section-heading,
  .sound-section,
  .feature-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .sound-section {
    gap: 28px;
  }

  .feature-card {
    min-height: 210px;
  }

  .timeline-item + .timeline-item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 10px;
  }

  .brand {
    font-size: 14px;
  }

  .header-action {
    min-height: 34px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero {
    padding: 96px 16px 304px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .play-button,
  .ghost-button {
    width: 100%;
  }

  .now-card {
    right: 16px;
    width: calc(100% - 32px);
    padding: 18px;
  }

  .player-title {
    font-size: 23px;
  }

  .equalizer {
    height: 54px;
  }

  .section,
  .sound-section,
  .site-footer {
    width: calc(100% - 32px);
  }

  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
