* {
  box-sizing: border-box;
  margin: 0;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', system-ui, sans-serif;
  color: #e8f1ff;
  background: radial-gradient(circle at 20% 15%, rgba(0, 118, 255, 0.35), transparent 45%),
              radial-gradient(circle at 80% 85%, rgba(0, 255, 255, 0.18), transparent 45%),
              #070c18;
}

.modal {
  width: min(92vw, 400px);
  padding: 40px 34px;
  border-radius: 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: pop 0.35s ease-out;
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.lock {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #00FFFF, #0076FF);
  box-shadow: 0 0 30px rgba(0, 200, 255, 0.45);
}

h1 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 6px;
}

p {
  font-size: 0.9rem;
  color: #9db2d3;
  margin-bottom: 24px;
}

input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font: inherit;
  outline: none;
  transition: 0.2s;
}

input:focus {
  border-color: #00FFFF;
  box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.2);
}

button {
  width: 100%;
  margin-top: 14px;
  padding: 14px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  color: #04101f;
  background: linear-gradient(135deg, #00FFFF, #0076FF);
  transition: transform 0.15s, box-shadow 0.2s;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 150, 255, 0.4);
}

.err {
  margin-top: 14px;
  font-size: 0.85rem;
  color: #ff7a7a;
}
