/* ==========================================================================
   AMM SOUNDZ — BOUTIQUE ANALOG & CYBER AUDIO WORKSTATION DESIGN SYSTEM
   Engineered for modern music creators, sound designers & audio engineers.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700;800&display=swap');

:root {
  /* AMM Soundz Luxury Studio Palette */
  --bg-canvas: #08090c;
  --bg-surface: #11131a;
  --bg-surface-elevated: #161924;
  --bg-surface-hover: #1e2230;
  --bg-surface-active: #272c3e;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-glow: rgba(0, 242, 254, 0.35);
  --border-focus: #00f2fe;
  
  /* AMM Soundz Signature Accents */
  --accent-cyan: #00f2fe;
  --accent-cyan-hover: #5df2ff;
  --accent-blue: #0066ff;
  --accent-blue-hover: #1a75ff;
  --accent-amber: #ffaa00;
  --accent-amber-hover: #ffbe33;
  --accent-green: #10b981;
  --accent-purple: #a855f7;
  --accent-pink: #ff007f;
  
  --text-white: #ffffff;
  --text-lead: #f3f4f6;
  --text-body: #9ca3af;
  --text-muted: #64748b;
  --text-dim: #475569;

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Sizing Scale */
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 36px;
  --space-2xl: 56px;
  --space-3xl: 80px;
  --space-4xl: 110px;

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Layout */
  --container-max: 1320px;
  --gutter-x: 28px;
  --nav-height: 72px;
  --player-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 15px;
}

body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-canvas);
  color: var(--text-lead);
  font-family: var(--font-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-bottom: var(--player-height);
}

/* Studio Clean Scrollbars */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-canvas); }
::-webkit-scrollbar-thumb { background: #202432; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-cyan); }

/* ==========================================================================
   1. STREAMLINED GLOBAL NAVIGATION BAR
   ========================================================================== */
.amm-nav,
.splice-nav {
  width: 100%;
  height: var(--nav-height);
  background: rgba(8, 9, 12, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter-x);
  position: sticky;
  top: 0;
  z-index: 500;
  gap: var(--space-md);
}

.nav-left-group {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand-logo-frame {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  border: 1px solid rgba(0, 242, 254, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2px;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.2);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.amm-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nav-brand:hover .nav-brand-logo-frame {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 22px rgba(0, 242, 254, 0.45);
  transform: scale(1.06);
}

.nav-brand-titles {
  display: flex;
  flex-direction: column;
}

.nav-brand-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text-white);
  text-transform: uppercase;
  line-height: 1.1;
}

.nav-brand-sub {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Primary Nav Menu Links */
.nav-menu-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}

.nav-menu-links > li {
  position: relative;
}

.nav-menu-links a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-body);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-menu-links a:hover {
  color: var(--text-white);
  background: var(--bg-surface);
}

.nav-menu-links a.active {
  color: var(--text-white);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
}

/* Dropdown Menu (Vault & Journal) */
.amm-dropdown {
  position: relative;
}

.amm-dropdown-trigger {
  cursor: pointer;
}

.amm-dropdown-caret {
  font-size: 9px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.amm-dropdown:hover .amm-dropdown-caret {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}

.amm-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: rgba(14, 16, 24, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.9), 0 0 25px rgba(0, 242, 254, 0.1);
  padding: 8px;
  min-width: 240px;
  display: none;
  z-index: 1000;
  animation: ammFadeIn 0.2s ease;
}

.amm-dropdown:hover .amm-dropdown-menu,
.amm-dropdown:focus-within .amm-dropdown-menu {
  display: block;
}

.amm-dropdown-item {
  display: flex !important;
  align-items: center;
  gap: 10px !important;
  padding: 10px 12px !important;
  border-radius: var(--radius-sm);
  color: var(--text-lead) !important;
  font-size: 13px !important;
  text-decoration: none;
  transition: all 0.15s ease;
}

.amm-dropdown-item:hover {
  background: rgba(0, 242, 254, 0.1) !important;
  color: var(--accent-cyan) !important;
  transform: translateX(4px);
}

.amm-dropdown-item-desc {
  font-size: 10.5px;
  color: var(--text-muted);
  display: block;
}

