/* ============================================================
   SAINT PUKE — PUKE PRODUCTION — v2 VISCERAL REDESIGN
   Aesthetic: early 2000s punk/gore web × retro game UI
   Refs: YouTube 666 skin / Doom inventory / Hot Topic 2005 /
         Sum 41 site / LiveLeak
   ============================================================ */

@font-face {
  font-family: 'ParentsSuck';
  src: url('/public/fonts/parentssuck.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── FONDS ORGANIQUES ── */
  --black:       #181410;   /* FOND BILE — quasi-noir brun chaud */
  --bg:          #201a12;   /* GORGE — bg secondaire */
  --bg-panel:    #2a2018;   /* MUQUEUSE — panels */
  --bg-card:     #0e0c0a;   /* ÉPIDERME — cartes sombres */
  --bg-deep:     #120e08;   /* FOND DIGESTIF — plus profond */

  /* ── STRUCTURE / BORDURES ── */
  --b-structure: #3e3022;   /* CROÛTE — bordures principales */
  --b-panel:     #4e4030;   /* bordures panels */
  --b-bright:    #6a5e4a;   /* bordures visibles */
  --b-red:       #8a2010;   /* bordures accent rouge */

  /* ── TEXTES ── */
  --t-bright:    #cbbf9e;   /* CHAIR ACIDE — texte principal, crème sale */
  --t-mid:       #9a8e78;   /* SALIVE — texte secondaire */
  --t-dim:       #6a5e4a;   /* CRASSE — texte muted */

  /* ── ROUGE — irritation, gorge, chair vive ── */
  --red:         #cc2a14;   /* IRRITATION */
  --red-b:       #e03c22;   /* hover vif */
  --red-dk:      #8a1e0a;   /* sombre */
  --red-deep:    #3e1206;   /* profond */

  /* ── VERT BILE — acide, toxique, moisissure ── */
  --bile:        #7aaa00;   /* BILE */
  --bile-b:      #9acc00;   /* bile vif */

  /* ── BRUN ORGANIQUE ── */
  --digestif:    #8a7040;   /* matière corporelle */
  --digestif-b:  #aa9055;   /* clair */

  --silver:      #9a8e78;
  --silver-dk:   #5a4e3a;
  --purple:      #7733aa;

  --f-display:   'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --f-puke:      'ParentsSuck', 'Bebas Neue', Impact, sans-serif;
  --f-pixel:     'VT323', 'Courier New', monospace;
  --f-mono:      'Space Mono', 'Courier New', monospace;
}

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

body {
  background: url('/public/vomit-bg.jpg') center / cover fixed;
  background-color: var(--black);
  color: var(--t-bright);
  font-family: var(--f-mono);
  font-size: 13px;
  line-height: 1.5;
  min-height: 100vh;
  padding-bottom: 110px;
  overflow-x: hidden;
}

body.modal-open { overflow: hidden; }

a { color: var(--t-bright); text-decoration: none; transition: color 0.12s; }
a:hover { color: var(--red); }
button { font-family: var(--f-mono); cursor: pointer; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: var(--red-dk); }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* ══════════════════════════════════════════════════════════
   HEADER BANNER
   ══════════════════════════════════════════════════════════ */

.site-header {
  position: relative;
  background: rgba(20,16,12,0.18);
  border-bottom: 3px solid var(--b-structure);
  overflow: hidden;
}

/* diagonal stripe overlay (Sum 41 style) */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -48deg,
    transparent            0px,
    transparent            12px,
    rgba(120,140,0,0.035)  12px,
    rgba(120,140,0,0.035)  14px
  );
  pointer-events: none;
  z-index: 0;
}

/* SVG noise/grain texture */
.site-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.06;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 0;
}

.header-banner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 28px 28px 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

/* ── LOGO ─── */
.logo-block {
  display: flex;
  flex-direction: column;
  line-height: 0.82;
  position: relative;
}

