/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; cursor: crosshair; }

body {
  font-family: 'Courier New', Courier, monospace;
  background: #000;
  color: #fff;
  height: 100vh;
  overflow: hidden;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.8);
}

/* --- VISUAL LAYERS --- */
.bg-container {
  position: fixed; inset: 0;
  background: url('background.jpg') center/cover no-repeat;
  filter: grayscale(100%) brightness(30%) contrast(140%);
  z-index: -3;
}

.vignette {
  position: fixed; inset: 0;
  background: radial-gradient(circle, transparent 40%, rgba(0,0,0,0.6) 150%);
  pointer-events: none; z-index: 5;
}

.scanlines {
  position: fixed; inset: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%);
  background-size: 100% 4px;
  pointer-events: none; z-index: 10; opacity: 0.7;
}

/* --- CINEMATIC SPLASH --- */
#splash-screen {
  position: fixed; inset: 0;
  background: #000; z-index: 9999;
  pointer-events: none;
  transition: opacity 8s ease-in-out; 
}

/* --- BROADCAST LAYOUT --- */
.broadcast {
  position: relative; height: 100vh;
  overflow-y: auto; display: flex;
  flex-direction: column; align-items: center; 
  gap: 50px; padding: 100px 15% 250px; 
  scrollbar-width: none;
}
.broadcast::-webkit-scrollbar { display: none; }

.logo { width: 100%; max-width: 280px; height: auto; flex-shrink: 0; cursor: pointer !important; }

.section-divider { width: 100%; max-width: 800px; text-align: center; }
.section-divider h2 { font-size: 1.1rem; letter-spacing: 3px; margin-bottom: 5px; opacity: 0.9; }
.section-divider hr { border: none; border-top: 1px solid rgba(255,255,255,0.3); width: 100%; }

/* --- INTENSE BREATHING GLOW --- */
.embed {
  width: 100%; max-width: 800px; 
  border-radius: 8px; overflow: hidden; 
  background: #000; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.15);
}

.youtube-glow {
  border: 1px solid #ffffff;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.4); 
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 15px rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.5); }
  50% { box-shadow: 0 0 45px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.4); border-color: rgba(255, 255, 255, 1); }
}

.embed iframe { display: block; width: 100%; aspect-ratio: 16/9; border: none; }
.spotify-container { height: 450px; }

/* --- SPACED NAVIGATION --- */
.top-nav {
  position: fixed; top: 30px; right: 30px;
  display: flex; flex-direction: column; align-items: center; 
  gap: 20px; z-index: 100;
}
.nav-header h2 { font-size: 0.9rem; letter-spacing: 3px; }
.social-icons { display: flex; flex-direction: column; align-items: center; gap: 25px; }
.social-icons a { width: 32px; height: 32px; transition: transform 0.3s ease; }
.social-icons a svg { fill: white; opacity: 0.7; width: 100%; height: 100%; }
.social-icons a:hover { transform: scale(1.2); }
.social-icons a:hover svg { opacity: 1; filter: drop-shadow(0 0 8px white); }

/* --- JUMPSCARE EASTER EGG --- */
#jumpscare-overlay {
  position: fixed; inset: 0; z-index: 20000;
  background: black; display: none;
  justify-content: center; align-items: center;
}
#jumpscare-overlay img { width: 100vw; height: 100vh; object-fit: cover; }
.fade-out-scare { animation: scareFade 2s forwards; }
@keyframes scareFade { from { opacity: 1; } to { opacity: 0; } }

/* --- UI ELEMENTS --- */
.live-indicator { position: fixed; top: 30px; left: 30px; color: #ff0000; font-weight: bold; z-index: 10001; letter-spacing: 2px; }
.dot { display: inline-block; width: 10px; height: 10px; background: #ff0000; border-radius: 50%; margin-right: 6px; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.news-ticker { position: fixed; bottom: 0; width: 100%; background: #111; height: 50px; display: flex; align-items: center; border-top: 1px solid #fff; z-index: 1000; overflow: hidden; }
.ticker-wrapper { display: inline-block; white-space: nowrap; animation: scroll 40s linear infinite; }
.ticker-text { padding-right: 150px; font-weight: 900; font-size: 0.9rem; color: #fff; letter-spacing: 2px; text-transform: uppercase; display: inline-block; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- MOBILE QUERIES --- */
@media (max-width: 600px) {
  .broadcast { padding: 120px 20px 180px; gap: 35px; }
  .logo { max-width: 180px; }
  .top-nav { top: 25px; right: 20px; }
  .social-icons { gap: 30px; }
  .social-icons a { width: 36px; height: 36px; }
  .spotify-container { height: 380px; }
}