/* === Global Styles === */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0d0d0d;
  color: #f5f5f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 0 20px;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  color: #dcdcdc;
}

/* === Form === */
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 400px;
}

input, button {
  padding: 12px 15px;
  font-size: 1rem;
  border-radius: 6px;
  border: none;
  outline: none;
}

input {
  background-color: #1a1a1a;
  color: #f5f5f5;
  border: 1px solid #333;
}

input::placeholder {
  color: #888;
}

button {
  background-color: #f5f5f5;
  color: #0d0d0d;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background-color: #e0e0e0;
}

/* === Footer === */
footer {
  margin-top: 40px;
  font-size: 0.9rem;
  color: #888;
}

footer a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  text-decoration: underline;
}

/* === Popup === */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(13, 13, 13, 0.85);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup.show {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background-color: #0d0d0d;
  border: 2px solid #00ff66;
  padding: 20px 40px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 20px #00ff66;
  animation: popIn 0.3s ease forwards;
}

.checkmark {
  display: block;
  font-size: 2rem;
  color: #00ff66;
  margin-bottom: 10px;
}

#popup-message {
  color: #00ff66;
  font-weight: 600;
  font-size: 1.1rem;
}

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

/* === Responsive === */
@media (max-width: 500px) {
  h1 {
    font-size: 2rem;
  }

  p {
    font-size: 1rem;
  }
}