/* ═══════════════════════════════════════════════════
   DEAD AS DISCO — SCORE TRACKER
   Comic-book / halftone style · Blue/teal theme
════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Black+Han+Sans&family=Oswald:wght@700&family=Share+Tech+Mono&display=swap');

/* ─── RESET / BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:     #00e5ff;
  --teal-dark:#007ea8;
  --teal-dim: #003d55;
  --ink:      #0a0a14;
  --paper:    #0d1117;
  --white:    #eef6ff;
  --gold:     #ffd700;
  --border:   3px solid var(--teal);
  --shadow-teal: 0 0 18px rgba(0,229,255,0.7), 0 0 40px rgba(0,229,255,0.3);
  --font-title: 'Bebas Neue', 'Black Han Sans', impact, sans-serif;
  --font-body:  'Oswald', sans-serif;
  --font-mono:  'Share Tech Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--white);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ─── HALFTONE DOT PATTERN (comic shading) ─── */
.halftone-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(0,229,255,0.18) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  z-index: 1;
  animation: halftone-pulse 4s ease-in-out infinite;
}

@keyframes halftone-pulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1;   }
}

/* ─── GLOBAL SCROLLBAR ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--teal-dark); border-radius: 4px; }

/* ════════════════════════════════════════════════
   SITE HEADER
════════════════════════════════════════════════ */
.site-header {
  position: relative;
  background: var(--ink);
  border-bottom: 4px solid var(--teal);
  overflow: hidden;
  padding: 2rem 1.5rem 1.2rem;
  text-align: center;
}

/* Animated background bolts */
.header-bg-bolts {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(0,229,255,0.07) 1.5px, transparent 1.5px),
    radial-gradient(circle, rgba(255,215,0,0.07) 1.5px, transparent 1.5px);
  background-size: 18px 18px, 36px 36px;
  background-position: 0 0, 9px 9px;
  animation: bg-scroll 6s linear infinite;
  pointer-events: none;
}
@keyframes bg-scroll {
  from { background-position: 0 0; }
  to   { background-position: 0 36px; }
}

.header-content { position: relative; z-index: 2; }

.logo-block {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.4em;
  line-height: 1;
}

.logo-dead, .logo-as, .logo-disco {
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
}
.logo-dead {
  font-size: clamp(3rem, 10vw, 7rem);
  color: var(--gold);
  text-shadow: 3px 3px 0 #a07600, 6px 6px 0 #4a3500, 0 0 40px rgba(255,215,0,0.35);
  animation: title-shake 8s ease-in-out infinite;
}
.logo-as {
  font-size: clamp(1.5rem, 4vw, 3rem);
  color: var(--gold);
  opacity: 0.7;
}
.logo-disco {
  font-size: clamp(3rem, 10vw, 7rem);
  color: var(--teal);
  text-shadow: 3px 3px 0 #007ea8, 6px 6px 0 #003d55, 0 0 40px rgba(0,229,255,0.4);
  animation: title-shake 8s ease-in-out infinite reverse;
}

@keyframes title-shake {
  0%, 90%, 100% { transform: translate(0,0) skewX(0deg); }
  92%            { transform: translate(-3px, 1px) skewX(-2deg); }
  94%            { transform: translate(3px, -1px) skewX(2deg); }
  96%            { transform: translate(-2px, 1px) skewX(-1deg); }
  98%            { transform: translate(2px, 0px)  skewX(1deg);  }
}

.header-sub {
  font-family: var(--font-mono);
  font-size: clamp(0.6rem, 2vw, 0.85rem);
  color: var(--gold);
  letter-spacing: 0.3em;
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
  opacity: 0.75;
  animation: flicker 5s step-end infinite;
}

@keyframes flicker {
  0%, 95%, 100% { opacity: 0.8; }
  96%           { opacity: 0.1; }
  97%           { opacity: 0.8; }
  98%           { opacity: 0.2; }
  99%           { opacity: 0.8; }
}

.lightning-strip {
  height: 5px;
  background: repeating-linear-gradient(
    90deg,
    var(--teal)  0px,  var(--teal)  16px,
    transparent  16px, transparent  20px,
    var(--gold)  20px, var(--gold)  28px,
    transparent  28px, transparent  32px,
    var(--teal-dark) 32px, var(--teal-dark) 44px,
    transparent  44px, transparent  48px
  );
  animation: strip-scroll 1.8s linear infinite;
}
@keyframes strip-scroll {
  from { background-position: 0 0; }
  to   { background-position: 48px 0; }
}

