/* ============================================================
   EBx — Autonomous AI Music Artist
   Copper / engraved-metal theme
   Landing / no-scroll desktop / scroll mobile
   ============================================================ */

:root {
  --bg: #181D20;          /* main dark metal */
  --bg-2: #0C0F11;        /* deepest metal / scratches */
  --scratch: #31393E;     /* light scratches on metal */
  --copper: #E6731B;      /* main copper (center) */
  --copper-dark: #B84A05; /* dark copper (edge/gradient) */
  --copper-light: #F2A154;/* light copper / worn sand */
  --shadow: #4D2C00;      /* letter shadow / volume */
  --panel: rgba(24, 29, 32, 0.78);
  --panel-solid: #14181B;
  --white: #FFFFFF;
  --text: #EAEAEA;
  --muted: #8E9196;
  --line: rgba(142, 145, 150, 0.22);
  --ok: #F2A154;
  --font: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "SF Mono", "Cascadia Code", Consolas, "Roboto Mono", monospace;
}

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

html, body { height: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

::selection { background: var(--copper); color: var(--bg-2); }

/* ============ BACKGROUND ============ */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(1200px 800px at 80% -10%, rgba(230, 115, 27, 0.14), transparent 60%),
    radial-gradient(1000px 700px at 0% 110%, rgba(242, 161, 84, 0.08), transparent 60%),
    linear-gradient(180deg, #1C2125 0%, var(--bg) 55%, var(--bg-2) 100%);
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(230, 115, 27, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 115, 27, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}

.bg-scratch {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(112deg, rgba(49, 57, 62, 0.28) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(112deg, rgba(12, 15, 17, 0.5) 0 1px, transparent 1px 11px);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 20%, transparent 78%);
  pointer-events: none;
}

.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.blob-1 { width: 520px; height: 520px; left: -140px; top: -160px;
  background: radial-gradient(circle, rgba(230, 115, 27, 0.4), transparent 65%);
  animation: drift1 16s ease-in-out infinite alternate; }
.blob-2 { width: 640px; height: 640px; right: -220px; bottom: -220px;
  background: radial-gradient(circle, rgba(184, 74, 5, 0.32), transparent 65%);
  animation: drift2 20s ease-in-out infinite alternate; }
.blob-3 { width: 400px; height: 400px; left: 38%; top: 30%;
  background: radial-gradient(circle, rgba(242, 161, 84, 0.22), transparent 65%);
  animation: drift3 24s ease-in-out infinite alternate; }

@keyframes drift1 { from { transform: translate(0, 0) scale(1); } to { transform: translate(80px, 60px) scale(1.15); } }
@keyframes drift2 { from { transform: translate(0, 0) scale(1); } to { transform: translate(-90px, -50px) scale(1.2); } }
@keyframes drift3 { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 70px) scale(0.85); } }

#particles { position: absolute; inset: 0; width: 100%; height: 100%; }

.scanlines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.024) 0 1px, transparent 1px 3px);
  pointer-events: none;
}

.vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 120% 100% at 50% 50%, transparent 55%, rgba(4, 5, 6, 0.6) 100%);
  pointer-events: none;
}

/* ============ PAGE LAYOUT ============ */
.page {
  position: relative;
  z-index: 1;
  height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 34px;
}

/* ============ TOPBAR ============ */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 10px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 1px;
  position: relative;
}
.logo-box {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--copper-light), var(--copper-dark));
  color: var(--bg-2);
  border-radius: 9px;
  font-size: 20px;
  box-shadow: 0 2px 0 var(--shadow), 0 0 18px rgba(230, 115, 27, 0.3);
}
.logo-x { color: transparent; background: linear-gradient(90deg, var(--copper), var(--copper-dark)); -webkit-background-clip: text; background-clip: text; }
.logo-badge {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 20px;
}

.nav { display: flex; gap: 6px; }
.nav a {
  font-size: 13.5px;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  text-transform: uppercase;
}
.nav a:hover { color: var(--text); border-color: var(--line); background: var(--panel); }
.nav .nav-accent { border-color: rgba(230, 115, 27, 0.45); color: var(--copper); }
.nav .nav-accent:hover { box-shadow: 0 0 22px rgba(230, 115, 27, 0.3); background: rgba(230, 115, 27, 0.08); }

