:root {
  --bg-black: #000000;
  --bg-elevated: #0a0a0f;
  --bg-glass: rgba(18, 18, 26, 0.68);
  --bg-glass-heavy: rgba(12, 12, 18, 0.86);
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-highlight: rgba(255, 255, 255, 0.2);
  --text-primary: #f5f5f7;
  --text-secondary: #86868b;
  --text-muted: #515158;
  --accent-blue: #2997ff;
  --accent-violet: #bf5af2;
  --accent-cyan: #64d2ff;
  --accent-green: #30d158;
  --accent-pink: #ff375f;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, sans-serif;
  --font-mono: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-black);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-black);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.5;
  padding-bottom: 100px; /* space for persistent player dock */
}

#ambient-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
}

main, header, footer {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================
   GLOBAL STICKY NAVIGATION (Apple Style)
   ========================================== */
.global-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  z-index: 100;
  background: rgba(4, 4, 8, 0.78);
  backdrop-filter: saturate(190%) blur(22px);
  -webkit-backdrop-filter: saturate(190%) blur(22px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s var(--ease-apple);
}

.nav-container {
  max-width: 1360px;
  height: 100%;
  margin: 0 auto;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--text-primary);
  transition: transform 0.25s var(--ease-apple);
  flex-shrink: 0;
}

.brand-logo:hover {
  transform: translateY(-1px);
}

