/* ==========================================================================
   BH HOME — 21st.dev Component Adaptations
   Aurora · Gooey Text · Glowy Waves · Bento Grid · Testimonials · Pricing
   ========================================================================== */



/* ── 1. Aurora Hero Enhancement ─────────────────────────── */
.bh-ch--aurora {
  overflow: hidden;
}
.bh-ch--aurora::before {
  content: '';
  position: absolute;
  inset: -10px;
  z-index: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(100deg, #000 0%, #000 7%, transparent 10%, transparent 12%, #000 16%),
    repeating-linear-gradient(100deg, #6d28d9 10%, #818cf8 15%, #a78bfa 20%, #c4b5fd 25%, #7c3aed 30%);
  background-size: 300%, 200%;
  background-position: 50% 50%, 50% 50%;
  filter: blur(6px);
  opacity: 0.3;
  animation: bh-aurora 60s linear infinite;
  mask-image: radial-gradient(ellipse at 80% 0%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 0%, black 20%, transparent 70%);
  will-change: background-position;
  transform: translateZ(0);
}
.bh-ch--aurora::after {
  content: '';
  position: absolute;
  inset: -10px;
  z-index: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(100deg, #000 0%, #000 7%, transparent 10%, transparent 12%, #000 16%),
    repeating-linear-gradient(100deg, #6d28d9 10%, #818cf8 15%, #a78bfa 20%, #c4b5fd 25%, #7c3aed 30%);
  background-size: 200%, 100%;
  background-position: 50% 50%, 50% 50%;
  filter: blur(5px);
  opacity: 0.15;
  animation: bh-aurora 60s linear infinite reverse;
  mix-blend-mode: screen;
  will-change: background-position;
  transform: translateZ(0);
}

@keyframes bh-aurora {
  from { background-position: 50% 50%, 50% 50%; }
  to   { background-position: 350% 50%, 350% 50%; }
}

/* ── 2. Gooey Text Morphing ──────────────────────────────── */
.bh-gooey-wrap {
  position: relative;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: url(#bh-gooey-threshold);
  margin-top: 8px;
}
.bh-gooey-wrap span {
  position: absolute;
  font: 700 clamp(1.8rem, 4.5vw, 3rem)/1 'Manrope', system-ui, sans-serif;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #a78bfa;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

/* ── 3. Glowy Canvas Waves ───────────────────────────────── */
.bh-waves-section {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  margin: 32px 0 0;
  background: transparent;
}
.bh-waves-section canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.bh-waves-section__label {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font: 600 9px/1 'Manrope', sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(167,139,250,.3);
  pointer-events: none;
  white-space: nowrap;
}

/* ── 4. Bento Grid — Features ────────────────────────────── */
.bh-bento-section {
  padding: 56px 0 12px;
}
.bh-bento-section__header {
  margin-bottom: 20px;
  padding: 0 4px;
}
.bh-bento-eyebrow {
  display: block;
  font: 600 9px/1 'Manrope', sans-serif;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 8px;
}
.bh-bento-title {
  font: 700 clamp(1.2rem, 2.8vw, 1.75rem)/1.15 'Manrope', system-ui, sans-serif;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,.92);
  margin: 0;
}
.bh-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (max-width: 560px) {
  .bh-bento-grid { grid-template-columns: 1fr 1fr; }
  .bh-bento-item--wide { grid-column: span 2; }
}
.bh-bento-item {
  position: relative;
  padding: 16px 14px 14px;
  border-radius: 0;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.025);
  cursor: default;
  transition: border-color .25s ease, transform .28s cubic-bezier(.23,1,.32,1), box-shadow .28s ease;
  overflow: hidden;
  will-change: transform;
}
.bh-bento-item:hover {
  border-color: rgba(167,139,250,.2);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.bh-bento-item--wide { grid-column: span 2; }
.bh-bento-item__dot-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-image: radial-gradient(circle at center, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 16px 16px;
  transition: opacity .3s ease;
  pointer-events: none;
}
.bh-bento-item:hover .bh-bento-item__dot-bg { opacity: 1; }
.bh-bento-item__icon {
  width: 30px; height: 30px;
  border-radius: 0;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
  font-size: 13px;
  color: #a78bfa;
  transition: background .25s ease;
}
.bh-bento-item:hover .bh-bento-item__icon { background: rgba(109,40,217,.22); }
.bh-bento-item__status {
  font: 600 8px/1 'Manrope', sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.05);
  padding: 3px 7px;
  border-radius: 999px;
  float: right;
  transition: background .25s, color .25s;
}
.bh-bento-item:hover .bh-bento-item__status { background: rgba(109,40,217,.18); color: #c4b5fd; }
.bh-bento-item__title {
  font: 700 13px/1.2 'Manrope', system-ui, sans-serif;
  letter-spacing: -.01em;
  color: rgba(255,255,255,.85);
  margin: 0 0 4px;
  clear: both;
}
.bh-bento-item__desc {
  font: 400 11.5px/1.45 'Manrope', system-ui, sans-serif;
  color: rgba(255,255,255,.38);
  margin: 0 0 10px;
}
.bh-bento-item__tags {
  display: flex; gap: 4px; flex-wrap: wrap;
}
.bh-bento-item__tag {
  font: 500 9.5px/1 'Manrope', sans-serif;
  color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.04);
  padding: 3px 6px;
  border-radius: 0;
  transition: background .2s;
}
.bh-bento-item:hover .bh-bento-item__tag { background: rgba(255,255,255,.07); color: rgba(255,255,255,.45); }
.bh-bento-item__cta {
  position: absolute;
  bottom: 12px; right: 12px;
  font: 600 9px/1 'Manrope', sans-serif;
  color: rgba(167,139,250,.5);
  opacity: 0;
  transition: opacity .25s;
}
.bh-bento-item:hover .bh-bento-item__cta { opacity: 1; }

/* ── 5. Testimonials Columns ─────────────────────────────── */
.bh-testi-section {
  padding: 60px 0;
}
.bh-testi-header {
  text-align: center;
  margin-bottom: 32px;
}
.bh-testi-pill {
  display: inline-block;
  font: 600 8px/1 'Manrope', sans-serif;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  border: 1px solid rgba(255,255,255,.08);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.bh-testi-title {
  font: 700 clamp(1.2rem, 2.8vw, 1.75rem)/1.15 'Manrope', system-ui, sans-serif;
  letter-spacing: -.025em;
  color: rgba(255,255,255,.9);
  margin: 0 0 6px;
}
.bh-testi-sub {
  font: 400 12px/1.5 'Manrope', sans-serif;
  color: rgba(255,255,255,.35);
  margin: 0;
}
.bh-testi-cols {
  display: flex;
  gap: 10px;
  max-height: 520px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, black 16%, black 84%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 16%, black 84%, transparent);
}
.bh-testi-col {
  flex: 1;
  min-width: 0;
}
@media (max-width: 560px) {
  .bh-testi-cols { max-height: 380px; }
  .bh-testi-col:nth-child(2),
  .bh-testi-col:nth-child(3) { display: none; }
}
@media (min-width: 561px) and (max-width: 760px) {
  .bh-testi-col:nth-child(3) { display: none; }
  .bh-testi-col { flex: 0 0 calc(50% - 5px); }
}
.bh-testi-track {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: bh-testi-scroll var(--dur, 18s) linear infinite;
  padding-bottom: 10px;
  will-change: transform;
}
@keyframes bh-testi-scroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
.bh-testi-card {
  padding: 14px;
  border-radius: 0;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.025);
  flex-shrink: 0;
}
.bh-testi-card__text {
  font: 400 11.5px/1.55 'Manrope', sans-serif;
  color: rgba(255,255,255,.6);
  margin: 0 0 10px;
}
.bh-testi-card__author {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bh-testi-card__avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6d28d9, #4f46e5);
  display: flex; align-items: center; justify-content: center;
  font: 700 10px/1 'Manrope', sans-serif;
  color: #fff;
  flex-shrink: 0;
}
.bh-testi-card__name {
  font: 600 11px/1 'Manrope', sans-serif;
  color: rgba(255,255,255,.72);
}
.bh-testi-card__role {
  font: 400 9.5px/1 'Manrope', sans-serif;
  color: rgba(255,255,255,.28);
  margin-top: 2px;
}

/* ── 6. License Tier Pricing ─────────────────────────────── */
.bh-license-section {
  padding: 60px 0 80px;
}
.bh-license-header {
  text-align: center;
  margin-bottom: 32px;
}
.bh-license-title {
  font: 700 clamp(1.2rem, 3vw, 2rem)/1.1 'Manrope', system-ui, sans-serif;
  letter-spacing: -.03em;
  color: rgba(255,255,255,.92);
  margin: 0 0 6px;
}
.bh-license-sub {
  font: 400 12px/1.5 'Manrope', sans-serif;
  color: rgba(255,255,255,.35);
}
.bh-license-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 640px) {
  .bh-license-grid { grid-template-columns: 1fr; }
}
.bh-license-card {
  position: relative;
  padding: 22px 18px 20px;
  border-radius: 0;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.025);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s cubic-bezier(.23,1,.32,1);
  overflow: hidden;
}
.bh-license-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(109,40,217,.07) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.bh-license-card:hover {
  border-color: rgba(167,139,250,.25);
  box-shadow: 0 16px 48px rgba(109,40,217,.18);
  transform: translateY(-4px);
}
.bh-license-card:hover::before { opacity: 1; }
.bh-license-card--pop {
  border-color: rgba(167,139,250,.2);
  background: rgba(109,40,217,.07);
}
.bh-license-card--pop::before { opacity: 1; }
.bh-license-badge {
  position: absolute;
  top: -1px; right: 16px;
  font: 700 8px/1 'Manrope', sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #0a0a0c;
  background: #a78bfa;
  padding: 5px 9px;
  border-radius: 0 0 7px 7px;
}
.bh-license-icon {
  font-size: 20px;
  margin-bottom: 12px;
  display: block;
  line-height: 1;
}
.bh-license-name {
  font: 700 16px/1 'Manrope', system-ui, sans-serif;
  letter-spacing: -.02em;
  color: rgba(255,255,255,.92);
  margin: 0 0 4px;
}
.bh-license-desc {
  font: 400 11px/1.4 'Manrope', sans-serif;
  color: rgba(255,255,255,.32);
  margin: 0 0 16px;
}
.bh-license-price {
  margin-bottom: 16px;
}
.bh-license-price__amount {
  font: 700 clamp(1.5rem, 3vw, 2rem)/1 'Manrope', system-ui, sans-serif;
  letter-spacing: -.04em;
  color: #fff;
}
.bh-license-price__note {
  font: 400 10px/1 'Manrope', sans-serif;
  color: rgba(255,255,255,.28);
  margin-left: 3px;
}
.bh-license-features {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bh-license-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 400 11.5px/1.3 'Manrope', sans-serif;
  color: rgba(255,255,255,.55);
}
.bh-license-features li::before {
  content: '';
  width: 14px; height: 14px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(167,139,250,.4);
  background: rgba(109,40,217,.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6l2.5 2.5 4.5-4.5' stroke='%23a78bfa' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-size: 9px;
  background-repeat: no-repeat;
  background-position: center;
}
.bh-license-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 11px 16px;
  border-radius: 999px;
  font: 700 10px/1 'Manrope', sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.65);
  background: transparent;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.bh-license-cta:hover {
  border-color: rgba(167,139,250,.45);
  color: #fff;
  background: rgba(109,40,217,.16);
}
.bh-license-card--pop .bh-license-cta {
  background: rgba(124,58,237,.8);
  border-color: rgba(124,58,237,.8);
  color: #fff;
}
.bh-license-card--pop .bh-license-cta:hover {
  background: rgba(109,40,217,.9);
  border-color: rgba(109,40,217,.9);
}

/* ==========================================================================
   PART II — Home Content · Player · Beats Page · Single Beat · Dock
   21st.dev patterns: dot-grid hover · glass cards · spring scale · glow
   ========================================================================== */

/* ── Shared keyframes ────────────────────────────────────── */
@keyframes bh21-shimmer {
  from { background-position: -200% center; }
  to   { background-position:  200% center; }
}
@keyframes bh21-glow-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(200,255,0,0), 0 4px 20px rgba(200,255,0,.25); }
  50%     { box-shadow: 0 0 0 6px rgba(200,255,0,.08), 0 4px 24px rgba(200,255,0,.45); }
}
@keyframes bh21-indicator-in {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

/* ── 7. Home Feed Section Headers ────────────────────────── */
.bh-home-v5 .bh-home-feed-hd {
  position: relative;
  padding-bottom: 12px;
}
.bh-home-v5 .bh-home-feed-hd::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, rgba(200,255,0,.3) 0%, rgba(255,255,255,.06) 40%, transparent 100%);
}
.bh-home-v5 .bh-home-list-title {
  position: relative;
}
.bh-home-v5 .bh-home-list-title::before {
  content: '';
  position: absolute;
  left: -12px; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 70%;
  border-radius: 0;
  background: linear-gradient(180deg, #a78bfa, #7c3aed);
  opacity: 0.7;
}
.bh-home-v5 .bh-home-feed-see-all {
  font: 500 10px/1 'Manrope', sans-serif !important;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(167,139,250,.6) !important;
  text-decoration: none !important;
  transition: color .2s ease;
  padding: 4px 8px;
  border-radius: 0;
  border: 1px solid transparent;
  transition: color .2s, border-color .2s, background .2s;
}
.bh-home-v5 .bh-home-feed-see-all:hover {
  color: #c4b5fd !important;
  border-color: rgba(167,139,250,.2);
  background: rgba(109,40,217,.08);
}

/* ── 8. Beat Cards — enhanced hover + playing glow ───────── */
/* Dot-grid reveal on hover (21st.dev Bento pattern) */
.bh-home-v5 .bh-home-beatcard {
  position: relative;
  isolation: isolate;
}
.bh-home-v5 .bh-home-beatcard::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background-image: radial-gradient(circle at center, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 14px 14px;
  transition: opacity .3s ease;
  pointer-events: none;
  z-index: 0;
}
.bh-home-v5 .bh-home-beatcard:hover::before { opacity: 1; }

/* Shimmer gradient border on hover */
.bh-home-v5 .bh-home-beatcard::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(167,139,250,.4), rgba(255,255,255,.05), rgba(167,139,250,.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
@media (hover:hover) and (pointer:fine) {
  .bh-home-v5 .bh-home-beatcard:hover::after { opacity: 1; }
}

/* Playing state — violet pulse */
.bh-home-v5 .bh-home-beatcard:has(.master-play.is-playing) {
  animation: bh21-glow-pulse 2.8s ease-in-out infinite !important;
}
.bh-home-v5 .bh-home-beatcard:has(.master-play.is-playing)::after {
  opacity: 1 !important;
  background: linear-gradient(135deg, rgba(167,139,250,.6), rgba(124,58,237,.2), rgba(167,139,250,.4));
}

/* Play button — spring scale */
@media (hover:hover) and (pointer:fine) {
  .bh-home-v5 .bh-home-beatcard__play:hover {
    transform: scale(1.08) !important;
    background: rgba(200,255,0,.28) !important;
    border-color: rgba(167,139,250,.55) !important;
    color: #fff !important;
  }
}

/* ── 9. Track Rows — animated glass hover ────────────────── */
.bh-home-v5 .bh-home-trackrow {
  position: relative;
  isolation: isolate;
  border-radius: 0;
  transition: background .2s ease, border-radius .2s ease !important;
}
.bh-home-v5 .bh-home-trackrow::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0;
  background-image: radial-gradient(circle at center, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
@media (hover:hover) and (pointer:fine) {
  .bh-home-v5 .bh-home-trackrow:hover::before { opacity: 1; }
  .bh-home-v5 .bh-home-trackrow:hover {
    background: rgba(255,255,255,.04) !important;
    border-radius: 0 !important;
  }
}
/* Playing indicator — violet left bar */
.bh-home-v5 .bh-home-trackrow.is-playing,
.bh-home-v5 .bh-home-trackrow:has(.master-play.is-playing) {
  background: rgba(109,40,217,.06) !important;
  border-bottom-color: rgba(167,139,250,.15) !important;
}
.bh-home-v5 .bh-home-trackrow.is-playing::after,
.bh-home-v5 .bh-home-trackrow:has(.master-play.is-playing)::after {
  content: '';
  position: absolute;
  left: -4px; top: 20%; bottom: 20%;
  width: 2.5px;
  border-radius: 0;
  background: linear-gradient(180deg, #a78bfa, #7c3aed);
  pointer-events: none;
}

/* ── 10. Genre Chips ─────────────────────────────────────── */
.bh-home-v5 .bh-home-genre-chip {
  position: relative;
  overflow: hidden;
  transition: color .22s ease, border-color .22s ease, background .22s ease, transform .18s cubic-bezier(.34,1.56,.64,1) !important;
}
.bh-home-v5 .bh-home-genre-chip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(167,139,250,.15), rgba(109,40,217,.08));
  opacity: 0;
  transition: opacity .22s ease;
}
.bh-home-v5 .bh-home-genre-chip:hover {
  border-color: rgba(167,139,250,.4) !important;
  color: #c4b5fd !important;
  transform: translateY(-2px) scale(1.02) !important;
}
.bh-home-v5 .bh-home-genre-chip:hover::before { opacity: 1; }

/* ── 11. News Cards ──────────────────────────────────────── */
.bh-home-v5 .bh-home-newscard {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  transition: border-color .25s ease, box-shadow .25s ease, transform .28s cubic-bezier(.23,1,.32,1);
}
.bh-home-v5 .bh-home-newscard:hover {
  border-color: rgba(167,139,250,.2) !important;
  box-shadow: 0 12px 36px rgba(0,0,0,.5) !important;
  transform: translateY(-3px);
}
.bh-home-v5 .bh-home-newscard__thumb {
  overflow: hidden;
  border-radius: 0 10px 0 0;
}
.bh-home-v5 .bh-home-newscard__thumb img {
  transition: transform .5s cubic-bezier(.23,1,.32,1) !important;
}
.bh-home-v5 .bh-home-newscard:hover .bh-home-newscard__thumb img {
  transform: scale(1.04) !important;
}
/* Overlay gradient on image hover */
.bh-home-v5 .bh-home-newscard__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(109,40,217,.18) 100%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.bh-home-v5 .bh-home-newscard:hover .bh-home-newscard__thumb::after { opacity: 1; }

/* ── 12. Lyric Cards ─────────────────────────────────────── */
.bh-home-v5 .bh-home-lyric-card {
  position: relative;
  overflow: hidden;
  transition: border-color .25s ease, transform .28s cubic-bezier(.23,1,.32,1), box-shadow .25s ease;
}
.bh-home-v5 .bh-home-lyric-card:hover {
  border-color: rgba(167,139,250,.22) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,.4) !important;
}
/* Gradient border reveal on hover (21st.dev bento pattern) */
.bh-home-v5 .bh-home-lyric-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(167,139,250,.35), transparent, rgba(167,139,250,.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.bh-home-v5 .bh-home-lyric-card:hover::after { opacity: 1; }

/* ── 13. Social Pills ────────────────────────────────────── */
.bh-home-v5 .bh-home-social-pill {
  transition: border-color .22s ease, box-shadow .22s ease, transform .18s cubic-bezier(.34,1.56,.64,1) !important;
  position: relative;
  overflow: hidden;
}
.bh-home-v5 .bh-home-social-pill:hover {
  box-shadow: 0 0 0 1px var(--sc, rgba(255,255,255,.2)), 0 4px 20px rgba(0,0,0,.4) !important;
  transform: translateY(-2px) !important;
}
.bh-home-v5 .bh-home-social-pill.is-live {
  animation: bh21-glow-pulse 2.5s ease-in-out infinite;
}

/* ── 14. Producers Strip — avatar ring ───────────────────── */
.bh-producers-strip .bh-prod-avatar,
.bh-home-v5 .bh-home-producers-grid .bh-home-producer-card {
  transition: transform .28s cubic-bezier(.34,1.56,.64,1), box-shadow .28s ease !important;
}
.bh-producers-strip .bh-prod-item:hover .bh-prod-avatar,
.bh-home-v5 .bh-home-producer-card:hover {
  transform: translateY(-4px) scale(1.04) !important;
  box-shadow: 0 8px 28px rgba(109,40,217,.3) !important;
}
/* Gradient ring on active producer avatar */
.bh-producers-strip .bh-prod-avatar {
  position: relative;
}
.bh-producers-strip .bh-prod-item:hover .bh-prod-avatar::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a78bfa, #7c3aed, #818cf8);
  z-index: -1;
  animation: bh21-glow-pulse 2s ease-in-out infinite;
}

/* ── 15. Global Player v2 — Enhanced ────────────────────── */
/* Aurora top stripe */
.bh-gp-v2 {
  position: relative;
  overflow: hidden;
}
.bh-gp-v2::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(129,140,248,.4) 20%,
    rgba(167,139,250,.7) 45%,
    rgba(196,181,244,.6) 55%,
    rgba(129,140,248,.4) 80%,
    transparent 100%);
  background-size: 200% 100%;
  animation: bh21-shimmer 4s linear infinite;
  pointer-events: none;
}