.logo-main {
  font-family: var(--f-puke);
  font-size: clamp(64px, 13vw, 168px);
  letter-spacing: 1px;
  color: #f0e8d0;
  text-shadow:
    0 0 0 transparent,
    2px 2px 0   rgba(0,0,0,0.95),
    -1px -1px 0 rgba(0,0,0,0.90),
    1px -1px 0  rgba(0,0,0,0.90),
    -1px 1px 0  rgba(0,0,0,0.90),
    0 4px 12px  rgba(0,0,0,0.85),
    0 0 28px    rgba(0,0,0,0.60);
  display: block;
  line-height: 0.9;
}

.logo-main .word-puke {
  color: var(--red);
  text-shadow:
    2px 2px 0   rgba(0,0,0,0.95),
    -1px -1px 0 rgba(0,0,0,0.90),
    1px -1px 0  rgba(0,0,0,0.90),
    -1px 1px 0  rgba(0,0,0,0.90),
    0 4px 16px  rgba(0,0,0,0.85),
    0 0 32px    rgba(204,42,20,0.50);
  display: block;
}


.logo-sub {
  font-family: var(--f-pixel);
  font-size: 18px;
  letter-spacing: 3px;
  color: #f0e8d0;
  text-transform: lowercase;
  margin-top: 10px;
  padding-left: 3px;
  text-shadow:
    1px 1px 0   rgba(0,0,0,0.95),
    -1px -1px 0 rgba(0,0,0,0.90),
    1px -1px 0  rgba(0,0,0,0.90),
    -1px 1px 0  rgba(0,0,0,0.90),
    0 3px 8px   rgba(0,0,0,0.80);
}

.logo-sub-accent {
  color: var(--t-bright);
  letter-spacing: 2px;
}

/* ── HEADER SIDE ─── */
.header-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  padding-bottom: 10px;
  flex-shrink: 0;
}

.header-contact-btn {
  font-family: var(--f-pixel);
  font-size: 20px;
  letter-spacing: 2px;
  padding: 9px 22px;
  background: var(--red-dk);
  color: var(--t-bright);
  border-top:    2px solid var(--red);
  border-left:   2px solid var(--red);
  border-bottom: 2px solid #342a18;
  border-right:  2px solid #342a18;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.12s;
  box-shadow: 3px 3px 0 #000;
  white-space: nowrap;
}

.header-contact-btn:hover {
  background: var(--red);
  border-top-color:  var(--red-b);
  border-left-color: var(--red-b);
}

.header-ext-link {
  font-family: var(--f-pixel);
  font-size: 16px;
  letter-spacing: 2px;
  color: #f0e8d0;
  text-transform: uppercase;
  transition: color 0.12s;
  text-shadow:
    1px 1px 0   rgba(0,0,0,0.95),
    -1px -1px 0 rgba(0,0,0,0.90),
    1px -1px 0  rgba(0,0,0,0.90),
    -1px 1px 0  rgba(0,0,0,0.90),
    0 3px 8px   rgba(0,0,0,0.80);
}

.header-ext-link:hover { color: var(--bile-b); }

/* ── HORIZONTAL NAV BAR (Sum 41 style) ─── */
.site-nav-bar {
  position: relative;
  z-index: 2;
  background: rgba(0,0,0,0.75);
  border-top: 1px solid var(--red-deep);
  margin-top: 18px;
}

.nav-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: stretch;
}

.nav-tab {
  font-family: var(--f-pixel);
  font-size: 18px;
  letter-spacing: 2px;
  padding: 10px 22px;
  background: transparent;
  color: var(--t-mid);
  border: none;
  border-right: 1px solid var(--red-deep);
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all 0.1s;
  white-space: nowrap;
  line-height: 1;
}

.nav-tab:first-child { border-left: 1px solid var(--red-deep); }

.nav-tab:hover {
  background: rgba(140,0,0,0.25);
  color: var(--t-bright);
}

.nav-tab.active {
  background: rgba(100,0,0,0.4);
  color: var(--t-bright);
  border-bottom: 2px solid var(--red);
  margin-bottom: -2px;
  padding-bottom: 12px;
}

.nav-tab .nb { color: var(--red-dk); font-size: 14px; }