.brand-emblem-wrap {
  position: relative;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-emblem-svg {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(41, 151, 255, 0.28);
  transition: transform 0.35s var(--ease-apple), box-shadow 0.35s var(--ease-apple);
}

.brand-logo:hover .brand-emblem-svg {
  transform: scale(1.06) rotate(-3deg);
  box-shadow: 0 6px 24px rgba(100, 210, 255, 0.55);
}

.brand-emblem-glow {
  position: absolute;
  inset: -4px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(100, 210, 255, 0.45), rgba(191, 90, 242, 0.45));
  filter: blur(10px);
  opacity: 0.55;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.brand-logo:hover .brand-emblem-glow {
  opacity: 0.95;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-title-row {
  display: inline-flex;
  align-items: center;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-v {
  color: #ffffff;
}

.brand-4 {
  background: linear-gradient(135deg, #64d2ff 0%, #2997ff 50%, #bf5af2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 1px;
  font-weight: 900;
}

.brand-nox {
  background: linear-gradient(90deg, #f5f5f7 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-eq-mini {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
  margin-left: 8px;
  padding-bottom: 1px;
}

.brand-eq-mini i {
  display: block;
  width: 2.5px;
  border-radius: 2px;
  background: linear-gradient(to top, var(--accent-blue), var(--accent-cyan));
  animation: brandEqPulse 1.1s ease-in-out infinite alternate;
}

.brand-eq-mini i:nth-child(1) { height: 45%; animation-delay: 0s; }
.brand-eq-mini i:nth-child(2) { height: 95%; animation-delay: 0.2s; }
.brand-eq-mini i:nth-child(3) { height: 60%; animation-delay: 0.4s; }
.brand-eq-mini i:nth-child(4) { height: 80%; animation-delay: 0.15s; }

@keyframes brandEqPulse {
  0% { transform: scaleY(0.35); opacity: 0.65; }
  100% { transform: scaleY(1); opacity: 1; }
}

.brand-sub-tag {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 4px;
  transition: color 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s var(--ease-apple), box-shadow 0.2s var(--ease-apple);
}

.btn-pill-primary {
  background: var(--accent-blue);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(41, 151, 255, 0.35);
}

.btn-pill-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 0 28px rgba(41, 151, 255, 0.6);
}

/* ==========================================
   HERO SECTION (Apple Mac Product Reveal)
   ========================================== */
.hero-section {
  min-height: 115vh;
  padding-top: 105px;
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero-sticky-stage {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.hero-headline {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.hero-overline {
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.gradient-text {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
  background: linear-gradient(180deg, #ffffff 0%, #d2d2d7 45%, #2997ff 90%, #bf5af2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subline {
  max-width: 660px;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 44px;
}

.btn-apple-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
  font-family: inherit;
  transition: all 0.25s var(--ease-apple);
}

.btn-apple-glow {
  background: var(--text-primary);
  color: #000000;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.25);
}

.btn-apple-glow:hover {
  transform: translateY(-2px) scale(1.02);
  background: #ffffff;
  box-shadow: 0 0 45px rgba(41, 151, 255, 0.55);
}

.btn-apple-glass {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-primary);
  border: 1px solid var(--border-highlight);
  backdrop-filter: blur(12px);
}

.btn-apple-glass:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

/* Central Orb & Floating UI HUDs */
.hero-visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 820px;
  height: 410px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto 20px;
  perspective: 1000px;
}

.orb-glow-backdrop {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41, 151, 255, 0.28) 0%, rgba(191, 90, 242, 0.16) 50%, transparent 72%);
  filter: blur(36px);
  pointer-events: none;
}

.orb-container {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s linear;
  will-change: transform;
}

.hero-orb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.9), 0 0 50px rgba(41, 151, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.orb-ring-1 {
  inset: -24px;
  border-color: rgba(41, 151, 255, 0.2);
  animation: spinSlow 24s linear infinite;
}

.orb-ring-2 {
  inset: -52px;
  border-style: dashed;
  border-color: rgba(191, 90, 242, 0.18);
  animation: spinSlow 36s linear infinite reverse;
}

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

.floating-hud {
  position: absolute;
  background: var(--bg-glass-heavy);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid var(--border-highlight);
  border-radius: 16px;
  padding: 16px 20px;
  text-align: left;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.65);
  will-change: transform;
}

.hud-left {
  left: 0;
  top: 48px;
  max-width: 245px;
}

.hud-right {
  right: 0;
  bottom: 42px;
  max-width: 265px;
}

.hud-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.hud-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.hud-dot.cyan { background: var(--accent-cyan); box-shadow: 0 0 8px var(--accent-cyan); }
.hud-dot.violet { background: var(--accent-violet); box-shadow: 0 0 8px var(--accent-violet); }

.hud-title {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

.hud-metric {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.hud-code {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--accent-cyan);
  margin: 4px 0;
}

.hud-sub {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.hud-mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 18px;
  margin-top: 10px;
}

.hud-mini-bars span {
  flex: 1;
  background: linear-gradient(to top, var(--accent-blue), var(--accent-cyan));
  border-radius: 2px;
  height: 40%;
  animation: eqBounce 1.2s ease-in-out infinite alternate;
}

.hud-mini-bars span:nth-child(2) { animation-delay: 0.15s; height: 85%; }
.hud-mini-bars span:nth-child(3) { animation-delay: 0.3s; height: 60%; }
.hud-mini-bars span:nth-child(4) { animation-delay: 0.45s; height: 95%; }
.hud-mini-bars span:nth-child(5) { animation-delay: 0.2s; height: 50%; }
.hud-mini-bars span:nth-child(6) { animation-delay: 0.35s; height: 75%; }
.hud-mini-bars span:nth-child(7) { animation-delay: 0.1s; height: 90%; }
.hud-mini-bars span:nth-child(8) { animation-delay: 0.5s; height: 45%; }

@keyframes eqBounce {
  0% { transform: scaleY(0.35); }
  100% { transform: scaleY(1); }
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 12px;
}

.scroll-mouse {
  width: 20px;
  height: 32px;
  border-radius: 12px;
  border: 1.5px solid var(--border-highlight);
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.scroll-wheel {
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: var(--text-primary);
  animation: scrollWheel 1.6s infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

/* ==========================================
   COMMON SECTION TYPOGRAPHY
   ========================================== */
.section-intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 64px;
}

.eyebrow {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 12px;
}

.display-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 18px;
}

.section-lead {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.inline-accent-link {
  color: var(--accent-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(100, 210, 255, 0.35);
}

.inline-accent-link:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

/* ==========================================
   SECTION 2: STICKY SCROLLYTELLING STUDIO UI
   ========================================== */
.scrolly-section {
  padding: 110px 0;
  position: relative;
}

.scrolly-Workspace {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.sticky-ui-column {
  position: sticky;
  top: 96px;
}

.mac-window-frame {
  background: linear-gradient(165deg, rgba(24, 24, 34, 0.92), rgba(10, 10, 15, 0.96));
  border: 1px solid var(--border-highlight);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85), 0 0 60px rgba(41, 151, 255, 0.12);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.mac-window-frame[data-active-stage="1"] {
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85), 0 0 65px rgba(191, 90, 242, 0.22);
}

.mac-window-frame[data-active-stage="2"] {
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85), 0 0 65px rgba(48, 209, 88, 0.2);
}

.mac-titlebar {
  height: 44px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mac-traffic-lights {
  display: flex;
  gap: 8px;
}

.mac-traffic-lights .light {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.light.red { background: #ff5f56; }
.light.yellow { background: #ffbd2e; }
.light.green { background: #27c93f; }

.mac-window-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.mac-window-badge {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(41, 151, 255, 0.16);
  color: var(--accent-cyan);
  border: 1px solid rgba(41, 151, 255, 0.3);
}

.mac-window-body {
  display: grid;
  grid-template-columns: 185px 1fr;
  min-height: 410px;
}

.studio-sidebar {
  background: rgba(0, 0, 0, 0.35);
  border-right: 1px solid var(--border-subtle);
  padding: 18px 14px;
}

.sidebar-group-title {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
  transition: all 0.25s ease;
}

.sidebar-item .s-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
}

.sidebar-item.active {
  background: rgba(41, 151, 255, 0.15);
  color: var(--text-primary);
  font-weight: 600;
}

.sidebar-item.active .s-dot {
  background: var(--accent-blue);
  box-shadow: 0 0 8px var(--accent-blue);
}

.sidebar-track-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
}

.sidebar-track-card img {
  width: 38px;
  height: 38px;
  border-radius: 7px;
  object-fit: cover;
}

.st-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
}

.st-sub {
  font-size: 0.68rem;
  color: var(--text-secondary);
}

.studio-viewport {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.studio-layer {
  display: none;
  animation: fadeSlideIn 0.45s var(--ease-apple);
}

.studio-layer.active {
  display: block;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.layer-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.layer-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.layer-status {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-blue);
}

.layer-status.cyan-glow { color: var(--accent-cyan); }
.layer-status.green-glow { color: var(--accent-green); }

.prompt-terminal {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  margin-bottom: 16px;
}

.terminal-line {
  margin-bottom: 6px;
  line-height: 1.45;
}

.terminal-line:last-child { margin-bottom: 0; }
.t-key { color: var(--accent-violet); font-weight: 600; }
.t-val { color: #e2e8f0; }

.param-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.param-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px 12px;
}

.p-label {
  display: block;
  font-size: 0.62rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.p-bar {
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 4px;
}

.p-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-violet));
}

.p-val {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-primary);
}

/* Stage 1 Stems */
.stem-tracks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stem-row {
  display: grid;
  grid-template-columns: 95px 1fr 55px;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-subtle);
  padding: 10px 12px;
  border-radius: 10px;
}

.stem-name {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.stem-wave {
  height: 22px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.wave-cyan { background: repeating-linear-gradient(90deg, rgba(100,210,255,0.65) 0 3px, transparent 3px 6px); }
.wave-violet { background: repeating-linear-gradient(90deg, rgba(191,90,242,0.65) 0 4px, transparent 4px 7px); }
.wave-pink { background: repeating-linear-gradient(90deg, rgba(255,55,95,0.65) 0 2px, transparent 2px 5px); }
.wave-green { background: repeating-linear-gradient(90deg, rgba(48,209,88,0.65) 0 3px, transparent 3px 6px); }

.stem-db {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-primary);
  text-align: right;
}

/* Stage 2 Master */
.master-showcase {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 16px;
}

.master-disc-wrap {
  position: relative;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}

.master-cover-spin {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  animation: spinSlow 16s linear infinite;
  border: 2px solid var(--accent-blue);
}

.master-stats h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.master-stats p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.master-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.m-badge {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(48, 209, 88, 0.14);
  color: var(--accent-green);
  border: 1px solid rgba(48, 209, 88, 0.3);
}

/* Live Visualizer inside Studio */
.studio-live-meter {
  margin-top: 18px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 10px 14px;
}

.meter-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

#studio-visualizer-canvas {
  width: 100%;
  height: 76px;
  display: block;
}

/* Scrolly Steps Column */
.scrolly-steps-column {
  display: flex;
  flex-direction: column;
  gap: 180px;
  padding: 40px 0 120px;
}

.scrolly-step-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px 28px;
  backdrop-filter: blur(18px);
  transition: all 0.35s var(--ease-apple);
  opacity: 0.45;
  transform: scale(0.97);
}

.scrolly-step-card.is-active {
  opacity: 1;
  transform: scale(1);
  border-color: var(--accent-blue);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(41, 151, 255, 0.15);
}

.step-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-cyan);
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(100, 210, 255, 0.12);
}

.step-badge-text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

.scrolly-step-card h3 {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.scrolly-step-card p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.step-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.sm-label {
  display: block;
  font-size: 0.68rem;
  color: var(--text-secondary);
}

.sm-val {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ==========================================
   SECTION 3: RELEASES & SUNO SHOWCASE
   ========================================== */
.releases-section {
  padding: 110px 0;
}

.section-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

.section-header-split .section-lead {
  max-width: 640px;
}

.tracks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.track-card {
  background: linear-gradient(160deg, rgba(22, 22, 32, 0.8), rgba(10, 10, 16, 0.92));
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.35s var(--ease-apple);
  position: relative;
  overflow: hidden;
}

.track-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
}

.track-card.is-playing {
  border-color: var(--accent-blue);
  box-shadow: 0 0 40px rgba(41, 151, 255, 0.22);
}

.track-top {
  display: flex;
  gap: 20px;
  align-items: center;
}

.track-cover-wrap {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.track-cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-apple);
}

.track-card:hover .track-cover-wrap img {
  transform: scale(1.06);
}

.track-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  color: #ffffff;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.track-cover-wrap:hover .track-play-overlay,
.track-card.is-playing .track-play-overlay {
  opacity: 1;
}

.play-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(41, 151, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.track-info {
  flex: 1;
}

.track-meta-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.track-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
}

.track-genre {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.track-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.track-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.t-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.track-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.track-prompt-box {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
}

.track-prompt-label {
  display: block;
  font-size: 0.62rem;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.track-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}

.btn-track-preview {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid var(--border-highlight);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.btn-track-preview:hover,
.track-card.is-playing .btn-track-preview {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #ffffff;
}

.btn-track-suno {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-decoration: none;
}

.btn-track-suno:hover {
  color: #ffffff;
}

/* ==========================================
   SECTION 4: BENTO GRID ARCHITECTURE
   ========================================== */
.bento-section {
  padding: 90px 0 110px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento-card {
  background: linear-gradient(155deg, rgba(22, 22, 30, 0.78), rgba(10, 10, 15, 0.92));
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.bento-span-8 { grid-column: span 8; }
.bento-span-4 { grid-column: span 4; }

.bento-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  margin-bottom: 10px;
}

.bento-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.bento-content p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.6;
}

.bento-actions {
  margin-top: 22px;
}

.profile-glass-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-highlight);
}

.pg-avatar {
  position: relative;
  width: 68px;
  height: 68px;
  flex-shrink: 0;
}

.pg-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.pg-verified {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #000;
}

.pg-name {
  font-size: 1.2rem;
  font-weight: 700;
}

.pg-handle {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--accent-cyan);
  margin-bottom: 4px;
}

