:root {
  --ink: #050505;
  --paper: #fff4d8;
  --gold: #ffe14a;
  --pink: #ff2d6b;
  --lime: #c6ff1a;
  --cyan: #3df0ff;
  --cream: #fff8ea;
  --safe: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: #050505;
  color: var(--paper);
  font-family: Nunito, "Segoe UI", sans-serif;
  overflow-x: hidden;
  min-height: 100svh;
}
a { color: var(--gold); }
.wrap { width: min(1120px, calc(100% - 1.2rem)); margin-inline: auto; position: relative; z-index: 2; }

/* Beat bed — always moving */
.stage {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,45,107,0.45), transparent 42%),
    radial-gradient(circle at 80% 10%, rgba(198,255,26,0.28), transparent 38%),
    radial-gradient(circle at 70% 80%, rgba(61,240,255,0.28), transparent 40%),
    #050505;
  animation: stageHue 4.5s linear infinite;
}
@keyframes stageHue {
  0% { filter: hue-rotate(0deg) saturate(1.2); }
  50% { filter: hue-rotate(40deg) saturate(1.5); }
  100% { filter: hue-rotate(0deg) saturate(1.2); }
}
.stage::after {
  content: "";
  position: absolute; inset: -20%;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 46px,
    rgba(255,255,255,0.04) 46px 48px
  );
  animation: slideBars 1.1s linear infinite;
}
@keyframes slideBars { to { transform: translateX(-48px); } }

.ticker {
  position: relative; z-index: 3;
  background: var(--gold); color: #111;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  letter-spacing: 0.08em;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 4px solid #111;
}
.ticker-track {
  display: inline-block;
  padding: 0.35rem 0;
  animation: marquee 12s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.8rem; padding: 0.75rem 0;
}
.brand {
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0.08em; font-size: 1.5rem; color: #fff;
  text-decoration: none;
  animation: blink 0.9s steps(2, end) infinite;
}
@keyframes blink {
  50% { color: var(--pink); text-shadow: 0 0 18px var(--pink); }
}
.nav { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.nav a {
  color: #fff; text-decoration: none; font-weight: 800;
  font-size: 0.85rem; padding: 0.55rem 0.7rem; min-height: 44px;
  display: inline-flex; align-items: center;
}

.hero {
  display: grid; gap: 1.3rem; padding: 0.6rem 0 2rem;
  align-items: center;
}
@media (min-width: 800px) {
  .hero { grid-template-columns: 1.05fr 0.95fr; min-height: 74svh; }
}

.kicker {
  display: inline-flex; align-items: center; gap: 0.45rem;
  text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 0.78rem; font-weight: 900; color: var(--lime);
}
.pulse {
  width: 0.7rem; height: 0.7rem; border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 0 rgba(255,45,107,0.8);
  animation: radar 1s ease-out infinite;
}
@keyframes radar {
  70% { box-shadow: 0 0 0 16px rgba(255,45,107,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,45,107,0); }
}

h1 {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(3.4rem, 14vw, 7.2rem);
  line-height: 0.8; margin: 0.2rem 0 0.5rem;
  text-transform: uppercase;
  animation: slam 0.7s cubic-bezier(.2,1.6,.3,1) both, titleShake 2.4s ease-in-out 0.7s infinite;
}
@keyframes slam {
  0% { transform: scale(1.4) rotate(-4deg); opacity: 0; filter: blur(8px); }
  100% { transform: none; opacity: 1; filter: none; }
}
@keyframes titleShake {
  0%, 100% { transform: translate(0,0); }
  20% { transform: translate(-3px, 2px); }
  40% { transform: translate(3px, -2px); }
  60% { transform: translate(-2px, 0); }
  80% { transform: translate(2px, 1px); }
}
.lead { font-size: 1.08rem; line-height: 1.45; max-width: 36rem; color: #ffe9b8; }

.clock {
  display: grid; grid-template-columns: repeat(4, minmax(3.4rem, 1fr));
  gap: 0.4rem; margin: 1rem 0; max-width: 26rem;
}
.clock b {
  display: block;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2rem, 8vw, 3.2rem);
  line-height: 1; text-align: center;
  background: #111; border: 3px solid var(--gold);
  padding: 0.25rem 0.1rem 0;
  animation: tickPop 1s ease-in-out infinite;
}
.clock span {
  display: block; text-align: center; font-size: 0.65rem;
  letter-spacing: 0.14em; text-transform: uppercase; font-weight: 800;
  color: var(--gold);
}
@keyframes tickPop {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.08); background: var(--pink); color: #111; }
}

