:root {
  --ink: #0a1014;
  --ink-2: #121a21;
  --fog: #9aadb8;
  --paper: #e8f0f2;
  --accent: #2fd4a1;
  --accent-deep: #1aa87a;
  --line: rgba(232, 240, 242, 0.12);
  --glow: rgba(47, 212, 161, 0.28);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Sora", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--paper);
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(47, 212, 161, 0.14), transparent 55%),
    radial-gradient(900px 500px at -10% 30%, rgba(56, 120, 160, 0.18), transparent 50%),
    linear-gradient(165deg, #071015 0%, #0d161c 48%, #101820 100%);
  overflow-x: hidden;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.top,
main,
.foot {
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.2rem, 4vw, 2.5rem);
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--paper);
  text-decoration: none;
}

.top-link {
  color: var(--fog);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.top-link:hover {
  color: var(--paper);
  border-color: var(--accent);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: clamp(5.5rem, 12vh, 7rem) clamp(1.2rem, 4vw, 2.5rem) clamp(2.5rem, 6vh, 4rem);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.04);
  filter: saturate(0.85) contrast(1.05);
  animation: drift 18s var(--ease) infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 16, 21, 0.55) 0%, rgba(7, 16, 21, 0.35) 35%, rgba(7, 16, 21, 0.92) 78%, #071015 100%),
    linear-gradient(90deg, rgba(7, 16, 21, 0.75) 0%, rgba(7, 16, 21, 0.2) 55%, rgba(7, 16, 21, 0.55) 100%);
}

.hero-copy {
  max-width: 38rem;
  animation: rise 0.9s var(--ease) both;
}

.brand-mark {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--paper);
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.hero h1 {
  margin: 0 0 0.9rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  line-height: 1.35;
  color: var(--paper);
}

.lede {
  margin: 0 0 1.6rem;
  max-width: 32rem;
  color: var(--fog);
  font-size: 1rem;
  line-height: 1.65;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.25rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--accent);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  background: #49e0b0;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px var(--glow);
}

.btn.ghost {
  color: var(--paper);
  background: transparent;
  border: 1px solid var(--line);
}

.btn.ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
  box-shadow: none;
}

.theater {
  padding: clamp(2rem, 5vh, 3.5rem) clamp(1.2rem, 4vw, 2.5rem) 4rem;
  display: grid;
  gap: 1.75rem;
  max-width: 1180px;
  margin: 0 auto;
}

.stage {
  display: grid;
  gap: 1.25rem;
}

.player-shell {
  position: relative;
  background: #000;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  outline: 1px solid var(--line);
}

.player-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  vertical-align: middle;
}

.now {
  padding: 0.2rem 0.1rem 0;
}

.now-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.now h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.now p {
  margin: 0;
  color: var(--fog);
  line-height: 1.55;
  max-width: 40rem;
}

.now-meta {
  margin-top: 0.65rem !important;
  font-size: 0.85rem;
  color: rgba(154, 173, 184, 0.85);
}

.playlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.track {
  width: 100%;
  display: grid;
  grid-template-columns: 7.5rem 1fr auto;
  gap: 0.95rem;
  align-items: center;
  padding: 0.55rem 0.75rem 0.55rem 0.55rem;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  background: rgba(18, 26, 33, 0.55);
  border: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.track:hover {
  border-color: var(--line);
  background: rgba(24, 36, 44, 0.9);
}

.track.is-active {
  border-color: rgba(47, 212, 161, 0.45);
  background: linear-gradient(90deg, rgba(47, 212, 161, 0.12), rgba(18, 26, 33, 0.7));
}

.thumb {
  display: block;
  width: 7.5rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease);
}

.track:hover .thumb img,
.track.is-active .thumb img {
  transform: scale(1.05);
}

.track-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.track-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 600;
}

.track-title {
  font-weight: 600;
  font-size: 1rem;
}

.track-meta {
  color: var(--fog);
  font-size: 0.82rem;
}

.track-play {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  position: relative;
  flex-shrink: 0;
}

.track-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 53%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 0.4rem 0 0.4rem 0.7rem;
  border-color: transparent transparent transparent var(--paper);
}

.track.is-active .track-play {
  border-color: var(--accent);
  background: var(--accent);
}

.track.is-active .track-play::before {
  border-color: transparent transparent transparent var(--ink);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem clamp(1.2rem, 4vw, 2.5rem) 2.25rem;
  border-top: 1px solid var(--line);
  color: var(--fog);
  font-size: 0.88rem;
}

.foot strong {
  color: var(--paper);
  font-family: var(--font-display);
}

.foot a {
  color: var(--accent);
  text-decoration: none;
}

.foot a:hover {
  text-decoration: underline;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, -0.8%, 0);
  }
}

@media (min-width: 960px) {
  .theater {
    grid-template-columns: minmax(0, 1.55fr) minmax(17rem, 0.75fr);
    align-items: start;
  }

  .playlist {
    position: sticky;
    top: 1.25rem;
  }
}

@media (max-width: 640px) {
  .track {
    grid-template-columns: 5.4rem 1fr;
  }

  .track-play {
    display: none;
  }

  .thumb {
    width: 5.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img,
  .hero-copy,
  .track,
  .thumb img,
  .btn {
    animation: none !important;
    transition: none !important;
  }
}