/* Transport button spring scale */
.bh-gp-v2 .bh-gp-btn {
  transition: background .18s ease, color .18s ease, transform .2s cubic-bezier(.34,1.56,.64,1) !important;
}
.bh-gp-v2 .bh-gp-btn:hover {
  transform: scale(1.1) !important;
}
.bh-gp-v2 .bh-gp-btn:active {
  transform: scale(0.92) !important;
}

/* Play button glow pulse when playing */
.bh-app-main-player.is-playing .bh-gp-play-btn,
.bh-app-main-player.is-playing .bh-gp-btn--play {
  animation: bh21-glow-pulse 2.5s ease-in-out infinite;
}

/* Progress bar violet fill glow */
.bh-gp-v2 .bh-gp-progress-fill,
.bh-gp-v2 .bh-gp-seek::-webkit-progress-value,
.bh-gp-v2 .bh-gp-prog-fill {
  background: linear-gradient(90deg, #7c3aed, #a78bfa) !important;
  box-shadow: 0 0 8px rgba(167,139,250,.5) !important;
}

/* Buy button shimmer */
.bh-gp-buy-btn {
  position: relative;
  overflow: hidden;
  transition: border-color .2s, color .2s, background .2s, transform .18s cubic-bezier(.34,1.56,.64,1) !important;
}
.bh-gp-buy-btn:hover {
  transform: scale(1.04) !important;
  border-color: rgba(167,139,250,.5) !important;
  background: rgba(109,40,217,.18) !important;
}
.bh-gp-buy-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(167,139,250,.15), transparent);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity .2s;
}
.bh-gp-buy-btn:hover::after {
  opacity: 1;
  animation: bh21-shimmer 1.5s linear infinite;
}