.pg-bio {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.bento-metric-big {
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.bm-value {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bm-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.bento-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 6px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.edge-telemetry-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-subtle);
}

.es-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.es-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ==========================================
   FOOTER & LEGAL LINKS
   ========================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 48px;
  background: rgba(5, 5, 8, 0.9);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-desc {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.footer-nav-col a,
.footer-legal-btn {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.86rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s ease;
}

.footer-nav-col a:hover,
.footer-legal-btn:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================
   PERSISTENT AUDIO DOCK PLAYER
   ========================================== */
.player-dock {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1060px;
  z-index: 95;
  background: rgba(14, 14, 22, 0.85);
  backdrop-filter: saturate(190%) blur(24px);
  -webkit-backdrop-filter: saturate(190%) blur(24px);
  border: 1px solid var(--border-highlight);
  border-radius: 20px;
  padding: 10px 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.dock-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  align-items: center;
  gap: 16px;
}

.dock-track-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.dock-cover {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.dock-title {
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dock-artist {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.dock-badge {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(41, 151, 255, 0.16);
  color: var(--accent-cyan);
}

.dock-controls-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.dock-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dock-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.dock-btn:hover {
  color: var(--text-primary);
}

.dock-play-main {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--text-primary);
  color: #000000;
}

.dock-play-main:hover {
  color: #000000;
  transform: scale(1.06);
}

.dock-scrubber {
  width: 100%;
  max-width: 360px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dock-time {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-secondary);
  min-width: 30px;
}

.scrubber-slider {
  flex: 1;
  accent-color: var(--accent-blue);
  height: 4px;
  cursor: pointer;
}

.dock-actions-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.btn-dock-suno {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 99px;
  background: rgba(41, 151, 255, 0.15);
  border: 1px solid rgba(41, 151, 255, 0.35);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.btn-dock-suno:hover {
  background: var(--accent-blue);
  color: #ffffff;
}

/* ==========================================
   LEGAL MODAL (IMPRESSUM & DATENSCHUTZ)
   ========================================== */
.legal-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.legal-modal-backdrop.is-open {
  display: flex;
}

.legal-modal {
  width: 100%;
  max-width: 760px;
  max-height: 85vh;
  background: #0d0d14;
  border: 1px solid var(--border-highlight);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.9);
}

.legal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
}

.legal-tabs {
  display: flex;
  gap: 8px;
}

.legal-tab {
  padding: 8px 16px;
  border-radius: 99px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.legal-tab.active {
  background: rgba(41, 151, 255, 0.16);
  border-color: rgba(41, 151, 255, 0.4);
  color: var(--text-primary);
}

.legal-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 0.95rem;
}

.legal-modal-body {
  padding: 28px 32px;
  overflow-y: auto;
  line-height: 1.65;
}

.legal-pane {
  display: none;
}

.legal-pane.active {
  display: block;
}

.legal-pane h2 {
  font-size: 1.65rem;
  margin-bottom: 16px;
}

.legal-pane h3 {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin: 22px 0 8px;
}

.legal-pane p,
.legal-pane li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.legal-pane ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-pane a {
  color: var(--accent-cyan);
}

.legal-hint {
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 159, 10, 0.12);
  border: 1px solid rgba(255, 159, 10, 0.35);
  color: #ffd60a !important;
  font-size: 0.84rem !important;
}

/* Scroll Reveal Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-apple), transform 0.7s var(--ease-apple);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 960px) {
  .scrolly-Workspace {
    grid-template-columns: 1fr;
  }
  .sticky-ui-column {
    position: relative;
    top: 0;
  }
  .scrolly-steps-column {
    gap: 32px;
    padding: 24px 0 40px;
  }
  .scrolly-step-card {
    opacity: 1;
    transform: none;
  }
  .tracks-grid {
    grid-template-columns: 1fr;
  }
  .bento-span-8, .bento-span-4 {
    grid-column: span 12;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .hud-left, .hud-right {
    display: none;
  }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
  }
  .mac-window-body {
    grid-template-columns: 1fr;
  }
  .studio-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .dock-inner {
    grid-template-columns: 1fr auto;
  }
  .dock-actions-right {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}


/* ==========================================
   SECTION 2: INTERACTIVE AI JUKEBOX (20 SONGS)
   ========================================== */
.jukebox-section {
  padding: 95px 0 80px;
}

.jukebox-frame {
  background: linear-gradient(165deg, rgba(22, 22, 32, 0.94), rgba(8, 8, 14, 0.98));
  border: 1px solid var(--border-highlight);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.88), 0 0 70px rgba(41, 151, 255, 0.14);
}

.jukebox-body {
  display: grid;
  grid-template-columns: 420px 1fr;
  min-height: 640px;
}

.jukebox-playlist-col {
  border-right: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  max-height: 680px;
}

.jukebox-toolbar {
  padding: 16px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jukebox-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 9px 14px;
  color: var(--text-secondary);
}

.jukebox-search-wrap input {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 0.85rem;
  width: 100%;
  outline: none;
  font-family: inherit;
}

.jukebox-lang-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 5px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.filter-chip:hover {
  color: var(--text-primary);
  border-color: var(--border-highlight);
}

.filter-chip.active {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #ffffff;
}

.jukebox-tracklist {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.jb-track-item {
  display: grid;
  grid-template-columns: 26px 46px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: left;
  color: var(--text-primary);
  font-family: inherit;
  transition: all 0.2s ease;
}

.jb-track-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-subtle);
}