/* Action Controls (Right Side) */
.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-nav-search {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-nav-search:hover {
  color: var(--accent-cyan);
  border-color: var(--border-glow);
  background: var(--bg-surface-elevated);
}

.btn-nav-login {
  color: var(--text-lead);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-nav-login:hover {
  color: var(--text-white);
  border-color: var(--border-medium);
  background: var(--bg-surface-hover);
}

.btn-amm-primary,
.btn-splice-primary {
  background: linear-gradient(135deg, #0066ff 0%, #00f2fe 100%);
  color: #05070a;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 102, 255, 0.35);
  white-space: nowrap;
}

.btn-amm-primary:hover,
.btn-splice-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 242, 254, 0.45);
  filter: brightness(1.1);
}

.btn-amm-outline {
  background: transparent;
  color: var(--text-white);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  border: 1px solid var(--border-medium);
  cursor: pointer;
}

.btn-amm-outline:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
  color: var(--accent-cyan);
}

.btn-amm-amber {
  background: linear-gradient(135deg, #ff9500 0%, #ffb703 100%);
  color: #05070a;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(255, 170, 0, 0.35);
}

.btn-amm-amber:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255, 170, 0, 0.5);
  filter: brightness(1.1);
}

/* Mobile Toggle */
.amm-mobile-toggle {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-lead);
  padding: 8px;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .nav-menu-links {
    display: none;
  }
  .amm-mobile-toggle {
    display: flex;
  }
}

.btn-splice-primary:hover {
  background: var(--accent-blue-hover);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.6);
  transform: translateY(-1px);
}

/* ==========================================================================
   2. SPLICE HERO BANNER & SEARCH CAROUSEL
   ========================================================================== */
.splice-hero-band {
  width: 100%;
  padding: 70px 0 60px 0;
  background: radial-gradient(circle at 80% 20%, rgba(0, 102, 255, 0.18) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(0, 229, 255, 0.12) 0%, transparent 50%),
              #090a0d;
  border-bottom: 1px solid var(--border-subtle);
}

.splice-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter-x);
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 102, 255, 0.12);
  border: 1px solid rgba(0, 102, 255, 0.35);
  color: #5ea4ff;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-md);
}

.hero-main-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.8vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-white);
  margin-bottom: var(--space-md);
  max-width: 820px;
}

.hero-sub-text {
  font-size: 18px;
  color: var(--text-body);
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: var(--space-xl);
}

.hero-tag-pills-row {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.filter-chip {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
  cursor: pointer;
}

.filter-chip:hover,
.filter-chip.active {
  background: var(--bg-surface-elevated);
  border-color: var(--accent-blue);
  color: var(--text-white);
}

/* ==========================================================================
   3. SPLICE SAMPLE BROWSER & WAVEFORM TABLE (THE HEART OF SPLICE)
   ========================================================================== */
.section-wrapper {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
}

.section-title-group h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

.section-title-group p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.link-see-all {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease;
}

.link-see-all:hover {
  color: var(--accent-blue-hover);
}

/* Sample Table */
.sample-table {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.sample-table-header {
  display: grid;
  grid-template-columns: 48px 2.2fr 3fr 90px 90px 1.5fr 110px;
  align-items: center;
  padding: 12px 20px;
  background: #0e0f14;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sample-row {
  display: grid;
  grid-template-columns: 48px 2.2fr 3fr 90px 90px 1.5fr 110px;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: var(--bg-surface);
  transition: background 0.15s ease;
  user-select: none;
}

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

.sample-row:hover {
  background: var(--bg-surface-hover);
}

.sample-row.playing {
  background: rgba(0, 102, 255, 0.08);
  border-left: 3px solid var(--accent-blue);
}

/* Play Trigger Button */
.btn-sample-play {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sample-row:hover .btn-sample-play {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #fff;
  transform: scale(1.05);
}

.sample-row.playing .btn-sample-play {
  background: var(--accent-blue);
  color: #fff;
}

/* Track Info */
.sample-info-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 16px;
  min-width: 0;
}

.sample-cover-thumb {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  border-radius: var(--radius-xs);
  background: #1e2029;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden !important;
  flex-shrink: 0;
}

.sample-cover-thumb img {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  object-fit: cover !important;
  display: block;
}

.sample-meta-group {
  min-width: 0;
}

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

.sample-artist {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Waveform Visualizer Cell */
.sample-waveform-cell {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 32px;
  padding: 0 12px;
  cursor: pointer;
  position: relative;
}

.wave-bar-stick {
  flex: 1;
  background: #2e3240;
  border-radius: 1px;
  transition: height 0.15s ease, background 0.15s ease;
}

.sample-row:hover .wave-bar-stick {
  background: #4a5166;
}

.sample-row.playing .wave-bar-stick {
  background: var(--accent-blue);
}

.sample-row.playing .wave-bar-stick.played {
  background: var(--accent-cyan);
}

/* Metadata Chips (BPM, Key, Tags) */
.chip-bpm {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
}

.chip-key {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: #f472b6;
  background: rgba(244, 114, 182, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
}

.sample-tags-cell {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.chip-tag {
  font-size: 11px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Actions Cell */
.sample-actions-cell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.btn-sample-icon {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.btn-sample-icon:hover {
  color: var(--text-white);
}

.btn-sample-icon.liked {
  color: var(--accent-magenta);
}

.btn-get-sample {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-get-sample:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #ffffff;
}

/* ==========================================================================
   4. SPLICE ARTIST SOUND PACKS (4-COLUMN GRID)
   ========================================================================== */
.splice-pack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-lg);
  width: 100%;
}

.splice-pack-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.splice-pack-card:hover {
  border-color: var(--accent-blue);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
}

.pack-art-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 240px;
  background: #181a22;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.pack-art-container img {
  width: 100% !important;
  height: 100% !important;
  max-height: 240px !important;
  object-fit: cover !important;
  display: block;
}

.pack-art-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.splice-pack-card:hover .pack-art-overlay {
  opacity: 1;
}

.pack-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.3;
  margin-bottom: 2px;
}

.pack-card-artist {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.pack-card-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: var(--space-xs);
}

.pack-card-price {
  font-weight: 700;
  color: var(--accent-cyan);
}

/* ==========================================================================
   5. SPLICE SKILLS & MASTERCLASSES (LEARN)
   ========================================================================== */
.splice-skills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-xl);
  width: 100%;
}

.skill-lesson-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  min-width: 0;
  max-width: 100%;
  transition: all 0.2s ease;
}