/* ── 16. Big Picture Player — Art frame ──────────────────── */
/* Enhanced violet glow ring on art */
#bh-big-player .bh-bp__art-wrap {
  transition: box-shadow .4s ease !important;
}
#bh-big-player.is-open .bh-bp__art-wrap {
  box-shadow:
    0 28px 80px rgba(0,0,0,.75),
    0 0 0 1px rgba(167,139,250,.2),
    0 0 60px rgba(109,40,217,.25) !important;
}

/* Transport buttons spring */
#bh-big-player .bh-bp__ctrl {
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), background .18s ease !important;
}
#bh-big-player .bh-bp__ctrl:hover {
  transform: scale(1.12) !important;
}
#bh-big-player .bh-bp__ctrl:active {
  transform: scale(0.88) !important;
}

/* Dismiss button spring */
#bh-big-player .bh-bp__dismiss {
  transition: background .18s ease, color .18s ease, transform .2s cubic-bezier(.34,1.56,.64,1) !important;
}
#bh-big-player .bh-bp__dismiss:hover {
  transform: scale(1.08) !important;
  background: rgba(255,255,255,.16) !important;
  color: #fff !important;
}

/* ── 17. Dock Navigation — spring scale + active glow ───── */
/* Spring scale on hover (CSS-only, no framer-motion) */
.bh-topnav .bh-dock-item {
  transition:
    background .18s ease,
    transform .22s cubic-bezier(.34,1.56,.64,1),
    color .18s ease !important;
  position: relative;
}
@media (hover:hover) and (pointer:fine) {
  .bh-topnav .bh-dock-item:not(.bh-dock-item--menu):hover {
    transform: scale(1.07) translateY(-1px) !important;
  }
}
/* Active item violet dot indicator */
.bh-topnav .bh-dock-item.active::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 6px rgba(167,139,250,.8);
  animation: bh21-indicator-in .3s cubic-bezier(.34,1.56,.64,1) both;
}
/* Cart badge — violet ring */
.bh-topnav .bh-dock-badge {
  box-shadow: 0 0 0 1.5px rgba(6,5,10,.9), 0 0 8px rgba(167,139,250,.4) !important;
}

