/* ============================================
   ANNA B — Boombox Nav Hub
   ============================================ */

/* --- Custom Properties --- */
:root {
  --bg: #0a0a0f;
  --surface: #141418;
  --surface-hover: #1c1c22;
  --border: #2a2a35;
  --border-hover: #3a3a48;

  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b0;
  --text-muted: #606070;

  --accent-pink: #ff3c6f;
  --accent-blue: #4dc9f6;
  --accent-glow-pink: rgba(255, 60, 111, 0.4);
  --accent-glow-blue: rgba(77, 201, 246, 0.3);

  --font-primary: 'DM Sans', 'Inter', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --transition-fast: 150ms ease;
  --transition-normal: 200ms ease-out;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

*,
* {
  scrollbar-width: none;
}

body {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--bg);
  overflow-x: hidden;
  min-height: 100vh;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

/* --- Preloader --- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 300ms ease, visibility 300ms ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-ring {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--accent-pink);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* --- Film Grain --- */
.film-grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 9990;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  animation: grain 300ms steps(3) infinite;
}

/* --- Cursor Glow --- */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow-pink) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.12;
  transform: translate(-50%, -50%);
  will-change: transform;
  transition: opacity var(--transition-fast);
}

.cursor-glow.hidden {
  opacity: 0;
}

/* --- Neon Hamburger --- */
.neon-burger {
  position: fixed;
  left: 24px;
  top: 28px;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px 10px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Fixed top shield on mobile so content doesn't bleed behind the burger */
.nav-shield {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 1000;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0.9) 60%, rgba(10, 10, 15, 0) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
}

@media (max-width: 768px) {
  .nav-shield {
    display: block;
  }
}

/* Connect page: let the tron neon fade naturally — no shield */
body.connect-page .nav-shield {
  display: none;
}

/* The unified deck has no sticky top bar to shield — the blurred strip just
   fogs the top of every panel (and covered the hero's Atlanta–Louisville line).
   Drop it whenever the deck owns the page. */
html.deck-locked .nav-shield {
  display: none;
}

.neon-bar {
  display: block;
  width: 32px;
  height: 3px;
  border-radius: 2px;
  transition: transform 250ms ease, opacity 250ms ease;
}

.neon-bar--pink {
  background: var(--accent-pink);
  box-shadow: 0 0 6px var(--accent-pink), 0 0 14px var(--accent-pink), 0 0 28px rgba(255, 60, 111, 0.3);
  opacity: 0.5;
  animation: neon-flicker-pink 4s ease-in-out infinite;
}

.neon-bar--blue {
  background: var(--accent-blue);
  box-shadow: 0 0 6px var(--accent-blue), 0 0 14px var(--accent-blue), 0 0 28px rgba(77, 201, 246, 0.3);
  opacity: 0.5;
  animation: neon-flicker-blue 3.5s ease-in-out infinite 0.8s;
}

.neon-bar--green {
  background: #00e676;
  box-shadow: 0 0 6px #00e676, 0 0 14px #00e676, 0 0 28px rgba(0, 230, 118, 0.3);
  opacity: 0.5;
  animation: neon-flicker-green 5s ease-in-out infinite 1.5s;
}

.neon-burger:hover .neon-bar {
  opacity: 1 !important;
}

.neon-burger:hover .neon-bar--pink {
  box-shadow: 0 0 8px var(--accent-pink), 0 0 20px var(--accent-pink), 0 0 40px rgba(255, 60, 111, 0.5);
}

.neon-burger:hover .neon-bar--blue {
  box-shadow: 0 0 8px var(--accent-blue), 0 0 20px var(--accent-blue), 0 0 40px rgba(77, 201, 246, 0.5);
}

.neon-burger:hover .neon-bar--green {
  box-shadow: 0 0 8px #00e676, 0 0 20px #00e676, 0 0 40px rgba(0, 230, 118, 0.5);
}

/* X state when nav open */
.neon-burger.open .neon-bar--pink {
  transform: translateY(10px) rotate(45deg);
  opacity: 1;
}

.neon-burger.open .neon-bar--blue {
  opacity: 0;
  transform: scaleX(0);
}

.neon-burger.open .neon-bar--green {
  transform: translateY(-10px) rotate(-45deg);
  opacity: 1;
}

/* Mobile: hide the X while nav is open — backdrop tap or swipe closes */
@media (max-width: 768px) {
  .neon-burger.open {
    opacity: 0;
    pointer-events: none;
  }
}

/* --- Neon Nav Panel --- */
.neon-nav {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 220px;
  z-index: 999;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-6) var(--space-8);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  transform: translateX(-100%);
  transition: transform 300ms ease;
}

.neon-nav.open {
  transform: translateX(0);
}

.neon-nav-link {
  font-family: 'VT323', monospace;
  font-size: 24px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: var(--space-3) 0;
  transition: color 200ms ease, text-shadow 200ms ease;
  cursor: pointer;
}

.neon-nav-link:nth-child(1),
.neon-nav-link:nth-child(4),
.neon-nav-link:nth-child(7) {
  color: var(--accent-pink);
  text-shadow: 0 0 6px var(--accent-pink), 0 0 16px rgba(255, 60, 111, 0.6), 0 0 32px rgba(255, 60, 111, 0.35);
}

.neon-nav-link:nth-child(2),
.neon-nav-link:nth-child(5) {
  color: var(--accent-blue);
  text-shadow: 0 0 6px var(--accent-blue), 0 0 16px rgba(77, 201, 246, 0.6), 0 0 32px rgba(77, 201, 246, 0.35);
}

.neon-nav-link:nth-child(3),
.neon-nav-link:nth-child(6) {
  color: #00e676;
  text-shadow: 0 0 6px #00e676, 0 0 16px rgba(0, 230, 118, 0.6), 0 0 32px rgba(0, 230, 118, 0.35);
}

.neon-nav-link:nth-child(1):hover {
  color: var(--accent-pink);
  text-shadow: 0 0 8px var(--accent-pink), 0 0 20px rgba(255, 60, 111, 0.4);
}

.neon-nav-link:nth-child(2):hover {
  color: var(--accent-blue);
  text-shadow: 0 0 8px var(--accent-blue), 0 0 20px rgba(77, 201, 246, 0.4);
}

.neon-nav-link:nth-child(3):hover {
  color: #00e676;
  text-shadow: 0 0 8px #00e676, 0 0 20px rgba(0, 230, 118, 0.4);
}

.neon-nav-link:nth-child(4):hover {
  color: var(--accent-pink);
  text-shadow: 0 0 8px var(--accent-pink), 0 0 20px rgba(255, 60, 111, 0.4);
}

.neon-nav-link:nth-child(5):hover {
  color: var(--accent-blue);
  text-shadow: 0 0 8px var(--accent-blue), 0 0 20px rgba(77, 201, 246, 0.4);
}

.neon-nav-link:nth-child(6):hover {
  color: #00e676;
  text-shadow: 0 0 8px #00e676, 0 0 20px rgba(0, 230, 118, 0.4);
}

.neon-nav-link:nth-child(7):hover {
  color: var(--accent-pink);
  text-shadow: 0 0 8px var(--accent-pink), 0 0 20px rgba(255, 60, 111, 0.4);
}

