/* ================= LEGACY GATE STYLING ================= */

/* ============================= ANIMATED BACKGROUND ============================= */
body {
  animation: backgroundShift 15s ease-in-out infinite alternate;
  transition: background 1s ease;
}

@keyframes backgroundShift {
  0%   { background-color: #e3ad57; }   /* Aurelith */
  25%  { background-color: #a7becd; }   /* Mythara */
  50%  { background-color: #b69d8c; }   /* Novaeon */
  75%  { background-color: #d4634a; }   /* Omnithis */
  100% { background-color: #98b188; }   /* Zenithis */
}

.legacy-gate-container {
  max-width: 500px;
  margin: 3rem auto;
  padding: 2rem;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.legacy-logo {
  width: 60px;
  margin-bottom: 1rem;
}

.legacy-gate-container h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #444;
}

.intro {
  font-size: 0.95rem;
  color: #222;
  margin-bottom: 2rem;
  line-height: 1.5;
}

form {
  text-align: left;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 0.75rem;
  margin: 0.5rem 0 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.checkbox-container input[type="checkbox"] {
  margin-right: 0.5rem;
  margin-top: 0.2rem;
}

.checkbox-container a {
  color: #0056b3;
  text-decoration: underline;
}

button#submit-button {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  background-color: inherit; /* semi-transparent overlay */
  color: white;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 3s ease;
  backdrop-filter: brightness(1.2);
}

button#submit-button:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

#legacy-gate-feedback {
  display: none;
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 500;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.9);
  color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

@keyframes fadeInPop {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  max-width: 600px;
  width: 90%;
  color: #222;
  text-align: left;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: fadeInPop 0.4s ease;
}

.modal-content h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #000;
}

.modal-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.modal-content a {
  color: #0056b3;
  text-decoration: underline;
}

#close-modal-btn {
  margin-top: 1.5rem;
  background: #000;
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  float: right;
}

#close-modal-btn:hover {
  background-color: #222;
}

@media (max-width: 768px) {
  .site-footer {
    display: none;
  }
}