:root {
  --ink: #171510;
  --paper: #eee8da;
  --paper-2: #e4ddcf;
  --red: #ee3f24;
  --acid: #d7f43a;
  --line: rgba(23, 21, 16, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", sans-serif;
}
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.noise {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
.hero { min-height: 100vh; background: var(--ink); color: var(--paper); overflow: hidden; }
.nav {
  height: 86px;
  max-width: 1440px;
  margin: auto;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(238,232,218,.18);
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font: 24px/1 "Bebas Neue"; letter-spacing: 1px; }
.brand i { width: 7px; height: 7px; background: var(--red); border-radius: 50%; }
.brand b { color: var(--red); font-weight: 400; }
.nav-link { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-decoration: none; }
.hero-main {
  width: min(90vw, 1440px);
  min-height: calc(100vh - 132px);
  margin: auto;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 4vw;
  padding: 6vh 0 10vh;
}
.eyebrow, .section-kicker { font: 16px/1 "Bebas Neue"; letter-spacing: .16em; color: var(--red); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 20px 0 28px;
  font: clamp(86px, 11vw, 176px)/.76 "Bebas Neue", sans-serif;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
h1 em { color: var(--red); font-style: normal; }
.hero-intro { font-size: clamp(16px, 1.4vw, 21px); line-height: 1.75; color: rgba(238,232,218,.7); }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 38px; }
.primary-btn, .text-btn { border: 0; cursor: pointer; font-weight: 900; text-decoration: none; }
.primary-btn { background: var(--acid); color: var(--ink); padding: 17px 20px; display: inline-flex; gap: 45px; transition: transform .2s, box-shadow .2s; }
.primary-btn:hover { transform: translate(-4px,-4px); box-shadow: 7px 7px 0 var(--red); }
.text-btn { padding: 10px 0; color: var(--paper); background: transparent; border-bottom: 1px solid rgba(238,232,218,.5); }
.turntable { position: relative; aspect-ratio: 1; display: grid; place-items: center; animation: fadeUp .9s .2s both; }
.record {
  width: min(34vw, 500px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at center, #181818 0 4px, #202020 5px 6px, #111 7px 10px);
  box-shadow: 0 30px 80px #000, inset 0 0 0 2px #333;
  display: grid;
  place-items: center;
  animation: spin 18s linear infinite;
}
.record::before { content: ""; position: absolute; width: 92%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.record-label { width: 34%; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--red); color: var(--ink); box-shadow: inset 0 0 30px rgba(0,0,0,.15); }
.record-label span { font: 74px/.75 "Bebas Neue"; }
.record-label small { font: 12px/1 "Bebas Neue"; letter-spacing: .2em; }
.tonearm { position: absolute; top: 7%; right: 5%; width: 30%; height: 58%; border-right: 10px solid #c7c2b6; border-top: 10px solid #c7c2b6; border-radius: 0 50px 0 0; transform: rotate(8deg); transform-origin: top right; }
.tonearm::before { content: ""; position: absolute; right: -26px; top: -26px; width: 42px; height: 42px; border-radius: 50%; background: var(--paper-2); border: 8px solid #67645f; }
.tonearm i { position: absolute; bottom: -18px; right: -18px; width: 32px; height: 62px; background: var(--red); transform: rotate(-8deg); }
.turntable > p { position: absolute; bottom: 1%; right: 8%; font: 14px/1 "Bebas Neue"; letter-spacing: .18em; color: rgba(238,232,218,.5); }
.ticker { height: 46px; display: flex; align-items: center; overflow: hidden; background: var(--acid); color: var(--ink); transform: rotate(-1deg) scale(1.02); }
.ticker div { white-space: nowrap; font: 22px/1 "Bebas Neue"; letter-spacing: .08em; animation: ticker 24s linear infinite; }
.control-panel {
  width: min(90vw, 1320px);
  margin: auto;
  padding: 145px 0 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  border-bottom: 2px solid var(--ink);
}
.section-kicker { color: var(--red); }
h2 { font: clamp(52px, 6vw, 88px)/.9 "Bebas Neue"; text-transform: uppercase; }
.controls { align-self: end; }
.search-box { display: block; border-bottom: 2px solid var(--ink); margin-bottom: 26px; }
.search-box span { display: block; font-size: 11px; font-weight: 900; letter-spacing: .15em; }
.search-box input { width: 100%; padding: 12px 0 14px; border: 0; outline: 0; background: transparent; color: var(--ink); font: 34px/1 "Bebas Neue"; }
.search-box input::placeholder { color: rgba(23,21,16,.25); }
.filter-list { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn { border: 1px solid var(--ink); border-radius: 999px; background: transparent; padding: 8px 13px; cursor: pointer; font-size: 12px; transition: background .2s, color .2s; }
.filter-btn:hover, .filter-btn.active { background: var(--ink); color: var(--paper); }
.genre-list { width: min(90vw, 1320px); margin: auto; padding-bottom: 120px; }
.genre-section { display: grid; grid-template-columns: 1fr 3fr; gap: 5vw; padding: 85px 0; border-bottom: 1px solid var(--line); animation: fadeUp .55s both; }
.genre-index { font: 20px/1 "Bebas Neue"; color: var(--red); }
.genre-meta h3 { margin: 18px 0 15px; font: clamp(47px, 5vw, 74px)/.88 "Bebas Neue"; text-transform: uppercase; }
.genre-meta p { max-width: 250px; font-size: 14px; line-height: 1.75; color: rgba(23,21,16,.65); }
.artist-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.artist-card {
  position: relative;
  min-height: 390px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--paper-2);
  transition: transform .25s, box-shadow .25s;
}
.artist-card:nth-child(2) { margin-top: 36px; }
.artist-card:hover { transform: translateY(-8px) rotate(-.5deg); box-shadow: 10px 10px 0 var(--red); }
.card-top { display: flex; justify-content: space-between; align-items: center; font: 13px/1 "Bebas Neue"; letter-spacing: .12em; }
.rank { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid; border-radius: 50%; }
.disc {
  width: 190px;
  aspect-ratio: 1;
  align-self: center;
  margin: 30px 0 24px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at center, #1c1b18 0 3px, #272520 4px 5px, #151411 6px 9px);
  display: grid;
  place-items: center;
  transition: transform .8s ease;
}
.artist-card:hover .disc { transform: rotate(120deg); }
.disc::after { content: attr(data-initials); width: 36%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--card-color, var(--red)); color: var(--ink); font: 28px/1 "Bebas Neue"; }
.artist-name { margin: auto 0 5px; font: 34px/.95 "Bebas Neue"; text-transform: uppercase; }
.artist-note { min-height: 38px; margin: 0 0 18px; font-size: 12px; line-height: 1.55; color: rgba(23,21,16,.64); }
.song-link { padding-top: 14px; display: flex; justify-content: space-between; border-top: 1px solid var(--ink); font-size: 13px; font-weight: 900; text-decoration: none; }
.song-link:hover { color: var(--red); }
.song-link span:first-child { max-width: 82%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.empty-state { padding: 100px 5vw 160px; text-align: center; font: 40px/1 "Bebas Neue"; }
footer { background: var(--red); padding: 75px 5vw; display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 30px; align-items: end; }
.footer-mark { font: 82px/.72 "Bebas Neue"; }
footer p { margin: 0; font-size: 14px; line-height: 1.8; }
footer a { justify-self: end; font: 17px/1 "Bebas Neue"; letter-spacing: .1em; text-decoration: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; } }
@media (max-width: 900px) {
  .hero-main { grid-template-columns: 1fr; padding-top: 70px; }
  .turntable { width: min(85vw, 540px); justify-self: center; }
  .record { width: min(75vw, 440px); }
  .control-panel, .genre-section { grid-template-columns: 1fr; }
  .control-panel { gap: 45px; }
  .artist-grid { grid-template-columns: repeat(2, 1fr); }
  .artist-card:nth-child(2) { margin-top: 0; }
  .artist-card:last-child { grid-column: 2; }
}
@media (max-width: 600px) {
  .nav { height: 70px; }
  .hero-main { min-height: auto; width: 88vw; }
  h1 { font-size: 24vw; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .turntable { margin: 30px 0 50px; }
  .control-panel { width: 88vw; padding: 110px 0 60px; }
  .genre-list { width: 88vw; }
  .genre-section { padding: 62px 0; gap: 28px; }
  .genre-meta p { max-width: none; }
  .artist-grid { grid-template-columns: 1fr; }
  .artist-card:last-child { grid-column: auto; }
  .artist-card { min-height: 370px; }
  footer { grid-template-columns: 1fr; }
  footer a { justify-self: start; }
}