/* --- Navbar (scroll-triggered, keeping as fallback) --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transform: translateY(-100%);
  transition: transform 300ms ease;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar.nav--visible {
  transform: translateY(0);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  text-shadow: 0 0 10px var(--accent-glow-pink);
}

.nav-logo-b {
  color: var(--text-primary);
  text-shadow: 0 0 10px var(--accent-glow-blue);
}

.nav-links {
  display: flex;
  gap: var(--space-6);
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  cursor: pointer;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Main --- */
.main {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* --- Hero --- */
.hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-12) var(--space-6) env(safe-area-inset-bottom, 0px);
}

.hero-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero-location {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}

/* --- Neon Title --- */
.hero-title {
  font-family: var(--font-primary);
  font-size: 90px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  user-select: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
}

/* Geometric wireframe ANNA SVG */
.neon-anna {
  width: 480px;
  height: auto;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0;
  transition: opacity 0.1s;
  flex-shrink: 0;
}

.neon-blue {
  font-size: 90px;
}

.neon-anna.flicker-done {
  opacity: 1;
  filter:
    drop-shadow(0 0 6px rgba(255, 255, 255, 0.7))
    drop-shadow(0 0 18px #ff3c6f)
    drop-shadow(0 0 50px #ff3c6f)
    drop-shadow(0 0 100px rgba(255, 60, 111, 0.5))
    drop-shadow(0 0 160px rgba(255, 60, 111, 0.2));
  animation: neon-glow-pink 2.5s ease-in-out infinite alternate, neon-flicker-anna 8s ease-in-out infinite;
}

.neon-blue {
  display: inline-block;
  color: #fff;
  opacity: 0;
  line-height: 0.85;
}

.neon-blue.flicker-done {
  opacity: 1;
  text-shadow:
    0 0 7px #fff,
    0 0 10px #fff,
    0 0 21px #fff,
    0 0 42px var(--accent-blue),
    0 0 82px var(--accent-blue),
    0 0 92px var(--accent-blue),
    0 0 102px var(--accent-blue),
    0 0 151px var(--accent-blue);
  animation: neon-pulse-blue 3s ease-in-out infinite alternate;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.hero-reflection {
  position: absolute;
  left: 50%;
  top: 120px;
  transform: translateX(-50%);
  width: 400px;
  height: 80px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 60, 111, 0.15) 0%,
    rgba(77, 201, 246, 0.08) 40%,
    transparent 70%
  );
  filter: blur(30px);
  pointer-events: none;
}

/* --- Boombox Wrapper --- */
.boombox-wrapper {
  position: relative;
  width: 801px;
  margin: 0 auto;
  display: inline-block;
  transition: filter 300ms ease;
}

.boombox-wrapper.playing {
  filter: drop-shadow(0 0 30px rgba(255, 60, 111, 0.2));
}

.boombox-wrapper svg#boombox-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* --- Speaker Glow Overlays --- */
.speaker-glow {
  position: absolute;
  width: 26%;
  height: 0;
  padding-bottom: 26%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-pink) 0%, rgba(255, 60, 111, 0.3) 40%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
  transform: translate(-50%, -50%);
}

.speaker-glow--left {
  left: 20.5%;
  top: 70.1%;
}

.speaker-glow--right {
  left: 80.5%;
  top: 70.1%;
}

.boombox-wrapper.playing .speaker-glow {
  opacity: 0.5;
  animation: speaker-pulse 2s ease-in-out infinite;
}

/* --- LED Player Display (in tuner bar) --- */
.led-player {
  position: absolute;
  left: 6.6%;
  top: 17.2%;
  width: 87.8%;
  height: 14.5%;
  display: flex;
  align-items: center;
  gap: 2%;
  padding: 0 3%;
  z-index: 15;
}

.led-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00e676;
  opacity: 0.6;
  border-radius: 4px;
  transition: opacity 150ms, text-shadow 150ms;
  flex-shrink: 0;
  filter: drop-shadow(0 0 3px rgba(0, 230, 118, 0.3));
}

.led-btn:hover {
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(0, 230, 118, 0.5));
}

.led-btn:active {
  transform: scale(0.95);
}

.led-btn--play {
  opacity: 0.85;
  width: 32px;
  height: 32px;
}

.led-info {
  flex: 1;
  min-width: 0;      /* let it shrink + clip instead of stretching the pill */
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 2%;
}

.led-artist {
  font-family: 'VT323', monospace;
  font-size: 20px;
  color: #00e676;
  text-shadow: 0 0 6px rgba(0, 230, 118, 0.6), 0 0 14px rgba(0, 230, 118, 0.25);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.6;
}

.led-divider {
  font-family: 'VT323', monospace;
  font-size: 20px;
  color: #00e676;
  opacity: 0.3;
}

.led-track {
  font-family: 'VT323', monospace;
  font-size: 20px;
  color: #00e676;
  text-shadow: 0 0 6px rgba(0, 230, 118, 0.6), 0 0 14px rgba(0, 230, 118, 0.25);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Marquee inner text — only animates when JS finds the title overflows. */
.led-track-inner {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
}
.led-track--marquee .led-track-inner {
  animation: led-track-marquee 7s ease-in-out infinite alternate;
}
@keyframes led-track-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * var(--marquee-shift, 0px))); }
}

.led-player.playing .led-btn {
  opacity: 0.8;
}

.led-player.playing .led-btn:hover {
  opacity: 1;
}

.led-player.playing .led-track {
  animation: led-blink 2s step-end infinite;
}

/* --- Boombox Animations (active when playing) --- */

/* Tape reel groups spin — both clockwise (to the right) */
.tape-group--left,
.tape-group--right {
  transform-box: fill-box;
  transform-origin: center;
}

.boombox-wrapper.playing .tape-group--left {
  animation: tape-spin 3s linear infinite;
}

.boombox-wrapper.playing .tape-group--right {
  animation: tape-spin 2.4s linear infinite;
}

/* Speaker cones pulse subtly */
.speaker-mid--left,
.speaker-mid--right {
  transform-box: fill-box;
  transform-origin: center;
}

.boombox-wrapper.playing .speaker-mid--left {
  animation: speaker-cone-pulse 0.8s ease-in-out infinite;
}

.boombox-wrapper.playing .speaker-mid--right {
  animation: speaker-cone-pulse 0.8s ease-in-out infinite 0.1s;
}

/* EQ bars flash */
.boombox-wrapper.playing .eq-bars rect {
  animation: eq-flash 0.6s ease-in-out infinite alternate;
}

.boombox-wrapper.playing .eq-bars rect:nth-child(odd) {
  animation-delay: 0.15s;
}

.boombox-wrapper.playing .eq-bars rect:nth-child(3n) {
  animation-delay: 0.3s;
}

/* Volume knob wobble */
.volume-knob {
  transform-box: fill-box;
  transform-origin: center;
}

.boombox-wrapper.playing .volume-knob {
  animation: knob-wobble 1.2s ease-in-out infinite;
}