/* ════════════════════════════════════════════════
   SONG NAV TABS
════════════════════════════════════════════════ */
.song-nav {
  display: flex;
  gap: 0;
  background: var(--ink);
  border-bottom: 4px solid var(--teal);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.song-nav::-webkit-scrollbar { display: none; }

.song-tab {
  flex: 1 1 0;
  min-width: 90px;
  background: transparent;
  border: none;
  border-right: 2px solid rgba(0,229,255,0.15);
  color: rgba(238,246,255,0.45);
  cursor: pointer;
  font-family: var(--font-title);
  letter-spacing: 0.08em;
  padding: 0.85rem 0.5rem 0.7rem;
  position: relative;
  transition: background 0.25s, color 0.25s;
  text-align: center;
  overflow: hidden;
}
.song-tab::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--tab-color, var(--teal));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.song-tab.active::after,
.song-tab:not(.locked):hover::after {
  transform: scaleX(1);
}
.song-tab.active {
  color: var(--tab-color, var(--teal));
  background: rgba(0,229,255,0.07);
  text-shadow: 0 0 12px var(--tab-color, var(--teal));
}
.song-tab:not(.locked):hover {
  background: rgba(0,229,255,0.05);
  color: var(--tab-color, var(--teal));
}
.song-tab.locked { cursor: default; }

.tab-icon { display: block; font-size: 1.4rem; line-height: 1; }
.tab-name { display: block; font-size: clamp(0.9rem,2.5vw,1.2rem); }
.tab-sub  { display: block; font-family: var(--font-mono); font-size: 0.55rem;
             letter-spacing: 0.15em; opacity: 0.6; margin-top: 2px; }

/* ════════════════════════════════════════════════
   MAIN CONTENT
════════════════════════════════════════════════ */
.main-content { min-height: 64vh; }

.song-panel { display: none; }
.song-panel.active { display: block; }

/* ─── SONG HERO ─── */
.song-hero {
  position: relative;
  background: linear-gradient(160deg, #020f1a 0%, #031a2e 50%, #001a26 100%);
  border-bottom: 4px solid var(--teal);
  overflow: hidden;
  padding: 1.2rem 2rem 1rem;
  text-align: center;
}

.song-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

/* Guitar decorations */
.guitar-deco {
  width: clamp(60px, 10vw, 120px);
  height: clamp(100px, 18vw, 200px);
  background: var(--teal-dark);
  clip-path: polygon(50% 0%, 80% 12%, 90% 30%, 85% 55%, 95% 70%, 85% 85%, 60% 100%, 40% 100%, 15% 85%, 5% 70%, 15% 55%, 10% 30%, 20% 12%);
  opacity: 0.55;
  position: relative;
  animation: guitar-sway 3s ease-in-out infinite;
  flex-shrink: 0;
}
.guitar-deco.right { animation-direction: reverse; }
.guitar-deco::after {
  content: '';
  position: absolute;
  inset: 8px;
  clip-path: inherit;
  background: radial-gradient(circle at 40% 40%, rgba(0,229,255,0.4), transparent 70%);
}

@keyframes guitar-sway {
  0%, 100% { transform: rotate(-4deg); }
  50%       { transform: rotate(4deg);  }
}

.song-title-block { position: relative; z-index: 2; }
.song-number {
  font-family: var(--font-title);
  font-size: clamp(3rem, 10vw, 7rem);
  color: transparent;
  -webkit-text-stroke: 2px rgba(0,229,255,0.2);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}
.song-name {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  color: var(--white);
  text-shadow: 2px 2px 0 var(--teal), 4px 4px 0 var(--teal-dark), 0 0 40px rgba(0,229,255,0.6);
  line-height: 1;
  letter-spacing: 0.05em;
  position: relative;
  animation: text-flare 4s ease-in-out infinite;
}
@keyframes text-flare {
  0%, 100% { text-shadow: 2px 2px 0 var(--teal), 4px 4px 0 var(--teal-dark), 0 0 30px rgba(0,229,255,0.5); }
  50%       { text-shadow: 2px 2px 0 var(--teal), 4px 4px 0 var(--teal-dark), 0 0 60px rgba(0,229,255,0.9), 0 0 100px rgba(0,229,255,0.4); }
}

.song-flavour {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--teal);
  letter-spacing: 0.2em;
  margin-top: 0.25rem;
  opacity: 0.7;
}

/* Bolt row */
.bolt-row {
  position: relative;
  z-index: 2;
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
.big-bolt {
  font-size: clamp(1.5rem, 5vw, 3rem);
  animation: bolt-flash 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(0,229,255,0.9));
  display: inline-block;
}
.big-bolt.delay-1 { animation-delay: 0.3s; }
.big-bolt.delay-2 { animation-delay: 0.6s; }