.topbar-right { display: flex; align-items: center; gap: 18px; }

.socials { display: flex; gap: 6px; }
.soc {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: all 0.25s ease;
}
.soc svg { width: 16px; height: 16px; fill: currentColor; }
.soc:hover {
  color: var(--bg-2);
  border-color: transparent;
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--copper-light), var(--copper-dark));
  box-shadow: 0 4px 18px rgba(230, 115, 27, 0.45);
}

.clock {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--copper-light);
  letter-spacing: 1px;
  text-shadow: 0 0 12px rgba(230, 115, 27, 0.55);
}

/* ============ STAGE ============ */
.stage {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
  min-height: 0;
}

/* ============ HERO ============ */
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 3.5px;
  color: var(--copper-light);
  margin-bottom: 18px;
}
.kicker-line { width: 42px; height: 1px; background: linear-gradient(90deg, var(--copper), transparent); }
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px var(--ok);
  animation: pulse 1.6s ease-in-out infinite;
  display: inline-block;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.title {
  font-size: clamp(120px, 15vw, 215px);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.03em;
  position: relative;
  margin: 0 0 8px -6px;
  user-select: none;
  color: var(--text);
  text-shadow:
    0 6px 0 rgba(77, 44, 0, 0.5),
    0 14px 34px rgba(0, 0, 0, 0.55),
    0 0 46px rgba(230, 115, 27, 0.16);
}
.t-b {
  color: transparent;
  background: linear-gradient(180deg, var(--copper-light) 8%, var(--copper) 45%, var(--copper-dark) 92%);
  -webkit-background-clip: text; background-clip: text;
}
.t-x { color: var(--copper-dark); animation: flick 4s linear infinite; }
@keyframes flick {
  0%, 90%, 100% { opacity: 1; }
  92% { opacity: 0.25; }
  94% { opacity: 1; }
  96% { opacity: 0.4; }
}

/* glitch shadow layers */
.title::before, .title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.title::before {
  color: var(--copper-light);
  clip-path: inset(18% 0 58% 0);
  transform: translate(-6px, 2px);
  opacity: 0.55;
  animation: glitchA 5s infinite steps(1);
}
.title::after {
  color: var(--copper-dark);
  clip-path: inset(62% 0 12% 0);
  transform: translate(5px, -2px);
  opacity: 0.55;
  animation: glitchB 5s infinite steps(1);
}
@keyframes glitchA {
  0%, 86%, 100% { clip-path: inset(18% 0 58% 0); transform: translate(-6px, 2px); opacity: 0; }
  88% { opacity: 0.55; transform: translate(-10px, 3px); }
  90% { clip-path: inset(40% 0 30% 0); transform: translate(4px, 1px); }
  92% { clip-path: inset(5% 0 80% 0); transform: translate(-5px, -2px); }
}
@keyframes glitchB {
  0%, 86%, 100% { clip-path: inset(62% 0 12% 0); transform: translate(5px, -2px); opacity: 0; }
  88% { opacity: 0.55; transform: translate(8px, -3px); }
  90% { clip-path: inset(30% 0 45% 0); transform: translate(-6px, 2px); }
  92% { clip-path: inset(75% 0 5% 0); transform: translate(6px, 1px); }
}

.tagline {
  font-size: clamp(19px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.tagline em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(90deg, var(--copper-light), var(--copper));
  -webkit-background-clip: text; background-clip: text;
}

.desc {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 46ch;
  margin-bottom: 24px;
}

.cta { display: flex; gap: 14px; margin-bottom: 26px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: 40px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(120deg, var(--copper-light), var(--copper) 55%, var(--copper-dark));
  color: #1A1206;
  box-shadow: 0 8px 30px rgba(184, 74, 5, 0.45), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(230, 115, 27, 0.5); }
.btn-primary::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  transform: translateX(-110%);
}
.btn-primary:hover::after { animation: sheen 0.9s ease; }
@keyframes sheen { to { transform: translateX(110%); } }

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: var(--panel);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--copper); color: var(--copper-light); box-shadow: 0 0 24px rgba(230, 115, 27, 0.22); }