/* --- Click Zones --- */
.click-zone {
  position: absolute;
  cursor: pointer;
  z-index: 10;
  border: 1px solid transparent;
  transition: border-color 250ms ease, background 250ms ease, box-shadow 250ms ease;
}

.click-zone:focus-visible {
  outline: 2px solid var(--accent-pink);
  outline-offset: 2px;
}

/* Zone labels — always visible, prominent pills */
.zone-label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 9999px;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 250ms ease, text-shadow 250ms ease, transform 250ms ease, box-shadow 250ms ease;
  z-index: 30;
}

/* --- Zone: Display bar (TRACKS) --- */
.zone-display {
  left: 6.6%;
  top: 17.2%;
  width: 87.8%;
  height: 14.5%;
  border-radius: var(--radius-sm);
  border-color: transparent;
}

.zone-display:hover {
  background: rgba(0, 230, 118, 0.04);
}

.zone-display.zone-active {
  background: rgba(0, 230, 118, 0.06);
}

/* --- Zone: Tape deck (ABOUT) — pink accent --- */
.zone-tape {
  left: 36.4%;
  top: 41.3%;
  width: 28.3%;
  height: 47.7%;
  border-radius: var(--radius-sm);
  border-color: rgba(255, 60, 111, 0.08);
  animation: zone-breathe-pink 3s 1s ease-in-out infinite;
}

.zone-tape .zone-label {
  top: calc(100% + 10px);
  color: rgb(255, 60, 111);
  background: rgba(255, 60, 111, 0.1);
  border: 1px solid rgba(255, 60, 111, 0.25);
  opacity: 0.85;
}

.zone-tape:hover {
  background: rgba(255, 60, 111, 0.06);
  border-color: rgba(255, 60, 111, 0.25);
  box-shadow: inset 0 0 20px rgba(255, 60, 111, 0.08), 0 0 15px rgba(255, 60, 111, 0.1);
}

.zone-tape:hover .zone-label {
  opacity: 1;
  text-shadow: 0 0 8px rgba(255, 60, 111, 0.5);
  box-shadow: 0 0 16px rgba(255, 60, 111, 0.2);
  transform: translateX(-50%) translateY(2px);
}

.zone-tape.zone-active {
  background: rgba(255, 60, 111, 0.08);
  border-color: rgba(255, 60, 111, 0.3);
  box-shadow: inset 0 0 25px rgba(255, 60, 111, 0.1), 0 0 20px rgba(255, 60, 111, 0.12);
  animation: none;
}

.zone-tape.zone-active .zone-label {
  opacity: 1;
  color: rgb(255, 60, 111);
  text-shadow: 0 0 10px rgba(255, 60, 111, 0.6);
}

/* --- Zone: Speakers (CONNECT) — blue accent --- */
.zone-speaker-left {
  left: 4.4%;
  top: 51.3%;
  width: 32%;
  height: 41%;
  border-radius: 50%;
  border-color: rgba(77, 201, 246, 0.08);
  animation: zone-breathe-blue 3s 2s ease-in-out infinite;
}

.zone-speaker-right {
  left: 63.5%;
  top: 51.3%;
  width: 32%;
  height: 41%;
  border-radius: 50%;
  border-color: rgba(77, 201, 246, 0.08);
  animation: zone-breathe-blue 3s 2s ease-in-out infinite;
}

.zone-speaker-left .zone-label {
  top: calc(100% + 10px);
  color: rgb(77, 201, 246);
  background: rgba(77, 201, 246, 0.1);
  border: 1px solid rgba(77, 201, 246, 0.25);
  opacity: 0.85;
}

.zone-speaker-right .zone-label {
  top: calc(100% + 10px);
  color: rgb(77, 201, 246);
  background: rgba(77, 201, 246, 0.1);
  border: 1px solid rgba(77, 201, 246, 0.25);
  opacity: 0.85;
}

.zone-speaker-left:hover,
.zone-speaker-right:hover {
  background: radial-gradient(circle, rgba(77, 201, 246, 0.08) 0%, transparent 70%);
  border-color: rgba(77, 201, 246, 0.25);
  box-shadow: inset 0 0 30px rgba(77, 201, 246, 0.08), 0 0 15px rgba(77, 201, 246, 0.1);
}

.zone-speaker-left:hover .zone-label,
.zone-speaker-right:hover .zone-label {
  opacity: 1;
  text-shadow: 0 0 8px rgba(77, 201, 246, 0.5);
  box-shadow: 0 0 16px rgba(77, 201, 246, 0.2);
  transform: translateX(-50%) translateY(2px);
}

.zone-speaker-left.zone-active,
.zone-speaker-right.zone-active {
  background: radial-gradient(circle, rgba(77, 201, 246, 0.1) 0%, transparent 70%);
  border-color: rgba(77, 201, 246, 0.3);
  box-shadow: inset 0 0 30px rgba(77, 201, 246, 0.1), 0 0 20px rgba(77, 201, 246, 0.12);
  animation: none;
}

.zone-speaker-left.zone-active .zone-label,
.zone-speaker-right.zone-active .zone-label {
  opacity: 1;
  color: rgb(77, 201, 246);
  text-shadow: 0 0 10px rgba(77, 201, 246, 0.6);
}

/* Speaker chevrons — prev/next transport indicators, visible while playing.
   Anchored to the exact speaker-circle centers (matching .speaker-glow). */
.speaker-chevron {
  position: absolute;
  top: 70.1%;
  width: 9%;
  height: 9%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.95);
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease, transform 250ms ease;
  filter: drop-shadow(0 0 6px rgba(255, 60, 111, 0.85));
  z-index: 12;
}

.speaker-chevron--left  { left: 20.5%; }
.speaker-chevron--right { left: 80.5%; }

.boombox-wrapper.playing .speaker-chevron {
  opacity: 0.9;
}

/* --- Boombox click-to-play hint --- */
.boombox-hint {
  margin: 4px auto 0;
  font-family: 'VT323', monospace;
  font-size: 20px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  text-shadow:
    0 0 6px #fff,
    0 0 14px var(--accent-pink),
    0 0 28px var(--accent-pink);
  animation: boombox-hint-pulse 2.2s ease-in-out infinite alternate;
  transition: opacity 300ms ease;
  pointer-events: none;
}

.boombox-wrapper.playing ~ .boombox-hint {
  opacity: 0;
}

@keyframes boombox-hint-pulse {
  from { opacity: 0.7; }
  to   { opacity: 1; }
}

/* --- Transport Controls --- */
.transport-controls {
  position: absolute;
  bottom: 3%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  z-index: 20;
}

.transport-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.transport-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.transport-btn:active {
  transform: scale(0.97);
}

.transport-btn--play {
  width: 48px;
  height: 48px;
  background: rgba(255, 60, 111, 0.15);
  border: 1px solid rgba(255, 60, 111, 0.3);
}

.transport-btn--play:hover {
  background: rgba(255, 60, 111, 0.25);
}

/* --- Now Playing --- */
.now-playing {
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

.now-playing-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.now-playing-track {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-pink);
}

/* --- Panels --- */
.panel {
  position: fixed;
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.95);
  transition: opacity 250ms ease-out, transform 250ms ease-out, visibility 250ms ease-out;
  pointer-events: none;
}

