/* ========================================================================
   DJ Gonzo — Under Construction
   ======================================================================== */

:root {
  --neon-pink: #ff2d95;
  --neon-cyan: #00e5ff;
  --neon-purple: #b026ff;
  --neon-yellow: #ffe600;
  --bg-0: #05010f;
  --bg-1: #12002b;
}

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

html, body { height: 100%; }

body {
  font-family: "Orbitron", system-ui, sans-serif;
  color: #fff;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, var(--bg-1), var(--bg-0) 70%);
}

/* ---- Stage / animated club backdrop ---------------------------------- */
.stage {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.stage::before {
  /* pulsing club-floor glow */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(40vmax 40vmax at 20% 80%, rgba(255, 45, 149, 0.25), transparent 60%),
    radial-gradient(45vmax 45vmax at 80% 30%, rgba(0, 229, 255, 0.22), transparent 60%),
    radial-gradient(35vmax 35vmax at 50% 50%, rgba(176, 38, 255, 0.20), transparent 60%);
  animation: floorPulse 8s ease-in-out infinite alternate;
}

@keyframes floorPulse {
  0%   { transform: scale(1);   opacity: 0.85; }
  100% { transform: scale(1.15); opacity: 1; }
}

/* ---- Sweeping laser beams -------------------------------------------- */
.lasers {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  filter: blur(1px);
}

.laser {
  position: absolute;
  top: -20%;
  left: 50%;
  width: 3px;
  height: 140%;
  transform-origin: top center;
  opacity: 0.55;
  mix-blend-mode: screen;
}

.laser:nth-child(1) { background: linear-gradient(var(--neon-pink), transparent);   animation: sweep 7s ease-in-out infinite; }
.laser:nth-child(2) { background: linear-gradient(var(--neon-cyan), transparent);   animation: sweep 9s ease-in-out infinite reverse; }
.laser:nth-child(3) { background: linear-gradient(var(--neon-purple), transparent); animation: sweep 6s ease-in-out infinite 1s; }
.laser:nth-child(4) { background: linear-gradient(var(--neon-yellow), transparent); animation: sweep 11s ease-in-out infinite reverse 0.5s; }
.laser:nth-child(5) { background: linear-gradient(var(--neon-cyan), transparent);   animation: sweep 8s ease-in-out infinite 2s; }

@keyframes sweep {
  0%   { transform: rotate(-38deg); }
  50%  { transform: rotate(38deg); }
  100% { transform: rotate(-38deg); }
}

/* ---- Content --------------------------------------------------------- */
.content {
  text-align: center;
  padding: 2rem;
  z-index: 1;
}

.eyebrow {
  font-family: "Audiowide", sans-serif;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: clamp(0.65rem, 2vw, 0.95rem);
  color: var(--neon-cyan);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 12px var(--neon-cyan);
  opacity: 0.9;
}

/* ---- Turntable / spinning vinyl -------------------------------------- */
.deck { display: grid; place-items: center; margin-bottom: 2rem; }

.turntable {
  position: relative;
  width: clamp(180px, 40vw, 260px);
  height: clamp(180px, 40vw, 260px);
}

.platter {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #0c0c14;
  box-shadow:
    0 0 0 10px #17131f,
    0 0 40px rgba(176, 38, 255, 0.5),
    0 20px 60px rgba(0, 0, 0, 0.6);
  display: grid;
  place-items: center;
}

.vinyl {
  position: relative;
  width: 88%;
  height: 88%;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at center,
      #0a0a0a 0, #0a0a0a 2px, #1a1a1a 3px, #0a0a0a 4px);
  animation: spin 2.4s linear infinite;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.9);
}

@keyframes spin { to { transform: rotate(360deg); } }