.btn-icon { width: 18px; height: 18px; display: grid; place-items: center; }
.btn-icon svg, .ctrl svg { width: 100%; height: 100%; fill: currentColor; }
#icPause, #miniIcPause { display: none; }
.btn.playing #icPlay, .playing #miniIcPlay { display: none; }
.btn.playing #icPause, .playing #miniIcPause { display: block; }

.btn-arrow { font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

.stats {
  display: flex;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(12, 15, 17, 0.55);
  backdrop-filter: blur(8px);
  width: fit-content;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.stat {
  padding: 14px 26px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat b {
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--copper-light), var(--copper-dark));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.5px; color: var(--muted); text-transform: uppercase; }

/* ============ VISUAL / PLAYER ============ */
.visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.disc-wrap {
  position: relative;
  width: clamp(170px, 17vw, 230px);
  height: clamp(170px, 17vw, 230px);
}
.disc {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at center,
      #101418 0 2px, #1C2227 2px 4px, #13181C 4px 6px);
  border: 1px solid rgba(230, 115, 27, 0.35);
  display: grid;
  place-items: center;
  box-shadow: 0 0 60px rgba(230, 115, 27, 0.16), inset 0 0 40px rgba(0,0,0,0.8);
  animation: spin 14s linear infinite;
  animation-play-state: paused;
}
.disc.spinning { animation-play-state: running; }
@keyframes spin { to { transform: rotate(360deg); } }

.disc-grooves {
  position: absolute; inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(142, 145, 150, 0.32);
}
.disc-grooves::after {
  content: ""; position: absolute; inset: 22%;
  border-radius: 50%;
  border: 1px dashed rgba(142, 145, 150, 0.36);
}

.disc-label {
  position: relative;
  width: 46%; height: 46%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--copper-light), var(--copper), var(--copper-dark), var(--copper-light));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  padding: 10%;
  box-shadow: 0 0 30px rgba(230, 115, 27, 0.4);
}
.dl-top { font-weight: 900; font-size: 15px; color: #241406; letter-spacing: 1px; }
.dl-mid { font-size: 6px; font-weight: 800; color: rgba(36, 20, 6, 0.85); letter-spacing: 1.5px; }
.dl-num { font-family: var(--mono); font-size: 5px; color: rgba(36, 20, 6, 0.7); }

.disc-hole {
  position: absolute;
  width: 12%; height: 12%;
  background: radial-gradient(circle, #2A3238, #0C0F11 70%);
  border-radius: 50%;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.9);
}

.disc-ring {
  position: absolute; inset: -18px;
  border: 1px dashed rgba(230, 115, 27, 0.4);
  border-radius: 50%;
  animation: spin 30s linear infinite reverse;
}
.disc-glow {
  position: absolute; inset: 20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 115, 27, 0.4), transparent 70%);
  filter: blur(30px);
  animation: glowPulse 3s ease-in-out infinite alternate;
}
@keyframes glowPulse { from { opacity: 0.4; transform: scale(0.9); } to { opacity: 0.9; transform: scale(1.15); } }

#viz {
  width: 100%;
  max-width: 620px;
  height: 90px;
  filter: drop-shadow(0 0 10px rgba(230, 115, 27, 0.3));
}

.player {
  width: 100%;
  max-width: 620px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px 22px 14px;
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.06);
}

.track-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.now-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
}
.track-head h3 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.3px;
  margin-bottom: 2px;
}
.track-head p:not(.now-label) { font-size: 12px; color: var(--muted); font-family: var(--mono); }

.chip {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2px;
  padding: 5px 11px;
  border-radius: 20px;
  border: 1px solid rgba(142, 145, 150, 0.3);
  color: var(--muted);
  white-space: nowrap;
}
.chip.online {
  color: var(--ok);
  border-color: rgba(242, 161, 84, 0.5);
  box-shadow: 0 0 14px rgba(230, 115, 27, 0.35);
}