.panel.panel--open {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
}

.panel-inner {
  background: rgba(18, 18, 24, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  max-height: 70vh;
  overflow-y: auto;
}

/* Panel positions - centered below boombox area */
.panel--tracks {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -40%) scale(0.95);
  width: min(520px, calc(100vw - 32px));
}

.panel--tracks.panel--open {
  transform: translate(-50%, -40%) scale(1);
}

.panel--about {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -40%) scale(0.95);
  width: min(520px, calc(100vw - 32px));
}

.panel--about.panel--open {
  transform: translate(-50%, -40%) scale(1);
}

.panel--connect {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -40%) scale(0.95);
  width: min(560px, calc(100vw - 32px));
}

.panel--connect .panel-inner {
  background:
    linear-gradient(180deg, rgba(10, 10, 15, 0.65) 0%, rgba(10, 5, 20, 0.78) 55%, rgba(10, 10, 15, 0.92) 100%),
    url('../img/tron.png') center/cover no-repeat;
  border: none;
  box-shadow: none;
}

/* Hide the "03 Connect" title inside the Connect panel and collapse its space */
.panel--connect .panel-header {
  margin-bottom: 0;
  min-height: 32px;
}
.panel--connect .panel-header-left {
  display: none;
}
.panel--connect .panel-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
}
.panel--connect .panel-inner {
  padding-top: var(--space-3);
}

/* --- Connect phones carousel: swipe through phone mockups per service --- */
.connect-carousel {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 140px var(--space-6) 120px;
  margin: 0 calc(-1 * var(--space-6));
}
.connect-carousel::-webkit-scrollbar {
  display: none;
}

.connect-phone {
  flex: 0 0 auto;
  width: 64%;
  max-width: 280px;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  transition: transform 250ms ease, opacity 250ms ease;
  transform: scale(0.9);
  opacity: 0.5;
}

.connect-phone.in-view {
  transform: scale(1);
  opacity: 1;
}

/* Big neon-lit phone — screenshot styled like a glowing phone (no SVG frame) */
.connect-phone-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19;
  border-radius: 36px;
  padding: 8px;
  background: linear-gradient(180deg, rgba(255, 60, 111, 0.25) 0%, rgba(77, 201, 246, 0.18) 50%, rgba(255, 60, 111, 0.25) 100%);
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.4),
    0 0 0 3px var(--accent-pink),
    0 0 14px var(--accent-pink),
    0 0 36px var(--accent-pink),
    0 0 80px rgba(255, 60, 111, 0.5),
    0 0 140px rgba(77, 201, 246, 0.35),
    inset 0 0 18px rgba(255, 60, 111, 0.5),
    inset 0 0 48px rgba(255, 255, 255, 0.08);
  animation: connect-phone-glow 3s ease-in-out infinite alternate;
}

/* Hide the decorative phone SVG — we're going frameless with pure neon */
.connect-phone-body {
  display: none;
}

.connect-phone-screen {
  position: absolute;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  object-fit: cover;
  border: none;
  border-radius: 28px;
  background: #000;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.25),
    inset 0 0 20px rgba(0, 0, 0, 0.6);
}

iframe.connect-phone-screen {
  object-fit: fill;
}

/* Live phones use a div wrapper (not <a>) so iframes can receive interaction.
   A transparent link overlay sits on top — tap-and-hold on non-iframe area opens the service. */
.connect-phone--live {
  position: relative;
}

.connect-phone-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 28px;
  z-index: 2;
}

@keyframes connect-phone-glow {
  from {
    box-shadow:
      0 0 0 1.5px rgba(255, 255, 255, 0.4),
      0 0 0 3px var(--accent-pink),
      0 0 14px var(--accent-pink),
      0 0 36px var(--accent-pink),
      0 0 80px rgba(255, 60, 111, 0.5),
      0 0 140px rgba(77, 201, 246, 0.35),
      inset 0 0 18px rgba(255, 60, 111, 0.5),
      inset 0 0 48px rgba(255, 255, 255, 0.08);
  }
  to {
    box-shadow:
      0 0 0 1.5px rgba(255, 255, 255, 0.3),
      0 0 0 2px var(--accent-pink),
      0 0 10px var(--accent-pink),
      0 0 24px var(--accent-pink),
      0 0 56px rgba(255, 60, 111, 0.35),
      0 0 100px rgba(77, 201, 246, 0.2),
      inset 0 0 12px rgba(255, 60, 111, 0.35),
      inset 0 0 32px rgba(255, 255, 255, 0.05);
  }
}

.connect-phone-name {
  font-family: 'VT323', monospace;
  font-size: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    0 0 4px #fff,
    0 0 10px var(--accent-pink),
    0 0 22px var(--accent-pink);
}

.connect-phone-handle {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.panel--connect.panel--open {
  transform: translate(-50%, -40%) scale(1);
}

/* Connect CTA group: Get Notified + Book Anna on-theme, neon-accented */
.connect-cta-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 60, 111, 0.2);
}

.connect-cta-group .notify-card,
.connect-cta-group .booking-card {
  background: rgba(10, 10, 15, 0.55);
  border: 1px solid rgba(255, 60, 111, 0.2);
  border-radius: 14px;
  padding: var(--space-4) var(--space-5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.connect-cta-group .notify-title,
.connect-cta-group .booking-title {
  font-family: 'VT323', monospace;
  font-size: 22px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  text-shadow:
    0 0 6px #fff,
    0 0 12px var(--accent-pink),
    0 0 24px var(--accent-pink);
  margin-bottom: var(--space-2);
}

.connect-cta-group .notify-text,
.connect-cta-group .booking-text {
  font-size: 13px;
  color: var(--text-secondary, #a0a0b0);
  text-align: center;
  margin-bottom: var(--space-3);
}

.connect-cta-group .notify-form {
  display: flex;
  gap: var(--space-2);
  flex-wrap: nowrap;
  align-items: stretch;
}

.connect-cta-group .notify-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
}

.connect-cta-group .notify-input::placeholder {
  color: var(--text-muted);
}

.connect-cta-group .notify-input:focus {
  outline: none;
  border-color: var(--accent-pink);
  box-shadow: 0 0 0 2px rgba(255, 60, 111, 0.2);
}

.connect-cta-group .notify-btn {
  flex: 0 0 auto;
  height: 44px;
  padding: 0 18px;
  background: var(--accent-pink);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 0 16px rgba(255, 60, 111, 0.5);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.connect-cta-group .notify-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(255, 60, 111, 0.75);
}

.connect-cta-group .booking-links {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
}

.connect-cta-group .booking-btn {
  flex: 1 1 0;
  padding: 10px 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.connect-cta-group .booking-btn:hover {
  border-color: var(--accent-pink);
  color: var(--accent-pink);
  background: rgba(255, 60, 111, 0.08);
}

/* Panel Header */
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.panel-header-left {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
}

.panel-number {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: var(--text-primary);
  opacity: 0.06;
}

.panel-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
}

.panel-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.panel-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.panel-close:active {
  transform: scale(0.97);
}

/* Panel backdrop */
.panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 499;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease, visibility 250ms ease;
  cursor: pointer;
}

.panel-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* --- Tracklist --- */
.tracklist {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.track-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.track-row:hover {
  transform: translateX(4px);
  background: rgba(255, 60, 111, 0.06);
}

.track-row.active {
  background: rgba(255, 60, 111, 0.08);
}

.track-row.active .track-name {
  color: var(--accent-pink);
}

.track-row.active .track-number {
  color: var(--accent-pink);
}

.track-row.active .track-name::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent-pink);
  border-radius: 50%;
  margin-right: var(--space-2);
  animation: dot-pulse 1.5s ease-in-out infinite;
  vertical-align: middle;
}

