.auth-page {
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 20px 90px;
}

.auth-card {
  width: 100%;
  max-width: 560px;
  padding: 30px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 214, 77, 0.12), transparent 24%),
    radial-gradient(circle at 85% 15%, rgba(0, 194, 255, 0.08), transparent 22%),
    linear-gradient(135deg, #1f46d8 0%, #131c55 48%, #0d1234 100%);
  border: 1px solid rgba(255, 207, 51, 0.18);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.auth-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 207, 51, 0.1);
  border: 1px solid rgba(255, 207, 51, 0.22);
  color: #ffd54a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-title {
  margin: 16px 0 10px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.05;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.auth-text {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 500;
  color: #b8c4f2;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.form-group input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.form-group input::placeholder {
  color: #8ea0da;
}

.form-group input:focus {
  border-color: rgba(255, 207, 51, 0.35);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(255, 207, 51, 0.08);
}

.auth-btn {
  width: 100%;
  min-height: 54px;
  margin-top: 4px;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  background: linear-gradient(180deg, #ffd85b 0%, #ffbe2e 100%);
  color: #181818;
  font-size: 15px;
  font-weight: 900;
  box-shadow:
    0 12px 24px rgba(255, 190, 46, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: filter 0.2s ease;
}

.auth-btn:hover {
  filter: brightness(1.03);
}

.auth-bottom {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #b8c4f2;
}

.auth-bottom a {
  color: #ffd54a;
  text-decoration: none;
  font-weight: 800;
}

.auth-bottom a:hover {
  color: #ffffff;
}

/* FOOTER */

.site-footer {
  margin-top: 14px;
  padding: 34px 0 110px;
  background: linear-gradient(180deg, #111735 0%, #0b1028 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-text {
  margin: 0;
  max-width: 420px;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
  color: #aeb9e8;
}

.footer-column h3 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.footer-column a {
  display: block;
  margin-bottom: 10px;
  color: #c7d0f3;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.18s ease, transform 0.18s ease;
}

.footer-column a:hover {
  color: #ffd84f;
  transform: translateX(3px);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #8d99c9;
}

/* MOBILE */

@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .auth-page {
    padding: 22px 14px 74px;
  }

  .auth-card {
    padding: 20px;
    border-radius: 24px;
  }

  .auth-title {
    font-size: 28px;
  }

  .auth-text {
    font-size: 14px;
  }

  .form-group input,
  .auth-btn {
    min-height: 50px;
  }

  .site-footer {
    padding: 28px 0 100px;
  }
}