/* ── 18. Beats Library Page — Track rows ─────────────────── */
/* Dot-grid hover on track rows */
.bh-library-v3 .bh-track-row,
.bh-library-v3 .track-item,
.bh-library-v3 [class*="track-row"] {
  position: relative;
  isolation: isolate;
  border-radius: 0;
  transition: background .2s ease !important;
}
.bh-library-v3 .bh-track-row::before,
.bh-library-v3 .track-item::before,
.bh-library-v3 [class*="track-row"]::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0;
  background-image: radial-gradient(circle at center, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
@media (hover:hover) and (pointer:fine) {
  .bh-library-v3 .bh-track-row:hover::before,
  .bh-library-v3 .track-item:hover::before,
  .bh-library-v3 [class*="track-row"]:hover::before { opacity: 1; }
}

/* Genre picker pill active state */
.bh-genre-picker .bh-genre-btn.is-active,
.bh-library-v3 .bh-genre-btn.is-active,
[class*="genre-picker"] .is-active {
  background: rgba(109,40,217,.2) !important;
  border-color: rgba(167,139,250,.5) !important;
  color: #c4b5fd !important;
  box-shadow: 0 0 12px rgba(109,40,217,.2) !important;
}
.bh-genre-picker .bh-genre-btn,
.bh-library-v3 .bh-genre-btn,
[class*="genre-picker"] button {
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .18s cubic-bezier(.34,1.56,.64,1) !important;
}
@media (hover:hover) and (pointer:fine) {
  .bh-genre-picker .bh-genre-btn:hover,
  .bh-library-v3 .bh-genre-btn:hover {
    transform: scale(1.03) !important;
    border-color: rgba(167,139,250,.3) !important;
  }
}

/* Vault panel glass */
.bh-library-v3 .vault-panel {
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  background: rgba(255,255,255,.025) !important;
  border-radius: 0 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 8px 32px rgba(0,0,0,.3) !important;
  transition: border-color .25s ease, box-shadow .25s ease !important;
}
.bh-library-v3 .vault-panel:hover {
  border-color: rgba(167,139,250,.15) !important;
}

/* ── 19. Single Beat Page — Purchase panel + waveform ────── */
/* Purchase panel glass card */
.bh-single-beat .purchase-container {
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  background: rgba(255,255,255,.025) !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  border-radius: 0 !important;
  padding: 20px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 16px 48px rgba(0,0,0,.4) !important;
}
.bh-single-beat .purchase-container::before {
  content: '';
  position: absolute;
  top: 0; left: 16px; right: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167,139,250,.4) 40%, rgba(196,181,244,.4) 60%, transparent);
  pointer-events: none;
}

/* License option buttons */
.bh-single-beat .license-option,
.bh-single-beat .bst-license-btn,
.bh-single-beat [class*="license-btn"],
.bh-single-beat [class*="license-option"] {
  transition: border-color .22s ease, background .22s ease, box-shadow .22s ease, transform .2s cubic-bezier(.34,1.56,.64,1) !important;
  position: relative;
  overflow: hidden;
}
.bh-single-beat .license-option:hover,
.bh-single-beat .bst-license-btn:hover,
.bh-single-beat [class*="license-btn"]:hover,
.bh-single-beat [class*="license-option"]:hover {
  border-color: rgba(167,139,250,.4) !important;
  background: rgba(109,40,217,.1) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(109,40,217,.2) !important;
}