@keyframes bolt-flash {
  0%, 45%, 55%, 100% { opacity: 1;   transform: scale(1);    }
  50%                { opacity: 0.3; transform: scale(0.85); }
}

/* ─── LEADERBOARD ─── */
.leaderboard-wrap {
  max-width: 820px;
  margin: 2.5rem auto;
  padding: 0 1.2rem;
}

.leaderboard-title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--teal);
  text-shadow: var(--shadow-teal);
  letter-spacing: 0.1em;
  border-bottom: 3px solid var(--teal);
  padding-bottom: 0.4rem;
  margin-bottom: 1.5rem;
  position: relative;
}
.leaderboard-title::after {
  content: '//';
  font-family: var(--font-mono);
  font-size: 1rem;
  color: rgba(0,229,255,0.4);
  margin-left: 0.8rem;
  vertical-align: middle;
}

.leaderboard {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ─── PLAYER CARD ─── */
.player-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(120deg, rgba(0,20,35,0.95) 0%, rgba(0,35,55,0.9) 100%);
  border: 3px solid rgba(0,229,255,0.3);
  border-radius: 4px;
  padding: 0.9rem 1.2rem;
  overflow: hidden;
  cursor: default;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  animation: card-enter 0.5s ease both;
}
.player-card:hover {
  transform: translateX(6px) scale(1.01);
  border-color: var(--teal);
  box-shadow: var(--shadow-teal);
}

/* Comic-book dot shading on cards */
.player-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,229,255,0.12) 1px, transparent 1px);
  background-size: 8px 8px;
  pointer-events: none;
  opacity: 0.7;
}

/* Rank-1 extra glow */
.rank-1 {
  border-color: var(--teal) !important;
  box-shadow: var(--shadow-teal);
  background: linear-gradient(120deg, rgba(0,40,60,0.98) 0%, rgba(0,60,90,0.95) 100%) !important;
}
.rank-1::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(0,229,255,0.06) 100%);
  pointer-events: none;
}

