* { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--card-body-color);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  background: var(--page-bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .24;
  mask-image: radial-gradient(circle at center, black 0%, transparent 78%);
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: var(--page-vignette);
  z-index: 5;
}

.audio-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .72;
  z-index: 1;
}

.audio-bg::before,
.audio-bg::after {
  content: "";
  position: absolute;
  inset: -30%;
  background-repeat: repeat;
  background-size: 900px 760px;
  filter: none;
  animation: drift 70s linear infinite;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg width='900' height='760' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3Etext%7Bfont-family:Menlo,Consolas,monospace;font-size:14px;fill:%23ff55d6;fill-opacity:.55%7D .dim%7Bfill:%239b6cff;fill-opacity:.36%7D%3C/style%3E%3Ctext x='60' y='60' class='dim'%3Esonny.aif@deck:~$ arm livestream%3C/text%3E%3Ctext x='60' y='96'%3EAUDIO chain: CDJ-3000 %3E DJM-A9 %3E OBS%3C/text%3E%3Ctext x='60' y='132'%3Etempo locked / bass pressure stable%3C/text%3E%3Ctext x='60' y='168'%3Edouble drop queued / crowd signal hot%3C/text%3E%3Ctext x='420' y='280' class='dim'%3ESonnySounds Vol 001%3C/text%3E%3Ctext x='420' y='316'%3Eriddim / dubstep / deep dub%3C/text%3E%3Ctext x='420' y='352'%3Evisuals online / stream ready%3C/text%3E%3Ctext x='100' y='520' class='dim'%3Ewarehouse signal detected%3C/text%3E%3Ctext x='100' y='556'%3Elow end calibrated%3C/text%3E%3Ctext x='100' y='592'%3Ecommunity channel open%3C/text%3E%3C/svg%3E");
}

.audio-bg::after {
  opacity: .24;
  animation-duration: 95s;
  animation-direction: reverse;
  transform: translateX(30%);
}

@keyframes drift {
  from { transform: translate3d(0,-8%,0); }
  to { transform: translate3d(0,14%,0); }
}

.page {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  padding: clamp(.8rem, 1.6vw, 1.35rem);
}

.shell {
  width: min(1560px, 100%);
  min-height: calc(100vh - 2.7rem);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: clamp(22px, 3vw, 42px);
  border: var(--shell-border);
  background: var(--shell-bg);
  box-shadow: var(--shell-shadow);
}