.track-number {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.track-info {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
}

.track-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-genre {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.track-duration {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* --- About Content --- */
.about-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.about-bio p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

.about-bio p:last-child {
  margin-bottom: 0;
}

.about-stats {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.stat-row:last-child {
  border-bottom: none;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.stat-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

/* --- Connect Grid --- */
.connect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.connect-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-6) var(--space-4);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
  text-align: center;
}

.connect-card:hover {
  border-color: var(--accent-pink);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(255, 60, 111, 0.15);
}

.connect-card:active {
  transform: translateY(-2px) scale(0.97);
}

.connect-card-icon {
  color: var(--accent-pink);
}

.connect-card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.connect-card-handle {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

/* --- Footer --- */
.footer {
  text-align: center;
  padding: 4px var(--space-6) 8px;
  width: 100%;
  pointer-events: none;
}

.footer-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ============================================
   Keyframes
   ============================================ */

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes neon-glow-pink {
  from {
    filter:
      drop-shadow(0 0 8px rgba(255, 255, 255, 0.8))
      drop-shadow(0 0 20px var(--accent-pink))
      drop-shadow(0 0 60px var(--accent-pink))
      drop-shadow(0 0 120px rgba(255, 60, 111, 0.5))
      drop-shadow(0 0 180px rgba(255, 60, 111, 0.2));
  }
  to {
    filter:
      drop-shadow(0 0 4px rgba(255, 255, 255, 0.5))
      drop-shadow(0 0 12px var(--accent-pink))
      drop-shadow(0 0 40px rgba(255, 60, 111, 0.6))
      drop-shadow(0 0 80px rgba(255, 60, 111, 0.3))
      drop-shadow(0 0 120px rgba(255, 60, 111, 0.1));
  }
}

/* Continuous random-feeling flicker — like a real neon tube */
@keyframes neon-flicker-anna {
  0%, 100% { opacity: 1; }
  4% { opacity: 0.9; }
  6% { opacity: 1; }
  12% { opacity: 0.4; }
  13% { opacity: 0.9; }
  14% { opacity: 0.2; }
  15% { opacity: 1; }
  27% { opacity: 1; }
  28% { opacity: 0.6; }
  29% { opacity: 1; }
  45% { opacity: 1; }
  46% { opacity: 0.3; }
  47% { opacity: 0.8; }
  48% { opacity: 0.2; }
  49% { opacity: 1; }
  62% { opacity: 1; }
  63% { opacity: 0.7; }
  64% { opacity: 1; }
  78% { opacity: 1; }
  79% { opacity: 0.5; }
  80% { opacity: 0.9; }
  81% { opacity: 0.3; }
  82% { opacity: 1; }
  93% { opacity: 1; }
}

@keyframes neon-pulse-blue {
  from {
    text-shadow:
      0 0 7px #fff,
      0 0 10px #fff,
      0 0 21px #fff,
      0 0 42px var(--accent-blue),
      0 0 82px var(--accent-blue),
      0 0 92px var(--accent-blue),
      0 0 102px var(--accent-blue),
      0 0 151px var(--accent-blue);
  }
  to {
    text-shadow:
      0 0 4px #fff,
      0 0 7px #fff,
      0 0 15px #fff,
      0 0 30px var(--accent-blue),
      0 0 60px var(--accent-blue),
      0 0 70px var(--accent-blue),
      0 0 80px var(--accent-blue),
      0 0 110px var(--accent-blue);
  }
}

@keyframes speaker-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.6); }
}

@keyframes grain {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-2px, 1px); }
  66% { transform: translate(1px, -1px); }
  100% { transform: translate(0, 0); }
}

@keyframes neon-flicker-pink {
  0%, 100% { opacity: 0.5; }
  5% { opacity: 0.8; }
  8% { opacity: 0.3; }
  12% { opacity: 0.7; }
  15% { opacity: 0.2; }
  20% { opacity: 0.6; }
  50% { opacity: 0.5; }
  70% { opacity: 0.7; }
  72% { opacity: 0.15; }
  74% { opacity: 0.65; }
  90% { opacity: 0.5; }
}

@keyframes neon-flicker-blue {
  0%, 100% { opacity: 0.5; }
  10% { opacity: 0.7; }
  25% { opacity: 0.3; }
  27% { opacity: 0.75; }
  30% { opacity: 0.2; }
  33% { opacity: 0.6; }
  60% { opacity: 0.5; }
  80% { opacity: 0.8; }
  83% { opacity: 0.15; }
  86% { opacity: 0.55; }
}

@keyframes neon-flicker-green {
  0%, 100% { opacity: 0.5; }
  15% { opacity: 0.3; }
  18% { opacity: 0.8; }
  20% { opacity: 0.1; }
  23% { opacity: 0.7; }
  40% { opacity: 0.5; }
  55% { opacity: 0.65; }
  58% { opacity: 0.2; }
  61% { opacity: 0.7; }
  85% { opacity: 0.45; }
}

@keyframes led-blink {
  0%, 90% { opacity: 1; }
  95% { opacity: 0.4; }
  100% { opacity: 1; }
}

@keyframes tape-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes speaker-cone-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

@keyframes eq-flash {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

@keyframes knob-wobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(8deg); }
  75% { transform: rotate(-8deg); }
}

@keyframes zone-breathe-green {
  0%, 100% { border-color: rgba(0, 230, 118, 0.05); box-shadow: 0 0 8px rgba(0, 230, 118, 0); }
  50% { border-color: rgba(0, 230, 118, 0.15); box-shadow: 0 0 12px rgba(0, 230, 118, 0.06); }
}

@keyframes zone-breathe-pink {
  0%, 100% { border-color: rgba(255, 60, 111, 0.05); box-shadow: 0 0 8px rgba(255, 60, 111, 0); }
  50% { border-color: rgba(255, 60, 111, 0.15); box-shadow: 0 0 12px rgba(255, 60, 111, 0.06); }
}

@keyframes zone-breathe-blue {
  0%, 100% { border-color: rgba(77, 201, 246, 0.05); box-shadow: 0 0 8px rgba(77, 201, 246, 0); }
  50% { border-color: rgba(77, 201, 246, 0.15); box-shadow: 0 0 12px rgba(77, 201, 246, 0.06); }
}

/* ============================================
   Reduced Motion
   ============================================ */

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

  .film-grain,
  .cursor-glow {
    display: none;
  }

  .neon-anna.flicker-done {
    filter: drop-shadow(0 0 6px var(--accent-pink));
  }

  .neon-blue.flicker-done {
    text-shadow: 0 0 10px var(--accent-blue);
  }
}