/* Add to cart / buy now buttons */
.bh-single-beat .bst-add-to-cart,
.bh-single-beat .single_add_to_cart_button,
.bh-single-beat [class*="add-to-cart"],
.bh-single-beat .bst-buy-now {
  position: relative;
  overflow: hidden;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s ease !important;
}
.bh-single-beat .bst-add-to-cart:hover,
.bh-single-beat .single_add_to_cart_button:hover,
.bh-single-beat [class*="add-to-cart"]:hover,
.bh-single-beat .bst-buy-now:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 28px rgba(109,40,217,.35) !important;
}
/* Shimmer on CTA buttons */
.bh-single-beat .bst-add-to-cart::after,
.bh-single-beat .single_add_to_cart_button::after,
.bh-single-beat .bst-buy-now::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
  pointer-events: none;
}
.bh-single-beat .bst-add-to-cart:hover::after,
.bh-single-beat .single_add_to_cart_button:hover::after,
.bh-single-beat .bst-buy-now:hover::after {
  left: 140%;
}

/* Player panel refinement */
.bh-single-beat .bst-player {
  position: relative;
  overflow: hidden;
}
.bh-single-beat .bst-player::before {
  content: '';
  position: absolute;
  top: 0; left: 12px; right: 12px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,255,0,.3) 40%, rgba(196,181,244,.3) 60%, transparent);
  pointer-events: none;
}

/* Related beats cards */
.bh-single-beat .rel-item {
  transition: border-color .25s ease, transform .28s cubic-bezier(.23,1,.32,1), box-shadow .25s ease !important;
  position: relative;
  overflow: hidden;
}
.bh-single-beat .rel-item:hover {
  border-color: rgba(167,139,250,.22) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.4) !important;
}

/* ── 20. Tabs (genre/section tabs) — animated indicator ──── */
/* For any tab group using .bh-mode-btn or similar */
.bh-mode-tabs,
[class*="tab-bar"],
.bh-lib-tabs {
  position: relative;
}
.bh-mode-btn,
.bh-lib-tab,
[class*="tab-btn"] {
  transition: color .2s ease, background .2s ease !important;
  position: relative;
}
/* Active tab bottom indicator */
.bh-mode-btn.is-active::after,
.bh-lib-tab.is-active::after,
[class*="tab-btn"].is-active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 20%; right: 20%;
  height: 2px;
  border-radius: 0;
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
  animation: bh21-indicator-in .3s cubic-bezier(.34,1.56,.64,1) both;
}

/* ── 21. Cart / Checkout refinement ──────────────────────── */
/* Checkout button spring */
.bh-home-v5 .wc-proceed-to-checkout .checkout-button,
.bh-home-v5 .bh-home-coupon-btn,
.cart-checkout .wc-proceed-to-checkout .checkout-button {
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s ease, background .2s ease !important;
}
.bh-home-v5 .wc-proceed-to-checkout .checkout-button:hover,
.cart-checkout .wc-proceed-to-checkout .checkout-button:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 28px rgba(109,40,217,.3) !important;
}

/* Coupon input focus glow */
.bh-home-v5 .bh-home-coupon-input:focus {
  box-shadow: 0 0 0 2px rgba(109,40,217,.3) !important;
  border-color: rgba(167,139,250,.5) !important;
}

/* ── 22. Premium Layer / Vault ───────────────────────────── */
/* bh-premium-layer enhancements */
.bh-premium-gate,
.bh-vault-gate,
[class*="premium-gate"],
[class*="vault-panel"] {
  position: relative;
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease !important;
}
.bh-premium-gate::before,
.bh-vault-gate::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167,139,250,.4) 40%, rgba(196,181,244,.4) 60%, transparent);
  pointer-events: none;
}

/* Upgrade / unlock buttons */
[class*="upgrade-btn"],
[class*="unlock-btn"],
.bh-unlock-btn {
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s ease !important;
}
[class*="upgrade-btn"]:hover,
[class*="unlock-btn"]:hover,
.bh-unlock-btn:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 8px 24px rgba(109,40,217,.3) !important;
}

/* ── 23. Account / My-Account Page ──────────────────────────*/

/* Panel glassmorphism refinement */
#bh-account .bh-account__panel {
  position: relative;
  transition: border-color .25s ease, box-shadow .3s ease, transform .2s cubic-bezier(.34,1.56,.64,1) !important;
}
#bh-account .bh-account__panel:hover {
  border-color: rgba(167,139,250,.25) !important;
  box-shadow: 0 8px 32px rgba(109,40,217,.15), inset 0 1px 0 rgba(255,255,255,.06) !important;
}

/* Aurora top-line on panel hover */
#bh-account .bh-account__panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167,139,250,.45) 40%, rgba(196,181,244,.45) 60%, transparent);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
  border-radius: 0 14px 0 0;
}
#bh-account .bh-account__panel:hover::before { opacity: 1; }

/* Stat number glow */
#bh-account .bh-account__stats strong {
  background: linear-gradient(135deg, #fff 30%, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Action buttons spring */
#bh-account .bh-btn,
#bh-account .bh-account__action {
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s ease, background .2s ease !important;
}
#bh-account .bh-btn:hover,
#bh-account .bh-account__action:hover {
  transform: translateY(-2px) scale(1.02) !important;
}
#bh-account .bh-btn--accent:hover {
  box-shadow: 0 8px 24px rgba(109,40,217,.35) !important;
}

/* Download order card hover */
.bh-dl-order {
  position: relative;
  transition: border-color .2s ease, box-shadow .2s ease !important;
}
.bh-dl-order:hover {
  border-color: rgba(167,139,250,.2) !important;
  box-shadow: 0 4px 16px rgba(109,40,217,.12) !important;
}

/* Download item art dot-grid hover */
.bh-dl-item {
  position: relative;
  transition: background .2s ease !important;
}
.bh-dl-item:hover { background: rgba(167,139,250,.04) !important; }

/* Download button spring */
.bh-dl-item__btn {
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), border-color .2s ease, box-shadow .2s ease, background .2s ease !important;
}
.bh-dl-item__btn:hover {
  transform: scale(1.04) !important;
  box-shadow: 0 4px 14px rgba(109,40,217,.25) !important;
}

/* WooCommerce My Account sidebar nav */
body.woocommerce-account .woocommerce-MyAccount-navigation {
  transition: box-shadow .3s ease !important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  transition: color .18s ease, background .18s ease, padding-left .18s ease !important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  color: #c4b5fd !important;
  padding-left: 16px !important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  color: #a78bfa !important;
  border-left: 2px solid #7c3aed !important;
}

/* WC account content panel */
body.woocommerce-account .woocommerce-MyAccount-content {
  transition: box-shadow .3s ease !important;
}

/* ── 24. Songs Library Page ──────────────────────────────── */

/* Genre picker active chip glow (supplement beats-page.css) */
.bh-genre-btn.is-active,
.bh-maker-btn.is-active {
  box-shadow: 0 0 0 1px rgba(167,139,250,.5), 0 4px 14px rgba(109,40,217,.2) !important;
}

