/* Sahaf giriş / kurulum */
:root {
  --ink: #10241e;
  --linen: #f3ebe0;
  --mist: #c7d7cf;
  --brass: #c6a56a;
  --danger: #e8a090;
  --font-brand: 'Fraunces', Georgia, serif;
  --font-ui: 'Figtree', system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  font-family: var(--font-ui);
  color: var(--linen);
  background:
    radial-gradient(900px 500px at 20% 0%, rgba(126, 167, 146, 0.2), transparent 55%),
    linear-gradient(165deg, #0d1f1a, #13241f 50%, #0b1814);
}

.gate {
  width: min(100%, 380px);
  text-align: center;
}

.brand {
  margin: 0 0 8px;
  font-family: var(--font-brand);
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--linen), var(--brass));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 600;
}

.sub {
  margin: 0 0 22px;
  color: var(--mist);
  line-height: 1.45;
}

.err {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(180, 90, 74, 0.2);
  color: var(--danger);
  font-size: 0.92rem;
}

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

input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--linen);
  font-size: 1.35rem;
  letter-spacing: 0.35em;
  text-align: center;
  outline: none;
}

input:focus {
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(198, 165, 106, 0.2);
}

button {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brass), #dfc28a);
  color: #1a1408;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}

button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--brass);
  font-weight: 600;
  text-decoration: none;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