/* ============================================
   Nav Backdrop (tap outside to close nav)
   ============================================ */

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease, visibility 250ms ease;
  -webkit-tap-highlight-color: transparent;
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   Responsive
   ============================================ */

/* --- Tablet & small desktop (≤768px) --- */
@media (max-width: 768px) {
  /* Hero */
  .hero {
    padding: var(--space-8) var(--space-4) env(safe-area-inset-bottom, 0px);
  }

  .hero-title {
    font-size: 56px;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
  }

  .neon-anna {
    width: 320px;
  }

  .neon-blue {
    font-size: 56px;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .hero-reflection {
    width: 280px;
  }

  .boombox-wrapper {
    max-width: 100%;
  }

  .boombox-handle {
    display: none;
  }

  /* Performance: disable film grain on mobile */
  .film-grain {
    display: none;
  }

  /* Hide cursor glow on touch/small screens */
  .cursor-glow {
    display: none;
  }

  /* Panels */
  .panel-inner {
    padding: var(--space-4);
  }

  .panel-number {
    font-size: 32px;
  }

  .connect-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* LED player text sizing */
  .led-artist {
    font-size: 16px;
  }

  .led-track {
    font-size: 16px;
  }

  /* Zone labels */
  .zone-label {
    font-size: 8px;
  }
}

/* --- Mobile (≤480px) --- */
@media (max-width: 480px) {
  /* Hero: tighten spacing above boombox to maximize boombox size. */
  .hero {
    padding: var(--space-6) var(--space-4) env(safe-area-inset-bottom, 0px);
  }

  .hero-title {
    font-size: 42px;
    gap: var(--space-1);
    margin-bottom: 8px;
  }

  .neon-anna {
    width: 260px;
  }

  .neon-blue {
    font-size: 38px;
  }

  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .hero-reflection {
    display: none;
  }

  /* LED player: big, easily-tappable transport controls for touch. The pill
     keeps its width; its vertical padding is trimmed so its height barely
     changes even though the buttons are much larger. */
  .led-btn {
    width: 40px;
    height: 40px;
    min-width: 0;
    min-height: 0;
    padding: 0;
  }

  .led-btn svg {
    width: 20px;
    height: 20px;
  }

  .led-btn--play {
    width: 44px;
    height: 44px;
  }

  .led-btn--play svg {
    width: 24px;
    height: 24px;
  }

  .led-player--bar {
    padding: 4px 14px;
    gap: 6px;
  }

  .led-artist {
    font-size: 13px;
  }

  .led-track {
    font-size: 15px;
  }

  .led-divider {
    display: none;
  }

  /* Click zones: stronger breathing glow on mobile for discoverability */
  .zone-tape {
    animation: zone-breathe-pink 2.5s ease-in-out infinite;
  }

  .zone-speaker-left,
  .zone-speaker-right {
    animation: zone-breathe-blue 2.5s ease-in-out infinite;
  }

  /* Panels → full-width bottom sheets on mobile */
  .panel--tracks,
  .panel--about,
  .panel--connect {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    transform: translateY(100%);
    transition: transform 250ms ease-out, opacity 250ms ease-out, visibility 250ms ease-out;
  }

  .panel--tracks.panel--open,
  .panel--about.panel--open,
  .panel--connect.panel--open {
    transform: translateY(0);
  }

  .panel-inner {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    max-height: 75vh;
    padding-top: var(--space-6);
  }

  /* Drag handle indicator at top of bottom sheet */
  .panel-inner::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: var(--border-hover);
    border-radius: 9999px;
    margin: 0 auto var(--space-4);
  }

  .connect-grid {
    grid-template-columns: 1fr;
  }

  .track-row {
    grid-template-columns: 32px 1fr auto;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-3);
  }

  /* Make track rows taller for easier tapping */
  .track-row {
    min-height: 48px;
  }

  /* Connect cards: ensure touch targets */
  .connect-card {
    padding: var(--space-4);
    min-height: 48px;
  }


  /* Now playing: tighter */
  .now-playing {
    margin-top: var(--space-4);
  }

  .now-playing-track {
    font-size: 14px;
  }
}

/* --- Small phones (≤375px) — iPhone SE, etc. --- */
@media (max-width: 375px) {
  .hero {
    padding: var(--space-4) var(--space-3);
  }

  .hero-location {
    font-size: 10px;
    margin-bottom: var(--space-2);
  }

  .hero-title {
    gap: 2px;
    margin-bottom: 6px;
  }

  .neon-anna {
    width: 220px;
  }

  .neon-blue {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 13px;
    margin-bottom: 12px;
  }

  /* Hide LED artist name to give track name more room */
  .led-artist {
    display: none;
  }

  .led-divider {
    display: none;
  }
}

/* --- Short viewports (landscape phones, very small screens) --- */
@media (max-height: 600px) and (max-width: 768px) {
  .hero {
    padding: var(--space-3) var(--space-4);
  }

  .hero-location {
    display: none;
  }

  .hero-title {
    margin-bottom: 4px;
    gap: 2px;
  }

  .hero-subtitle {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .hero-reflection {
    display: none;
  }

  .now-playing {
    margin-top: var(--space-2);
  }
}

/* ============================================
   Mini Boombox Player (sub-pages)
   ============================================ */

.mini-player {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  background: rgba(20, 20, 24, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 60, 111, 0.05);
  transform: translateY(100px);
  opacity: 0;
  transition: transform 300ms ease-out, opacity 300ms ease-out, box-shadow 300ms ease;
}

.mini-player--visible {
  transform: translateY(0);
  opacity: 1;
}

.mini-player--closing {
  transform: translateY(100px);
  opacity: 0;
}

.mini-player.playing {
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 24px rgba(255, 60, 111, 0.15),
    0 0 0 1px rgba(255, 60, 111, 0.12);
}

/* Boombox SVG thumbnail */
.mini-player-boombox {
  flex-shrink: 0;
  width: 72px;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(255, 60, 111, 0.1));
  transition: filter 300ms ease;
}

.mini-player.playing .mini-player-boombox {
  filter: drop-shadow(0 0 10px rgba(255, 60, 111, 0.3));
}

.mini-player-boombox img {
  width: 100%;
  height: auto;
  display: block;
}

/* Controls column */
.mini-player-controls {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.mini-player-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.mini-player-track {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-player-artist {
  font-family: var(--font-primary);
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Transport buttons row */
.mini-player-buttons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mini-player button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 150ms ease, opacity 150ms ease;
}

.mini-player button:hover {
  transform: scale(1.1);
}

.mini-player button:active {
  transform: scale(0.95);
}

.mini-player-prev,
.mini-player-next {
  width: 26px;
  height: 26px;
}

.mini-player-prev svg,
.mini-player-next svg {
  width: 14px;
  height: 14px;
  stroke: var(--text-secondary);
  fill: var(--text-secondary);
  stroke-width: 0;
}

.mini-player-play {
  width: 32px;
  height: 32px;
  background: rgba(255, 60, 111, 0.15) !important;
  border-radius: 50%;
}

.mini-player.playing .mini-player-play {
  background: rgba(255, 60, 111, 0.25) !important;
}

.mini-player-play svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-pink);
  stroke: none;
}