/* Library track row dot-grid hover (same pattern as beats page) */
.bh-lib-row,
.bh-song-row,
[class*="songs-library"] .bh-track-row {
  position: relative;
  overflow: hidden;
  transition: background .18s ease !important;
}
.bh-lib-row::after,
.bh-song-row::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.bh-lib-row:hover::after,
.bh-song-row:hover::after { opacity: 1; }

/* Library toolbar search input focus */
.bh-lib-search:focus,
.bh-songs-search:focus,
[class*="library"] input[type="search"]:focus,
[class*="library"] input[type="text"]:focus {
  border-color: rgba(167,139,250,.45) !important;
  box-shadow: 0 0 0 2px rgba(109,40,217,.2) !important;
  outline: none !important;
}

/* Tag/genre filter pills spring */
.bh-lib-tag,
.bh-filter-pill {
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), background .18s ease, border-color .18s ease !important;
}
.bh-lib-tag:hover,
.bh-filter-pill:hover {
  transform: scale(1.06) !important;
}

/* ── 25. Studio Tools Page ───────────────────────────────── */

/* Tool card hover elevation + aurora top-line */
.bst-card {
  position: relative;
  overflow: hidden;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .22s ease, border-color .22s ease !important;
}
.bst-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167,139,250,.5) 40%, rgba(196,181,244,.5) 60%, transparent);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.bst-card:hover { transform: translateY(-3px) scale(1.01) !important; }
.bst-card:hover::before { opacity: 1; }

/* Dot-grid reveal on tool card */
.bst-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  z-index: 0;
}
.bst-card:hover::after { opacity: 1; }

/* Tool card preview gradient shimmer */
.bst-card__preview {
  position: relative;
  overflow: hidden;
}
.bst-card__preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
}
.bst-card:hover .bst-card__preview::after { opacity: 1; }

/* Plan banner CTA spring */
.bst-plan-banner__upgrade {
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s ease, background .2s ease !important;
}
.bst-plan-banner__upgrade:hover {
  transform: translateY(-2px) scale(1.04) !important;
  box-shadow: 0 6px 20px rgba(109,40,217,.35) !important;
}

/* Urgency/trial banner violet accent */
.bst-trial-banner {
  border-color: rgba(124,58,237,.35) !important;
  box-shadow: 0 0 0 1px rgba(167,139,250,.12), inset 0 1px 0 rgba(255,255,255,.04) !important;
}

/* Tool header eyebrow shimmer */
.bst-header__eyebrow {
  position: relative;
  display: inline-block;
}
.bst-header__eyebrow::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167,139,250,.6), transparent);
}

/* Header pills spring */
.bst-header__pill {
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s ease, background .18s ease !important;
}
.bst-header__pill:hover {
  transform: scale(1.07) !important;
  box-shadow: 0 3px 10px rgba(109,40,217,.2) !important;
}

/* ==========================================================================
   PART III — BeatsHouse Home v6 · 21st.dev Layer Extensions
   Sections §26–§35 · Nav · Hero · Spotlight · Charts · Genres · Plans · Footer
   ========================================================================== */

/* ── 26. Navigation v6 — glassmorphism pill ──────────────── */
.bh-topnav__bar {
  background: rgba(10,9,14,.72) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
}
/* Logo (Home dock item) — gradient text */
.bh-topnav .bh-dock-item[data-bh-dock-key="home"] .bh-dock-item__label {
  background: linear-gradient(135deg, #fff 30%, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.04em;
  font-weight: 700;
}
/* Nav link spring underline */
.bh-topnav .bh-dock-item:not(.bh-dock-item--menu) {
  position: relative;
}
.bh-topnav .bh-dock-item:not(.bh-dock-item--menu):not([data-bh-dock-key="home"])::before {
  content: '';
  position: absolute;
  bottom: 2px; left: 8px; right: 8px;
  height: 1.5px;
  background: #a78bfa;
  border-radius: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
}
@media (hover:hover) and (pointer:fine) {
  .bh-topnav .bh-dock-item:not(.bh-dock-item--menu):not([data-bh-dock-key="home"]):hover::before {
    transform: scaleX(1);
  }
}
/* Active dot pulse — supplements §17 dot */
@keyframes bh21-dot-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(167,139,250,.5), 0 0 6px rgba(167,139,250,.7); }
  50%      { box-shadow: 0 0 0 3px rgba(167,139,250,.0), 0 0 10px rgba(167,139,250,.5); }
}
.bh-topnav .bh-dock-item.active::after {
  animation: bh21-dot-pulse 2s ease-in-out infinite !important;
}
/* Active label violet */
.bh-topnav .bh-dock-item.active .bh-dock-item__label {
  color: rgba(196,181,244,.9) !important;
}

/* ── 27. Hero v6 — tagline · stats · CTA shimmer · glow ──── */
/* Injected tagline */
.bh-v6-tagline {
  font: 700 clamp(1rem,2.4vw,1.5rem)/1.25 'Manrope', system-ui, sans-serif;
  letter-spacing: -.02em;
  color: rgba(255,255,255,.88);
  text-wrap: balance;
  margin: 6px 0 10px;
}
.bh-v6-gradient-word {
  background: linear-gradient(135deg, #fff 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* Sub-copy word stagger — JS sets these, CSS transitions them */
.bh-v6-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .3s cubic-bezier(.23,1,.32,1);
  will-change: opacity, transform;
}
.bh-v6-word.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stats row */
.bh-v6-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 4px;
}
.bh-v6-stat {
  position: relative;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 0;
  padding: 12px 18px;
  cursor: default;
  overflow: hidden;
  transition: border-color .22s ease, transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .22s ease;
  min-width: 72px;
}
.bh-v6-stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167,139,250,.5) 40%, rgba(196,181,244,.5) 60%, transparent);
  opacity: 0;
  transition: opacity .25s ease;
}
@media (hover:hover) and (pointer:fine) {
  .bh-v6-stat:hover {
    border-color: rgba(167,139,250,.3);
    transform: translateY(-2px);
  }
  .bh-v6-stat:hover::before { opacity: 1; }
}
.bh-v6-stat__num {
  display: block;
  font: 700 clamp(1.3rem,2.8vw,1.9rem)/1 'Manrope', system-ui, sans-serif;
  background: linear-gradient(135deg, #fff 20%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bh-v6-stat__label {
  display: block;
  font: 500 10px/1 'Manrope', sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-top: 5px;
}
/* Hero CTA shimmer */
.bh-ch-desc-cta {
  position: relative;
  overflow: hidden;
}
.bh-ch-desc-cta::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
  pointer-events: none;
}
@media (hover:hover) and (pointer:fine) {
  .bh-ch-desc-cta:hover::before {
    animation: bh21-shimmer 1.2s linear;
  }
}
/* Secondary AI Tools CTA */
.bh-v6-cta-secondary {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  font: 600 10px/1 'Manrope', sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s cubic-bezier(.34,1.56,.64,1), color .2s;
  margin-top: 8px;
}
@media (hover:hover) and (pointer:fine) {
  .bh-v6-cta-secondary:hover {
    border-color: rgba(167,139,250,.4);
    background: rgba(109,40,217,.1);
    transform: translateY(-2px);
    color: #c4b5fd;
  }
}
/* Decorative glow pulse on .bh-ch-desc */
@keyframes bh21-hero-glow {
  0%,100% { opacity: .22; }
  50%      { opacity: .38; }
}
.bh-ch-desc {
  position: relative;
}
.bh-ch-desc::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 120px;
  z-index: -1;
  background: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(109,40,217,.28), transparent);
  animation: bh21-hero-glow 4s ease-in-out infinite;
  pointer-events: none;
}

