/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: linear-gradient(135deg, #0e0e10, #1a1a2e, #2c2c54, #1a1a2e, #0e0e10);
  background-size: 300% 300%;
  animation: bgShift 30s ease infinite;
  color: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

@keyframes bgShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Container */
.landing-container {
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Branding */
.branding {
  text-align: center;
  margin-bottom: 2rem;
  animation: fadeIn 0.6s ease-in-out;
}

.branding img {
  width: 60px;
  margin-bottom: 0.6rem;
}

.branding h1,
.branding h2 {
  font-size: 2rem;
  color: #5e9eff;
  margin-bottom: 0.2rem;
}

.branding h3,
.branding h4 {
  font-size: 1rem;
  font-weight: 400;
  color: #aaa;
}

/* Card */
.card {
  background: #1e1e1e;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  width: 100%;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
  animation: slideUp 0.5s ease;
  text-align: center;
}

.subtext {
  font-size: 0.90rem;
  color: #999;
  margin-bottom: 1.8rem;
}

/* Form Inputs */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

input[type="text"],
input[type="date"] {
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
}

input::placeholder {
  color: #64748b;
}

/* Button */
.gradient-btn {
  width: 100%;
  padding: 0.9rem;
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 12px;
  background: linear-gradient(to right, #24268d, #713ee9);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gradient-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Error */
.error {
  color: #ff6b6b;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  min-height: 1.2rem;
}

/* Terms and Links */
.terms,
.links {
  font-size: 0.75rem;
  color: #888;
  margin-top: 0.3rem;
}

#loginLink {
  font-size: 0.85rem;
  margin-top: 1rem;
  color: #aaa;
}

.signin-highlight {
  color: #5e9eff;
  text-decoration: none;
  font-weight: 500;
}

.signin-highlight:hover {
  text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 480px) {
  .card {
    padding: 2rem 1.5rem;
  }
}