/* Close button */
.mini-player-close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 20px;
  height: 20px;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  color: var(--text-muted);
  opacity: 0.4;
}

.mini-player-close:hover {
  opacity: 1;
  color: var(--text-primary);
}

@media (max-width: 480px) {
  .mini-player {
    bottom: 16px;
    right: 16px;
    left: 16px;
    gap: 10px;
    padding: 8px 12px 8px 8px;
  }

  .mini-player-boombox {
    width: 56px;
  }

  .mini-player-controls {
    flex: 1;
    min-width: 0;
  }
}

/* ============================================
   Neon Social Bar
   ============================================ */
.neon-social-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 16px 16px 8px;
  width: 100%;
  z-index: 5;
  pointer-events: none;
}

.neon-social-icon {
  pointer-events: auto;
}

.neon-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: transform 150ms;
}

.neon-social-icon:active {
  transform: scale(0.9);
}

.neon-social-icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* --- Pink neon (Instagram, Apple Music) --- */
.neon-social--pink {
  color: var(--accent-pink);
  filter: drop-shadow(0 0 4px var(--accent-pink))
          drop-shadow(0 0 12px rgba(255, 60, 111, 0.5))
          drop-shadow(0 0 28px rgba(255, 60, 111, 0.25));
  animation: neon-blink-pink 4s ease-in-out infinite;
}

/* --- Blue neon (Facebook) --- */
.neon-social--blue {
  color: var(--accent-blue);
  filter: drop-shadow(0 0 4px var(--accent-blue))
          drop-shadow(0 0 12px rgba(77, 201, 246, 0.5))
          drop-shadow(0 0 28px rgba(77, 201, 246, 0.25));
  animation: neon-blink-blue 5s ease-in-out infinite;
}

/* --- White neon (X) --- */
.neon-social--white {
  color: #e0e0f0;
  filter: drop-shadow(0 0 4px rgba(224, 224, 240, 0.8))
          drop-shadow(0 0 12px rgba(224, 224, 240, 0.4))
          drop-shadow(0 0 28px rgba(224, 224, 240, 0.15));
  animation: neon-blink-white 6s ease-in-out infinite;
}

/* --- Green neon (TikTok) --- */
.neon-social--green {
  color: #00f2ea;
  filter: drop-shadow(0 0 4px #00f2ea)
          drop-shadow(0 0 12px rgba(0, 242, 234, 0.5))
          drop-shadow(0 0 28px rgba(0, 242, 234, 0.25));
  animation: neon-blink-green 4.5s ease-in-out infinite;
}

/* --- Neon blink animations — each icon on its own rhythm --- */
@keyframes neon-blink-pink {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 4px var(--accent-pink)) drop-shadow(0 0 12px rgba(255,60,111,0.5)) drop-shadow(0 0 28px rgba(255,60,111,0.25)); }
  4% { opacity: 0.3; filter: none; }
  8% { opacity: 1; filter: drop-shadow(0 0 4px var(--accent-pink)) drop-shadow(0 0 12px rgba(255,60,111,0.5)) drop-shadow(0 0 28px rgba(255,60,111,0.25)); }
  10% { opacity: 0.5; filter: drop-shadow(0 0 2px var(--accent-pink)); }
  14% { opacity: 1; filter: drop-shadow(0 0 4px var(--accent-pink)) drop-shadow(0 0 12px rgba(255,60,111,0.5)) drop-shadow(0 0 28px rgba(255,60,111,0.25)); }
  50% { opacity: 0.85; filter: drop-shadow(0 0 3px var(--accent-pink)) drop-shadow(0 0 8px rgba(255,60,111,0.3)); }
  52% { opacity: 0.4; filter: drop-shadow(0 0 1px var(--accent-pink)); }
  55% { opacity: 1; filter: drop-shadow(0 0 4px var(--accent-pink)) drop-shadow(0 0 12px rgba(255,60,111,0.5)) drop-shadow(0 0 28px rgba(255,60,111,0.25)); }
}

@keyframes neon-blink-blue {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 4px var(--accent-blue)) drop-shadow(0 0 12px rgba(77,201,246,0.5)) drop-shadow(0 0 28px rgba(77,201,246,0.25)); }
  15% { opacity: 0.35; filter: none; }
  18% { opacity: 1; filter: drop-shadow(0 0 4px var(--accent-blue)) drop-shadow(0 0 12px rgba(77,201,246,0.5)) drop-shadow(0 0 28px rgba(77,201,246,0.25)); }
  20% { opacity: 0.6; filter: drop-shadow(0 0 2px var(--accent-blue)); }
  23% { opacity: 1; filter: drop-shadow(0 0 4px var(--accent-blue)) drop-shadow(0 0 12px rgba(77,201,246,0.5)) drop-shadow(0 0 28px rgba(77,201,246,0.25)); }
  70% { opacity: 0.8; filter: drop-shadow(0 0 3px var(--accent-blue)) drop-shadow(0 0 8px rgba(77,201,246,0.3)); }
  73% { opacity: 0.3; filter: none; }
  76% { opacity: 1; filter: drop-shadow(0 0 4px var(--accent-blue)) drop-shadow(0 0 12px rgba(77,201,246,0.5)) drop-shadow(0 0 28px rgba(77,201,246,0.25)); }
}

@keyframes neon-blink-white {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 4px rgba(224,224,240,0.8)) drop-shadow(0 0 12px rgba(224,224,240,0.4)) drop-shadow(0 0 28px rgba(224,224,240,0.15)); }
  30% { opacity: 0.4; filter: none; }
  33% { opacity: 0.9; filter: drop-shadow(0 0 3px rgba(224,224,240,0.6)); }
  35% { opacity: 0.3; filter: none; }
  38% { opacity: 1; filter: drop-shadow(0 0 4px rgba(224,224,240,0.8)) drop-shadow(0 0 12px rgba(224,224,240,0.4)) drop-shadow(0 0 28px rgba(224,224,240,0.15)); }
  80% { opacity: 0.7; filter: drop-shadow(0 0 2px rgba(224,224,240,0.5)); }
  82% { opacity: 1; filter: drop-shadow(0 0 4px rgba(224,224,240,0.8)) drop-shadow(0 0 12px rgba(224,224,240,0.4)) drop-shadow(0 0 28px rgba(224,224,240,0.15)); }
}