.skill-lesson-card:hover {
  border-color: var(--accent-blue);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 102, 255, 0.15);
}

.skill-video-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 220px;
  overflow: hidden;
  background: #111319;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-subtle);
}

.skill-video-thumb img {
  width: 100% !important;
  height: 100% !important;
  max-height: 220px !important;
  object-fit: cover !important;
  display: block;
}

.skill-duration-tag {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.skill-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.skill-tag-category {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent-blue);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.skill-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.3;
  margin-bottom: 8px;
}

.skill-instructor {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

/* ==========================================================================
   6. SPLICE PERSISTENT BOTTOM AUDIO TRANSPORT BAR
   ========================================================================== */
.splice-player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--player-height);
  background: rgba(15, 17, 22, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  z-index: 600;
  padding: 0 var(--gutter-x);
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  align-items: center;
  gap: var(--space-xl);
  box-shadow: 0 -10px 35px rgba(0, 0, 0, 0.8);
}

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

.player-cover-thumb {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-xs);
  background: #1e2029;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.player-track-titles {
  min-width: 0;
}

.player-song-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-artist-name {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Center Transport Controls & Scrubbable Waveform */
.player-center-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.player-buttons-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.btn-player-main {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--text-white);
  border: none;
  color: #0c0d10;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-player-main:hover {
  background: var(--accent-blue);
  color: #ffffff;
  transform: scale(1.08);
}

.player-scrubber-timeline {
  width: 100%;
  max-width: 600px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.player-timecode {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  min-width: 38px;
}

.player-progress-track {
  flex: 1;
  height: 24px;
  background: #111319;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 6px;
  cursor: pointer;
}

.player-wave-bar {
  flex: 1;
  background: #363b4d;
  border-radius: 1px;
  height: 35%;
  transition: height 0.12s ease, background 0.12s ease;
}

.player-right-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-md);
}

/* ==========================================================================
   7. SPLICE GLOBAL FOOTER
   ========================================================================== */
.splice-footer {
  border-top: 1px solid var(--border-subtle);
  background: #090a0d;
  padding: var(--space-3xl) 0 var(--space-2xl) 0;
}

.footer-grid-splice {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand-h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: var(--space-xs);
}

.footer-desc-p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: var(--space-md);
}

.footer-col-h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-white);
  margin-bottom: var(--space-md);
}

.footer-links-list {
  list-style: none;
  font-size: 13.5px;
  line-height: 2.2;
}

.footer-links-list a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links-list a:hover {
  color: var(--text-white);
}

.footer-sub-bar {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
}

/* Responsive */
@media (max-width: 1024px) {
  .sample-table-header, .sample-row {
    grid-template-columns: 48px 2fr 2fr 80px 80px;
  }
  .sample-tags-cell, .sample-table-header div:nth-child(6) { display: none; }
  .splice-pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .splice-skills-grid { grid-template-columns: minmax(0, 1fr); }
  .nav-search-container { display: none; }
  .splice-player-bar { grid-template-columns: 1fr 1fr; }
  .player-right-actions { display: none; }
  .tunecore-grid-2col { grid-template-columns: 1fr !important; }
  .dist-tiers-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 640px) {
  .sample-table-header { display: none; }
  .sample-row {
    grid-template-columns: 44px 1fr 80px;
    gap: 8px;
  }
  .sample-waveform-cell, .chip-bpm, .chip-key { display: none; }
  .splice-pack-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid-splice { grid-template-columns: 1fr; }
  .nav-menu-links { display: none; }
}

