@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

:root {
  --primary-bg: #000;
  --primary-color: #00aaff;
  --secondary-color: #003366;
  --accent-color: #00aaff;
}

body {
  background-color: var(--primary-bg);
  color: #fff;
  font-family: 'Press Start 2P', cursive;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 1s ease-in;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-content {
  background-color: var(--secondary-color);
  border: 2px solid var(--accent-color);
  border-radius: 15px;
  padding: 20px;
  width: 90%;
  max-width: 350px;
  text-align: center;
  animation: popIn 0.5s ease-out;
}

.modal-content input,
.modal-content select,
.modal-content button {
  width: 90%;
  padding: 8px;
  margin: 10px 0;
  font-family: 'Press Start 2P', cursive;
  border: 1px solid var(--accent-color);
  border-radius: 5px;
  background: transparent;
  color: #fff;
}

.status-window, .quest-window, .player-search-window {
  background-color: var(--secondary-color);
  border: 2px solid var(--accent-color);
  border-radius: 15px;
  padding: 17px;
  margin: 8px;
  width: 90%;
  max-width: 350px;
}

h1 {
  text-align: center;
  color: var(--accent-color);
  font-size: 20px;
}

.status-details p, .quest-window p, .player-search-window p {
  margin: 5px 0;
  font-size: 14px;
}

.quest {
  border: 1px solid var(--accent-color);
  border-radius: 10px;
  padding: 10px;
  margin: 10px 0;
  animation: glow 1s ease-in-out infinite alternate;
}

button {
  background-color: var(--accent-color);
  border: none;
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  margin: 5px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0077cc;
}

.countdown {
  font-size: 14px;
  margin-top: 10px;
}

.lock-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  z-index: 1000;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popIn {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes glow {
  from { box-shadow: 0 0 5px var(--accent-color); }
  to { box-shadow: 0 0 20px var(--accent-color); }
}
