:root { color-scheme: dark; --bv-bg: #10151d; --bv-panel: #181f29; --bv-panel-2: #202936; --bv-line: #344153; --bv-text: #f5f7fb; --bv-muted: #aab6c5; --bv-accent: #e5a31b; --bv-blue: #45a7ff; --bv-green: #39c78a; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 0; color: var(--bv-text); background: var(--bv-bg); font-family: Inter, "Segoe UI", system-ui, sans-serif; }
button, input { font: inherit; } button { cursor: pointer; } button:disabled { cursor: not-allowed; }
.bv-shell { min-height: 100dvh; padding-bottom: 124px; overflow-x: clip; }
.bv-topbar { position: sticky; z-index: 30; top: 0; min-height: 62px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(16, 21, 29, .93); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(16px); }
.bv-back, .bv-cart { min-height: 38px; padding: 8px 10px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--bv-line); border-radius: 8px; color: var(--bv-text); background: var(--bv-panel); text-decoration: none; font-size: .78rem; font-weight: 800; }
.bv-cart-count { min-width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; color: #19150b; background: var(--bv-accent); font-size: .68rem; }
.bv-brand { min-width: 0; text-align: center; } .bv-brand strong { display: block; letter-spacing: .12em; font-size: .96rem; } .bv-brand span { color: var(--bv-muted); font-size: .63rem; }
.bv-hero { padding: 30px 16px 24px; background: radial-gradient(circle at 85% 15%, rgba(69,167,255,.22), transparent 34%), radial-gradient(circle at 12% 80%, rgba(229,163,27,.14), transparent 36%); border-bottom: 1px solid rgba(255,255,255,.07); }
.bv-hero-inner, .bv-section-inner, .bv-tools { width: min(100%, 1180px); margin: auto; }
.bv-kicker { margin: 0 0 8px; color: var(--bv-accent); font-size: .69rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.bv-hero h1 { max-width: 760px; margin: 0; font-size: clamp(2rem, 9vw, 4.3rem); line-height: .97; letter-spacing: 0; }
.bv-hero p:last-child { max-width: 620px; margin: 13px 0 0; color: var(--bv-muted); font-size: .95rem; line-height: 1.55; }
.bv-tools { padding: 18px 16px 12px; display: grid; gap: 12px; }
.bv-tools-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.bv-search { min-height: 48px; display: flex; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid var(--bv-line); border-radius: 8px; background: var(--bv-panel); } .bv-search input { width: 100%; border: 0; outline: 0; color: var(--bv-text); background: transparent; } .bv-search input::placeholder { color: #8591a1; }
.bv-language { min-height: 48px; display: inline-flex; overflow: hidden; border: 1px solid var(--bv-line); border-radius: 8px; background: var(--bv-panel); }.bv-language button { min-width: 35px; border: 0; color: var(--bv-muted); background: transparent; font-size: .69rem; font-weight: 900; }.bv-language button[aria-pressed="true"] { color: #17130a; background: var(--bv-accent); }
.bv-chip-row { display: flex; gap: 8px; overflow-x: auto; padding: 1px 0 7px; scrollbar-width: none; } .bv-chip-row::-webkit-scrollbar { display: none; }
.bv-chip { min-height: 35px; flex: 0 0 auto; padding: 7px 11px; border: 1px solid var(--bv-line); border-radius: 999px; color: var(--bv-muted); background: var(--bv-panel); font-size: .76rem; font-weight: 750; } .bv-chip[aria-pressed="true"] { color: #17130a; border-color: var(--bv-accent); background: var(--bv-accent); }
.bv-section { padding: 20px 0 8px; }.bv-section-header { padding: 0 16px 12px; display: flex; align-items: end; justify-content: space-between; gap: 12px; }.bv-section-header h2 { margin: 0; font-size: 1.18rem; }.bv-section-header p { margin: 3px 0 0; color: var(--bv-muted); font-size: .78rem; }.bv-section-header a { color: var(--bv-accent); font-size: .76rem; font-weight: 800; text-decoration: none; }
.bv-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(235px, 74vw); gap: 12px; overflow-x: auto; overscroll-behavior-inline: contain; padding: 2px 16px 16px; scroll-snap-type: inline mandatory; scrollbar-width: none; }.bv-rail::-webkit-scrollbar { display: none; }
.bv-card { min-width: 0; display: grid; overflow: hidden; scroll-snap-align: start; border: 1px solid rgba(255,255,255,.09); border-radius: 8px; background: var(--bv-panel); box-shadow: 0 11px 22px rgba(0,0,0,.18); }.bv-cover { position: relative; aspect-ratio: 1/1; overflow: hidden; background: #111721; }.bv-cover img { width: 100%; height: 100%; display: block; object-fit: cover; }.bv-tier { position: absolute; top: 10px; left: 10px; padding: 4px 7px; border-radius: 5px; color: #11151c; background: var(--bv-accent); font-size: .63rem; font-weight: 900; text-transform: uppercase; }.bv-play { position: absolute; right: 9px; bottom: 9px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: #fff; background: rgba(12,17,25,.78); backdrop-filter: blur(8px); }.bv-play.is-playing { color: #10151d; background: var(--bv-accent); }.bv-play:disabled { opacity: .42; }.bv-card-body { padding: 12px; display: grid; gap: 8px; }.bv-card-meta { color: var(--bv-blue); font-size: .67rem; font-weight: 850; text-transform: uppercase; }.bv-card h3 { margin: 0; min-height: 2.45em; overflow: hidden; font-size: .92rem; line-height: 1.23; }.bv-description-trigger { min-height: 3.9em; padding: 0; overflow: hidden; border: 0; color: var(--bv-muted); background: transparent; text-align: left; font-size: .73rem; line-height: 1.4; }.bv-description-trigger::after { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 0 1px 5px; border-right: 1px solid var(--bv-accent); border-bottom: 1px solid var(--bv-accent); transform: rotate(45deg); }.bv-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }.bv-price { color: var(--bv-text); font-size: .91rem; font-weight: 900; }.bv-more { padding: 6px 0; border: 0; color: var(--bv-accent); background: none; font-size: .74rem; font-weight: 850; }
.bv-empty { margin: 36px 16px; padding: 22px; border: 1px dashed var(--bv-line); border-radius: 8px; color: var(--bv-muted); text-align: center; }
.bv-player { position: fixed; z-index: 50; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); left: 10px; min-height: 64px; padding: 8px; display: grid; grid-template-columns: 42px minmax(0,1fr) 34px 30px; align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: rgba(24,31,41,.96); box-shadow: 0 16px 38px rgba(0,0,0,.4); backdrop-filter: blur(15px); }.bv-player[hidden] { display: none; }.bv-disc { width: 38px; height: 38px; border: 3px solid #303947; border-radius: 50%; background: radial-gradient(circle, var(--bv-accent) 0 12%, #171c24 14% 33%, #343f4e 35% 38%, #181f29 40%); }.bv-disc.is-playing { animation: bv-spin 2.2s linear infinite; }.bv-player-info { min-width: 0; }.bv-player-info strong, .bv-player-info span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }.bv-player-info strong { font-size: .75rem; }.bv-player-info span { margin-top: 2px; color: var(--bv-muted); font-size: .65rem; }.bv-player-toggle { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #17130a; background: var(--bv-accent); font-weight: 900; }.bv-player-close { width: 30px; height: 30px; border: 0; border-radius: 50%; color: var(--bv-muted); background: transparent; font-size: 1.1rem; }
.bv-overlay { position: fixed; z-index: 80; inset: 0; display: grid; align-items: end; background: rgba(0,0,0,.62); }.bv-overlay[hidden] { display: none; }.bv-sheet { width: min(100%, 700px); max-height: min(84dvh, 720px); margin-inline: auto; overflow: auto; border: 1px solid rgba(255,255,255,.12); border-radius: 14px 14px 0 0; background: var(--bv-panel); }.bv-sheet-head { position: sticky; z-index: 1; top: 0; padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--bv-line); background: rgba(24,31,41,.96); }.bv-sheet-head button { width: 34px; height: 34px; border: 0; border-radius: 50%; color: var(--bv-text); background: var(--bv-panel-2); }.bv-detail { padding: 16px; }.bv-detail-image { width: min(100%, 330px); display: block; margin: 0 auto 18px; border-radius: 8px; }.bv-detail h2 { margin: 6px 0; font-size: 1.45rem; line-height: 1.1; }.bv-detail .bv-detail-genre { color: var(--bv-blue); font-size: .76rem; font-weight: 800; }.bv-detail p { color: var(--bv-muted); font-size: .88rem; line-height: 1.55; }.bv-contents { margin-top: 18px; padding: 14px; border: 1px solid var(--bv-line); border-radius: 8px; background: var(--bv-panel-2); }.bv-contents h3 { margin: 0 0 8px; color: var(--bv-accent); font-size: .82rem; text-transform: uppercase; }.bv-detail ul { margin: 0; padding-left: 19px; color: var(--bv-muted); font-size: .84rem; line-height: 1.48; }.bv-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 18px; }.bv-primary, .bv-secondary { min-height: 46px; padding: 9px; border-radius: 7px; font-weight: 900; }.bv-primary { border: 1px solid var(--bv-accent); color: #17130a; background: var(--bv-accent); }.bv-secondary { border: 1px solid var(--bv-line); color: var(--bv-text); background: var(--bv-panel-2); }.bv-pending { margin: 14px 0 0; padding: 10px; border-left: 3px solid var(--bv-accent); color: var(--bv-muted); background: #202936; font-size: .76rem; }
.bv-cart-panel { padding: 16px; }.bv-cart-limit { margin:-4px 0 9px;color:var(--bv-muted);font-size:.72rem}.bv-cart-message{margin:8px 0;padding:9px 10px;border:1px solid rgba(255,194,51,.35);border-radius:6px;color:var(--bv-accent);background:rgba(255,194,51,.08);font-size:.75rem}.bv-cart-item { padding: 12px 0; display: grid; grid-template-columns: 48px minmax(0,1fr) auto; align-items: center; gap: 10px; border-bottom: 1px solid var(--bv-line); }.bv-cart-item img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; }.bv-cart-item strong, .bv-cart-item span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.bv-cart-item strong { font-size: .8rem; }.bv-cart-item span { margin-top: 4px; color: var(--bv-accent); font-size: .72rem; font-weight: 800; }.bv-remove { width: 31px; height: 31px; border: 0; border-radius: 50%; color: var(--bv-muted); background: var(--bv-panel-2); }.bv-cart-subtotal,.bv-cart-discount,.bv-cart-total{display:flex;justify-content:space-between;gap:12px}.bv-cart-subtotal{margin-top:14px;color:var(--bv-muted);font-size:.76rem}.bv-cart-discount{margin-top:7px;color:#72dbab;font-size:.78rem;font-weight:800}.bv-cart-total { margin: 13px 0 16px; padding-top:12px;border-top:1px solid var(--bv-line);font-weight: 900; }.bv-checkout { width: 100%; }
.bv-checkout-form { padding: 22px 16px; }.bv-checkout-form h2 { margin: 0 0 10px; font-size: 1.55rem; }.bv-checkout-form > p { color: var(--bv-muted); line-height: 1.55; }.bv-checkout-form label { display: grid; gap: 7px; margin: 18px 0 10px; color: var(--bv-text); font-size: .85rem; font-weight: 800; }.bv-checkout-form input { min-height: 48px; padding: 10px 12px; border: 1px solid var(--bv-line); border-radius: 7px; color: var(--bv-text); background: var(--bv-panel-2); }.bv-checkout-form input:focus { outline: 2px solid var(--bv-blue); outline-offset: 2px; }.bv-checkout-form .bv-primary { width: 100%; margin-top: 8px; }.bv-checkout-note { padding: 10px; border-left: 3px solid var(--bv-accent); color: var(--bv-muted); background: var(--bv-panel-2); font-size: .78rem; line-height: 1.45; }.bv-form-feedback { min-height: 1.4em; margin: 10px 0 0; font-size: .78rem; }
.bv-confirmation { min-height: 100dvh; display: grid; place-items: center; padding: 20px; background: radial-gradient(circle at 70% 10%, rgba(69,167,255,.22), transparent 35%), radial-gradient(circle at 20% 85%, rgba(229,163,27,.18), transparent 34%), var(--bv-bg); }.bv-confirmation-card { width: min(100%, 540px); padding: 30px 22px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: rgba(24,31,41,.96); box-shadow: 0 22px 50px rgba(0,0,0,.28); text-align: center; }.bv-confirmation-mark { width: 72px; height: 72px; display: grid; place-items: center; margin: 0 auto 20px; border: 2px solid var(--bv-green); border-radius: 50%; color: var(--bv-green); font-size: 2.25rem; font-weight: 900; animation: bv-confirm 1.4s ease-in-out infinite alternate; }.bv-confirmation-card h1 { margin: 0 0 12px; font-size: 2rem; }.bv-confirmation-card > p:not(.bv-kicker) { margin: 0; color: var(--bv-muted); line-height: 1.58; }.bv-confirmation-note { margin: 22px 0; padding: 13px; border: 1px solid var(--bv-line); border-radius: 8px; color: var(--bv-muted); background: var(--bv-panel-2); text-align: left; font-size: .83rem; line-height: 1.45; }.bv-confirmation-actions { display: grid; gap: 10px; }.bv-confirmation-actions a { display: grid; place-items: center; min-height: 46px; text-decoration: none; }.bv-link { color: var(--bv-blue); font-size: .84rem; font-weight: 800; } @keyframes bv-confirm { to { transform: scale(1.06); } }
@keyframes bv-spin { to { transform: rotate(360deg); } }
@media (min-width: 720px) { .bv-shell { padding-bottom: 100px; }.bv-topbar { padding-inline: max(24px, calc((100vw - 1180px)/2)); }.bv-hero, .bv-tools { padding-inline: max(24px, calc((100vw - 1180px)/2)); }.bv-section-header { padding-inline: 0; }.bv-rail { grid-auto-flow: initial; grid-template-columns: repeat(4, minmax(0,1fr)); overflow: visible; padding-inline: 0; }.bv-section-inner { padding-inline: 24px; }.bv-player { width: min(560px, calc(100% - 40px)); right: 20px; left: auto; }.bv-sheet { border-radius: 14px; margin-bottom: 22px; }.bv-overlay { align-items: center; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

.bv-hero { position: relative; isolation: isolate; min-height: 260px; overflow: hidden; background: #111a26; }
.bv-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .52; background: repeating-linear-gradient(105deg, transparent 0 46px, rgba(69,167,255,.08) 47px, transparent 49px 92px); animation: bv-drift 12s linear infinite; }
.bv-hero::after { content: ""; position: absolute; inset: -70% -20%; z-index: -1; background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.12) 50%, transparent 58%); transform: translateX(-70%); animation: bv-sweep 7s ease-in-out infinite; }
.bv-hero-inner { position: relative; min-height: 210px; display: flex; align-items: center; }
.bv-hero-copy { position: relative; z-index: 2; max-width: min(100%, 760px); }
.bv-hero-copy h1, .bv-hero-copy > p:last-child { max-width: 250px; }
.bv-hero h1 { text-shadow: 0 0 28px rgba(69,167,255,.25); }
.bv-hero-motion { position: absolute; inset: 0 0 0 auto; width: 48%; pointer-events: none; }
.bv-hero-disc { position: absolute; width: 145px; aspect-ratio: 1; right: -35px; top: 2%; background: url("/assets/beatvault/vinyl-record-v2-512.webp") center / contain no-repeat; filter: drop-shadow(0 0 28px rgba(69,167,255,.35)); animation: bv-spin 10s linear infinite; }
.bv-equalizer { position: absolute; right: 0; bottom: 8px; height: 66px; display: flex; align-items: end; gap: 4px; opacity: .9; }
.bv-equalizer i { width: 4px; height: 54%; border-radius: 2px; background: linear-gradient(to top, #e5a31b, #45a7ff); transform-origin: bottom; animation: bv-beat 1.2s ease-in-out infinite alternate; }
.bv-equalizer i:nth-child(3n) { animation-duration: .75s; height: 80%; }.bv-equalizer i:nth-child(4n) { animation-duration: 1.65s; height: 35%; }
.bv-player { grid-template-columns: minmax(0,1fr) 38px 30px; }
.bv-player-open { min-width: 0; min-height: 48px; padding: 0; display: flex; align-items: center; gap: 9px; border: 0; color: var(--bv-text); background: transparent; text-align: left; }
.bv-disc { flex: 0 0 44px; width: 44px; height: 44px; border: 0; background: url("/assets/beatvault/vinyl-record-v2-512.webp") center / contain no-repeat; filter: drop-shadow(0 1px 6px rgba(69,167,255,.32)); }
.bv-disc.is-playing { animation-duration: 2.4s; }
.bv-player-info { display: block; }
.bv-player-toggle { width: 38px; height: 38px; }
.bv-detail-image { width: min(40vw, 180px); margin: 0 0 16px; }
.bv-compat { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--bv-line); }
.bv-compat h3 { margin: 0 0 10px; color: var(--bv-text); font-size: .88rem; }
.bv-compat > div { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.bv-compat strong { color: var(--bv-blue); font-size: .78rem; }
.bv-compat p { margin: 3px 0 0; font-size: .78rem !important; }
.bv-actions { grid-template-columns: repeat(2, minmax(0,1fr)); }
.bv-buy-now { grid-column: 1 / -1; }
.bv-primary, .bv-secondary { text-align: center; }
.bv-card, .bv-primary, .bv-secondary, .bv-player-open { transition: border-color .2s, background-color .2s, transform .2s; }
.bv-cover-open { width: 100%; height: 100%; display: block; padding: 0; border: 0; background: transparent; }
.bv-title-open { width: 100%; padding: 0; border: 0; color: inherit; background: transparent; text-align: left; font-size: inherit; font-weight: inherit; line-height: inherit; }
.bv-cover-open:focus-visible, .bv-title-open:focus-visible, .bv-player-open:focus-visible { outline: 2px solid var(--bv-accent); outline-offset: 2px; }
.bv-card:hover { border-color: rgba(69,167,255,.45); transform: translateY(-2px); }
.bv-primary:hover { background: #ffbd35; }
@keyframes bv-drift { to { background-position: 160px 0; } }
@keyframes bv-sweep { 50%, 100% { transform: translateX(70%); } }
@keyframes bv-beat { to { transform: scaleY(.27); } }
@media (min-width: 720px) {
  .bv-hero { min-height: 330px; }
  .bv-hero-inner { min-height: 275px; }
  .bv-hero-disc { width: 300px; right: 5%; }
  .bv-hero-copy h1, .bv-hero-copy > p:last-child { max-width: 650px; }
  .bv-equalizer { right: 5%; height: 100px; gap: 7px; }.bv-equalizer i { width: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .bv-hero::before, .bv-hero::after, .bv-hero-disc, .bv-equalizer i { animation: none; }
  .bv-disc.is-playing { animation: bv-spin 8s linear infinite; animation-duration: 8s !important; }
  .bv-card:hover { transform: none; }
}