.meta { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.8rem 0; }
.chip, .filter {
  border: 2px solid #333; background: #111; color: var(--paper);
  border-radius: 999px; padding: 0.45rem 0.8rem; font-weight: 800;
  font-size: 0.82rem; min-height: 44px;
}
.chip.age-2-7 { border-color: var(--lime); color: var(--lime); }
.chip.age-8-12 { border-color: var(--gold); color: var(--gold); }
.chip.age-13 { border-color: var(--pink); color: var(--pink); }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.8rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0.75rem 1.15rem; border-radius: 999px;
  text-decoration: none; font-weight: 900; letter-spacing: 0.05em;
  text-transform: uppercase; font-size: 0.9rem; border: 0;
  animation: btnBounce 1.4s ease-in-out infinite;
}
@keyframes btnBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.04); }
}
.btn-gold { background: var(--gold); color: #111; }
.btn-pink { background: var(--pink); color: #111; animation-delay: 0.2s; }
.btn-ghost { background: transparent; color: #fff; border: 3px solid #fff; }
.btn:active { transform: scale(0.94); }

.sleeve {
  position: relative; justify-self: center; width: min(100%, 440px);
  animation: floatY 2.6s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}
.vinyl {
  position: absolute; right: -16%; top: 10%; width: 78%;
  aspect-ratio: 1; border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%, #111 0 6px, #222 7px 10px);
  box-shadow: 0 0 0 8px #000, 0 0 40px var(--pink);
  animation: spin 2.4s linear infinite;
  z-index: 0;
}
.vinyl::after {
  content: "";
  position: absolute; inset: 38%;
  border-radius: 50%;
  background: conic-gradient(var(--gold), var(--pink), var(--cyan), var(--gold));
  animation: spin 1.2s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cover {
  position: relative; z-index: 1; display: block; width: 100%;
  border: 8px solid #111; box-shadow: 14px 18px 0 #000;
  background: #111;
}
body.predrop .cover {
  filter: contrast(1.2) brightness(0.35) blur(10px);
}
body.live .cover { animation: unlock 0.9s cubic-bezier(.2,1.5,.3,1) both; }
@keyframes unlock {
  0% { filter: blur(16px) brightness(0.2); transform: scale(0.85) rotate(-6deg); }
  100% { filter: none; transform: none; }
}
.sticker {
  position: absolute; right: -10px; top: -16px; z-index: 3;
  background: var(--pink); color: #111; font-weight: 900;
  padding: 0.5rem 0.7rem; font-size: 0.9rem;
  animation: wiggle 0.7s ease-in-out infinite;
}
@keyframes wiggle {
  0%, 100% { transform: rotate(10deg) scale(1); }
  50% { transform: rotate(-12deg) scale(1.12); }
}
.lock-badge {
  position: absolute; inset: 0; z-index: 2;
  display: none; place-items: center;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2rem, 8vw, 3.2rem);
  letter-spacing: 0.06em; text-align: center;
  color: #fff; text-shadow: 0 4px 0 #000;
}
body.predrop .lock-badge { display: grid; }

h2 {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2rem, 6vw, 3.1rem);
  letter-spacing: 0.04em; margin: 0 0 0.5rem;
}
.filters {
  display: flex; flex-wrap: wrap; gap: 0.45rem;
  margin: 0.5rem 0 1rem;
}
.filter { cursor: pointer; animation: none; }
.filter[aria-pressed="true"] {
  background: var(--gold); color: #111; border-color: var(--gold);
}
.filter[data-age="2-7"][aria-pressed="true"] { background: var(--lime); border-color: var(--lime); }
.filter[data-age="13+"][aria-pressed="true"] { background: var(--pink); border-color: var(--pink); color: #111; }

.grid { display: grid; gap: 1rem; margin: 0 0 2.6rem; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid.vault { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--cream); color: #111; padding: 0.65rem;
  border-radius: 1rem;
  animation: rise 0.55s ease both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(22px) rotate(-1deg); }
  to { opacity: 1; transform: none; }
}
.card[hidden] { display: none !important; }
.card img { width: 100%; height: auto; display: block; background: #fff; border-radius: 0.6rem; }
.card.locked img { filter: blur(14px) brightness(0.55); }
.card h3 { margin: 0.65rem 0 0.15rem; font-size: 1.15rem; }
.card p { margin: 0 0 0.7rem; color: #333; }
.track { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #666; }

.drop-gate {
  display: none;
  padding: 1.4rem;
  border: 4px dashed var(--gold);
  text-align: center;
  margin-bottom: 2rem;
  animation: gateFlash 1.2s ease-in-out infinite;
}
body.predrop .drop-gate { display: block; }
body.predrop #drop-grid { display: none; }
@keyframes gateFlash {
  50% { border-color: var(--pink); background: rgba(255,45,107,0.12); }
}

.empty { display: none; padding: 1.2rem; color: #bbb; }
.empty.show { display: block; }
.prose { max-width: 40rem; padding: 0.4rem 0 3rem; line-height: 1.55; }
.prose h1 { font-size: clamp(2.4rem, 8vw, 4.2rem); }
footer {
  position: relative; z-index: 2;
  padding: 1.2rem 0 calc(2.2rem + var(--safe));
  color: #d8cba8; border-top: 2px solid #222;
}

/* Never kill motion — Windows “animation effects off” was wiping the site. */
@media (prefers-reduced-motion: reduce) {
  .stage { animation-duration: 10s; }
  .ticker-track { animation-duration: 22s; }
  .vinyl, .vinyl::after { animation-duration: 8s; }
  h1 { animation: slam 0.5s ease both; }
  .btn, .clock b, .sticker { animation: none; }
}

@media print {
  .stage, .ticker, .top, .filters, .cta-row, footer, .vinyl, .sticker, .clock { display: none !important; }
  body { background: #fff; color: #000; }
}
