* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(2, 1, 9, 0.58), rgba(2, 1, 9, 0.94)),
    url("/assets/zagadki-bg.jpg") center / cover fixed no-repeat;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-card {
  width: min(520px, 100%);
  padding: clamp(26px, 5vw, 42px);
  border-radius: 18px;
  background: rgba(5, 4, 15, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(18px);
}

.auth-card img {
  width: min(340px, 82vw);
  display: block;
  margin: 0 auto 28px;
}

.eyebrow {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 0.96;
}

.lead {
  margin: 14px 0 24px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.5;
  font-weight: 750;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input {
  width: 100%;
  height: 52px;
  border-radius: 12px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  background: rgba(0, 0, 0, 0.26);
  outline: none;
  font-size: 16px;
  font-weight: 800;
}

button {
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #8748ff, #ef2aa8);
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
}

.auth-error {
  min-height: 22px;
  margin-top: 14px;
  color: #ff7b90;
  font-size: 14px;
  font-weight: 850;
}
