/* style.css */
body {
  font-family: 'Work Sans', sans-serif;
  background-color: #1a1a1a;
  color: #e0e0e0;
  line-height: 1.6;
  margin: 0; 
  padding: 0;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

h1, h2, strong {
  font-family: 'Space Mono', monospace;
  color: #00ffcc; /* Your signature teal */
  text-transform: uppercase;
}

.music-card .caption {
  font-family: 'Space Mono', monospace;
  font-size: 0.9rem;
  color: #00ffcc;
  line-height: 1.5;
  margin-top: 15px;
  border-top: 1px solid #333;
  padding-top: 10px;
}

.button {
  display: inline-block;
  padding: 12px 24px;
  background: #00ffcc;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}

/* The Wide Crate Container */
.crate-container {
  width: 95%;
  max-width: 1100px;
  margin: 30px auto;
  border: 2px solid #00ffcc;
  border-radius: 10px;
  background: #000;
  box-shadow: 0 0 20px rgba(0, 255, 204, 0.2);
  overflow: hidden; 
  position: relative;
}

.crate-container iframe {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
}

#setup ul {
  list-style: none;
  padding: 0;
}

#setup li {
  padding: 10px 0;
  border-bottom: 1px solid #2a2a2a;
}

/* --- ANIMATIONS --- */

/* 1. The Subwoofer Pulse (Triggered when music is playing) */
@keyframes sub-pulse {
  0%, 100% { 
    box-shadow: 0 0 5px rgba(0, 242, 255, 0.2); 
    transform: scale(1); 
  }
  50% { 
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.6); 
    transform: scale(1.01); /* Mimics speaker excursion */
  }
}

.is-playing-pulse {
  animation: sub-pulse 2s ease-in-out infinite;
  border: 1px solid #00f2ff;
}

/* 2. The Live Signal Sync (Blinks with the subwoofer pulse) */
@keyframes sync-fade {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.blink {
  animation: sync-fade 2s ease-in-out infinite;
}

/* 3. The Digital Falling Particles (Background) */
#particle-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1; 
  overflow: hidden;
}

.particle {
  position: absolute;
  color: #00FFC2; 
  font-family: 'Courier New', monospace;
  font-size: 14px;
  opacity: 0;
  animation: fall 6s linear infinite;
}

@keyframes fall {
  0% { transform: translateY(-50px); opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% { transform: translateY(110vh); opacity: 0; }
}