/* GLOBAL SETTINGS */
body {
  background-color: black; /* The base layer of the entire site */
  color: white;
  font-family: Verdana;
  margin: 0;
  overflow-x: hidden;
}

/* INTRO SECTION */
#intro {
  position: fixed; /* locked in viewport */
  inset: 0;
  /* CHANGED: Set to transparent so the background banners are visible */
  background-color: transparent; 
  z-index: 1000;
  overflow: hidden;
}

#scroll-spacer {
  height: 1200px; /* enough scrollable space for animation */
}

/* Centered image */
.intro-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(70vw, 500px);
  height: auto;
  max-width: 90vw;
  object-fit: cover;
  opacity: 1;
  will-change: transform, opacity;
  /* This will receive the filter from effects.js */
}

/* Bottom UI */
.intro-ui {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1010; /* Ensure UI stays above background elements */
}

/* Enter button */
#enter-btn {
  padding: 12px 28px;
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.5); /* Slight tint for readability */
  color: white;
  border: 1px solid white;
  cursor: pointer;
  transition: all 0.3s ease;
}

#enter-btn:hover {
    background: white;
    color: black;
}

/* Scroll text */
#scroll-text {
  opacity: 0;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#terminal-overlay {
  position: fixed;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  font-family: 'Courier New', monospace;
  color: #ffffff;
  font-size: 13px;
  
  /* CHANGE THIS: High enough to beat banners and effects, 
     but stay below the Skip button (10001) */
  z-index: 10000; 
  
  pointer-events: none; 
  
  /* BOOST THIS: Ensures the text stays "lit" even during animation */
  text-shadow: 0 0 8px rgba(255,255,255,0.8), 0 0 2px rgba(255,255,255,1);
  
  line-height: 1.4;
  text-align: left;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 1; /* Force full opacity */
}

@keyframes blink {
  50% { opacity: 0; }
}

.blink {
  animation: blink 1s steps(1) infinite;
}