/* ══════════════════════════════════════════════════════════
   PAGE WRAP — sidebar + main
   ══════════════════════════════════════════════════════════ */

.page-wrap {
  display: grid;
  grid-template-columns: 190px 1fr;
  max-width: 1400px;
  margin: 0 auto;
  border-left:  1px solid var(--red-deep);
  border-right: 1px solid var(--red-deep);
  min-height: 60vh;
}

/* ══════════════════════════════════════════════════════════
   SIDEBAR (Hot Topic 2005 style)
   ══════════════════════════════════════════════════════════ */

.sidebar {
  border-right: 2px solid var(--b-structure);
  background: #181410;
}

.sidebar-section {
  padding: 14px 13px;
  border-bottom: 1px solid var(--b-structure);
}

.sidebar-title {
  font-family: var(--f-pixel);
  font-size: 17px;
  letter-spacing: 4px;
  color: #888880;
  text-transform: uppercase;
  margin-bottom: 9px;
  padding-bottom: 7px;
  border-bottom: 1px solid #2a2a2a;
}

.sidebar-title::before {
  content: '■ ';
  color: var(--red-dk);
  font-size: 11px;
}

/* search in sidebar */
.search-input {
  font-family: var(--f-pixel);
  font-size: 15px;
  padding: 6px 9px;
  background: #201a12;
  color: var(--t-bright);
  border: 1px solid var(--b-structure);
  outline: none;
  width: 100%;
  letter-spacing: 1px;
  transition: border-color 0.12s;
}

.search-input:focus      { border-color: var(--red-dk); }
.search-input::placeholder { color: var(--t-dim); }

/* filter buttons — stacked with bullet prefix */
.filter-group { display: flex; flex-direction: column; gap: 0; }

.filter-btn {
  display: block;
  width: 100%;
  text-align: left;
  font-family: var(--f-pixel);
  font-size: 15px;
  letter-spacing: 2px;
  padding: 5px 6px;
  background: transparent;
  color: var(--t-dim);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.1s;
  line-height: 1.3;
}

.filter-btn::before { content: '□ '; color: var(--t-dim); }

.filter-btn:hover {
  color: var(--t-mid);
  background: rgba(100,0,0,0.12);
}

.filter-btn.active { color: var(--red); }
.filter-btn.active::before { content: '■ '; color: var(--red); }

/* sidebar contact button */
.sidebar-contact-btn {
  display: block;
  width: 100%;
  text-align: left;
  font-family: var(--f-pixel);
  font-size: 15px;
  letter-spacing: 2px;
  padding: 7px 9px;
  background: var(--red-deep);
  color: var(--red);
  border-top:    1px solid var(--red-dk);
  border-left:   1px solid var(--red-dk);
  border-bottom: 1px solid #2e2418;
  border-right:  1px solid #2e2418;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.12s;
  margin-bottom: 10px;
  box-shadow: 1px 1px 0 #000;
}

.sidebar-contact-btn:hover {
  background: var(--red-dk);
  color: var(--t-bright);
}

.sidebar-email {
  font-family: var(--f-pixel);
  font-size: 12px;
  color: var(--t-mid);
  letter-spacing: 1px;
  line-height: 1.7;
}

/* ── BPM RANGE FILTER ─── */
.bpm-range {
  display: flex;
  align-items: center;
  gap: 5px;
}

.bpm-input {
  font-family: var(--f-pixel);
  font-size: 14px;
  padding: 5px 7px;
  background: #201a12;
  color: var(--t-bright);
  border: 1px solid var(--b-structure);
  outline: none;
  width: 0;
  flex: 1;
  letter-spacing: 1px;
  -moz-appearance: textfield;
  -webkit-appearance: none;
}

.bpm-input:focus { border-color: var(--red-dk); }
.bpm-input::placeholder { color: var(--t-dim); }
.bpm-input::-webkit-inner-spin-button,
.bpm-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.bpm-sep {
  font-family: var(--f-pixel);
  font-size: 14px;
  color: var(--t-dim);
  flex-shrink: 0;
}