@keyframes neon-blink-green {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 4px #00f2ea) drop-shadow(0 0 12px rgba(0,242,234,0.5)) drop-shadow(0 0 28px rgba(0,242,234,0.25)); }
  22% { opacity: 1; filter: drop-shadow(0 0 4px #00f2ea) drop-shadow(0 0 12px rgba(0,242,234,0.5)) drop-shadow(0 0 28px rgba(0,242,234,0.25)); }
  24% { opacity: 0.3; filter: none; }
  27% { opacity: 1; filter: drop-shadow(0 0 4px #00f2ea) drop-shadow(0 0 12px rgba(0,242,234,0.5)) drop-shadow(0 0 28px rgba(0,242,234,0.25)); }
  28% { opacity: 0.5; filter: drop-shadow(0 0 2px #00f2ea); }
  31% { opacity: 1; filter: drop-shadow(0 0 4px #00f2ea) drop-shadow(0 0 12px rgba(0,242,234,0.5)) drop-shadow(0 0 28px rgba(0,242,234,0.25)); }
  60% { opacity: 0.9; filter: drop-shadow(0 0 3px #00f2ea) drop-shadow(0 0 8px rgba(0,242,234,0.3)); }
  62% { opacity: 0.35; filter: none; }
  65% { opacity: 0.8; filter: drop-shadow(0 0 2px #00f2ea); }
  67% { opacity: 1; filter: drop-shadow(0 0 4px #00f2ea) drop-shadow(0 0 12px rgba(0,242,234,0.5)) drop-shadow(0 0 28px rgba(0,242,234,0.25)); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .neon-social-icon {
    animation: none !important;
  }
}

/* Mobile: slightly smaller */
@media (max-width: 480px) {
  .neon-social-bar {
    gap: 20px;
  }
  .neon-social-icon svg {
    width: 26px;
    height: 26px;
  }
}

/* =========================================================================
   Static landing page — freeze all ongoing animations on the hero, nav,
   click-zones, hint, social bar and grain overlay so the page can be
   flipped as a rigid unit during the planned swipe-up page transition.
   Boombox `.playing` animations (tape spin, eq flash, speaker pulse, etc.)
   are intentionally left untouched so they still react to playback.
   ========================================================================= */
.neon-bar,
.neon-anna,
.neon-anna.flicker-done,
.neon-blue,
.neon-blue.flicker-done,
.boombox-hint,
.neon-social-icon,
.zone-display,
.zone-tape,
.zone-speaker-left,
.zone-speaker-right,
.film-grain {
  animation: none !important;
}

/* =========================================================================
   Page-flip scroller — animates the whole document up or down during the
   transition between pages. Applied at the <html> level so every element
   moves together as a single unit (matches the "flip a page up" feel).
   ========================================================================= */
html.page-flip-exit {
  will-change: transform, opacity;
  transition: transform 420ms cubic-bezier(.6,0,.2,1), opacity 420ms ease;
}
html.page-flip-exit--up {
  transform: translateY(-100vh);
  opacity: 0;
}
html.page-flip-exit--down {
  transform: translateY(100vh);
  opacity: 0;
}

html.page-flip-enter {
  will-change: transform, opacity;
}
html.page-flip-enter--up   { transform: translateY(100vh);  opacity: 0; }
html.page-flip-enter--down { transform: translateY(-100vh); opacity: 0; }
html.page-flip-enter-active {
  transition: transform 420ms cubic-bezier(.6,0,.2,1), opacity 420ms ease;
  transform: translateY(0);
  opacity: 1;
}

/* ============================================================
   PHOTOREAL BOOMBOX (replaces the inline SVG on Home)
   Overlays are positioned as % of the photo (trimmed 1600x1115).
   ============================================================ */
.boombox-photo {
  display: block;
  width: 100%;
  height: auto;
  -webkit-user-select: none; user-select: none;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 26px 60px rgba(0, 0, 0, 0.55));
}
.boombox-wrapper--photo { display: block; position: relative; }
/* Soft radial glow behind the boombox — always visible, brighter on play. Not square. */
.boombox-wrapper--photo::before {
  content: "";
  position: absolute;
  left: 50%; top: 52%;
  width: 150%; height: 152%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 60, 111, 0.60) 0%, rgba(255, 60, 111, 0.34) 30%, rgba(255, 60, 111, 0.14) 48%, transparent 66%);
  filter: blur(60px);
  opacity: 0;                 /* off until the boombox is playing */
  transition: opacity 500ms ease;
  pointer-events: none;
  z-index: 0;
}
.boombox-wrapper--photo.playing::before { opacity: 1; }
/* Neutral depth shadow only on play — no square pink outline. */
.boombox-wrapper--photo.playing { filter: none; }

/* ---- Clickable zones: fully INVISIBLE overlays (no borders/rings/glow) ---- */
.boombox-wrapper--photo .click-zone,
.boombox-wrapper--photo .click-zone:hover,
.boombox-wrapper--photo .click-zone:focus,
.boombox-wrapper--photo .click-zone:focus-visible,
.boombox-wrapper--photo .click-zone.zone-active {
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  outline: none !important;
  animation: none !important;
}
.boombox-wrapper--photo .zone-speaker-left  { left: 1.5%;  top: 51%; width: 24%; height: 39%; }
.boombox-wrapper--photo .zone-speaker-right { left: 74.5%; top: 51%; width: 24%; height: 39%; }
.boombox-wrapper--photo .zone-display { left: 40%; top: 55%; width: 20%; height: 30%; } /* cassette = play */
.boombox-wrapper--photo .zone-tape    { left: 36%; top: 90%; width: 28%; height: 8%; } /* PLAY buttons = play */

/* ---- Chevron prev/next hints only; no speaker circles ---- */
.boombox-wrapper--photo .speaker-glow { display: none; }
.boombox-wrapper--photo .speaker-chevron { top: 70.4%; width: 7%; height: 7%; z-index: 3; }
.boombox-wrapper--photo .speaker-chevron--left  { left: 13.4%; }
.boombox-wrapper--photo .speaker-chevron--right { left: 86.1%; }

/* ---- Cassette reels (photo of a real reel) — always in the deck, spin on play ---- */
.tape-reel {
  position: absolute;
  width: 2.9%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%) rotate(0deg);
  background: image-set(
    url("../img/cassette-reel.webp") type("image/webp"),
    url("../img/cassette-reel.png") type("image/png")
  ) center / contain no-repeat;
  background-color: transparent;
  pointer-events: none;
  z-index: 12;
}
.tape-reel--left  { left: 46.5%; top: 70.7%; }
.tape-reel--right { left: 53.3%; top: 70.7%; }
.boombox-wrapper--photo.playing .tape-reel { animation: reel-spin 2.6s linear infinite; }
@keyframes reel-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* ---- Now-playing readout: green pill bubble below the boombox ---- */
.led-player--bar {
  position: relative;
  left: auto; top: auto; height: auto;
  width: min(480px, 92vw);   /* fixed — never resizes with track name */
  margin: clamp(14px, 2vh, 22px) auto 0;
  justify-content: center;
  gap: 12px;
  padding: 9px 22px;
  background: linear-gradient(180deg, rgba(12,14,20,0.94), rgba(8,9,13,0.94));
  border: 1px solid rgba(0, 230, 118, 0.22);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.5), 0 10px 30px rgba(0,0,0,0.5), inset 0 0 18px rgba(0,230,118,0.06);
}
.led-player--bar .led-info { flex: 0 1 auto; padding-left: 0; }
.led-player--bar.playing {
  border-color: rgba(0, 230, 118, 0.45);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.5), 0 10px 34px rgba(0,0,0,0.55), inset 0 0 22px rgba(0,230,118,0.12);
}

@media (prefers-reduced-motion: reduce) {
  .boombox-wrapper--photo.playing .reel-spin { animation: none; }
}