.jb-track-item.is-selected {
  background: rgba(41, 151, 255, 0.14);
  border-color: rgba(41, 151, 255, 0.45);
}

.jb-track-item.is-playing {
  background: linear-gradient(90deg, rgba(41, 151, 255, 0.22), rgba(191, 90, 242, 0.15));
  border-color: var(--accent-cyan);
}

.jbi-num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.jb-track-item.is-playing .jbi-num {
  color: var(--accent-cyan);
  font-weight: 700;
}

.jbi-thumb {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.jbi-info {
  min-width: 0;
}

.jbi-title {
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.jbi-sub {
  font-size: 0.72rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jbi-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.jbi-lang {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-secondary);
}

.jbi-dur {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* RIGHT COLUMN: ACTIVE TRACK + LYRICS / STYLE INSPECTOR */
.jukebox-inspector-col {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: 680px;
}

.jukebox-now-card {
  display: flex;
  gap: 22px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.jn-cover-wrap {
  position: relative;
  width: 128px;
  height: 128px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border-highlight);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
}

.jn-cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jn-play-trigger {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.jn-play-trigger:hover {
  background: rgba(0, 0, 0, 0.55);
}

.jn-meta {
  flex: 1;
  min-width: 0;
}

.jn-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.jn-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.jn-pill.cyan {
  color: var(--accent-cyan);
  background: rgba(100, 210, 255, 0.12);
  border-color: rgba(100, 210, 255, 0.3);
}

.jn-pill.violet {
  color: #e0b0ff;
  background: rgba(191, 90, 242, 0.15);
  border-color: rgba(191, 90, 242, 0.35);
}

.jn-title {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.jn-style-short {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.jn-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-pill-glass {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-primary);
  border: 1px solid var(--border-highlight);
}

.btn-pill-glass:hover {
  background: rgba(255, 255, 255, 0.14);
}

.jukebox-tabs-bar {
  display: flex;
  gap: 8px;
}

.jb-tab {
  padding: 8px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.jb-tab.active {
  background: rgba(41, 151, 255, 0.16);
  border-color: var(--accent-blue);
  color: var(--text-primary);
}

.jb-tab-pane {
  display: none;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
}

.jb-tab-pane.active {
  display: flex;
}

.jb-pane-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-secondary);
}

.ai-tag-badge {
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(48, 209, 88, 0.14);
  color: var(--accent-green);
  border: 1px solid rgba(48, 209, 88, 0.3);
}

.jb-lyrics-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 1.7;
  color: #e5e5ea;
  white-space: pre-wrap;
}

.jb-style-content {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.style-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 16px;
}

.sb-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--accent-cyan);
  margin-bottom: 6px;
}

.sb-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-primary);
}