/* ── 28. Spotlight / Featured card ───────────────────────── */
.bh-ch-spotlight {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}
.bh-ch-spotlight__glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(300px circle at 50% 50%, rgba(167,139,250,.07), transparent);
  z-index: 1;
  transition: background .12s ease;
}
/* Featured shimmer badge */
.bh-ch-spot-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font: 700 9px/1 'Manrope', sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(167,139,250,.2), rgba(109,40,217,.1));
  border: 1px solid rgba(167,139,250,.22);
  color: #c4b5fd;
  position: relative;
  overflow: hidden;
  margin-bottom: 6px;
}
.bh-ch-spot-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  background-size: 200% 100%;
  animation: bh21-shimmer 3s linear infinite;
}
/* Now Trending badge — amber pulse ring */
.bh-ch-spot-trending {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  font: 600 9px/1 'Manrope', sans-serif;
  letter-spacing: .1em;
  color: #f59e0b;
  background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.22);
  margin-bottom: 4px;
}
@keyframes bh21-trending-ring {
  0%,100% { box-shadow: 0 0 0 0 rgba(245,158,11,.5); }
  50%      { box-shadow: 0 0 0 5px rgba(245,158,11,.0); }
}
.bh-ch-spot-trending { animation: bh21-trending-ring 2s ease-in-out infinite; }
/* Magnetic play CTA — JS handles transform offset */
.bh-ch-spot-cta {
  transition: transform .3s cubic-bezier(.34,1.56,.64,1) !important;
}
/* Price chip gradient border */
.bh-ch-spot-price {
  position: relative;
  display: inline-block;
  padding: 3px 10px;
  border-radius: 0;
  font: 600 12px/1.2 'Manrope', sans-serif;
  color: #c4b5fd;
}
.bh-ch-spot-price::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(167,139,250,.45), rgba(255,255,255,.05));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ── 29. Top Charts / Leaderboard ────────────────────────── */
.bh-home-top-feed .bh-home-topcard__rank {
  font-size: clamp(1.8rem,4vw,2.8rem) !important;
  font-weight: 800 !important;
  letter-spacing: -.05em !important;
  line-height: 1 !important;
}
/* Rank gradient on #01 */
.bh-home-top-feed .bh-home-topcard:first-child .bh-home-topcard__rank {
  background: linear-gradient(135deg, #fff, #c4b5fd) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
}
/* Fading opacity by rank */
.bh-home-top-feed .bh-home-topcard:nth-child(2) .bh-home-topcard__rank { color: rgba(255,255,255,.6) !important; -webkit-text-fill-color: rgba(255,255,255,.6) !important; }
.bh-home-top-feed .bh-home-topcard:nth-child(3) .bh-home-topcard__rank { color: rgba(255,255,255,.4) !important; -webkit-text-fill-color: rgba(255,255,255,.4) !important; }
.bh-home-top-feed .bh-home-topcard:nth-child(4) .bh-home-topcard__rank { color: rgba(255,255,255,.26) !important; -webkit-text-fill-color: rgba(255,255,255,.26) !important; }
.bh-home-top-feed .bh-home-topcard:nth-child(5) .bh-home-topcard__rank { color: rgba(255,255,255,.16) !important; -webkit-text-fill-color: rgba(255,255,255,.16) !important; }
/* Row hover: background + border-left spring */
.bh-home-top-feed .bh-home-topcard {
  border-left: 2px solid transparent;
  border-radius: 0;
  transition: background .2s ease, border-left-color .2s cubic-bezier(.34,1.56,.64,1) !important;
}
@media (hover:hover) and (pointer:fine) {
  .bh-home-top-feed .bh-home-topcard:hover {
    background: rgba(167,139,250,.04) !important;
    border-left-color: rgba(167,139,250,.4) !important;
    padding-left: 6px;
  }
}
/* Animated waveform bars for playing card */
.bh-v6-topcard-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  vertical-align: middle;
  margin-left: 6px;
}
.bh-v6-topcard-bars span {
  display: block;
  width: 3px;
  border-radius: 1.5px;
  background: #a78bfa;
}
.bh-v6-topcard-bars span:nth-child(1) { animation: bh21-bar1 .9s ease-in-out infinite; }
.bh-v6-topcard-bars span:nth-child(2) { animation: bh21-bar2 .9s ease-in-out infinite .18s; }
.bh-v6-topcard-bars span:nth-child(3) { animation: bh21-bar3 .9s ease-in-out infinite .36s; }
@keyframes bh21-bar1 { 0%,100%{height:4px} 50%{height:14px} }
@keyframes bh21-bar2 { 0%,100%{height:9px} 50%{height:4px} }
@keyframes bh21-bar3 { 0%,100%{height:6px} 50%{height:13px} }

/* ── 30. Browse Genre chips v6 ───────────────────────────── */
.bh-home-genres-feed .bh-home-genres-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bh-home-genre-chip {
  background: rgba(255,255,255,.05) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 999px !important;
  padding: 8px 18px !important;
  font: 500 12px/1 'Manrope', sans-serif !important;
  color: rgba(255,255,255,.7) !important;
  text-decoration: none !important;
  display: inline-block;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .2s ease !important;
}
@media (hover:hover) and (pointer:fine) {
  .bh-home-genre-chip:hover {
    background: rgba(109,40,217,.15) !important;
    border-color: rgba(167,139,250,.4) !important;
    color: #c4b5fd !important;
    transform: scale(1.08) !important;
  }
}
.bh-home-genre-chip.is-active,
.bh-home-genre-chip[aria-current] {
  background: rgba(109,40,217,.25) !important;
  box-shadow: 0 0 0 1px rgba(167,139,250,.5), 0 4px 14px rgba(109,40,217,.2) !important;
  border-color: rgba(167,139,250,.35) !important;
  color: #c4b5fd !important;
}
/* Genre tint variations */
.bh-home-genre-chip[href*="reggaeton"]:hover { background: rgba(139,58,180,.2) !important; }
.bh-home-genre-chip[href*="lofi"]:hover,
.bh-home-genre-chip[href*="lo-fi"]:hover   { background: rgba(79,70,229,.2) !important; }
.bh-home-genre-chip[href*="afro"]:hover    { background: rgba(16,185,129,.12) !important; border-color: rgba(16,185,129,.3) !important; }
.bh-home-genre-chip[href*="latin"]:hover   { background: rgba(245,158,11,.1) !important; border-color: rgba(245,158,11,.25) !important; }

