/* ========== BASE STYLING ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Courier New', monospace;
  color: #00ffee;
  background: radial-gradient(circle at bottom, #020202 0%, #000 100%);
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* ========== BACKGROUND “MONITOR” ========== */
.desktop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url('background1.png') center/cover no-repeat;
  opacity: 0.25;
  filter: blur(1px) contrast(1.1);
}

/* ========== TITLE TEXT ========== */
h1 {
  font-size: 1.8rem;
  letter-spacing: 3px;
  text-shadow: 0 0 5px #00ffee88;
  margin-bottom: 30px;
  user-select: none;
}

/* ========== BUTTONS ========== */
button {
  background: transparent;
  border: 2px solid #00ffee;
  color: #00ffee;
  font-family: inherit;
  padding: 10px 25px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

button:hover {
  background: #00ffee;
  color: #000;
  box-shadow: 0 0 10px #00ffee;
  transform: scale(1.05);
}

/* ========== PASSWORD BOX ========== */
#passwordBox {
  display: none;
  margin-top: 20px;
}

input[type="password"] {
  background: #000;
  color: #00ffee;
  border: 1px solid #00ffee;
  border-radius: 5px;
  padding: 6px 10px;
  font-family: inherit;
  margin-right: 10px;
}

/* ========== MESSAGE TEXT ========== */
#message {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #ff0033;
  text-shadow: 0 0 5px #ff0033;
}

/* ========== ANIMATIONS ========== */
@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    opacity: 1;
  }
  20%, 24%, 55% {
    opacity: 0.4;
  }
}

@keyframes glowpulse {
  0%, 100% {
    text-shadow: 0 0 4px #00ffee, 0 0 8px #00ffee55;
  }
  50% {
    text-shadow: 0 0 2px #00ffee, 0 0 12px #00ffeeaa;
  }
}

/* ========== FLICKER & GLOW ========== */
h1, button, input, #message {
  animation: flicker 2.8s infinite ease-in-out, glowpulse 3s infinite;
}
