:root {
  --bg: #070708;
  --bg-elevated: #0e0e11;
  --surface: #141418;
  --border: rgba(201, 162, 39, 0.22);
  --gold: #c9a227;
  --gold-dim: #8a7020;
  --text: #eceae6;
  --muted: #8a8884;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --radius: 14px;
  --font-display: "Bebas Neue", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-optical-sizing: auto;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(201, 162, 39, 0.08), transparent 55%),
    radial-gradient(800px 400px at 100% 20%, rgba(80, 40, 20, 0.12), transparent 50%),
    var(--bg);
  line-height: 1.5;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.045;
  z-index: 50;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Image hero : assets/img/background1.png + overlay vertical uniquement (pas de fondu latéral). */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 1.5rem clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(7, 7, 8, 0.42) 0%, rgba(7, 7, 8, 0.62) 50%, rgba(7, 7, 8, 0.78) 100%),
    url("../img/background1.png");
  background-size: 100% 100%, contain;
  background-position: center, center;
  background-repeat: no-repeat;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 56rem;
  margin: 0 auto;
}

.hero__eyebrow {
  margin: 0 0 0.35rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--muted);
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.2rem, 12vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #f4f0e8 0%, #c9a227 45%, #7a6220 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(201, 162, 39, 0.15);
}

.hero__ig {
  display: inline-flex;
  margin-top: 1.25rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(20, 20, 24, 0.6);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.hero__ig:hover {
  border-color: rgba(201, 162, 39, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.main {
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) 1.25rem 4rem;
}

.empty {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.empty code {
  color: var(--gold);
}

.grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

@media (min-width: 52rem) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(30, 28, 26, 0.5), rgba(12, 12, 14, 0.95));
  box-shadow: var(--shadow);
}

.card--track {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow), 0 0 0 1px rgba(201, 162, 39, 0.42);
  cursor: pointer;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card--track:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(201, 162, 39, 0.5);
}

.card--track:focus {
  outline: none;
}

.card--track:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.card__body {
  position: relative;
  padding: 1.35rem 1.35rem 1.5rem;
  border-radius: inherit;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.card--track .card__body {
  background: transparent;
  border: none;
}

.card__body--row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
}

.card__thumb-wrap {
  flex-shrink: 0;
  width: 7.5rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #000;
}

.card__thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}

.card__info {
  flex: 1;
  min-width: 0;
}

.card__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
}

.card__desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.card__play {
  margin-left: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent 45%),
    linear-gradient(145deg, var(--gold), var(--gold-dim));
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.card__play-icon {
  display: block;
  width: 0;
  height: 0;
  margin-left: 0.15rem;
  border-style: solid;
  border-width: 0.45rem 0 0.45rem 0.78rem;
  border-color: transparent transparent transparent #0a0a0b;
}

.footer {
  padding: 2rem 1rem 2.5rem;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: middle;
  box-shadow: 0 0 12px rgba(201, 162, 39, 0.6);
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.5rem;
}

.footer__domain {
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.18em;
}

.footer__domain:hover {
  color: var(--gold);
}

.footer__sep {
  opacity: 0.45;
  letter-spacing: 0;
}

.footer__year {
  letter-spacing: 0.18em;
}

.footer__track {
  margin-top: 1.1rem;
  padding: 0 1rem;
  text-align: center;
}

.footer__track-line {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: auto;
  max-width: 15rem;
  margin: 0 auto;
  vertical-align: middle;
}

.footer__track-end {
  flex: 0 0 auto;
  display: inline-block;
  font-size: 1.05rem;
  line-height: 1;
  opacity: 0.92;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

.footer__track-rail {
  position: relative;
  display: inline-block;
  flex: 1 1 8rem;
  width: 8rem;
  min-width: 5rem;
  max-width: 10rem;
  height: 1.5rem;
  vertical-align: middle;
  --track-t: 0;
}

.footer__track-rail::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(
    90deg,
    rgba(201, 162, 39, 0.35),
    rgba(255, 255, 255, 0.22) 50%,
    rgba(120, 180, 90, 0.35)
  );
  border-radius: 1px;
}

.footer__track-monkey {
  position: absolute;
  left: calc(var(--track-t) * (100% - 1.25rem));
  top: 50%;
  transform: translateY(-55%);
  font-size: 1rem;
  line-height: 1;
  transition: left 0.65s ease-out;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.vinyl-section {
  position: relative;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(30, 28, 26, 0.45), rgba(12, 12, 14, 0.95));
  box-shadow: var(--shadow);
}

.vinyl-section__chrome {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(201, 162, 39, 0.4),
    rgba(255, 255, 255, 0.06) 40%,
    rgba(201, 162, 39, 0.12) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.vinyl-section__inner {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: inherit;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
}

.vinyl-section__eyebrow {
  margin: 0 0 0.35rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--muted);
}

.vinyl-section__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 2.75rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.vinyl-section__lead {
  margin: 0 auto 1.5rem;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.vinyl-section__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 12rem;
  margin-bottom: 1.25rem;
}

.vinyl-section__disc {
  position: relative;
  z-index: 0;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.55));
}

.vinyl-section__photo {
  position: absolute;
  z-index: 1;
  max-width: min(92%, 22rem);
  max-height: 14rem;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.vinyl-section__photo--gone {
  display: none !important;
}

.vinyl-section__count-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 5.25rem;
  height: 5.25rem;
  padding: 0.25rem;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 35% 30%, #3a3834, #0a0a0c 72%);
  border: 2px solid rgba(201, 162, 39, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.65);
}

.vinyl-section__count-badge .vinyl-section__count {
  font-family: var(--font-display);
  font-size: 1.85rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  line-height: 1;
}

.vinyl-section__count-badge .vinyl-section__count-label {
  margin-top: 0.1rem;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(236, 234, 230, 0.75);
  line-height: 1.1;
  max-width: 4rem;
  text-align: center;
}

.vinyl-section__theater {
  text-align: left;
}

.vinyl-section__theater-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.vinyl-section__theater-label {
  margin: 0;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.vinyl-section__theater-close {
  cursor: pointer;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(20, 20, 24, 0.9);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.vinyl-section__theater-close:hover {
  border-color: rgba(201, 162, 39, 0.55);
  color: var(--gold);
  transform: translateY(-1px);
}

.vinyl-section__theater-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--text);
}

.vinyl-section__theater-frame {
  position: relative;
  width: 100%;
  max-width: min(56rem, 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.vinyl-section__theater-iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 12rem;
  border: 0;
}

.vinyl-section__btn {
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.65rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  background: linear-gradient(145deg, rgba(201, 162, 39, 0.25), rgba(20, 20, 24, 0.9));
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.vinyl-section__btn:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(201, 162, 39, 0.55);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.vinyl-section__btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.vinyl-section__hint {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}