.progress { margin-bottom: 14px; }
.progress-track {
  height: 4px;
  border-radius: 4px;
  background: rgba(142, 145, 150, 0.18);
  position: relative;
  overflow: visible;
}
.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--copper-light), var(--copper-dark));
  box-shadow: 0 0 12px rgba(230, 115, 27, 0.55);
  position: relative;
  transition: width 0.1s linear;
}
.progress-thumb {
  position: absolute;
  top: 50%;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(255,255,255,0.8);
  opacity: 0;
  transition: opacity 0.2s;
}
.progress-track:hover .progress-thumb { opacity: 1; }
.time-row { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; color: var(--muted); margin-top: 6px; font-variant-numeric: tabular-nums; }

.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 14px;
}
.ctrl {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  display: grid; place-items: center;
  transition: all 0.2s ease;
}
.ctrl svg { width: 16px; height: 16px; }
.ctrl:hover { border-color: var(--copper); color: var(--copper-light); box-shadow: 0 0 16px rgba(230, 115, 27, 0.3); }
.ctrl-main {
  width: 52px; height: 52px;
  border: none;
  background: linear-gradient(135deg, var(--copper-light), var(--copper), var(--copper-dark));
  color: #1A1206;
  box-shadow: 0 0 26px rgba(230, 115, 27, 0.45), inset 0 1px 0 rgba(255,255,255,0.35);
}
.ctrl-main svg { width: 22px; height: 22px; }
.ctrl-main:hover { transform: scale(1.08); }

.tracklist {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  padding-top: 8px;
  max-height: 150px;
  overflow: hidden;
}
.track {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.track:hover { background: rgba(230, 115, 27, 0.06); }
.track.active { background: rgba(184, 74, 5, 0.12); }
.track.active .t-num { color: var(--copper-dark); }
.t-num { font-family: var(--mono); font-size: 11px; color: var(--muted); text-align: right; }
.t-name { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-dur { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.track.active .t-name { color: var(--copper-light); }
.track.active .t-dur { color: var(--copper-dark); }
.t-eq { display: none; }
.track.active .t-eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 10px; }
.t-eq i { width: 3px; background: var(--copper); border-radius: 2px; animation: eqbar 0.8s ease-in-out infinite alternate; }
.t-eq i:nth-child(2) { animation-delay: 0.25s; }
.t-eq i:nth-child(3) { animation-delay: 0.5s; }
@keyframes eqbar { from { height: 3px; } to { height: 10px; } }

/* ============ FOOTER ============ */
.footer { padding: 8px 0 18px; }

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  margin-bottom: 10px;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.m-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2.5px;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}
.m-item::after { content: "◆"; color: var(--copper); font-size: 9px; text-shadow: 0 0 10px rgba(230, 115, 27, 0.7); }
.m-item b { color: var(--text); font-weight: 700; }
.m-item span { color: var(--copper-light); }

.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--muted);
}
.fm-left i { color: var(--copper); font-style: normal; padding: 0 6px; }
.fm-right { display: flex; align-items: center; gap: 16px; }
.fm-sync { display: flex; align-items: center; gap: 7px; color: var(--ok); }
.fm-clock { color: var(--copper-light); }