header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem clamp(1.1rem, 3vw, 3rem);
  background: var(--header-bg);
  border-bottom: var(--header-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.logo {
  color: var(--header-logo-main-color);
  text-decoration: none;
  font-size: 1.05rem;
  letter-spacing: -.04em;
  font-weight: 900;
}

.logo span {
  color: var(--header-logo-accent-color);
  text-shadow: var(--header-logo-accent-shadow);
}
nav {
  display: flex;
  gap: clamp(.68rem, 1.68vw, 1.42rem);
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  color: var(--header-nav-link-color);
  text-decoration: none;
  font-weight: 900;
  font-size: 1.17rem;
}

nav a:hover {
  color: var(--header-nav-hover-color);
  text-shadow: var(--header-nav-hover-shadow);
}

.content {
  position: relative;
  padding: clamp(1.1rem, 2.6vw, 2.6rem);
  min-height: 0;
}

.release-layout {
  display: grid;
  grid-template-columns: minmax(245px, .34fr) minmax(0, 1.66fr);
  gap: clamp(.85rem, 1.45vw, 1.35rem);
  min-height: clamp(560px, 72vh, 680px);
  align-items: stretch;
}

.panel,
.player-panel,

.list-panel {
  border-radius: 28px;
  border: var(--panel-border);
  background: var(--panel-bg);
  box-shadow: var(--panel-shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}


.release-kicker {
  margin-top: clamp(1rem, 2vh, 1.6rem);
  color: rgba(255,194,245,.46);
  font-size: clamp(.72rem, .78vw, .82rem);
  font-weight: 850;
  line-height: 1.45;
}

.release-info {
  display: grid;
  align-content: center;
  padding: clamp(1.15rem, 2vw, 1.8rem);
  min-height: 100%;
}

.eyebrow {
  color: var(--hero-eyebrow-color);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: clamp(.68rem, .9vw, .9rem);
  font-weight: 950;
  margin-bottom: clamp(1rem, 1.8vw, 1.55rem);
  text-shadow: var(--hero-eyebrow-shadow);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(2.9rem, 4.7vw, 6.2rem);
  line-height: .9;
  letter-spacing: -.064em;
  font-weight: 950;
  text-wrap: balance;
}

h1 span {
  display: block;
}

h2 {
  color: var(--section-title-color);
  margin-bottom: .85rem;
  font-size: clamp(1.65rem, 2.65vw, 3rem);
  line-height: 1;
  letter-spacing: -.06em;
  font-weight: 950;
  text-wrap: balance;
}

.white {
  color: var(--hero-title-main-color);
  -webkit-text-fill-color: var(--hero-title-main-color);
  text-shadow: var(--hero-title-main-shadow);
}

.glow {
  background: linear-gradient(120deg, #ff3fc8 0%, #9b26d9 42%, #4411b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: var(--hero-title-emphasis-filter);
}

.accent-line {
  width: 130px;
  height: 4px;
  margin: clamp(1.15rem, 2vw, 1.75rem) 0 clamp(1rem, 1.8vw, 1.45rem);
  border-radius: 999px;
  background: var(--accent-line-bg);
  box-shadow: var(--accent-line-shadow);
}

.intro,
.release-meta {
  color: var(--hero-copy-color);
  font-size: clamp(.92rem, 1.05vw, 1.06rem);
  line-height: 1.45;
  letter-spacing: -.02em;
}

.release-meta {
  margin-bottom: 0;
  color: rgba(255,194,245,.62);
  font-weight: 800;
}

.release-info {
  min-width: 0;
  overflow: hidden;
}

.release-info h1 {
  width: 100%;
  max-width: 100%;
  overflow: visible;
  font-size: clamp(2.9rem, 4.7vw, 6.2rem);
  line-height: 1.04;
  letter-spacing: -.068em;
  padding-right: .18em;
  padding-bottom: .25em;
  text-wrap: normal;
}

.release-info h1 .title-word {
  display: inline-block;
  max-width: 100%;
  margin-right: .06em;
  padding: .02em .10em .14em .015em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  white-space: normal;
  vertical-align: baseline;
}

.release-info h1.force-word-break .title-word {
  overflow-wrap: anywhere;
  word-break: break-word;
}


.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .7rem .95rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.055);
  color: var(--button-text-color);
  text-decoration: none;
  font-weight: 950;
  font-size: .88rem;
  box-shadow: none;
}

.button.primary {
  color: var(--button-text-color);
  background-color: var(--button-primary-bg-color);
  background-image: var(--button-primary-bg-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-color: var(--button-primary-border-color);
  box-shadow: none;
  overflow: hidden;
}

.button.download-button {
  min-width: 150px;
  white-space: nowrap;
  color: var(--button-outline-text-color);
  border-color: var(--button-outline-border-color);
  background: var(--button-outline-bg);
  box-shadow: none;
}

.button.download-button.disabled {
  opacity: .72;
  pointer-events: none;
  cursor: not-allowed;
  border-color: var(--button-disabled-border-color);
  color: var(--button-disabled-text-color);
}


.player-stack {
  display: grid;
  grid-template-rows: clamp(270px, 42vh, 440px) minmax(0, 1fr);
  gap: clamp(.85rem, 1.45vw, 1.35rem);
  min-height: 100%;
  height: 100%;
}

.player-panel {
  padding: clamp(.65rem, 1vw, 1rem);
  min-height: 0;
  height: 100%;
}

.embed-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 300px;
  border-radius: 22px;
  overflow: hidden;
  background: #050408;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}

.embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}


.list-panel {
  padding: clamp(1rem, 1.55vw, 1.35rem);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.list-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: .7rem;
}

.list-head h2 {
  color: var(--section-title-color);
  margin: 0;
  font-size: clamp(1.35rem, 1.75vw, 2rem);
}

.status {
  color: rgba(255,194,245,.55);
  font-size: .74rem;
  font-weight: 850;
  text-align: right;
}

.release-list {
  display: grid;
  align-content: start;
  gap: .62rem;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: .35rem;
  min-height: 0;
  height: 100%;
}

.release-item {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .72rem;
  align-items: center;
  padding: .78rem .85rem;
  border-radius: 15px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.075);
  color: var(--card-body-color);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.release-item:hover,
.release-item.active {
  border-color: rgba(255,63,200,.44);
  background: var(--release-selector-active-bg);
}

.play-dot {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--pink), var(--purple));
  box-shadow: none;
  font-size: .82rem;
  flex: 0 0 auto;
}

.release-text {
  min-width: 0;
}