.sb-text.muted {
  color: var(--text-secondary);
}

@media (max-width: 960px) {
  .jukebox-body {
    grid-template-columns: 1fr;
  }
  .jukebox-playlist-col {
    max-height: 360px;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .jukebox-inspector-col {
    max-height: none;
  }
  .jukebox-now-card {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ==========================================
   DYNAMIC STUDIO INSPECTOR (PER-SONG PROMPTS & SETTINGS)
   ========================================== */
.studio-song-select {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid var(--border-highlight);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.74rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.studio-song-select option {
  background: #12121a;
  color: #f5f5f7;
}

.studio-sidebar button.sidebar-item {
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.studio-sidebar button.sidebar-item.active {
  background: rgba(41, 151, 255, 0.16);
}

.btn-studio-sidebar-play {
  margin-top: 10px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--accent-blue);
  color: #ffffff;
  border: none;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-studio-sidebar-play:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.studio-cue-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.cue-chip {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(191, 90, 242, 0.14);
  border: 1px solid rgba(191, 90, 242, 0.35);
  color: #e5b8ff;
}

.studio-lyrics-preview {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  line-height: 1.55;
  color: #e2e8f0;
  max-height: 185px;
  overflow-y: auto;
  white-space: pre-wrap;
}

.studio-prompt-card {
  background: rgba(0, 0, 0, 0.52);
  border: 1px solid rgba(41, 151, 255, 0.28);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.studio-prompt-card.negative {
  border-color: rgba(255, 55, 95, 0.3);
  margin-bottom: 0;
}

.spc-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  color: var(--accent-cyan);
  margin-bottom: 4px;
}

.studio-prompt-card.negative .spc-label {
  color: #ff6482;
}

.spc-body {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-primary);
  max-height: 105px;
  overflow-y: auto;
}

.studio-settings-grid,
.jb-settings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.setting-meter-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 9px 11px;
}

.smc-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.smc-val {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.smc-bar {
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}

.smc-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
}

@media (max-width: 680px) {
  .studio-settings-grid,
  .jb-settings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ==========================================
   DIRECT SUNO SONG LINKS IN JUKEBOX & DIRECTORY
   ========================================== */
.jbi-meta-top {
  display: flex;
  align-items: center;
  gap: 6px;
}

.jbi-suno-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(41, 151, 255, 0.14);
  border: 1px solid rgba(41, 151, 255, 0.35);
  color: var(--accent-cyan);
  font-size: 0.65rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.jbi-suno-link:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #ffffff;
}

.all-suno-links-box {
  margin-top: 28px;
  background: rgba(14, 14, 22, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 24px 28px;
}

.all-suno-links-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.all-suno-links-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.all-suno-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 6px;
}

.suno-direct-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}

.suno-direct-pill:hover {
  background: rgba(41, 151, 255, 0.14);
  border-color: var(--accent-blue);
  transform: translateY(-1px);
}

.sdp-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.sdp-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-cyan);
}

.sdp-title {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