/* ============ MODALS ============ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 12, 14, 0.82);
  backdrop-filter: blur(10px);
}
.modal-panel {
  position: relative;
  width: min(760px, calc(100vw - 48px));
  max-height: min(82vh, 820px);
  background: linear-gradient(160deg, #20262B 0%, #101418 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.7), 0 0 60px rgba(230, 115, 27, 0.12);
  transform: translateY(30px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.modal.open .modal-panel { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  display: grid; place-items: center;
  transition: all 0.2s ease;
}
.modal-close:hover { border-color: var(--copper); color: var(--copper-light); transform: rotate(90deg); }
.modal-scroll {
  padding: 44px 46px 40px;
  max-height: min(82vh, 820px);
  overflow-y: auto;
}
.modal-scroll::-webkit-scrollbar { width: 8px; }
.modal-scroll::-webkit-scrollbar-thumb { background: linear-gradient(var(--copper-light), var(--copper-dark)); border-radius: 8px; }
.modal-scroll::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); }

.kicker-sm { margin-bottom: 12px; font-size: 11px; }
.modal-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.05;
}
.grad {
  color: transparent;
  background: linear-gradient(90deg, var(--copper-light), var(--copper-dark));
  -webkit-background-clip: text; background-clip: text;
}
.modal-lead { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 30px; max-width: 62ch; }

.bio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 34px; }
.bio-block {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.02);
  transition: all 0.25s ease;
}
.bio-block:hover { border-color: rgba(230, 115, 27, 0.4); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(230, 115, 27, 0.08); }
.bio-block h4 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--copper-light);
  margin-bottom: 10px;
}
.bio-block p { font-size: 13.5px; line-height: 1.65; color: var(--text); opacity: 0.88; }
.bio-block p em { color: var(--copper-dark); font-style: normal; }

.timeline { border-left: 1px solid var(--line); padding-left: 26px; display: flex; flex-direction: column; gap: 18px; margin-bottom: 8px; }
.tl-item { position: relative; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -31.5px; top: 4px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--copper-light), var(--copper-dark));
  box-shadow: 0 0 12px rgba(230, 115, 27, 0.6);
}
.tl-item span { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--copper-dark); display: block; margin-bottom: 3px; }
.tl-item p { font-size: 14px; opacity: 0.9; }
.tl-item p em { color: var(--copper-light); font-style: normal; }

/* album cards */
.album-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  margin-bottom: 22px;
  background: rgba(255,255,255,0.02);
}
.album-art {
  width: 180px; height: 180px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}
.album-art span { font-weight: 900; font-size: 40px; letter-spacing: -2px; color: rgba(255,255,255,0.92); }
.album-art b { font-size: 11px; letter-spacing: 3px; color: rgba(255,255,255,0.82); }
.art-1 {
  background:
    linear-gradient(150deg, rgba(242, 161, 84, 0.95), rgba(230, 115, 27, 0.9) 55%, rgba(184, 74, 5, 0.95)),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(0,0,0,0.18) 18px 19px);
}
.art-1::after {
  content: "";
  position: absolute; inset: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: grid; place-items: center;
  background-image: radial-gradient(circle at 35% 30%, #101418 0 18px, transparent 19px);
  mix-blend-mode: overlay;
}
.art-2 {
  background:
    linear-gradient(210deg, rgba(12, 15, 17, 0.4), rgba(184, 74, 5, 0.85)),
    radial-gradient(circle at 70% 30%, var(--copper-light) 0 40px, transparent 41px),
    radial-gradient(circle at 30% 75%, var(--copper-dark) 0 50px, transparent 51px),
    #101418;
}
.art-2::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.5) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: 0.5;
}
.album-year { font-family: var(--mono); font-size: 10.5px; letter-spacing: 2.5px; color: var(--copper-dark); margin-bottom: 8px; }
.album-info h3 { font-size: 26px; font-weight: 900; margin-bottom: 6px; }
.album-desc { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; max-width: 52ch; }
.modal-tracklist { display: flex; flex-direction: column; }
.modal-tracklist .track { grid-template-columns: 28px 1fr auto; }
.modal-tracklist .track.active { background: rgba(184, 74, 5, 0.12); }

.stream-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.stream-row > span { font-family: var(--mono); font-size: 11px; letter-spacing: 2.5px; color: var(--muted); }
.stream-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge {
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 30px;
  border: 1px solid var(--line);
  transition: all 0.2s ease;
  color: var(--muted);
}
.badge:hover { color: var(--text); border-color: var(--copper); box-shadow: 0 0 18px rgba(230, 115, 27, 0.22); transform: translateY(-2px); }

