/* ===== Page-Specific Styling ===== */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Arial, sans-serif;
  line-height: 1.5;
  overflow: hidden; /* Prevent scrollbars caused by Vanta */
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
}

/* ===== Vanta Background ===== */
#vanta-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2; /* Behind everything */
}

/* ===== Translucent Overlay ===== */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0); /* Semi-transparent white overlay */
  backdrop-filter: blur(5px); /* Blur effect for frosted glass */
  z-index: -1; /* Above the background, behind content */
}

/* ===== Content Wrapper ===== */
.alpha-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.034); /* Slight transparency */
  backdrop-filter: blur(10px);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: border 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  margin: auto;
  z-index: 1; /* Above overlay */
}

/* Hover Effect for Login Container */
.alpha-wrapper:hover {
  border: 2px solid #6365f12d;
  box-shadow: 0 8px 15px rgba(99, 102, 241, 0.2);
}

/* ===== Title Styling ===== */
.alpha-title {
  font-family: Arial, sans-serif;
  font-size: 2rem;
  font-weight: bold;
  color: #d3d9e0;
  margin-bottom: 1rem;
  animation: fadeInTitle 1.5s ease-in-out;
}

.alpha-title .custom-font {
  font-family: "ProcrastinatingPixie", Arial, sans-serif;
  color: #4f46e5;
  font-size: 2.5rem;
  animation: fadeInCustomFont 1.5s ease-in-out 0.5s;
}

/* ===== Paragraph Styling ===== */
.alpha-text {
  font-size: 1rem;
  color: #7e7e7e;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* ===== Animations ===== */
@keyframes fadeInTitle {
  0% {
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
}

@keyframes fadeInCustomFont {
  0% {
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
  .alpha-wrapper {
    width: 80%;
    padding: 1.5rem;
    margin-top: 3vh;
    margin-bottom: 3vh;
  }

  .alpha-title {
    font-size: 1.5rem;
  }

  .alpha-title .custom-font {
    font-size: 2rem;
  }

  .alpha-text {
    font-size: 0.9rem;
  }

  .footer {
    font-size: 0.75rem;
    padding: 0.5rem;
  }
}

@media (max-width: 480px) {
  .alpha-wrapper {
    width: 80%;
    padding: 1rem;
  }

  .alpha-title {
    font-size: 1.2rem;
  }

  .alpha-title .custom-font {
    font-size: 1.8rem;
  }

  .alpha-text {
    font-size: 0.8rem;
  }

  .footer {
    font-size: 0.7rem;
    padding: 0.3rem;
  }
}
