/* VMADETHEBEAT — obsidian / charcoal / metallic gold / deep crimson, per V's design spec (Dec 1, 2026).
   Polish pass (Dec 1, 2026): palette lifted per V's reference values — page #0E0E12, cards #1A1A22,
   hover #22222C, secondary text #B8B8C4, borders rgba(255,255,255,0.12); deep crimson #8B0000 stays
   for EXCLUSIVE borders, bright crimson #9B111E is the vivid accent. */
:root {
  --bg-page: #0E0E12;
  --bg-card: #1A1A22;
  --bg-card-hover: #22222C;
  --gold: #D4AF37;
  --gold-light: #F5DA7B;
  --crimson: #8B0000;
  --crimson-bright: #9B111E;
  --text-primary: #FFFFFF;
  --text-secondary: #B8B8C4;
  --border-card: rgba(255,255,255,0.12);
  /* legacy aliases used across the sheet */
  --bg: var(--bg-page);
  --surface: var(--bg-card);
  --surface2: var(--bg-card-hover);
  --line: var(--border-card);
  --text: var(--text-primary);
  --muted: var(--text-secondary);
  --gold2: var(--gold-light);
  --hh: 58px;
  --goldgrad: linear-gradient(180deg, #ffe98a 0%, #D4AF37 45%, #8a6d1f 60%, #f5d76e 100%);
  --royalgrad: linear-gradient(180deg, #f5d76e 0%, #D4AF37 38%, #a31621 74%, #8B0000 100%);
  --redgrad: linear-gradient(180deg, #e0443a 0%, #8B0000 100%);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { background: var(--bg); color: var(--text); font-family: "Helvetica Neue", Arial, sans-serif; padding-bottom: 96px; overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--gold2); }
button { font-family: inherit; }

/* Header — single row at every width; hamburger under 860px */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(14,14,18,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: nowrap; }
.logo { display: inline-flex; align-items: center; font-size: clamp(0.82rem, 3.6vw, 1.15rem); font-weight: 900; letter-spacing: 0.04em; white-space: nowrap; text-decoration: none; background: var(--goldgrad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 380px) {
  .header-inner { padding: 10px 10px; gap: 8px; }
  .logo-mark { height: 32px; margin-right: 8px; }
  .header-right { gap: 6px; }
  .cart-btn { padding: 7px 9px; }
  .nav-toggle { width: 38px; height: 36px; }
}
.logo .gold { background: var(--redgrad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-mark { height: 36px; width: auto; display: block; margin-right: 10px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.65)); }
#site-nav { display: flex; align-items: center; }
#site-nav a { color: var(--text); text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-left: 22px; white-space: nowrap; }
#site-nav a:hover { color: var(--crimson-bright); }
.nav-toggle { display: none; background: var(--surface); border: 1px solid var(--line); color: var(--gold2); font-size: 19px; line-height: 1; width: 42px; height: 38px; border-radius: 7px; cursor: pointer; flex: none; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  #site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface2); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 6px 16px 12px; box-shadow: 0 18px 30px rgba(0,0,0,.5); }
  #site-nav.open { display: flex; }
  #site-nav a { margin: 0; padding: 11px 0; border-bottom: 1px solid #1d1d22; }
  #site-nav a:last-child { border-bottom: none; }
}

/* Hero — compact, crimson/gold radial glow halo behind the crest */
.hero { border-bottom: 1px solid var(--line); text-align: center; padding: 42px 20px 46px; }
.crest-halo { position: relative; width: 100px; margin: 0 auto; }
.crest-halo::before { content: ""; position: absolute; inset: -24px; border-radius: 50%; background: radial-gradient(circle, rgba(155,17,30,0.42) 0%, rgba(212,175,55,0.14) 45%, transparent 72%); z-index: 0; pointer-events: none; }
.hero-crest { position: relative; z-index: 1; width: 100px; height: auto; display: block; margin: 0 auto; filter: drop-shadow(0 12px 26px rgba(0,0,0,.6)); }
.hero-kicker { letter-spacing: 6px; color: var(--muted); font-weight: 700; font-size: 13px; margin-top: 16px; }
.hero-title { font-size: clamp(32px, 9.2vw, 104px); font-weight: 900; letter-spacing: 0; line-height: 1.02; max-width: 100%; background: var(--royalgrad); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 8px 0 4px; }
.hero-sub { color: var(--muted); font-size: clamp(15px, 2.4vw, 19px); max-width: 560px; margin: 8px auto 0; }
.hero-teaser { margin-top: 24px; font-weight: 900; letter-spacing: 3px; font-size: 15px; background: var(--goldgrad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-cta { margin-top: 26px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 26px; border-radius: 6px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; font-size: 14px; text-decoration: none; }
.btn-gold { background: var(--goldgrad); color: #2a1503; box-shadow: 0 4px 18px rgba(212,175,55,.25); }
.btn-ghost { border: 1px solid var(--gold); color: var(--gold2); }
.hero-links { margin-top: 24px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero-links a { border: 1px solid var(--line); background: var(--surface); color: var(--text); padding: 8px 16px; border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 700; }
.hero-links a:hover { border-color: var(--crimson); color: var(--gold2); }

/* Featured — Beat of the Week: grid 64px 1fr auto, play badge overlaid on the cover
   so the title + pairing get the full center width (no truncation at 360px). */
.featured { position: relative; max-width: 560px; margin: 34px auto 0; background: var(--bg-card); border: 1px solid rgba(212,175,55,0.4); border-radius: 12px; padding: 14px; display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 14px; text-align: left; }
.featured-badge { position: absolute; top: -10px; left: 14px; background: var(--crimson); color: #fff; font-size: 10px; font-weight: 900; letter-spacing: 1.5px; padding: 3px 9px; border-radius: 4px; z-index: 2; }
.featured-cover-wrap { position: relative; width: 64px; height: 64px; flex: none; }
.featured-cover-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block; }
.featured-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border: none; border-radius: 8px; background: rgba(0,0,0,0.45); color: var(--gold); font-size: 18px; cursor: pointer; }
.featured-play:hover { background: rgba(155,17,30,0.55); color: #fff; }
.featured-meta { min-width: 0; }
.featured-title { font-size: 1rem; font-weight: 800; letter-spacing: .3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.featured-sub { color: var(--text-secondary); font-size: 12.5px; font-weight: 700; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.featured.playing { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
@media (max-width: 560px) {
  .featured { grid-template-columns: 64px 1fr; }
  .featured .row-price { grid-column: 2; justify-self: start; }
}

/* Credibility ticker */
.cred-bar { border-bottom: 1px solid var(--line); background: var(--surface2); padding: 10px 0; overflow: hidden; }
.cred-track { display: inline-flex; gap: 10px; padding-right: 10px; white-space: nowrap; animation: credscroll 30s linear infinite; will-change: transform; }
.cred-bar:hover .cred-track { animation-play-state: paused; }
@keyframes credscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.cred-badge { border: 1px solid rgba(212,175,55,.55); color: var(--gold2); background: var(--surface); padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .cred-track { animation: none; flex-wrap: wrap; white-space: normal; justify-content: center; display: flex; } }

/* Sections */
main { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
section { padding: 48px 0 8px; }
.section-head h2 { font-size: clamp(28px, 5vw, 42px); font-weight: 900; letter-spacing: 2px; background: var(--goldgrad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head p { color: var(--muted); margin-top: 8px; max-width: 680px; }

/* Promo banner + category tabs */
.promo-banner { margin-top: 22px; background: linear-gradient(90deg, #5c0000 0%, var(--crimson) 50%, #5c0000 100%); color: #fff; text-align: center; font-weight: 900; letter-spacing: 1.5px; padding: 12px 14px; border-radius: 8px; font-size: clamp(13px, 3.6vw, 16px); }
.promo-banner span { color: var(--gold2); font-weight: 700; letter-spacing: .5px; }
.tabs-bar { position: sticky; top: var(--hh); z-index: 40; background: rgba(14,14,18,.94); backdrop-filter: blur(8px); padding: 10px 0; margin-top: 14px; }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; background: var(--surface); border: 1px solid var(--line); color: var(--muted); padding: 10px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; }
.tab:hover { border-color: var(--crimson); color: var(--text); }
.tab.active { background: var(--goldgrad); color: #2a1503; border-color: var(--gold); }

/* Filters */
.filters { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.filters input, .filters select { background: var(--surface); border: 1px solid var(--line); color: var(--text); padding: 11px 14px; border-radius: 6px; font-size: 14px; }
.filters input { flex: 1 1 240px; min-width: 0; }
.filters input:focus, .filters select:focus { outline: 1px solid var(--gold); }

/* Quick-filter pills — 1-tap pairing / BPM filters under the search bar */
.filter-pills { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.filter-pills::-webkit-scrollbar { display: none; }
.pill { flex: none; background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 999px; padding: 8px 14px; font-size: 0.78rem; font-weight: 700; color: var(--text-secondary); cursor: pointer; white-space: nowrap; }
.pill:hover { border-color: var(--gold); color: var(--text-primary); }
.pill.active { background: rgba(155,17,30,0.35); border-color: var(--gold); color: #fff; }

/* Compact beat rows */
.rows { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.beat-row { display: flex; align-items: center; gap: 12px; background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 10px; padding: 8px 12px 8px 8px; }
.beat-row:hover { background: var(--bg-card-hover); }
.beat-row.playing { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.row-cover { position: relative; width: 56px; height: 56px; flex: none; }
.row-cover img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; display: block; }
.row-play { position: absolute; inset: 0; border: none; border-radius: 6px; background: rgba(0,0,0,.38); color: var(--gold2); font-size: 16px; cursor: pointer; }
.row-play:hover { background: rgba(155,17,30,.55); color: #fff; }
.row-meta { flex: 1; min-width: 0; }
.row-title { font-size: 15.5px; font-weight: 900; letter-spacing: .4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-title .row-num { color: var(--muted); font-size: 11.5px; margin-right: 7px; letter-spacing: 1px; }
.row-sub { color: var(--muted); font-size: 12px; font-weight: 700; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-price { flex: none; background: var(--goldgrad); color: #2a1503; border: none; border-radius: 6px; padding: 11px 15px; font-size: 13.5px; font-weight: 900; letter-spacing: .5px; cursor: pointer; box-shadow: 0 3px 12px rgba(212,175,55,.22); }
.row-price:hover { filter: brightness(1.08); }
.empty-note { color: var(--muted); margin-top: 24px; }

/* Row waveform — bars baked from the real MP3 peaks (catalog.js `peaks`);
   played portion fills gold in sync with the shared player; tap seeks. */
.row-wave { display: flex; align-items: center; gap: 1.5px; height: 20px; margin-top: 6px; cursor: pointer; max-width: 460px; }
.wave-bar { flex: 1 1 0; min-width: 2px; border-radius: 1px; background: rgba(255,255,255,0.22); pointer-events: none; }
.wave-bar.played { background: var(--gold); }
.row-wave:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

/* Mobile rows: line 1 full title, line 2 pairing + BPM/Key, line 3 waveform,
   compact price button on the right — titles never clip at ~8 chars. */
@media (max-width: 640px) {
  main { padding: 0 12px; }
  .beat-row { display: grid; grid-template-columns: 56px 1fr auto; column-gap: 12px; row-gap: 0; padding: 10px 12px; align-items: center; }
  .row-cover { grid-row: 1 / span 3; }
  .row-meta { display: contents; }
  .row-title { grid-column: 2; grid-row: 1; font-size: 15px; letter-spacing: .2px; }
  .row-sub { grid-column: 2; grid-row: 2; }
  .row-wave { grid-column: 2; grid-row: 3; max-width: none; }
  .row-price { grid-column: 3; grid-row: 1 / span 3; padding: 10px 11px; font-size: 12.5px; }
}

/* Sound packs & kits */
.pack-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 18px; }
@media (max-width: 560px) { .pack-grid { grid-template-columns: 1fr; } }
.pack-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.pack-card.playing { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.pack-cover { position: relative; aspect-ratio: 1/1; background: var(--surface2); }
.pack-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pack-badge { position: absolute; top: 10px; left: 10px; background: var(--crimson); color: #fff; font-size: 10px; font-weight: 900; letter-spacing: 1.5px; padding: 4px 9px; border-radius: 4px; }
.pack-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.pack-title { font-size: 18px; font-weight: 900; letter-spacing: .4px; }
.pack-sub { color: var(--muted); font-size: 13px; margin-top: 3px; line-height: 1.5; }
.demo-bar { margin-top: 12px; display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; }
.demo-btn { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--gold); background: transparent; color: var(--gold2); font-size: 12px; cursor: pointer; flex: none; }
.demo-btn:hover { background: var(--crimson); color: #fff; border-color: var(--crimson); }
.demo-label { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .5px; }
.pack-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.pack-actions.single { grid-template-columns: 1fr; }
.pack-buy { display: block; text-align: center; background: var(--goldgrad); color: #2a1503; border: none; border-radius: 6px; padding: 12px 8px; font-size: 13px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.pack-contents-btn { display: block; text-align: center; background: transparent; color: var(--gold2); border: 1px solid var(--gold); border-radius: 6px; padding: 12px 8px; font-size: 13px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; cursor: pointer; }
.pack-contents-btn:hover, .pack-buy:hover { filter: brightness(1.08); }
.pack-buy.pack-tba { background: var(--bg-card-hover, #22222C); color: var(--text-secondary, #B8B8C4); border: 1px solid var(--border-card, rgba(255,255,255,0.12)); cursor: not-allowed; }
.pack-buy.pack-tba:hover { filter: none; }
.packs-soon { margin-top: 18px; border: 1.5px dashed var(--gold); border-radius: 12px; background: var(--surface2); padding: 26px 22px; text-align: center; }
.packs-soon-title { font-size: clamp(19px, 4.2vw, 25px); font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; background: var(--goldgrad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.packs-soon p { color: var(--muted); margin-top: 9px; line-height: 1.6; }

/* Customs & mixing */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
@media (max-width: 820px) { .services-grid { grid-template-columns: 1fr; } }
.service-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px 20px; }
.service-card h3 { font-size: 19px; font-weight: 900; letter-spacing: 1px; color: var(--gold2); }
.service-card p { color: var(--muted); line-height: 1.6; margin: 10px 0 18px; font-size: 14px; }
.services-note { color: var(--muted); margin-top: 16px; font-size: 13.5px; }

/* License comparison table */
.license-table-wrap { overflow-x: auto; margin-top: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface2); }
.license-table { border-collapse: separate; border-spacing: 0; min-width: 680px; width: 100%; }
.license-table th, .license-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: center; font-size: 13.5px; }
.license-table tbody tr:last-child td { border-bottom: none; }
.license-table th:first-child, .license-table td:first-child { text-align: left; font-weight: 800; color: var(--muted); position: sticky; left: 0; background: #16161D; border-right: 1px solid rgba(212,175,55,0.28); z-index: 2; }
.license-table thead th { background: var(--surface); font-size: 15px; font-weight: 900; letter-spacing: .5px; }
.license-table thead th:first-child { background: #16161D; z-index: 3; }
.license-table .tier-price { display: block; color: var(--gold); font-size: 14px; margin-top: 3px; }
.pop-tag { display: inline-block; background: var(--gold); color: #111; font-size: 9.5px; font-weight: 900; letter-spacing: 1px; padding: 2px 7px; border-radius: 3px; margin-top: 6px; }
.offer-link { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 800; color: #f3b1b1; }
td.hl-gold, th.hl-gold { border-left: 2px solid var(--gold); border-right: 2px solid var(--gold); background: rgba(212,175,55,.06); }
thead th.hl-gold { border-top: 2px solid var(--gold); }
tbody tr:last-child td.hl-gold { border-bottom: 2px solid var(--gold); }
td.hl-crimson, th.hl-crimson { border-left: 2px solid var(--crimson); border-right: 2px solid var(--crimson); background: rgba(139,0,0,.14); }
thead th.hl-crimson { border-top: 2px solid var(--crimson); }
tbody tr:last-child td.hl-crimson { border-bottom: 2px solid var(--crimson); }
.license-note { color: var(--muted); font-size: 13px; margin-top: 14px; line-height: 1.6; }

/* About / contact / footer */
.about-body { max-width: 760px; color: #e8e8ec; line-height: 1.65; margin-top: 16px; }
.about-body p + p { margin-top: 14px; }
.contact-line { margin-top: 14px; font-size: 17px; }
.contact .hero-links { justify-content: flex-start; }
.site-footer { border-top: 1px solid var(--line); margin-top: 64px; padding: 28px 20px 10px; text-align: center; color: var(--muted); font-size: 13px; }
.footer-teaser { margin-top: 8px; font-weight: 900; letter-spacing: 2px; color: var(--gold); }

/* Sheets: license drawer + pop-up modal */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.72); z-index: 80; }
.drawer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--surface); border-top: 2px solid var(--gold); border-radius: 16px 16px 0 0; max-height: 86vh; overflow-y: auto; padding: 18px 18px 26px; }
@media (min-width: 720px) { .drawer { left: 50%; right: auto; transform: translateX(-50%); width: 560px; bottom: 24px; border: 1px solid var(--gold); border-radius: 16px; } }
.drawer-head { display: flex; align-items: center; gap: 13px; }
.drawer-cover { width: 56px; height: 56px; border-radius: 7px; object-fit: cover; flex: none; }
.drawer-meta { flex: 1; min-width: 0; }
.drawer-title { font-size: 18px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drawer-sub { color: var(--muted); font-size: 12.5px; font-weight: 700; margin-top: 2px; }
.sheet-close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--text); font-size: 14px; cursor: pointer; flex: none; }
.sheet-close:hover { border-color: var(--crimson); color: #f3b1b1; }
.drawer-tiers { margin-top: 8px; }
.drawer-tier { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-top: 10px; background: var(--surface2); }
.drawer-tier.tier-popular { border: 2px solid var(--gold); }
.drawer-tier.tier-exclusive { border: 2px solid var(--crimson); background: rgba(139,0,0,.12); }
.dt-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.dt-name { font-size: 15px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; }
.dt-price { color: var(--gold); font-weight: 900; font-size: 15px; white-space: nowrap; }
.dt-files { font-size: 13px; margin-top: 4px; }
.dt-caps { color: var(--muted); font-size: 12px; margin-top: 2px; }
.dt-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.dt-cart { flex: 1; display: block; text-align: center; background: transparent; color: var(--gold2); border: 1px solid var(--gold); border-radius: 6px; padding: 11px 8px; font-size: 13px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; cursor: pointer; }
.dt-cart:hover { background: rgba(212,175,55,.1); }
.dt-cart.in-cart { opacity: .6; cursor: default; }
.dt-buy { flex: 1; display: block; text-align: center; background: var(--goldgrad); color: #2a1503; border-radius: 6px; padding: 11px 8px; font-size: 13px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; text-decoration: none; }
.dt-offer { flex: 1; display: block; text-align: center; background: rgba(139,0,0,.16); color: #f3b1b1; border: 1px solid var(--crimson); border-radius: 6px; padding: 11px 8px; font-size: 13px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; text-decoration: none; }
.dt-buy:hover, .dt-offer:hover { filter: brightness(1.1); }
.drawer-note { color: var(--muted); font-size: 12px; margin-top: 14px; line-height: 1.55; }
.modal { position: fixed; left: 50%; top: 50%; transform: translate(-50%,-50%); width: min(480px, 92vw); max-height: 86vh; overflow-y: auto; background: var(--surface); border: 1px solid var(--gold); border-radius: 14px; padding: 24px; z-index: 95; }
.modal-close { position: absolute; top: 12px; right: 12px; }
.modal h3 { font-size: 20px; font-weight: 900; letter-spacing: .5px; padding-right: 40px; }
.modal .modal-sub { color: var(--muted); font-size: 13.5px; margin-top: 6px; line-height: 1.55; }
.contents-list { list-style: none; margin-top: 14px; }
.contents-list li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.contents-list li:last-child { border-bottom: none; }
.contents-list .ck { color: var(--gold); font-weight: 900; margin-right: 9px; }

/* Lead gate form */
.gate-form { margin-top: 16px; }
.gate-form label { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.gate-form input { width: 100%; background: var(--bg); border: 1px solid var(--line); color: var(--text); padding: 11px 12px; border-radius: 6px; font-size: 15px; margin: 6px 0 14px; }
.gate-form input:focus { outline: 1px solid var(--gold); }
.gate-submit { width: 100%; background: var(--goldgrad); color: #2a1503; border: none; border-radius: 6px; padding: 13px; font-size: 14px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; }
.gate-note { color: var(--muted); font-size: 12px; line-height: 1.6; margin-top: 12px; }
.gate-done { margin-top: 16px; border: 1px solid var(--gold); border-radius: 10px; padding: 14px; font-size: 13.5px; line-height: 1.6; background: rgba(212,175,55,.07); }

/* Sticky player */
.player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #121216; border-top: 1px solid var(--gold); display: flex; align-items: center; gap: 14px; padding: 10px 16px; }
.player-watermark { position: absolute; right: 70px; top: 50%; transform: translateY(-50%); height: 46px; width: auto; opacity: .14; pointer-events: none; }
.player-cover { width: 54px; height: 54px; object-fit: cover; border-radius: 6px; }
.player-meta { min-width: 130px; }
.player-title { font-weight: 900; font-size: 14px; white-space: nowrap; }
.player-sub { color: var(--muted); font-size: 12px; white-space: nowrap; }
.player-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--gold); background: transparent; color: var(--gold2); font-size: 16px; cursor: pointer; flex: none; }
.player-btn:hover { border-color: var(--crimson); }
.player-close { width: 34px; height: 34px; font-size: 13px; }
.player-progress { flex: 1; min-width: 0; height: 6px; background: #2b2b32; border-radius: 999px; cursor: pointer; position: relative; touch-action: none; }
.player-progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--crimson), var(--gold)); border-radius: 999px; pointer-events: none; }
.player-progress:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
.player-time { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 640px) { .player-sub, .player-time { display: none; } .player-meta { min-width: 90px; } .player-watermark { right: 58px; height: 38px; } }

/* Header right cluster + cart button */
.header-right { display: flex; align-items: center; gap: 14px; flex: none; }
.header-right #site-nav a:first-child { margin-left: 0; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--gold); color: var(--gold2); border-radius: 999px; padding: 8px 15px; font-size: 12.5px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.cart-btn:hover { background: rgba(212,175,55,.12); }
.cart-count { background: var(--crimson); color: #fff; font-size: 11px; font-weight: 900; min-width: 20px; height: 20px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
@media (max-width: 640px) { .header-right { gap: 8px; } .cart-btn { padding: 8px 11px; } .cart-word { display: none; } }

/* Cart drawer — right slide-over */
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 94vw); z-index: 92; background: var(--surface); border-left: 2px solid var(--gold); padding: 18px; overflow-y: auto; animation: cartslide .22s ease-out; }
@keyframes cartslide { from { transform: translateX(36px); opacity: .4; } to { transform: none; opacity: 1; } }
.cart-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cart-title { font-size: 18px; font-weight: 900; letter-spacing: 1px; }
.cart-head-count { color: var(--gold); }
.cart-items { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.cart-item { display: flex; gap: 10px; align-items: flex-start; background: var(--surface2); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; }
.cart-item-meta { flex: 1; min-width: 0; }
.cart-item-title { font-weight: 900; font-size: 14px; }
.cart-item-sub { color: var(--muted); font-size: 12px; margin-top: 2px; }
.cart-item-price { font-weight: 900; color: var(--gold); font-size: 13.5px; white-space: nowrap; }
.free-tag { display: inline-block; background: var(--gold); color: #111; font-size: 9.5px; font-weight: 900; letter-spacing: 1px; padding: 2px 7px; border-radius: 3px; margin-left: 7px; vertical-align: 2px; }
.cart-remove { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--text); font-size: 11px; cursor: pointer; flex: none; }
.cart-remove:hover { border-color: var(--crimson); color: #f3b1b1; }
.cart-empty { color: var(--muted); margin-top: 18px; line-height: 1.6; font-size: 14px; }
.cart-summary { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.cart-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 4px 0; color: var(--muted); }
.cart-row span:last-child { color: var(--text); font-weight: 800; white-space: nowrap; }
.cart-discount, .cart-discount span:last-child { color: var(--gold2); }
.cart-total-row { font-size: 17px; }
.cart-total-row span:first-child { color: var(--text); font-weight: 900; }
.cart-total-row span:last-child { color: var(--gold); font-weight: 900; }
.cart-note { color: var(--muted); font-size: 12px; line-height: 1.55; margin-top: 10px; }
.cart-checkout-btn { width: 100%; margin-top: 14px; background: var(--goldgrad); color: #2a1503; border: none; border-radius: 6px; padding: 13px; font-size: 14px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; }
.cart-checkout-btn:hover { filter: brightness(1.08); }
.cart-checkout-list { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.co-item { display: flex; align-items: center; gap: 10px; background: var(--surface2); border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; }
.co-meta { flex: 1; min-width: 0; font-size: 12px; color: var(--muted); }
.co-meta strong { display: block; font-size: 13px; color: var(--text); }
.co-link { flex: none; background: var(--goldgrad); color: #2a1503; text-decoration: none; font-weight: 900; font-size: 12px; padding: 8px 11px; border-radius: 6px; letter-spacing: .5px; text-transform: uppercase; }
.co-link:hover { filter: brightness(1.08); }
.co-free { flex: none; color: var(--gold2); font-weight: 900; font-size: 11.5px; letter-spacing: .5px; text-transform: uppercase; border: 1px solid var(--gold); padding: 7px 10px; border-radius: 6px; }
.pack-cart-btn { grid-column: 1 / -1; display: block; text-align: center; background: var(--bg); color: var(--gold2); border: 1px solid var(--line); border-radius: 6px; padding: 11px 8px; font-size: 13px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; cursor: pointer; }
.pack-cart-btn:hover { border-color: var(--gold); }
.pack-cart-btn.in-cart { opacity: .6; cursor: default; }