.groove {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.groove.g1 { inset: 10%; }
.groove.g2 { inset: 22%; }
.groove.g3 { inset: 34%; }

.label {
  position: absolute;
  inset: 32%;
  border-radius: 50%;
  display: grid;
  place-content: center;
  gap: 2px;
  background: radial-gradient(circle, var(--neon-pink), #b3005f);
  box-shadow: 0 0 20px rgba(255, 45, 149, 0.8), inset 0 0 12px rgba(0,0,0,0.4);
  font-family: "Audiowide", sans-serif;
  font-size: clamp(0.5rem, 1.6vw, 0.8rem);
  letter-spacing: 0.1em;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.label::after {
  content: "";
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #05010f;
  box-shadow: inset 0 0 3px #000;
}

.shine {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.18) 50%, transparent 60%);
  pointer-events: none;
}

/* Tonearm resting on the record */
.tonearm {
  position: absolute;
  top: 6%;
  right: -6%;
  width: 46%;
  height: 8px;
  background: linear-gradient(90deg, #d9d9e0, #8a8a99);
  border-radius: 6px;
  transform-origin: right center;
  transform: rotate(28deg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  animation: armBob 2.4s ease-in-out infinite;
}
.tonearm::before {
  content: "";
  position: absolute;
  right: -8px; top: -6px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #b3b3bf;
  box-shadow: 0 0 8px rgba(0,0,0,0.5);
}
.tonearm::after {
  content: "";
  position: absolute;
  left: -6px; top: -3px;
  width: 14px; height: 14px;
  border-radius: 3px;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
}

@keyframes armBob {
  0%, 100% { transform: rotate(28deg); }
  50%      { transform: rotate(30deg); }
}

/* ---- Logo / glitch text ---------------------------------------------- */
.logo {
  position: relative;
  font-family: "Audiowide", sans-serif;
  font-size: clamp(2.6rem, 12vw, 6.5rem);
  letter-spacing: 0.05em;
  color: #fff;
  text-shadow:
    0 0 8px var(--neon-pink),
    0 0 20px var(--neon-pink),
    0 0 40px var(--neon-purple);
  animation: flicker 4s infinite;
}

.logo::before,
.logo::after {
  content: attr(data-text);
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  overflow: hidden;
}
.logo::before {
  color: var(--neon-cyan);
  animation: glitch 3.5s infinite;
  clip-path: inset(0 0 55% 0);
  z-index: -1;
}
.logo::after {
  color: var(--neon-yellow);
  animation: glitch 2.7s infinite reverse;
  clip-path: inset(55% 0 0 0);
  z-index: -1;
}

@keyframes glitch {
  0%, 92%, 100% { transform: translate(0); opacity: 0.75; }
  93% { transform: translate(-4px, 2px); }
  95% { transform: translate(4px, -2px); }
  97% { transform: translate(-2px, -1px); }
}

@keyframes flicker {
  0%, 100%      { opacity: 1; }
  92%, 94%, 96% { opacity: 0.75; }
  93%, 95%      { opacity: 0.4; }
}

.tagline {
  margin-top: 0.75rem;
  font-size: clamp(0.8rem, 3vw, 1.15rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* ---- Equalizer ------------------------------------------------------- */
.equalizer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  height: 70px;
  margin: 2rem auto 1.75rem;
  max-width: 520px;
}

.equalizer span {
  flex: 1;
  max-width: 12px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(var(--neon-cyan), var(--neon-pink));
  box-shadow: 0 0 10px rgba(255, 45, 149, 0.6);
  animation: bounce 1s ease-in-out infinite;
}

/* stagger every bar so it feels like a live spectrum */
.equalizer span:nth-child(1)  { animation-duration: 0.9s;  animation-delay: -0.2s; }
.equalizer span:nth-child(2)  { animation-duration: 1.3s;  animation-delay: -0.5s; }
.equalizer span:nth-child(3)  { animation-duration: 0.7s;  animation-delay: -0.1s; }
.equalizer span:nth-child(4)  { animation-duration: 1.1s;  animation-delay: -0.6s; }
.equalizer span:nth-child(5)  { animation-duration: 0.8s;  animation-delay: -0.3s; }
.equalizer span:nth-child(6)  { animation-duration: 1.4s;  animation-delay: -0.4s; }
.equalizer span:nth-child(7)  { animation-duration: 0.6s;  animation-delay: -0.2s; }
.equalizer span:nth-child(8)  { animation-duration: 1.2s;  animation-delay: -0.7s; }
.equalizer span:nth-child(9)  { animation-duration: 0.9s;  animation-delay: -0.15s; }
.equalizer span:nth-child(10) { animation-duration: 1.0s;  animation-delay: -0.5s; }
.equalizer span:nth-child(11) { animation-duration: 0.75s; animation-delay: -0.35s; }
.equalizer span:nth-child(12) { animation-duration: 1.35s; animation-delay: -0.55s; }
.equalizer span:nth-child(13) { animation-duration: 0.85s; animation-delay: -0.25s; }
.equalizer span:nth-child(14) { animation-duration: 1.15s; animation-delay: -0.65s; }
.equalizer span:nth-child(15) { animation-duration: 0.65s; animation-delay: -0.1s; }
.equalizer span:nth-child(16) { animation-duration: 1.25s; animation-delay: -0.45s; }
.equalizer span:nth-child(17) { animation-duration: 0.95s; animation-delay: -0.3s; }
.equalizer span:nth-child(18) { animation-duration: 1.05s; animation-delay: -0.6s; }
.equalizer span:nth-child(19) { animation-duration: 0.7s;  animation-delay: -0.2s; }
.equalizer span:nth-child(20) { animation-duration: 1.3s;  animation-delay: -0.5s; }

@keyframes bounce {
  0%, 100% { height: 12%; }
  50%      { height: 100%; }
}

/* ---- Under construction badge ---------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.4rem;
  border: 1px solid rgba(0, 229, 255, 0.5);
  border-radius: 999px;
  font-family: "Audiowide", sans-serif;
  font-size: clamp(0.7rem, 2.2vw, 0.9rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  background: rgba(0, 229, 255, 0.06);
  backdrop-filter: blur(4px);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.25);
}

.badge .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--neon-pink);
  box-shadow: 0 0 10px var(--neon-pink);
  animation: blink 1.2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.3; transform: scale(0.7); }
}

/* ---- Particle canvas ------------------------------------------------- */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ---- Reduced motion -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
