:root {
  --bg-dark: #0a051b;
  --panel-dark: #120c2d;
  --neon-pink: #ff2a7a;
  --neon-blue: #00f0ff;
  --neon-purple: #9d4edd;
  --neon-green: #39ff14;
  --text-main: #f8f9fa;
  --text-muted: #a0aec0;
}

.music-quiz-container {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(157, 78, 221, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 240, 255, 0.12) 0%, transparent 40%);
  background-attachment: fixed;
  color: var(--text-main);
 
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.display-font { 
  font-weight: 700;
}

/* Glow utilities */
.glow-text-pink {
    color: #fff;
    text-shadow: 
        0 0 4px #fff,
        0 0 11px #fff,
        0 0 19px #ff007f,
        0 0 40px #ff007f,
        0 0 80px #ff007f,
        0 0 120px #ff007f;
}

.glow-text-blue {
    color: #fff;
    text-shadow: 
        0 0 4px #fff,
        0 0 11px #fff,
        0 0 19px #00f3ff,
        0 0 40px #00f3ff,
        0 0 80px #00f3ff,
        0 0 120px #00f3ff;
}

.glow-text-purple {
    color: #fff;
    text-shadow: 
        0 0 4px #fff,
        0 0 11px #fff,
        0 0 19px #bc13fe,
        0 0 40px #bc13fe,
        0 0 80px #bc13fe,
        0 0 120px #bc13fe;
}

.glow-text-green {
    color: #fff;
    text-shadow: 
        0 0 4px #fff,
        0 0 11px #fff,
        0 0 19px #39ff14,
        0 0 40px #39ff14,
        0 0 80px #39ff14,
        0 0 120px #39ff14;
}

.glow-text-yellow {
    color: #fff;
    text-shadow: 
        0 0 4px #fff,
        0 0 11px #fff,
        0 0 19px #ffea00,
        0 0 40px #ffea00,
        0 0 80px #ffea00,
        0 0 120px #ffea00;
}


.glow-border-blue {
    border: 2px solid #00f3ff;
    box-shadow: 
        0 0 5px #fff,
        inset 0 0 5px #fff,
        0 0 15px #00f3ff,
        inset 0 0 15px #00f3ff;
}


.glow-border-pink {
    border: 2px solid #ff007f;
    box-shadow: 
        0 0 5px #fff,
        inset 0 0 5px #fff,
        0 0 15px #ff007f,
        inset 0 0 15px #ff007f;
}

.glow-border-purple {
    border: 2px solid #bc13fe;
    box-shadow: 
        0 0 5px #fff,
        inset 0 0 5px #fff,
        0 0 15px #bc13fe,
        inset 0 0 15px #bc13fe;
}

.glow-border-green {
    border: 2px solid #39ff14;
    box-shadow: 
        0 0 5px #fff,
        inset 0 0 5px #fff,
        0 0 15px #39ff14,
        inset 0 0 15px #39ff14;
}

/* Cards */
.glass-card {
  background: rgba(18, 12, 45, 0.7);
  /*background: #ffffff;*/
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transition: all 0.3s ease;
}

/* Category Cards */
.category-btn {
  background: rgba(255, 255, 255, 0.03);  
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: .50rem;
  cursor: pointer;
  transition: all 0.25s ease;
  height: 100%;
  text-align: center;
  vertical-align: middle;
}
.category-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  border-color: var(--neon-blue);
  box-shadow: 0 8px 20px rgba(0, 240, 255, 0.15);
}
.category-btn.active {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--neon-blue);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}
.category-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Custom neon buttons */
.btn-neon-pink {
  background-color: transparent;
  border: 2px solid var(--neon-pink);
  color: var(--neon-pink);
  font-weight: 600;
  letter-spacing: 1px;
  padding: 0.75rem 2rem;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 42, 122, 0.2);
}
.btn-neon-pink:hover, .btn-neon-pink:active {
  background-color: var(--neon-pink);
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 42, 122, 0.6);
  transform: scale(1.03);
}

.btn-neon-blue {
  background-color: transparent;
  border: 2px solid var(--neon-blue);
  color: var(--neon-blue);
  font-weight: 600;
  letter-spacing: 1px;
  padding: 0.75rem 2rem;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}
.btn-neon-blue:hover, .btn-neon-blue:active {
  background-color: var(--neon-blue);
  color: #000;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
  transform: scale(1.03);
}

.btn-neon-green {
  background-color: transparent;
  border: 2px solid var(--neon-green);
  color: var(--neon-green);
  font-weight: 600;
  letter-spacing: 1px;
  padding: 0.75rem 2rem;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(51, 255, 20, 0.2);
}
.btn-neon-green:hover, .btn-neon-green:active {
  background-color: var(--neon-green);
  color: #000;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.6);
  transform: scale(1.03);
}