/* booking form */
.booking-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 30px; }
.booking-form label { display: flex; flex-direction: column; gap: 7px; font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--muted); }
.booking-form label:nth-child(3),
.booking-form label:nth-child(4),
.booking-form .btn-block,
.booking-form .form-status { grid-column: 1 / -1; }
.booking-form input, .booking-form select, .booking-form textarea {
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(230, 115, 27, 0.15);
}
.booking-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.booking-form select option { background: var(--panel-solid); }
.booking-form .btn-block { margin-top: 4px; }
.form-status { font-family: var(--mono); font-size: 13px; color: var(--ok); letter-spacing: 1px; text-align: center; min-height: 18px; }
.form-status.error { color: #FF6B4A; }

.contact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.02);
}
.contact-label { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: var(--muted); display: block; margin-bottom: 8px; }
.contact-mail { font-size: 14px; font-weight: 700; color: var(--copper-light); }
.contact-mail:hover { text-shadow: 0 0 14px rgba(230, 115, 27, 0.7); }
.contact-coords { font-family: var(--mono); font-size: 13px; color: var(--text); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .page { padding: 0 24px; }
  .stage { grid-template-columns: 1fr; gap: 10px; align-content: start; overflow-y: auto; }
  .visual { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 900px) {
  body { overflow-y: auto; overflow-x: hidden; }
  .page {
    height: auto;
    min-height: 100dvh;
    display: block;
    padding: 0 18px 30px;
  }
  .topbar { flex-wrap: wrap; justify-content: center; row-gap: 12px; padding-top: 18px; }
  .topbar-right { order: 3; width: 100%; justify-content: center; }
  .nav { order: 4; width: 100%; justify-content: center; }
  .stage { display: block; margin-top: 26px; }
  .hero { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .title { font-size: clamp(84px, 26vw, 150px); margin-left: 0; }
  .kicker { justify-content: center; }
  .desc { max-width: 40ch; }
  .cta { justify-content: center; }
  .stats { flex-wrap: wrap; }
  .stat { flex: 1; min-width: 120px; border-right: none; border-bottom: 1px solid var(--line); align-items: center; }
  .stat:last-child { border-bottom: none; }
  .visual { margin-top: 26px; }
  .disc-wrap { width: 190px; height: 190px; }
  .player { max-width: 480px; }
  .tracklist { max-height: 185px; }
  .footer-meta { flex-direction: column; gap: 10px; text-align: center; }

  .modal-panel { max-height: 90dvh; }
  .modal-scroll { padding: 40px 24px 32px; max-height: 90dvh; }
  .bio-grid { grid-template-columns: 1fr; }
  .album-card { grid-template-columns: 1fr; }
  .album-art { width: 100%; height: 200px; }
  .booking-form { grid-template-columns: 1fr; }
  .booking-form label:nth-child(3),
  .booking-form label:nth-child(4),
  .booking-form .btn-block,
  .booking-form .form-status { grid-column: auto; }
  .contact-row { grid-template-columns: 1fr; }
  .timeline { margin-bottom: 0; }
}

@media (max-width: 480px) {
  .disc-wrap { width: 160px; height: 160px; }
  .track-head h3 { font-size: 16px; }
  .player { padding: 16px 16px 12px; }
  .logo-badge { display: none; }
  .soc { width: 30px; height: 30px; }
  .fm-left { font-size: 10px; }
}

/* short viewport — shrink to fit without scroll */
@media (max-height: 760px) and (min-width: 901px) {
  .title { font-size: clamp(96px, 11vw, 150px); }
  .desc { margin-bottom: 16px; font-size: 13.5px; }
  .cta { margin-bottom: 16px; }
  .stats .stat { padding: 10px 20px; }
  .stats .stat b { font-size: 20px; }
  .disc-wrap { width: 150px; height: 150px; }
  #viz { height: 70px; }
  .player { padding: 14px 18px 10px; }
  .track { padding: 5px 8px; }
  .tracklist { max-height: 118px; }
  .topbar { padding-top: 14px; }
}

@media (max-height: 640px) and (min-width: 901px) {
  .title { font-size: 92px; }
  .tagline { font-size: 18px; }
  .disc-wrap { display: none; }
  .stage { grid-template-columns: 1.05fr 0.95fr; }
  .tracklist { max-height: 104px; }
}
