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

:root {
  --brand-orange: #ff7a00;
  --brand-orange-2: #ff9f1c;
  --brand-red: #ff5a2a;
  --brand-ink: #1b1412;
  --brand-ink-2: #2c211d;
  --brand-soft: #fff6ee;
  --surface: rgba(255,255,255,.95);
  --border: rgba(255,152,45,.18);
  --text: #241815;
  --muted: #7f6b63;
  --shadow: 0 30px 80px rgba(27,20,18,.22);
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255,159,28,.30), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255,90,42,.18), transparent 24%),
    linear-gradient(135deg, #130f0d 0%, #231916 45%, #0f1115 100%);
  position: relative;
  overflow: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 999px;
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}

body::before {
  width: 340px;
  height: 340px;
  top: -80px;
  left: -100px;
  background: linear-gradient(135deg, rgba(255,122,0,.50), rgba(255,159,28,.08));
}

body::after {
  width: 280px;
  height: 280px;
  right: -80px;
  bottom: -60px;
  background: linear-gradient(135deg, rgba(255,90,42,.35), rgba(255,122,0,.10));
}

.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 430px;
  padding: 40px 36px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,247,240,.92));
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-orange-2), var(--brand-red));
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  margin-bottom: 30px;
}

.logo-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-red));
  box-shadow: 0 18px 36px rgba(255,122,0,.28);
}

.logo-text h1 {
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.8px;
  color: var(--brand-ink);
}

.logo-text p {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--brand-orange);
  text-transform: uppercase;
  letter-spacing: 1.8px;
}

h2 {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.5px;
  color: var(--brand-ink);
  margin-bottom: 8px;
}

.sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

label {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 800;
  color: #6d5a52;
  text-transform: uppercase;
  letter-spacing: .9px;
}

input {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 18px;
  border: 1.5px solid rgba(255,122,0,.16);
  border-radius: 16px;
  outline: none;
  background: rgba(255,255,255,.86);
  color: var(--text);
  font-size: 14px;
  transition: border-color .18s, box-shadow .18s, transform .18s, background .18s;
}

input::placeholder { color: #b19b91; }

input:focus {
  border-color: var(--brand-orange);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,122,0,.13);
  transform: translateY(-1px);
}

button {
  width: 100%;
  margin-top: 6px;
  padding: 15px 18px;
  border: none;
  border-radius: 18px;
  cursor: pointer;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-2) 55%, var(--brand-red));
  box-shadow: 0 20px 35px rgba(255,122,0,.28);
  transition: transform .18s, filter .18s, box-shadow .18s;
}

button:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 24px 40px rgba(255,122,0,.34);
}

button:disabled {
  opacity: .68;
  cursor: not-allowed;
  box-shadow: none;
}

.error {
  display: none;
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(220,38,38,.18);
  background: linear-gradient(180deg, #fff3f2, #ffeded);
  color: #c62828;
  font-size: 13px;
  font-weight: 700;
}

.spin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  animation: spin .7s linear infinite;
  display: none;
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 520px) {
  body { padding: 18px; }
  .card { padding: 30px 22px; border-radius: 24px; }
  .logo-text h1 { font-size: 24px; }
  h2 { font-size: 21px; }
}