.release-text strong {
  display: block;
  color: var(--color-logo-white);
  font-size: clamp(.95rem, 1vw, 1.08rem);
  line-height: 1.16;
  letter-spacing: -.03em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.release-text span {
  display: block;
  margin-top: .18rem;
  color: var(--card-title-color);
  font-size: .78rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.release-badge {
  color: var(--tag-color);
  font-size: .7rem;
  font-weight: 950;
  white-space: nowrap;
  opacity: .88;
}


.release-list::-webkit-scrollbar {
  width: 8px;
}

.release-list::-webkit-scrollbar-track {
  background: rgba(255,255,255,.04);
  border-radius: 999px;
}

.release-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--pink), var(--purple));
  border-radius: 999px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .95rem clamp(1.1rem, 3vw, 3rem);
  border-top: var(--footer-border);
  background: var(--footer-bg);
  color: var(--footer-text-color);
  backdrop-filter: blur(8px);
  font-size: .88rem;
}

@media (max-width: 860px) {
  .release-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .player-stack {
    grid-template-rows: auto auto;
  }

  .list-panel {
    min-height: 320px;
  }

  .embed-wrap {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 320px;
  }

  .release-list {
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 720px) {
  .content { padding: 1rem; }

  .panel,
  .player-panel,
  
.list-panel {
    border-radius: 22px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5.4rem);
  }

  .eyebrow {
    letter-spacing: .18em;
    line-height: 1.6;
  }

}

@media (prefers-reduced-motion: reduce) {
  .audio-bg::before,
  .audio-bg::after {
    animation: none;
  }
}

@media (min-width: 861px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  .page {
    height: 100svh;
    min-height: 100svh;
    padding: clamp(.45rem, .9vw, .95rem);
    display: grid;
  }

  .shell {
    height: calc(100svh - clamp(.9rem, 1.8vw, 1.9rem));
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
  }

  header {
    padding-block: clamp(.48rem, .75vh, .78rem);
  }

  nav a {
    font-size: clamp(.95rem, 1vw, 1.17rem);
  }

  .logo {
    font-size: clamp(.9rem, .9vw, 1.05rem);
  }

  .content {
    min-height: 0;
    height: 100%;
    padding:
      clamp(.75rem, 1.35vw, 1.55rem)
      clamp(.9rem, 2.25vw, 2.6rem);
  }

  .release-layout {
    min-height: 0;
    height: 100%;
    grid-template-columns: minmax(245px, .34fr) minmax(0, 1.66fr);
    gap: clamp(.75rem, 1.25vw, 1.25rem);
  }

  .release-info,
  .player-stack,
  .player-panel,
  
.list-panel {
    min-height: 0;
    height: 100%;
  }

.release-kicker {
  margin-top: clamp(1rem, 2vh, 1.6rem);
  color: rgba(255,194,245,.46);
  font-size: clamp(.72rem, .78vw, .82rem);
  font-weight: 850;
  line-height: 1.45;
}

.release-info {
    padding:
      clamp(.9rem, 1.45vw, 1.55rem)
      clamp(.95rem, 1.65vw, 1.7rem);
  }

  .eyebrow {
    font-size: clamp(.62rem, .72vw, .82rem);
    margin-bottom: clamp(.8rem, 1.25vh, 1.25rem);
  }

  h1 {
    font-size: clamp(2.35rem, min(3.65vw, 5.8vh), 4.85rem);
    line-height: .9;
  }

  .intro,
  .release-meta {
    font-size: clamp(.8rem, .9vw, .96rem);
    line-height: 1.42;
  }

  .button {
    min-height: 38px;
    padding: .58rem .82rem;
    font-size: .8rem;
  }

  .player-stack {
    grid-template-rows: clamp(270px, 42vh, 440px) minmax(0, 1fr);
  }

  .embed-wrap {
    min-height: 0;
    height: 100%;
    aspect-ratio: auto;
  }

footer {
    padding-block: clamp(.5rem, .8vh, .8rem);
    font-size: clamp(.72rem, .8vw, .88rem);
  }
}

@media (min-width: 861px) and (max-height: 820px) {
  h1 {
    font-size: clamp(2.05rem, min(3.35vw, 5.3vh), 4.35rem);
  }

  .intro,
  .release-meta {
    font-size: clamp(.76rem, .84vw, .9rem);
  }

  .player-stack {
    grid-template-rows: clamp(240px, 40vh, 390px) minmax(0, 1fr);
  }

  .release-item {
    padding-block: .48rem;
  }

  .play-dot {
    width: 30px;
    height: 30px;
  }
}

@media (min-width: 861px) and (max-height: 690px) {
  .shell {
    grid-template-rows: auto minmax(0, 1fr);
  }

footer {
    display: none;
  }

  .player-stack {
    grid-template-rows: clamp(210px, 38vh, 340px) minmax(0, 1fr);
  }

  .intro {
    display: none;
  }
}

@media (max-width: 860px) {
  html,
  body {
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
  }
}