/* ── 31. Songs feed — Exclusive/Request pill · premium card ── */
.bh-v6-song-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font: 600 9px/1 'Manrope', sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #f59e0b;
  background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.22);
  margin-left: 6px;
  vertical-align: middle;
}
.bh-home-songs-feed .bh-home-beatcard--premium {
  position: relative;
}
.bh-home-songs-feed .bh-home-beatcard--premium::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(167,139,250,.5), rgba(109,40,217,.2), rgba(167,139,250,.35));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ── 32. Plans v6 — Pro ring · CTA shimmer · comparison ──── */
/* Pro card animated ring */
@keyframes bh21-plan-ring {
  0%,100% { box-shadow: 0 0 0 1px rgba(167,139,250,.2), 0 0 20px rgba(109,40,217,.1); }
  50%      { box-shadow: 0 0 0 3px rgba(167,139,250,.45), 0 0 32px rgba(109,40,217,.28); }
}
.bh-home-plan-card--studio {
  animation: bh21-plan-ring 3s ease-in-out infinite !important;
}
/* CTA shimmer */
.bh-home-plan-card__cta {
  position: relative;
  overflow: hidden;
}
.bh-home-plan-card__cta::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
  pointer-events: none;
}
@media (hover:hover) and (pointer:fine) {
  .bh-home-plan-card__cta:hover::before {
    animation: bh21-shimmer 1.2s linear;
  }
}
/* Compare trigger */
.bh-v6-compare-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 14px auto 0;
  background: transparent;
  border: none;
  font: 500 11px/1 'Manrope', sans-serif;
  color: rgba(167,139,250,.65);
  cursor: pointer;
  padding: 7px 14px;
  border-radius: 0;
  transition: color .2s ease, background .2s ease;
}
@media (hover:hover) and (pointer:fine) {
  .bh-v6-compare-trigger:hover { color: #c4b5fd; background: rgba(109,40,217,.08); }
}
.bh-v6-compare-trigger svg {
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.bh-v6-compare-trigger.is-open svg { transform: rotate(180deg); }
/* Comparison table accordion */
.bh-v6-compare-table-wrap {
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s cubic-bezier(.23,1,.32,1);
  margin-top: 10px;
}
.bh-v6-compare-table-wrap.is-open { max-height: 500px; }
.bh-v6-compare-table {
  width: 100%;
  border-collapse: collapse;
  font: 400 12px/1.4 'Manrope', sans-serif;
  color: rgba(255,255,255,.58);
}
.bh-v6-compare-table thead th {
  padding: 8px 10px;
  font: 600 10px/1 'Manrope', sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  border-bottom: 1px solid rgba(255,255,255,.06);
  text-align: center;
}
.bh-v6-compare-table thead th:first-child { text-align: left; }
.bh-v6-compare-table td {
  padding: 7px 10px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  text-align: center;
  transition: background .15s ease;
}
.bh-v6-compare-table td:first-child { text-align: left; }
.bh-v6-compare-table tr:hover td { background: rgba(255,255,255,.025); }
.bh-v6-compare-check { color: #a78bfa; }
.bh-v6-compare-dash  { color: rgba(255,255,255,.18); }

/* ── 33. Producers v6 — tooltip on hover ─────────────────── */
.bh-ps-card {
  position: relative;
}
.bh-v6-prod-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(10,9,14,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 0;
  padding: 6px 12px;
  font: 600 11px/1 'Manrope', sans-serif;
  color: rgba(255,255,255,.85);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease, transform .22s cubic-bezier(.34,1.56,.64,1);
  z-index: 20;
}
@media (hover:hover) and (pointer:fine) {
  .bh-ps-card:hover .bh-v6-prod-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ── 34. Footer v6 ────────────────────────────────────────── */
.bh-v6-footer-sep {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167,139,250,.25) 50%, transparent);
  margin-bottom: 20px;
}
.bh-v6-footer-brand {
  background: linear-gradient(135deg, #fff 30%, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.04em;
  font-weight: 800;
}
.bh-v6-footer-link {
  color: rgba(255,255,255,.32);
  text-decoration: none;
  transition: color .2s cubic-bezier(.34,1.56,.64,1);
}
@media (hover:hover) and (pointer:fine) {
  .bh-v6-footer-link:hover { color: #a78bfa; }
}

/* ── 35. Section headers — sparkle · see-all arrow ─────────── */
@keyframes bh21-sparkle-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.bh-v6-sparkle {
  display: inline-block;
  color: #a78bfa;
  animation: bh21-sparkle-rotate 8s linear infinite;
  margin-right: 2px;
}
/* See all → arrow translateX */
.bh-home-feed-see-all .bh-v6-arrow {
  display: inline-block;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1);
}
@media (hover:hover) and (pointer:fine) {
  .bh-home-feed-see-all:hover .bh-v6-arrow { transform: translateX(4px); }
}

/* ── Studio Tools — per-tool preview gradients (extends §25) ── */
.bst-card:nth-child(1) .bst-card__preview { background: linear-gradient(135deg, rgba(124,58,237,.3), rgba(200,255,0,.12)) !important; }
.bst-card:nth-child(2) .bst-card__preview { background: linear-gradient(135deg, rgba(59,130,246,.28), rgba(200,255,0,.12)) !important; }
.bst-card:nth-child(3) .bst-card__preview { background: linear-gradient(135deg, rgba(6,182,212,.22), rgba(200,255,0,.12)) !important; }
.bst-card:nth-child(4) .bst-card__preview { background: linear-gradient(135deg, rgba(16,185,129,.2), rgba(200,255,0,.12)) !important; }
.bst-card:nth-child(5) .bst-card__preview { background: linear-gradient(135deg, rgba(245,158,11,.2), rgba(200,255,0,.12)) !important; }
.bst-card:nth-child(6) .bst-card__preview { background: linear-gradient(135deg, rgba(239,68,68,.18), rgba(200,255,0,.12)) !important; }
/* Home tool pill per-tool tint */
.bh-home-tool-pill:nth-child(1) { --tool-tint: rgba(124,58,237,.15); }
.bh-home-tool-pill:nth-child(2) { --tool-tint: rgba(59,130,246,.15); }
.bh-home-tool-pill:nth-child(3) { --tool-tint: rgba(6,182,212,.12); }
/* Soon badge pulse */
.bh-home-tool-pill__soon {
  background: rgba(245,158,11,.15) !important;
  border: 1px solid rgba(245,158,11,.3) !important;
  color: #f59e0b !important;
  backdrop-filter: blur(2px) !important;
  padding: 2px 6px !important;
  border-radius: 0 !important;
  font-size: 9px !important;
}
@keyframes bh21-soon-pulse {
  0%,100% { border-color: rgba(245,158,11,.3); }
  50%      { border-color: rgba(245,158,11,.65); }
}
.bh-home-tool-pill--soon .bh-home-tool-pill__soon {
  animation: bh21-soon-pulse 2s ease-in-out infinite !important;
}
/* Tools grid layout */
.bh-home-plans-section .bh-home-tools-row {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)) !important;
  gap: 10px !important;
}

/* ── Performance: compositing + scroll ──────────────────── */
.bh-hf2 {
  overscroll-behavior-y: contain;
}
.bh-testi-section,
.bh-bento-section {
  contain: layout;
}
.bh-waves-section {
  contain: layout paint;
}