@keyframes card-enter {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Stagger delays */
.player-card:nth-child(1) { animation-delay: 0.1s; }
.player-card:nth-child(2) { animation-delay: 0.25s; }
.player-card:nth-child(3) { animation-delay: 0.4s; }
.player-card:nth-child(4) { animation-delay: 0.55s; }
.player-card:nth-child(5) { animation-delay: 0.7s; }

.rank-badge {
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: var(--teal);
  min-width: 2rem;
  text-align: center;
  text-shadow: 0 0 10px var(--teal);
  position: relative;
  z-index: 2;
}
.rank-1 .rank-badge { color: var(--gold); text-shadow: 0 0 12px var(--gold); }

.player-avatar {
  position: relative;
  width: 62px;
  height: 62px;
  flex-shrink: 0;
  z-index: 2;
}
.player-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
  border: 2px solid var(--teal);
  display: block;
  image-rendering: auto;
}
.avatar-glow {
  position: absolute;
  inset: -4px;
  border-radius: 5px;
  box-shadow: 0 0 16px rgba(0,229,255,0.6);
  animation: avatar-pulse 2.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes avatar-pulse {
  0%, 100% { box-shadow: 0 0 12px rgba(0,229,255,0.5); }
  50%       { box-shadow: 0 0 28px rgba(0,229,255,0.9), 0 0 50px rgba(0,229,255,0.3); }
}
.rank-1 .avatar-glow {
  animation: avatar-pulse-gold 2.5s ease-in-out infinite;
}
@keyframes avatar-pulse-gold {
  0%, 100% { box-shadow: 0 0 12px rgba(255,215,0,0.5); }
  50%       { box-shadow: 0 0 28px rgba(255,215,0,0.9), 0 0 50px rgba(255,215,0,0.3); }
}

.player-info {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 2;
}
.player-name {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(1.1rem, 3.5vw, 1.6rem);
  letter-spacing: 0.06em;
  color: var(--white);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.score-bar-wrap {
  margin-top: 0.45rem;
  height: 8px;
  background: rgba(0,229,255,0.12);
  border-radius: 2px;
  border: 1px solid rgba(0,229,255,0.25);
  overflow: hidden;
  position: relative;
}
.score-bar {
  height: 100%;
  width: var(--pct, 50%);
  background: linear-gradient(90deg, var(--teal-dark), var(--teal));
  border-radius: 2px;
  position: relative;
  animation: bar-fill 1s ease both;
  transform-origin: left;
}
.rank-1 .score-bar { background: linear-gradient(90deg, #a07600, var(--gold)); }

@keyframes bar-fill {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}
.score-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 70%, rgba(255,255,255,0.35));
  animation: bar-shimmer 2s linear infinite;
}
@keyframes bar-shimmer {
  from { transform: translateX(-100%); }
  to   { transform: translateX(200%); }
}

.player-score {
  text-align: right;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.score-num {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(1.3rem, 4vw, 2rem);
  color: var(--teal);
  text-shadow: 0 0 10px rgba(0,229,255,0.6);
  line-height: 1;
}
.rank-1 .score-num { color: var(--gold); text-shadow: 0 0 10px rgba(255,215,0,0.6); }

.score-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: rgba(0,229,255,0.6);
  margin-top: 2px;
}

.crown-icon {
  position: absolute;
  top: -10px;
  right: 12px;
  font-size: 1.6rem;
  animation: crown-bob 1.5s ease-in-out infinite;
  z-index: 3;
  filter: drop-shadow(0 0 8px rgba(255,215,0,0.8));
}
@keyframes crown-bob {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50%       { transform: translateY(-6px) rotate(5deg); }
}

/* Update hint */
.update-hint {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(0,229,255,0.35);
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(0,229,255,0.2);
  letter-spacing: 0.05em;
}
.update-hint code {
  color: rgba(0,229,255,0.6);
  background: rgba(0,229,255,0.08);
  padding: 1px 5px;
  border-radius: 2px;
}

/* ─── LOCKED PANELS ─── */
.locked-panel { display: none; }
.locked-panel.active { display: block; }

.locked-screen {
  position: relative;
  min-height: 50vh;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.85) 0%, var(--ink) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  overflow: hidden;
  border-bottom: 4px solid var(--lock-color, #555);
}
.locked-screen h2 {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 8vw, 5rem);
  color: var(--lock-color, #555);
  text-shadow: 0 0 30px var(--lock-color, #555);
  position: relative;
  z-index: 2;
}
.locked-screen p {
  font-family: var(--font-mono);
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  position: relative;
  z-index: 2;
}
.lock-icon {
  font-size: 3rem;
  position: relative;
  z-index: 2;
  animation: lock-float 3s ease-in-out infinite;
}
@keyframes lock-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* ════════════════════════════════════════════════
   SONG 2 — MANIAC (GREEN PUNK)
════════════════════════════════════════════════ */
:root {
  --punk:      #39ff14;
  --punk-dark: #1a7a00;
  --punk-dim:  #0a2e00;
}

.song-hero--punk {
  background: linear-gradient(160deg, #030f00 0%, #061a00 50%, #030f00 100%);
  border-bottom: 4px solid var(--punk);
}
.song-hero--punk .halftone-overlay {
  background-image: radial-gradient(circle, rgba(57,255,20,0.18) 1.5px, transparent 1.5px);
}

.punk-deco {
  width: clamp(55px, 9vw, 110px);
  height: clamp(90px, 16vw, 180px);
  background: var(--punk-dark);
  /* Spiky star / starburst shape for punk energy */
  clip-path: polygon(50% 0%,55% 38%,80% 15%,62% 45%,100% 40%,70% 55%,95% 75%,62% 65%,65% 100%,50% 72%,35% 100%,38% 65%,5% 75%,30% 55%,0% 40%,38% 45%,20% 15%,45% 38%);
  opacity: 0.55;
  animation: punk-spin 6s linear infinite;
  flex-shrink: 0;
}
.punk-deco.right { animation-direction: reverse; animation-duration: 4s; }

@keyframes punk-spin {
  from { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.15); }
  to   { transform: rotate(360deg) scale(1); }
}

.song-name--punk {
  color: var(--punk) !important;
  text-shadow: 2px 2px 0 var(--punk-dark), 4px 4px 0 #063a00, 0 0 40px rgba(57,255,20,0.7) !important;
  animation: punk-flare 2.5s ease-in-out infinite !important;
  font-style: italic;
  letter-spacing: 0.12em !important;
}
@keyframes punk-flare {
  0%, 100% { text-shadow: 2px 2px 0 var(--punk-dark), 4px 4px 0 #063a00, 0 0 30px rgba(57,255,20,0.6); filter: brightness(1); }
  50%       { text-shadow: 2px 2px 0 var(--punk-dark), 4px 4px 0 #063a00, 0 0 70px rgba(57,255,20,1), 0 0 120px rgba(57,255,20,0.4); filter: brightness(1.2); }
}

.song-flavour--punk {
  color: var(--punk) !important;
}

.punk-bolt {
  filter: drop-shadow(0 0 12px rgba(57,255,20,0.9)) !important;
  color: var(--punk);
}

.audio-missing-badge {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--punk);
  border: 1px solid var(--punk);
  padding: 3px 12px;
  opacity: 0.7;
  animation: flicker 4s step-end infinite;
}

.leaderboard-wrap--punk .leaderboard-title {
  color: var(--punk);
  border-bottom-color: var(--punk);
  text-shadow: 0 0 18px rgba(57,255,20,0.7), 0 0 40px rgba(57,255,20,0.3);
}
.leaderboard-title--punk::after { color: rgba(57,255,20,0.4) !important; }

.punk-card {
  background: linear-gradient(120deg, rgba(3,15,0,0.95) 0%, rgba(8,30,0,0.9) 100%) !important;
  border-color: rgba(57,255,20,0.3) !important;
}
.punk-card::before {
  background-image: radial-gradient(circle, rgba(57,255,20,0.12) 1px, transparent 1px) !important;
}
.punk-card:hover {
  border-color: var(--punk) !important;
  box-shadow: 0 0 18px rgba(57,255,20,0.7), 0 0 40px rgba(57,255,20,0.3) !important;
}
.punk-card.rank-1 {
  border-color: var(--punk) !important;
  box-shadow: 0 0 18px rgba(57,255,20,0.7), 0 0 40px rgba(57,255,20,0.3) !important;
  background: linear-gradient(120deg, rgba(5,25,0,0.98) 0%, rgba(10,45,0,0.95) 100%) !important;
}
.punk-card .rank-badge { color: var(--punk); text-shadow: 0 0 10px var(--punk); }
.punk-card.rank-1 .rank-badge { color: var(--gold); text-shadow: 0 0 12px var(--gold); }

.avatar-glow--punk { animation: avatar-pulse-punk 2.5s ease-in-out infinite !important; }
@keyframes avatar-pulse-punk {
  0%, 100% { box-shadow: 0 0 12px rgba(57,255,20,0.5); }
  50%       { box-shadow: 0 0 28px rgba(57,255,20,0.9), 0 0 50px rgba(57,255,20,0.3); }
}
.punk-card .player-avatar img { border-color: var(--punk) !important; }

.score-bar--punk {
  background: linear-gradient(90deg, var(--punk-dark), var(--punk)) !important;
}

.punk-score { color: var(--punk) !important; text-shadow: 0 0 10px rgba(57,255,20,0.6) !important; }
.punk-card.rank-1 .punk-score { color: var(--gold) !important; text-shadow: 0 0 10px rgba(255,215,0,0.6) !important; }

/* ─── AUDIO PLAYER ─── */
.audio-player-bar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 1.2rem;
  background: rgba(0,0,0,0.7);
  border-bottom: 2px solid var(--current-song-color, var(--teal));
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--current-song-color, var(--teal));
  position: sticky;
  top: 0;
  z-index: 10;
  transition: border-color 0.4s, color 0.4s;
}

.audio-player-bar .play-btn {
  background: none;
  border: 2px solid currentColor;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  color: inherit;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.audio-player-bar .play-btn:hover {
  box-shadow: 0 0 14px currentColor;
  transform: scale(1.1);
}

.audio-player-bar .track-name {
  flex: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.audio-player-bar .track-name .blink {
  animation: flicker 1.5s step-end infinite;
}

.audio-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
  flex-shrink: 0;
}
.audio-waveform span {
  display: block;
  width: 4px;
  border-radius: 2px;
  background: currentColor;
  animation: wave-bar 0.8s ease-in-out infinite;
  opacity: 0.85;
}
.audio-waveform span:nth-child(1) { height: 8px;  animation-delay: 0s; }
.audio-waveform span:nth-child(2) { height: 18px; animation-delay: 0.15s; }
.audio-waveform span:nth-child(3) { height: 12px; animation-delay: 0.3s; }
.audio-waveform span:nth-child(4) { height: 20px; animation-delay: 0.1s; }
.audio-waveform span:nth-child(5) { height: 10px; animation-delay: 0.25s; }
.audio-waveform.paused span { animation-play-state: paused; }

@keyframes wave-bar {
  0%, 100% { transform: scaleY(0.4); }
  50%       { transform: scaleY(1.2); }
}

/* ════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════ */
.site-footer {
  background: var(--ink);
  border-top: 3px solid rgba(0,229,255,0.2);
  text-align: center;
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: rgba(0,229,255,0.3);
}

/* ════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════ */
@media (max-width: 500px) {
  .guitar-deco { display: none; }
  .player-card { padding: 0.7rem 0.8rem; gap: 0.6rem; }
  .player-avatar { width: 48px; height: 48px; }
  .leaderboard-wrap { padding: 0 0.7rem; }
}