/* ── KEY SELECT ─── */
.key-select {
  cursor: pointer;
  padding-right: 4px;
}

/* ── TRACK COUNT ─── */
.track-count {
  font-family: var(--f-pixel);
  font-size: 13px;
  color: var(--t-dim);
  letter-spacing: 2px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--b-structure);
  background: #181410;
}

/* ══════════════════════════════════════════════════════════
   CATALOG MAIN
   ══════════════════════════════════════════════════════════ */

.catalog-main { background: var(--bg); }

.catalog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 2px solid var(--b-structure);
  background: var(--bg);
}

.section-title {
  font-family: var(--f-display);
  font-size: 36px;
  letter-spacing: 8px;
  color: var(--t-bright);
}

/* ══════════════════════════════════════════════════════════
   TRACK GRID
   ══════════════════════════════════════════════════════════ */

.track-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  background: var(--b-structure);
}

/* ══════════════════════════════════════════════════════════
   TRACK CARD  (Doom inventory panel style)
   ══════════════════════════════════════════════════════════ */

.track-card {
  background: var(--bg-card);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.1s;
  position: relative;
  border-right:  1px solid var(--b-structure);
  border-bottom: 1px solid var(--b-structure);
}

.track-card:hover { background: #161410; }

/* Doom bevel — top/left highlight, bottom/right shadow */
.track-card::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-top:    1px solid rgba(255,255,255,0.025);
  border-left:   1px solid rgba(255,255,255,0.025);
  border-bottom: 1px solid rgba(0,0,0,0.6);
  border-right:  1px solid rgba(0,0,0,0.6);
  pointer-events: none;
}

.track-card.playing {
  background: #120d0a;
  border-left: 3px solid var(--red);
}

