/* ----- Base / reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }


/* ----- Card ----- */
.card {
  width: 100%;
  max-width: 420px;
  padding: 28px;
  border-radius: 14px;
  background: rgba(18, 24, 31, 0.55);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 35px rgba(0,0,0,.45);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.spark {
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffb3b3, #ff1a1a 60%, #800000 100%);
  box-shadow: 0 0 22px rgba(255,26,26,.65);
}
.brand h1 {
  font-size: 1.25rem;
  letter-spacing: .4px;
  margin: 0;
  font-weight: 600;
}
.subtitle {
  margin: 4px 0 20px;
  color: #a9b4c0;
  font-size: 0.95rem;
}

/* ----- Form ----- */
.field { margin-bottom: 14px; }
label {
  display: block;
  font-size: 0.9rem;
  color: #c9d3dd;
  margin-bottom: 8px;
}
input[type="email"],
input[type="password"] {
  width: 100%;
  height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #e9edf2;
  padding: 0 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
input::placeholder { color: #9aa7b3; }
input:focus {
  border-color: #ff1a1a;
  box-shadow: 0 0 0 4px rgba(255,26,26,.15);
  background: rgba(255,255,255,0.09);
}

.btn {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff4d4d, #e60000);
  color: #0b0f14;
  font-weight: 700;
  letter-spacing: .2px;
  cursor: pointer;
  margin-top: 8px;
  transition: transform .04s ease-in-out, filter .2s ease;
}
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: translateY(1px); }

/* Optional helper row */
.helper {
  margin-top: 12px;
  text-align: center;
  color: #9fb0bf;
  font-size: .9rem;
}
.helper a { color: #ff4d4d; text-decoration: none; }
.helper a:hover { text-decoration: underline; }

/* ----- Responsive tweaks ----- */
@media (max-width: 420px) {
  .card { padding: 22px; }
  .brand h1 { font-size: 1.1rem; }
}
