:root {
  --bg: #000000;
  --bg-2: #09050f;
  --surface: #110a1d;
  --surface-2: #1b1030;
  --border: rgba(255, 255, 255, .2);
  --outline: rgba(255, 255, 255, .85);
  --text: #ffffff;
  --muted: #bcb4cf;
  --purple: #a855f7;
  --purple-d: #7c3aed;
  --gold: #f5c451;
  --gold-d: #d9a62b;
  --radius: 16px;
  --font: Inter, "Segoe UI", "Noto Sans", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
body.has-player { padding-bottom: 96px; }
img, svg { max-width: 100%; }
a { color: var(--gold); }
a:hover { color: #ffd978; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.gold { color: var(--gold); }
.purple { color: #c58bff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--gold); color: #1a1200; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none;
  border: 1px solid #fff;
}
.skip-link:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--outline);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: .08em; font-size: 1.15rem; }
.logo:hover { color: var(--gold); }
.site-nav { display: flex; gap: 6px; align-items: center; }
.site-nav a {
  color: var(--muted); text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent;
  transition: color .2s, background .2s, border-color .2s;
}
.site-nav a:hover { color: var(--text); background: var(--surface-2); border-color: var(--outline); }
.site-nav a[aria-current="page"] { color: #1a1200; background: var(--gold); border-color: #fff; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--outline); background: var(--surface);
  border-radius: 12px; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--bg-2); border-bottom: 1px solid var(--outline); padding: 12px 20px 18px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 16px; border-radius: 12px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; border: 1.5px solid #fff;
  font: inherit; font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .15s, box-shadow .2s, background .2s;
  min-height: 46px;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(180deg, #ffd56a, var(--gold-d)); color: #1a1200; box-shadow: 0 6px 20px rgba(245, 196, 81, .22); }
.btn-gold:hover { color: #1a1200; box-shadow: 0 8px 26px rgba(245, 196, 81, .4); }
.btn-purple { background: linear-gradient(180deg, #a050ff, var(--purple-d)); color: #fff; box-shadow: 0 6px 20px rgba(168, 85, 247, .3); }
.btn-purple:hover { color: #fff; box-shadow: 0 8px 26px rgba(168, 85, 247, .55); }
.btn-ghost { background: transparent; color: var(--text); border-color: #fff; }
.btn-ghost:hover { color: var(--text); border-color: var(--gold); background: var(--surface-2); }
.btn-sold { background: var(--surface-2); color: var(--muted); cursor: not-allowed; border-color: var(--border); }
.btn-sold:hover { transform: none; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-sm { padding: 8px 14px; min-height: 40px; font-size: .88rem; }
.text-link { font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Hero */
.hero {
  position: relative; overflow: hidden; padding: clamp(48px, 9vw, 110px) 0;
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(124, 58, 237, .4), transparent 60%),
    radial-gradient(50% 60% at 5% 90%, rgba(245, 196, 81, .14), transparent 60%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; margin-bottom: 14px; }
.grad {
  background: linear-gradient(90deg, #b36bff, var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-size: clamp(3rem, 11vw, 5.8rem); display: block; letter-spacing: -.04em; line-height: 1;
  filter: drop-shadow(0 0 1px #fff);
}
.h1-sub { display: block; font-size: clamp(1.5rem, 4vw, 2.4rem); margin-top: 12px; color: var(--text); }
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--muted); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.price-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.price-chips li { border: 1px solid var(--outline); background: var(--surface); padding: 6px 14px; border-radius: 999px; font-size: .9rem; color: var(--muted); }
.price-chips strong { color: var(--gold); margin-right: 4px; }

.hero-visual { display: flex; justify-content: center; }
.vinyl {
  position: relative; width: min(380px, 80vw); aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #1b1030 0 18%, transparent 18.5%),
    repeating-radial-gradient(circle at 50% 50%, #050309 0 3px, #150c25 3px 5px);
  border: 2px solid #fff;
  box-shadow: 0 0 80px rgba(124, 58, 237, .5), 0 0 0 10px rgba(168, 85, 247, .1);
  display: grid; place-items: center;
}
.vinyl-label {
  position: absolute; width: 28%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--purple), var(--gold)); color: #12081f; font-weight: 800; letter-spacing: .06em; font-size: 1.3rem;
  border: 2px solid #fff;
}
.eq { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; gap: 5%; padding: 0 10% 24%; pointer-events: none; }
.eq i {
  display: block; width: 4.5%; height: 36%; border-radius: 6px; transform-origin: bottom;
  background: linear-gradient(180deg, var(--gold), var(--purple));
  animation: eq 1.1s ease-in-out infinite alternate; animation-delay: var(--d);
  opacity: .95;
}
.eq i:nth-child(odd) { height: 50%; }
@keyframes eq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .vinyl { width: min(240px, 60vw); }
}

/* Sections */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section.tight { padding-top: clamp(24px, 4vw, 40px); }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--outline); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head.center { justify-content: center; text-align: center; }
.page-hero {
  padding: clamp(40px, 7vw, 80px) 0 clamp(16px, 3vw, 32px);
  background: radial-gradient(60% 100% at 80% 0%, rgba(124, 58, 237, .32), transparent 65%), var(--bg);
}
.thanks-hero { text-align: center; }
.check {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--purple), var(--gold)); color: #12081f; border: 2px solid #fff;
  box-shadow: 0 0 50px rgba(124, 58, 237, .55);
}
.thanks-hero .lead { margin-inline: auto; }

/* Beat cards */
.beat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.beat-card {
  background: var(--surface); border: 1px solid var(--outline); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.beat-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 14px 40px rgba(124, 58, 237, .35); }
.cover-wrap { position: relative; }
.cover {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  border-bottom: 1px solid var(--outline);
  display: flex; align-items: flex-end; justify-content: center;
}
.cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 30% 20%, rgba(255, 255, 255, .2), transparent 60%); }
.cover svg { width: 82%; fill: rgba(255, 255, 255, .6); position: relative; z-index: 1; margin-bottom: 6%; }
.cover-tag { position: absolute; top: 10px; left: 12px; z-index: 2; font-size: .68rem; font-weight: 800; letter-spacing: .16em; color: rgba(255, 255, 255, .92); }
.play-btn {
  position: absolute; right: 14px; bottom: -22px; z-index: 3; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid #fff; cursor: pointer;
  background: linear-gradient(180deg, #ffd56a, var(--gold-d)); color: #1a1200; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .6); transition: transform .15s;
}
.play-btn:hover { transform: scale(1.08); }
.play-btn .i-pause, .player-toggle .i-pause { display: none; }
.play-btn.is-playing .i-play, .player-toggle.is-playing .i-play { display: none; }
.play-btn.is-playing .i-pause, .player-toggle.is-playing .i-pause { display: block; }
.play-btn.is-playing { background: linear-gradient(180deg, #a050ff, var(--purple-d)); color: #fff; }
.beat-body { padding: 22px 18px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.beat-body h3 { margin: 0; }
.beat-meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .85rem; }
.beat-meta li { background: var(--surface-2); padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border); }
.beat-meta .pill-genre { color: #f0dcff; background: rgba(124, 58, 237, .45); font-weight: 700; border-color: rgba(255, 255, 255, .6); }
.beat-actions { display: grid; gap: 10px; margin-top: auto; }

/* Filters */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.chip {
  font: inherit; font-weight: 700; font-size: .9rem; color: var(--muted); background: var(--surface);
  border: 1px solid var(--outline); padding: 9px 18px; border-radius: 999px; cursor: pointer; min-height: 42px; transition: all .2s;
}
.chip:hover { color: var(--text); border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--purple-d); border-color: #fff; color: #fff; }
.result-count { color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.empty { text-align: center; padding: 40px 0; color: var(--muted); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.steps li p { color: var(--muted); margin: 0; }
.step-num {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; margin-bottom: 14px; font-weight: 800;
  background: linear-gradient(135deg, var(--purple), var(--gold)); color: #12081f; border: 1.5px solid #fff;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* CTA band + note box */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: clamp(28px, 5vw, 48px); border-radius: 24px; border: 1px solid var(--outline);
  background: linear-gradient(120deg, rgba(124, 58, 237, .5), rgba(245, 196, 81, .14)), var(--surface);
}
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { margin: 0; color: var(--muted); max-width: 52ch; }
.note-box { margin: 40px 0 0; padding: 24px; border: 1px solid var(--outline); border-left: 4px solid var(--gold); background: var(--surface); border-radius: var(--radius); }
.note-box h2 { font-size: 1.25rem; }
.note-box p { margin: 0; color: var(--muted); }

/* Licensing */
.table-wrap { overflow-x: auto; border: 1px solid var(--outline); border-radius: var(--radius); background: var(--surface); }
.license-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.license-table th, .license-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.license-table tbody tr:last-child th, .license-table tbody tr:last-child td { border-bottom: 0; }
.license-table thead th { background: var(--surface-2); font-size: 1.05rem; border-bottom: 1px solid var(--outline); }
.license-table thead .price { display: block; font-size: 1.8rem; font-weight: 800; }
.col-rent .price { color: var(--gold); }
.col-excl .price { color: #c88bff; }
.license-table tbody th { font-weight: 600; color: var(--text); width: 36%; }
.license-table td { color: var(--muted); }
.license-table tbody tr:hover { background: rgba(168, 85, 247, .1); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 36px 0; }
.card-panel { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--radius); padding: 28px; }
.card-panel p { color: var(--muted); }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.faq { margin: 40px 0 24px; }
.faq details { background: var(--surface); border: 1px solid var(--outline); border-radius: 12px; margin-bottom: 10px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style-position: outside; }
.faq details[open] { border-color: var(--gold); }
.faq details p { color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: var(--surface); border: 1px solid var(--outline); border-radius: 20px; padding: clamp(20px, 4vw, 34px); }
.field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.field-row { display: flex; gap: 16px; flex-wrap: wrap; }
.field-row .field { min-width: 200px; }
label { font-weight: 600; font-size: .92rem; }
input, select, textarea {
  font: inherit; color: var(--text); background: #000; border: 1px solid var(--outline); border-radius: 12px; padding: 13px 14px; width: 100%;
  min-height: 48px;
}
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #8f86a6; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(245, 196, 81, .7); border-color: #fff; }
.success { margin-top: 18px; padding: 16px 18px; border-radius: 12px; background: rgba(245, 196, 81, .14); border: 1px solid var(--gold); color: #ffe7a3; font-weight: 600; }
.side-card { background: linear-gradient(160deg, rgba(124, 58, 237, .4), var(--surface)); border: 1px solid var(--outline); border-radius: 20px; padding: 28px; }
.mini-steps { padding-left: 20px; color: var(--muted); }
.mini-steps li { margin-bottom: 10px; }

/* Thanks */
.delivery { list-style: none; counter-reset: d; padding: 0; margin: 0 0 8px; display: grid; gap: 16px; }
.delivery li { counter-increment: d; position: relative; padding: 22px 22px 22px 76px; background: var(--surface); border: 1px solid var(--outline); border-radius: var(--radius); }
.delivery li::before {
  content: counter(d); position: absolute; left: 22px; top: 22px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; background: linear-gradient(135deg, var(--purple), var(--gold)); color: #12081f; border: 1.5px solid #fff;
}
.delivery h2 { font-size: 1.2rem; margin-bottom: 6px; }
.delivery p { margin: 0; color: var(--muted); }
.narrow .hero-actions { margin-top: 28px; }

/* Footer */
.site-footer { border-top: 1px solid var(--outline); background: var(--bg-2); padding: 40px 0; margin-top: 20px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; align-items: start; }
.footer-inner nav { display: flex; flex-direction: column; gap: 8px; }
.footer-inner nav a { color: var(--muted); text-decoration: none; }
.footer-inner nav a:hover { color: var(--gold); }
.footer-inner p { margin: 8px 0 0; }
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; } }

/* Sticky player */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; gap: 16px; padding: 12px max(20px, calc((100vw - 1160px) / 2));
  background: rgba(8, 4, 14, .97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--outline); box-shadow: 0 -10px 40px rgba(0, 0, 0, .7);
}
.player[hidden] { display: none; }
.player-cover { width: 64px; flex: none; border-radius: 10px; overflow: hidden; border: 1px solid var(--outline); }
.player-cover .cover { aspect-ratio: 1; border-bottom: 0; }
.player-cover .cover svg, .player-cover .cover-tag { display: none; }
.player-info { display: flex; flex-direction: column; min-width: 0; flex: 0 1 220px; }
.player-info strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-info span { color: var(--muted); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-toggle {
  flex: none; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid #fff; cursor: pointer; display: grid; place-items: center;
  background: linear-gradient(180deg, #ffd56a, var(--gold-d)); color: #1a1200;
}
.player-progress { flex: 1; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; min-width: 0; }
.player-progress input[type="range"] {
  --p: 0%; -webkit-appearance: none; appearance: none; min-height: 24px; padding: 0; border: 0; background: transparent; flex: 1;
}
.player-progress input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--gold) var(--p), rgba(255, 255, 255, .28) var(--p));
}
.player-progress input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .28); }
.player-progress input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--gold); }
.player-progress input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; margin-top: -5px; }
.player-progress input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: #fff; }
.player-progress input[type="range"]:disabled { opacity: .9; }
.player-close {
  flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--outline); background: var(--surface); color: var(--text);
  font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.player-close:hover { border-color: var(--gold); }
@media (max-width: 720px) {
  body.has-player { padding-bottom: 140px; }
  .player { flex-wrap: wrap; gap: 10px 12px; padding: 10px 16px 12px; }
  .player-cover { width: 48px; }
  .player-info { flex: 1; }
  .player-progress { order: 5; flex: 0 0 100%; }
  .player #pRent { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .eq i { animation: none; }
  .btn, .beat-card, .play-btn { transition: none; }
}