.track-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* ── PLAY BUTTON (retro game button) ─── */
.play-btn {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: #221c14;
  border-top:    2px solid var(--silver-dk);
  border-left:   2px solid var(--silver-dk);
  border-bottom: 2px solid #2e2418;
  border-right:  2px solid #2e2418;
  color: var(--t-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.1s;
}

.play-btn:hover {
  background: var(--red-dk);
  border-top-color:  var(--red);
  border-left-color: var(--red);
}

.track-card.playing .play-btn {
  background: var(--red-dk);
  border-top-color:    #2e2418;
  border-left-color:   #2e2418;
  border-bottom-color: var(--red);
  border-right-color:  var(--red);
}

.track-meta { flex: 1; min-width: 0; }

.track-title {
  font-family: var(--f-display);
  font-size: 20px;
  letter-spacing: 3px;
  color: var(--t-bright);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.1;
}

.track-beatmaker {
  font-family: var(--f-pixel);
  font-size: 11px;
  color: var(--t-dim);
  letter-spacing: 2px;
  margin-top: 2px;
  text-transform: lowercase;
}

.track-tags {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  margin-top: 5px;
}

.tag {
  font-family: var(--f-pixel);
  font-size: 12px;
  letter-spacing: 1px;
  padding: 1px 5px;
  border: 1px solid;
  text-transform: uppercase;
}

/* anciens tags */
.tag--trap         { color: var(--bile-b);  border-color: var(--bile); }
.tag--drill        { color: #00aa66;        border-color: #005533; }
.tag--phonk        { color: #9922cc;        border-color: #551177; }
.tag--tekno        { color: var(--red);     border-color: var(--red-dk); }
.tag--punk         { color: var(--purple);  border-color: #4a1a66; }
.tag--noise        { color: var(--silver-dk); border-color: #2a2a2a; }
.tag--industrial   { color: #cc6600;        border-color: #663300; }
.tag--dark         { color: #666666;        border-color: #2a2a2a; }
.tag--hybride      { color: var(--t-mid);   border-color: #222; }
.tag--grime        { color: #88aa00;        border-color: #445500; }
.tag--expérimental { color: #4488cc;        border-color: #224466; }

/* trap / hip-hop family */
.tag--tekno-trap  { color: #cc9900;        border-color: #775500; }
.tag--trapstyle   { color: var(--bile-b);  border-color: var(--bile); }
.tag--jerk        { color: #998800;        border-color: #554400; }

/* metal / hardcore / punk */
.tag--trash       { color: #cc2200;        border-color: #661100; }
.tag--hardcore    { color: var(--red);     border-color: var(--red-dk); }
.tag--metal       { color: #aaaaaa;        border-color: #444444; }
.tag--trap-metal  { color: #cc5500;        border-color: #663300; }
.tag--nu-metal    { color: #aa5533;        border-color: #552211; }
.tag--post-punk   { color: #8844bb;        border-color: #441177; }
.tag--synthpunk   { color: #aa22cc;        border-color: #661188; }
.tag--screamo     { color: #cc1166;        border-color: #770033; }
.tag--emo         { color: #6644bb;        border-color: #332266; }

/* folk / country */
.tag--folk        { color: #667744;        border-color: #334422; }
.tag--country     { color: #886655;        border-color: #443322; }

/* electronic / rave */
.tag--electro     { color: #0099bb;        border-color: #004455; }
.tag--alternative { color: #558899;        border-color: #224455; }
.tag--cyber       { color: #00aa99;        border-color: #005544; }
.tag--rave        { color: #cc00aa;        border-color: #660055; }
.tag--acid        { color: #88bb00;        border-color: #445500; }
.tag--jumpstyle   { color: #cc6600;        border-color: #663300; }
.tag--uptempo     { color: #cc2244;        border-color: #661122; }
.tag--gabber      { color: #bb0033;        border-color: #550011; }
.tag--psytrance   { color: #0088aa;        border-color: #004455; }
.tag--psyterror   { color: #991100;        border-color: #440000; }

/* ── TRACK INFO ─── */
.track-info { display: flex; flex-direction: column; gap: 5px; }

.info-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.info-label {
  font-family: var(--f-pixel);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--t-dim);
  text-transform: uppercase;
  min-width: 26px;
}

.info-value {
  font-family: var(--f-pixel);
  font-size: 14px;
  color: var(--t-bright);
  letter-spacing: 1px;
}

.rights--full    { color: var(--bile); }
.rights--partial { color: var(--t-mid); }
.rights--none    { color: var(--t-dim); }

/* ── RATING DOTS ─── */
.rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rating-label {
  font-family: var(--f-pixel);
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--t-dim);
  text-transform: uppercase;
}

.dots { display: flex; gap: 2px; }

.dot {
  width: 7px;
  height: 7px;
  border: 1px solid #3a2e1e;
  background: transparent;
  display: inline-block;
}

.dot--active {
  background: var(--red-dk);
  border-color: var(--red);
}

/* ── COMMENT ─── */
.track-comment {
  font-size: 11px;
  color: #b0a898;
  line-height: 1.65;
  font-style: italic;
  border-left: 2px solid var(--red-dk);
  padding-left: 10px;
  user-select: text;
}

/* ── CARD FOOTER ─── */
.track-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--b-structure);
}

.track-price { display: flex; flex-direction: column; gap: 2px; }

.price-leasing {
  font-family: var(--f-pixel);
  font-size: 20px;
  color: var(--bile-b);
  letter-spacing: 1px;
}

.price-exclusive {
  font-family: var(--f-pixel);
  font-size: 13px;
  color: var(--t-dim);
}

/* ── SOUILLE MOI BUTTON ─── */
.btn-souille {
  font-family: var(--f-pixel);
  font-size: 16px;
  letter-spacing: 2px;
  padding: 7px 12px;
  background: var(--red-deep);
  color: var(--red);
  border-top:    2px solid var(--red-dk);
  border-left:   2px solid var(--red-dk);
  border-bottom: 2px solid #2e2418;
  border-right:  2px solid #2e2418;
  cursor: pointer;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.1s;
}

.btn-souille:hover {
  background: var(--red-dk);
  color: var(--t-bright);
  border-top-color:    var(--red);
  border-left-color:   var(--red);
  border-bottom-color: var(--red-deep);
  border-right-color:  var(--red-deep);
}

/* ── NO RESULTS ─── */
.no-results {
  background: var(--bg-card);
  padding: 70px 24px;
  text-align: center;
  color: var(--t-dim);
  font-family: var(--f-pixel);
  font-size: 18px;
  letter-spacing: 3px;
  grid-column: 1 / -1;
  line-height: 2;
}

/* ══════════════════════════════════════════════════════════
   FIXED PLAYER
   ══════════════════════════════════════════════════════════ */

.player {
  position: fixed;
  bottom: -110px;
  left: 0; right: 0;
  height: 100px;
  z-index: 100;
  background: #0e0c0a;
  border-top: 2px solid var(--red-dk);
  overflow: hidden;
  transition: bottom 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

.player.visible { bottom: 0; }

.spectrogram {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.35;
  pointer-events: none;
  display: block;
}

.player-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.player-info { flex: 0 0 auto; min-width: 0; width: 200px; }

.player-title {
  display: block;
  font-family: var(--f-display);
  font-size: 18px;
  letter-spacing: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  color: var(--t-bright);
}

.player-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  font-family: var(--f-pixel);
  font-size: 13px;
  color: var(--t-dim);
  margin-top: 3px;
  letter-spacing: 1px;
}

.player-controls {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.player-play-btn {
  width: 36px; height: 36px;
  background: var(--red-dk);
  border-top:    2px solid var(--red);
  border-left:   2px solid var(--red);
  border-bottom: 2px solid #342a18;
  border-right:  2px solid #342a18;
  color: var(--t-bright);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.1s;
}

.player-play-btn:hover { background: var(--red); }

.progress-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.time {
  font-family: var(--f-pixel);
  font-size: 14px;
  color: var(--t-dim);
  min-width: 34px;
  text-align: center;
}

.progress-bar {
  flex: 1;
  height: 4px;
  background: var(--red-deep);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid #3a2e1a;
}

.progress-bar:hover { background: #3a2e1a; }

.progress-fill {
  height: 100%;
  background: var(--red);
  width: 0%;
  pointer-events: none;
}

.player-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-price {
  font-family: var(--f-pixel);
  font-size: 22px;
  color: var(--bile-b);
  white-space: nowrap;
  letter-spacing: 1px;
}

/* ══════════════════════════════════════════════════════════
   CONTACT MODAL
   ══════════════════════════════════════════════════════════ */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  transition: background 0.3s;
}

.modal.open {
  background: rgba(0,0,0,0.93);
  pointer-events: all;
}

.modal-card {
  background: var(--bg-deep);
  border: 2px solid var(--red-dk);
  box-shadow:
    0 0 50px rgba(140,0,0,0.35),
    4px 4px 0 #000,
    inset 0 0 0 1px rgba(100,0,0,0.15);
  padding: 36px;
  width: 100%;
  max-width: 500px;
  position: relative;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.25,0.46,0.45,0.94), opacity 0.28s;
}

.modal.open .modal-card { transform: none; opacity: 1; }

/* Doom inner border */
.modal-card::before {
  content: '';
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(100,0,0,0.18);
  pointer-events: none;
}

.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: none;
  border: 1px solid #3a2e1a;
  color: var(--t-dim);
  font-size: 15px;
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.1s;
}

.modal-close:hover { color: var(--red); border-color: var(--red-dk); }

.modal-title {
  font-family: var(--f-display);
  font-size: 56px;
  letter-spacing: 6px;
  color: var(--red);
  line-height: 0.88;
  text-shadow: 3px 3px 0 #000, 0 0 24px rgba(220,0,0,0.3);
}

.modal-track-name {
  font-family: var(--f-pixel);
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--t-dim);
  margin-top: 8px;
  text-transform: uppercase;
  min-height: 16px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 22px;
}

.contact-form input,
.contact-form textarea {
  font-family: var(--f-pixel);
  font-size: 15px;
  padding: 10px 12px;
  background: #1a1610;
  color: var(--t-bright);
  border: 1px solid #3a2e1a;
  outline: none;
  letter-spacing: 1px;
  transition: border-color 0.12s;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--red-dk); }

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--t-dim); }

.contact-form textarea { resize: vertical; min-height: 88px; }

.contact-offers-group {
  display: flex;
  flex-direction: column;
  border: 1px solid #3a2e1a;
}

.offer-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-pixel);
  font-size: 15px;
  letter-spacing: 1px;
  padding: 9px 12px;
  background: #1a1610;
  color: var(--t-mid);
  border-bottom: 1px solid #2e2418;
  cursor: pointer;
  transition: all 0.1s;
  user-select: none;
}

.offer-radio-label:last-child { border-bottom: none; }

.offer-radio-label:hover { background: #221c14; color: var(--t-bright); }

.offer-radio-input { display: none; }

.offer-radio-label:has(.offer-radio-input:checked) {
  background: var(--red-deep);
  color: var(--red);
  border-bottom-color: var(--red-dk);
}

.offer-radio-dot {
  width: 10px;
  height: 10px;
  border: 1px solid var(--t-dim);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-radio-label:has(.offer-radio-input:checked) .offer-radio-dot {
  border-color: var(--red);
  background: var(--red-dk);
}

.hidden-field { display: none; }

.btn-submit {
  font-family: var(--f-pixel);
  font-size: 19px;
  letter-spacing: 4px;
  padding: 12px;
  background: var(--red-dk);
  color: var(--t-bright);
  border-top:    2px solid var(--red);
  border-left:   2px solid var(--red);
  border-bottom: 2px solid #342a18;
  border-right:  2px solid #342a18;
  cursor: pointer;
  transition: all 0.1s;
  text-transform: uppercase;
  margin-top: 4px;
  box-shadow: 2px 2px 0 #000;
}

.btn-submit:hover:not(:disabled) {
  background: var(--red);
  border-top-color:  var(--red-b);
  border-left-color: var(--red-b);
}

.btn-submit:disabled { opacity: 0.45; cursor: default; }

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */

.site-footer {
  border-top: 2px solid var(--b-structure);
  padding: 32px 24px;
  background: transparent;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}

.footer-logo {
  font-family: var(--f-display);
  font-size: 30px;
  letter-spacing: 10px;
  color: #f0e8d0;
  text-shadow:
    1px 1px 0   rgba(0,0,0,0.95),
    -1px -1px 0 rgba(0,0,0,0.90),
    1px -1px 0  rgba(0,0,0,0.90),
    -1px 1px 0  rgba(0,0,0,0.90),
    0 3px 8px   rgba(0,0,0,0.80);
}

.footer-logo .fp {
  color: var(--red);
  text-shadow:
    1px 1px 0   rgba(0,0,0,0.95),
    -1px -1px 0 rgba(0,0,0,0.90),
    1px -1px 0  rgba(0,0,0,0.90),
    -1px 1px 0  rgba(0,0,0,0.90),
    0 3px 8px   rgba(0,0,0,0.80);
}

.footer-tagline {
  font-family: var(--f-pixel);
  font-size: 14px;
  letter-spacing: 4px;
  color: #f0e8d0;
  text-transform: uppercase;
  text-shadow:
    1px 1px 0   rgba(0,0,0,0.95),
    -1px -1px 0 rgba(0,0,0,0.90),
    1px -1px 0  rgba(0,0,0,0.90),
    -1px 1px 0  rgba(0,0,0,0.90),
    0 3px 8px   rgba(0,0,0,0.80);
}

.footer-links {
  display: flex;
  gap: 28px;
  font-family: var(--f-pixel);
  font-size: 14px;
  letter-spacing: 2px;
  margin-top: 10px;
}

.footer-links a {
  color: #f0e8d0;
  text-shadow:
    1px 1px 0   rgba(0,0,0,0.95),
    -1px -1px 0 rgba(0,0,0,0.90),
    1px -1px 0  rgba(0,0,0,0.90),
    -1px 1px 0  rgba(0,0,0,0.90),
    0 3px 8px   rgba(0,0,0,0.80);
}
.footer-links a:hover { color: var(--red); }

.footer-rights {
  font-family: var(--f-pixel);
  font-size: 11px;
  color: #f0e8d0;
  margin-top: 6px;
  opacity: 0.75;
  text-shadow:
    1px 1px 0   rgba(0,0,0,0.95),
    -1px -1px 0 rgba(0,0,0,0.90),
    0 2px 6px   rgba(0,0,0,0.80);
}

/* ══════════════════════════════════════════════════════════
   LOADING STATE
   ══════════════════════════════════════════════════════════ */

.loading-state {
  background: var(--bg-card);
  padding: 70px 24px;
  text-align: center;
  grid-column: 1 / -1;
}

.loader { display: inline-flex; gap: 3px; margin-bottom: 12px; }

.loader span {
  width: 4px;
  height: 20px;
  background: var(--red-dk);
  animation: pulse 0.8s ease-in-out infinite;
}

.loader span:nth-child(2) { animation-delay: 0.1s; }
.loader span:nth-child(3) { animation-delay: 0.2s; }
.loader span:nth-child(4) { animation-delay: 0.3s; }

@keyframes pulse {
  0%, 100% { transform: scaleY(0.4); opacity: 0.3; }
  50%       { transform: scaleY(1);   opacity: 1; }
}

/* ══════════════════════════════════════════════════════════
   SCREEN READER
   ══════════════════════════════════════════════════════════ */

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ══════════════════════════════════════════════════════════
   TRACK OFFERS
   ══════════════════════════════════════════════════════════ */

.track-offers {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--b-structure);
  margin-top: 2px;
}

.offer-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-bottom: 1px solid var(--b-structure);
  flex-wrap: wrap;
}

.offer-row:last-of-type { border-bottom: none; }

.offer-name {
  font-family: var(--f-pixel);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--t-mid);
  text-transform: uppercase;
  flex: 1;
  min-width: 70px;
}

.offer-price {
  font-family: var(--f-pixel);
  font-size: 18px;
  color: var(--bile-b);
  letter-spacing: 1px;
  white-space: nowrap;
}

.offer-tags {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  align-items: center;
}

.offer-file {
  font-family: var(--f-pixel);
  font-size: 10px;
  color: #888880;
  letter-spacing: 1px;
  border: 1px solid #3e3224;
  padding: 0 3px;
}

.offer-excl {
  font-family: var(--f-pixel);
  font-size: 10px;
  color: var(--red);
  letter-spacing: 1px;
  border: 1px solid var(--red-deep);
  padding: 0 3px;
}

.offer-info-btn {
  font-family: var(--f-pixel);
  font-size: 12px;
  width: 18px;
  height: 18px;
  background: transparent;
  border: 1px solid var(--b-structure);
  color: var(--t-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.1s;
  flex-shrink: 0;
  line-height: 1;
}

.offer-info-btn:hover {
  border-color: var(--silver-dk);
  color: var(--t-mid);
  background: rgba(255,255,255,0.03);
}

.offer-desc {
  display: none;
  font-family: var(--f-pixel);
  font-size: 12px;
  color: #c0b8a8;
  background: #1e1810;
  padding: 7px 10px;
  border-bottom: 1px solid var(--b-structure);
  letter-spacing: 0.5px;
  line-height: 1.65;
}

.offer-desc.open { display: block; }

.btn-souille--sm {
  font-size: 12px !important;
  padding: 4px 8px !important;
  letter-spacing: 1px !important;
  flex-shrink: 0;
}

.no-offers {
  font-family: var(--f-pixel);
  font-size: 12px;
  color: var(--t-dim);
  padding: 8px;
  letter-spacing: 2px;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
  .track-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .page-wrap { grid-template-columns: 1fr; }
  .sidebar {
    display: flex;
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 2px solid var(--b-structure);
  }
  .sidebar-section { flex: 1 1 150px; }
}

@media (max-width: 640px) {
  .header-side { display: none; }
  .logo-main   { font-size: clamp(60px, 20vw, 100px); }
  .nav-tab     { padding: 9px 14px; font-size: 15px; }
}
