*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --brand: #e0a458;
  --brand-rgb: 224, 164, 88;
  --ink: #111417;
  --ink-soft: rgba(17, 20, 23, 0.72);
  --surface: #f9f6ef;
  --surface-deep: #f2ece1;
  --line: #e7dfd0;
  --shadow: 0 25px 60px rgba(15, 15, 15, 0.08);
  --accent-gold: var(--brand);
  --text-dark: var(--ink);
  --text-muted: var(--ink-soft);
}

html,
body {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: "Outfit", sans-serif;
  background: var(--surface);
  color: var(--text-dark);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(62% 70% at 12% 18%, rgba(var(--brand-rgb), 0.18) 0%, rgba(var(--brand-rgb), 0) 72%),
    radial-gradient(58% 64% at 88% 14%, rgba(128, 150, 196, 0.16) 0%, rgba(128, 150, 196, 0) 70%),
    radial-gradient(68% 72% at 20% 72%, rgba(118, 206, 189, 0.18) 0%, rgba(118, 206, 189, 0) 76%);
}

.login-container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: clamp(3.5rem, 7vh, 5rem) clamp(1.1rem, 6vw, 1.8rem);
}

.login-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  min-width: 300px;
  max-width: 420px;
  width: min(100%, 380px);
  color: var(--text-dark);
}

.login-card h4 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  text-align: center;
}

.login-card .form-control {
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  padding: 0.7rem 0.85rem;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.9);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.login-card .form-control:focus {
  border-color: rgba(var(--brand-rgb), 0.7);
  box-shadow: 0 0 0 0.15rem rgba(var(--brand-rgb), 0.25);
  background: #ffffff;
  outline: none;
}

.login-card .btn-login {
  position: relative;
  z-index: 5;
  background: linear-gradient(135deg, #cf8a37 0%, var(--accent-gold) 100%);
  border: none;
  color: #2b1503;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  box-shadow: 0 18px 35px rgba(var(--brand-rgb), 0.35);
  transition: transform 0.12s ease, box-shadow 0.2s ease;
  width: 100%;
  text-transform: uppercase;
}

.login-card .btn-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(var(--brand-rgb), 0.45);
}

.login-card .btn-login:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--brand-rgb), 0.4);
  outline: none;
}

.login-card .back-link {
  display: block;
  margin-top: 1rem;
  font-size: 0.875rem;
  text-align: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.login-card .back-link:hover {
  color: var(--accent-gold);
  text-decoration: underline;
}

.cta {
  margin-top: 2rem;
  padding: 1.5rem 1.2rem;
  border-radius: 1.2rem;
  border: 1px solid var(--line);
  background: var(--surface-deep);
  text-align: center;
}

.cta-title {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.cta-copy {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.cta-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cta-links form {
  margin: 0;
  display: flex;
}

.cta-links form .btn-cta-primary {
  border: none;
}

.btn-cta-primary {
  position: relative;
  z-index: 5;
  background: linear-gradient(135deg, #cf8a37 0%, var(--accent-gold) 100%);
  color: #2b1503;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.12s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(var(--brand-rgb), 0.35);
}

.btn-cta-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(var(--brand-rgb), 0.45);
}

.btn-cta-secondary {
  position: relative;
  z-index: 5;
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.12s ease;
}

.btn-cta-secondary:hover {
  color: var(--accent-gold);
  border-color: rgba(var(--brand-rgb), 0.65);
  transform: translateY(-1px);
}

::-webkit-scrollbar {
  width: 0;
  background: transparent;
}


.mobile-blocker {
  display: none;
  position: relative;
  z-index: 2;
  width: min(100%, 520px);
  margin: clamp(1.4rem, 3vw, 2rem) auto;
  padding: clamp(2.3rem, 2rem + 1vw, 2.9rem) clamp(2rem, 1.7rem + 1vw, 2.6rem);
  background: rgba(255, 255, 255, 0.97);
  border-radius: 1.1rem;
  border: 1px solid rgba(224, 164, 88, 0.22);
  box-shadow: 0 24px 48px -30px rgba(13, 27, 42, 0.45);
  text-align: left;
  color: var(--text-dark);
}
[data-mobile-blocker][data-visible="true"] {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  align-items: flex-start;
}
.mobile-blocker-icon {
  font-size: clamp(2.4rem, 2rem + 1vw, 2.8rem);
  color: var(--accent-gold);
}
.mobile-blocker-title {
  font-size: clamp(1.55rem, 1.4rem + 0.6vw, 1.85rem);
  font-weight: 700;
}
.mobile-blocker-copy {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(13, 27, 42, 0.7);
}
.mobile-blocker-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-start;
  width: 100%;
}
.blocker-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(224, 164, 88, 0.35);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.blocker-link:hover {
  border-color: rgba(224, 164, 88, 0.55);
  box-shadow: 0 12px 28px -18px rgba(13, 27, 42, 0.45);
  transform: translateY(-1px);
}
.blocker-link--accent {
  background: var(--accent-gold);
  border-color: transparent;
  color: #2d2f33;
}
.blocker-link--accent:hover {
  background: #db8b22;
}
.login-card[data-mobile-hidden="true"] {
  display: none;
}
@media (max-width: 900px) {
  body {
    overflow-y: auto;
  }
  .login-container {
    align-items: flex-start;
  }
  .mobile-blocker {
    margin: clamp(1.2rem, 3vw, 1.8rem) clamp(1.2rem, 6vw, 2.4rem);
  }
  .mobile-blocker-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .mobile-blocker {
    padding: 2.2rem 1.5rem;
    width: 100%;
    text-align: center;
  }
  .mobile-blocker-title {
    font-size: 1.45rem;
  }
  .mobile-blocker-copy {
    font-size: 0.97rem;
  }
  .blocker-link {
    width: 100%;
  }
  .mobile-blocker-actions {
    justify-content: center;
  }
  [data-mobile-blocker][data-visible="true"] {
    align-items: center;
  }
}