/* ==========================================================================
   TUNECORE-STYLE MUSIC DISTRIBUTION & MONETIZATION ENGINE
   ========================================================================== */
.tunecore-band {
  background: linear-gradient(180deg, rgba(16, 24, 40, 0.6) 0%, rgba(12, 13, 16, 1) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.tunecore-band::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.tunecore-band::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Store Ribbon Grid */
.store-ribbon-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin: var(--space-2xl) 0;
}

.store-badge-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-white);
  transition: all 0.2s ease;
}

.store-badge-pill:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 229, 255, 0.15);
}

.store-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot-spotify { background: #1ed760; box-shadow: 0 0 8px #1ed760; }
.dot-apple { background: #fa233b; box-shadow: 0 0 8px #fa233b; }
.dot-tiktok { background: #00f2fe; box-shadow: 0 0 8px #00f2fe; }
.dot-amazon { background: #ff9900; box-shadow: 0 0 8px #ff9900; }
.dot-youtube { background: #ff0000; box-shadow: 0 0 8px #ff0000; }
.dot-tidal { background: #ffffff; box-shadow: 0 0 8px #ffffff; }
.dot-deezer { background: #a238ff; box-shadow: 0 0 8px #a238ff; }

/* 2-Column Split: Calculator & Value Prop */
.tunecore-grid-2col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-3xl);
  align-items: center;
  margin-top: var(--space-xl);
}

/* Interactive Royalty Calculator Card */
.royalty-calc-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
  position: relative;
}

.royalty-calc-box::after {
  content: '100% ROYALTIES KEPT';
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, #00e5ff 0%, #0066ff 100%);
  color: #000;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.calc-slider-group {
  margin-bottom: var(--space-xl);
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xs);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-white);
}

.calc-stream-val {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  font-size: 16px;
  font-weight: 800;
}

.calc-range-input {
  width: 100%;
  height: 6px;
  background: #242938;
  border-radius: var(--radius-full);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.calc-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-cyan);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.8);
}

.calc-earnings-display {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.calc-number-big {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: #10b981;
}

.calc-comp-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

/* Distribution Pricing Tiers */
.dist-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.dist-tier-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.2s ease;
}

.dist-tier-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 229, 255, 0.1);
}

.dist-tier-card.popular {
  border-color: var(--accent-blue);
  background: linear-gradient(180deg, #161b29 0%, #10131d 100%);
}

.dist-tier-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: var(--space-sm);
}

.dist-price-h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-xs);
}

.dist-price-h3 span {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Artist Hub Telemetry Badges */
.status-pill-live {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-pill-live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.artist-stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.artist-stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-white);
}

.artist-stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

/* ==========================================================================
   AMM SOUNDZ BESPOKE BRANDING, MONETIZATION & AD COMPONENTS
   ========================================================================== */

/* Brand Buttons */
.btn-amm-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--accent-blue);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.35);
}

.btn-amm-primary:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.5);
}

.btn-amm-accent {
  background: linear-gradient(135deg, #00e5ff 0%, #0066ff 100%);
  color: #0c0d10;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(0, 229, 255, 0.4);
}

.btn-amm-accent:hover {
  box-shadow: 0 6px 24px rgba(0, 229, 255, 0.6);
  transform: translateY(-1px);
}

.btn-amm-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: transparent;
  color: var(--text-lead);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}

.btn-amm-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.05);
}

/* Backward compatibility aliases */
.amm-nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-height); padding: 0 var(--gutter-x); background: rgba(12, 13, 16, 0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-subtle); position: sticky; top: 0; z-index: var(--z-nav); }
.amm-container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter-x); }
.btn-splice-primary { composes: btn-amm-primary; }

/* Gated Content Badges */
.badge-gated {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-free {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Monetization Ad & Affiliate Sidebar Card */
.ad-sponsor-card {
  background: linear-gradient(180deg, rgba(20, 23, 34, 0.9) 0%, rgba(12, 13, 16, 0.95) 100%);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.ad-sponsor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
}

.ad-badge-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: 8px;
}

.ad-sponsor-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.ad-sponsor-desc {
  font-size: 12.5px;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 14px;
}

/* Keyframe animations */
@keyframes ammFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