/* Option buttons (Trivia answers) */
.option-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  border-radius: 14px;
  padding: 1.1rem 1.5rem;
  font-size: 1.05rem;
  text-align: left;
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  width: 100%;
  position: relative;
  overflow: hidden;
}
.option-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--neon-purple);
  transform: translateX(5px);
}
.option-btn:focus {
  outline: none;
  box-shadow: none;
}
.option-btn.correct {
  background: rgba(57, 255, 20, 0.15) !important;
  border-color: var(--neon-green) !important;
  color: #fff !important;
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.25);
}
.option-btn.incorrect {
  background: rgba(255, 42, 122, 0.15) !important;
  border-color: var(--neon-pink) !important;
  color: #fff !important;
  box-shadow: 0 0 15px rgba(255, 42, 122, 0.25);
}
.option-letter {
  display: inline-block;
  width: 28px;
  height: 28px;
  line-height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  text-align: center;
  margin-right: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--neon-blue);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.option-btn.correct .option-letter {
  background: var(--neon-green);
  color: #000;
  border-color: var(--neon-green);
}
.option-btn.incorrect .option-letter {
  background: var(--neon-pink);
  color: #fff;
  border-color: var(--neon-pink);
}

/* Timer bar */
.progress-container {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  width: 100%;
}
.progress-bar-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-blue));
  border-radius: 4px;
  transition: width 0.1s linear;
}

/* Mode Selection Switch */
.mode-pill-container {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.25rem;
  border-radius: 30px;
  display: inline-flex;
}
.mode-pill {
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-muted);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.mode-pill.active {
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
  color: white;
  box-shadow: 0 4px 10px rgba(157, 78, 221, 0.3);
}

/* Sound indicator badge */
.sound-toggle-badge {
  cursor: pointer;
  transition: all 0.2s ease;
}
.sound-toggle-badge:hover {
  transform: scale(1.05);
}

/* Vinyl record spinning graphic */
.vinyl-container {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto;
}
.vinyl-record {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, #2d2d2d 10%, #111111 12%, #111111 30%, #1e1e1e 32%, #111111 50%, #2d2d2d 52%, #111111 65%, var(--neon-purple) 68%, #000 72%);
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  animation: spin 6s linear infinite;
  animation-play-state: paused;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vinyl-record.spinning {
  animation-play-state: running;
}
.vinyl-center {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--neon-blue);
  border: 3px solid #111;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}
.vinyl-hole {
  width: 8px;
  height: 8px;
  background: var(--bg-dark);
  border-radius: 50%;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* Equalizer soundwave simulation visualization */
.equalizer {
  display: flex;
  align-items: flex-end;
  height: 40px;
  gap: 3px;
  justify-content: center;
}
.equalizer-bar {
  width: 4px;
  background-color: var(--neon-blue);
  border-radius: 2px;
  animation: bounce 0.8s ease-in-out infinite alternate;
  height: 5px;
}
.equalizer-bar:nth-child(2) { animation-delay: 0.15s; background-color: var(--neon-purple); }
.equalizer-bar:nth-child(3) { animation-delay: 0.3s; background-color: var(--neon-pink); }
.equalizer-bar:nth-child(4) { animation-delay: 0.45s; background-color: var(--neon-blue); }
.equalizer-bar:nth-child(5) { animation-delay: 0.2s; background-color: var(--neon-purple); }

@keyframes bounce {
  0% { height: 5px; }
  100% { height: 35px; }
}
.equalizer.paused .equalizer-bar {
  animation-play-state: paused;
  height: 6px !important;
}

/* Liner note trivia text layout box */
.fact-box {
  background: rgba(157, 78, 221, 0.1);
  border-left: 4px solid var(--neon-purple);
  border-radius: 4px 12px 12px 4px;
  padding: 1rem;
  margin-top: 1.5rem;
  display: none;
}

 /*Absolute overlays for answers feedback banner */
.feedback-banner {
  position: absolute;
  top: 25%;
  left: 50%;
  border-radius: 12px; 
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  z-index: 10;
  pointer-events: none;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);

}
.feedback-banner.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

/* Floating animation for point indicators */
@keyframes pointsUp {
  0% { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(-50px) scale(1.2); opacity: 0; }
}
.points-pop {
  position: absolute;
  color: var(--neon-green);
  font-weight: 700;
  animation: pointsUp 1s ease-out forwards;
  pointer-events: none;
 
}

@media (max-width: 768px) {
  .option-btn {
    font-size: 0.95rem;
    padding: 0.9rem 1.2rem;
  }
  .vinyl-container {
    width: 75px;
    height: 75px;
  }
}

