:root {
  color-scheme: dark;
  --bg: #03050c;
  --panel: rgba(9, 13, 27, .86);
  --panel-2: rgba(14, 20, 39, .78);
  --text: #f5f7ff;
  --muted: #aab2c9;
  --pink: #ff2fa8;
  --cyan: #23d9ff;
  --green: #43f0a1;
  --border: rgba(255,255,255,.10);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 25% 5%, rgba(255,47,168,.14), transparent 32%),
    radial-gradient(circle at 80% 20%, rgba(35,217,255,.12), transparent 34%),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
}
a { color: inherit; }
button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }

.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}
.ambient-glow { position: absolute; width: 42rem; height: 42rem; filter: blur(110px); opacity: .16; border-radius: 50%; }
.ambient-glow-pink { background: var(--pink); left: -18rem; top: 18%; }
.ambient-glow-cyan { background: var(--cyan); right: -20rem; top: -12rem; }

.page-shell { width: min(1440px, 100%); min-height: 100vh; margin: auto; padding: 24px clamp(18px, 4vw, 64px); display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.brand img { width: 58px; height: 58px; object-fit: cover; border-radius: 50%; border: 2px solid rgba(255,255,255,.16); box-shadow: 0 0 26px rgba(255,47,168,.28); }
.brand span { display: grid; line-height: 1.08; }
.brand b { font-family: "Barlow Condensed", sans-serif; font-size: 1.45rem; text-transform: uppercase; letter-spacing: .05em; }
.brand small { color: var(--cyan); text-transform: uppercase; letter-spacing: .22em; font-size: .66rem; font-weight: 800; margin-top: 5px; }

.live-status { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--border); border-radius: 999px; background: rgba(8,12,24,.78); padding: 10px 14px; font-size: .72rem; letter-spacing: .16em; font-weight: 800; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #70778b; box-shadow: 0 0 14px currentColor; }
.live-status.is-live .status-dot { background: var(--pink); animation: pulse 1.25s infinite; }
.live-status.is-ready .status-dot { background: var(--cyan); }
.live-status.is-connecting .status-dot { background: #ffd04a; animation: pulse 1s infinite; }
.live-status.is-offline .status-dot { background: #ff6d78; }

.stage { flex: 1; display: grid; grid-template-columns: minmax(280px, .78fr) minmax(520px, 1.42fr); align-items: center; gap: clamp(30px, 5vw, 90px); padding: clamp(34px, 6vh, 84px) 0 40px; }
.portrait-panel { position: relative; align-self: stretch; min-height: 620px; display: flex; align-items: flex-start; justify-content: center; overflow: hidden; padding-top: 0; }
.portrait-panel::before { content: ""; position: absolute; inset: 15% 5% 8%; background: radial-gradient(circle, rgba(255,47,168,.2), transparent 68%); filter: blur(25px); }
.portrait-panel img { position: relative; z-index: 1; width: 112%; max-width: none; max-height: 760px; object-fit: contain; object-position: top center; transform: translateY(-54px); filter: drop-shadow(0 28px 42px rgba(0,0,0,.55)); }
.portrait-fade { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 18%; background: linear-gradient(transparent, var(--bg)); }

.content-panel { position: relative; z-index: 3; }
.eyebrow { margin: 0 0 12px; color: var(--cyan); font-size: .82rem; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; }
h1 { margin: 0; max-width: 900px; font-family: "Barlow Condensed", sans-serif; font-size: clamp(3.2rem, 7vw, 7.4rem); line-height: .96; text-transform: uppercase; font-style: italic; letter-spacing: -.035em; text-shadow: 0 0 38px rgba(255,47,168,.18); }
.lead { margin: 22px 0 30px; max-width: 760px; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.65; }

.audio-card { border: 1px solid var(--border); background: linear-gradient(145deg, rgba(16,22,43,.91), rgba(5,8,18,.91)); border-radius: 28px; padding: clamp(20px, 3vw, 34px); box-shadow: 0 30px 80px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.05); backdrop-filter: blur(18px); }
.audio-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.audio-card-head > div:first-child { display: grid; gap: 4px; }
.now-label { color: var(--pink); text-transform: uppercase; font-size: .7rem; font-weight: 800; letter-spacing: .2em; }
.audio-card-head strong { font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; font-size: clamp(1.65rem, 3vw, 2.45rem); }
.audio-card-head small { color: var(--muted); }
.signal-bars { display: flex; align-items: flex-end; gap: 4px; height: 28px; }
.signal-bars i { width: 4px; height: 30%; border-radius: 3px; background: linear-gradient(var(--pink), var(--cyan)); animation: bars 1s ease-in-out infinite alternate; }
.signal-bars i:nth-child(2) { animation-delay: -.2s; height: 55%; }
.signal-bars i:nth-child(3) { animation-delay: -.45s; height: 90%; }
.signal-bars i:nth-child(4) { animation-delay: -.1s; height: 65%; }
.signal-bars i:nth-child(5) { animation-delay: -.35s; height: 42%; }

.visualizer { height: 122px; display: flex; align-items: center; justify-content: center; gap: clamp(3px, .55vw, 8px); margin: 24px 0; overflow: hidden; border-block: 1px solid rgba(255,255,255,.06); }
.visualizer i { flex: 1; max-width: 10px; min-width: 3px; height: 8%; border-radius: 999px; background: linear-gradient(to top, var(--pink), var(--cyan)); opacity: .35; transform-origin: center; }
.visualizer.is-active i { animation: wave .8s ease-in-out infinite alternate; opacity: .9; }
.visualizer.is-active i:nth-child(3n) { animation-duration: .55s; }
.visualizer.is-active i:nth-child(4n) { animation-duration: 1.1s; }
.visualizer.is-active i:nth-child(5n) { animation-delay: -.35s; }

.controls { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; }
.play-button { width: 76px; height: 76px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: linear-gradient(145deg, var(--pink), #bd1478); color: white; font-size: 1.6rem; padding-left: 5px; box-shadow: 0 0 34px rgba(255,47,168,.34); cursor: pointer; }
.play-button:hover { transform: translateY(-2px) scale(1.02); }
.play-button:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.control-main { display: grid; gap: 6px; min-width: 0; }
.control-main strong { font-size: 1.05rem; }
.control-main span { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.volume-control { display: flex; align-items: center; gap: 9px; color: var(--muted); }
.volume-control input { width: 120px; accent-color: var(--cyan); }

.player-actions { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.neon-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid currentColor; background: transparent; text-decoration: none; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 800; cursor: pointer; }
.neon-button.cyan { color: var(--cyan); box-shadow: inset 0 0 18px rgba(35,217,255,.07); }
.neon-button.pink { color: var(--pink); box-shadow: inset 0 0 18px rgba(255,47,168,.07); }
.neon-button:disabled { opacity: .35; cursor: not-allowed; }

.info-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.info-row > div { padding: 16px; border: 1px solid rgba(255,255,255,.07); border-radius: 17px; background: rgba(10,14,28,.54); display: grid; gap: 6px; }
.info-row b { font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; font-size: 1.12rem; color: var(--cyan); }
.info-row span { color: var(--muted); font-size: .82rem; line-height: 1.45; }
.footerbar { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 10px; color: #727b95; font-size: .78rem; }
.footerbar a { text-decoration: none; color: #b6bfd6; }

@keyframes pulse { 50% { opacity: .38; transform: scale(.78); } }
@keyframes bars { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
@keyframes wave { from { height: 10%; } to { height: 88%; } }

@media (max-width: 980px) {
  .stage { grid-template-columns: 1fr; padding-top: 38px; }
  .portrait-panel { position: absolute; inset: 64px -80px auto auto; width: 58%; height: 560px; min-height: 0; opacity: .20; pointer-events: none; }
  .portrait-panel img { width: 108%; transform: translateY(-28px); }
  .content-panel { max-width: 800px; }
}
@media (max-width: 660px) {
  .page-shell { padding: 16px; }
  .brand img { width: 48px; height: 48px; }
  .brand b { font-size: 1.18rem; }
  .live-status { padding: 8px 10px; font-size: .58rem; }
  .stage { padding-top: 42px; }
  h1 { font-size: clamp(3.2rem, 18vw, 5.8rem); }
  .audio-card { border-radius: 22px; }
  .visualizer { height: 90px; }
  .controls { grid-template-columns: auto 1fr; }
  .volume-control { grid-column: 1 / -1; justify-content: flex-end; }
  .volume-control input { width: min(240px, 65vw); }
  .info-row { grid-template-columns: 1fr; }
  .player-actions { justify-content: stretch; }
  .player-actions > * { flex: 1; }
}
