*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; font-family: system-ui, -apple-system, "Segoe UI", sans-serif;}

.intro-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 1;
  transition: opacity 0.55s ease;
}

.intro-modal--out {
  opacity: 0;
  pointer-events: none;
}

.intro-modal__body {
  text-align: center;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.intro-modal__eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #3a3a3a;
}

.intro-modal__title {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d8d8d0;
  line-height: 1;
  text-shadow: 0 0 80px rgba(255,255,220,.06);
}

.intro-modal__text {
  font-size: 0.85rem;
  color: #d2d2d2;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.intro-modal__btn {
  margin-top: 0.5rem;
  padding: 0.72rem 2.5rem;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #111;
  background: #c8c8c8;
  border: none;
  border-radius: 0;
  cursor: pointer;
  min-height: 44px;
  transition: background 0.15s, transform 0.08s;
}

.intro-modal__btn:hover  { background: #e0e0e0; }
.intro-modal__btn:active { background: #aaa; transform: translateY(1px); }

html, body {
  height: 100%;
  background: #111;
}


.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: #111;
  padding: 0 1.25rem 2rem;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  color: #c8c8c8;
}


.lamp {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(320px, 90vw);
}

.lamp__wire {
  width: 2px;
  height: 28px;
  background: #3a3a3a;
}

.lamp__tube {
  width: min(280px, 78vw);
  height: 9px;
  border-radius: 5px;
  background: #e8e8d8;
  box-shadow:
    0 0 6px  2px rgba(255,255,240,.9),
    0 0 20px 6px rgba(255,255,220,.55),
    0 0 55px 18px rgba(255,255,200,.25);
  animation: flicker 4s infinite;
  will-change: opacity;
}

.lamp__spill {
  width: min(340px, 96vw);
  height: 240px;
  margin-top: -4px;
  background: linear-gradient(
    180deg,
    rgba(255,255,230,.11) 0%,
    rgba(255,255,220,.045) 40%,
    transparent 100%
  );
  clip-path: polygon(12% 0%, 88% 0%, 100% 100%, 0% 100%);
  animation: flicker-spill 4s infinite;
  pointer-events: none;
}


@keyframes flicker {
  0%    { opacity: 1; }
  72%   { opacity: 1; }
  72.3% { opacity: 0.05; }
  72.6% { opacity: 1; }
  72.9% { opacity: 0.1; }
  73.2% { opacity: 1; }
  74%   { opacity: 1; }
  74.3% { opacity: 0; }
  74.7% { opacity: 1; }
  76%   { opacity: 1; }
  76.2% { opacity: 0.4; }
  76.4% { opacity: 1; }
  100%  { opacity: 1; }
}

@keyframes flicker-spill {
  0%    { opacity: 1; }
  72%   { opacity: 1; }
  72.3% { opacity: 0; }
  72.6% { opacity: 1; }
  72.9% { opacity: 0; }
  73.2% { opacity: 1; }
  74%   { opacity: 1; }
  74.3% { opacity: 0; }
  74.7% { opacity: 1; }
  76%   { opacity: 1; }
  76.2% { opacity: 0.3; }
  76.4% { opacity: 1; }
  100%  { opacity: 1; }
}


.login-wrap {
  width: min(320px, 90vw);
  margin-top: -60px;
  position: relative;
  z-index: 1;
}

.login-card {
  background: #1a1a1a;
  border: 1px solid #2e2e2e;
  padding: 1.75rem 1.65rem 1.5rem;
}

.login-card__title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #888;
  margin-bottom: 1.25rem;
}


.login-field { margin-bottom: 0.9rem; }

.login-field label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #555;
  margin-bottom: 0.28rem;
}

.login-field__optional {
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: #333;
  text-transform: none;
}

.login-field input[type="text"],
.login-field input[type="password"],
.login-field input[type="email"] {
  width: 100%;
  padding: 0.62rem 0.65rem;
  font: inherit;
  font-size: 0.875rem;
  color: #d0d0d0;
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 0;
  transition: border-color .15s;
  font-size: max(16px, 0.875rem);
}

.login-field input::placeholder { color: #333; }

.login-field input:focus {
  outline: none;
  border-color: #555;
}

.login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
  font-size: 0.7rem;
  flex-wrap: wrap;
}

.login-remember {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #555;
  cursor: pointer;
  user-select: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.login-remember input { accent-color: #888; }

.login-forgot {
  background: none; border: none; padding: 0;
  color: #444; font: inherit;
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  transition: color .15s;
  cursor: pointer;
}
.login-forgot:hover { color: #777; }

/* ── Şifre Sıfırla formu ── */
.login-recover__head {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #222;
}
.login-recover__back {
  background: none; border: 1px solid #2a2a2a; padding: .35rem .4rem;
  color: #555; cursor: pointer; display: flex; border-radius: 3px;
  transition: color .15s, border-color .15s;
  flex-shrink: 0;
}
.login-recover__back:hover { color: #aaa; border-color: #555; }

.login-recover__warn {
  display: flex; align-items: flex-start; gap: .55rem;
  padding: .65rem .8rem; margin-bottom: 1.25rem;
  background: rgba(150,30,30,.15);
  border: 1px solid rgba(180,50,50,.3);
  border-left: 3px solid rgba(200,60,60,.6);
  border-radius: 2px;
  font-size: .7rem; color: #b06060;
  line-height: 1.5;
}
.login-recover__warn svg { flex-shrink: 0; margin-top: .15rem; color: #c07070; }
.login-recover__warn strong { color: #d07070; }

.login-rk-input {
  font-family: monospace !important;
  letter-spacing: .06em !important;
  font-size: 15px !important;
}

.login-field__hint {
  display: block; margin-top: .32rem;
  font-size: .63rem; color: #555;
  letter-spacing: .03em;
}

.login-submit {
  width: 100%;
  padding: 0.78rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #111;
  background: #c8c8c8;
  border: none;
  border-radius: 0;
  cursor: pointer;
  min-height: 44px;
  transition: background .15s;
}

.login-submit:hover  { background: #e0e0e0; }
.login-submit:active { background: #aaa; }

.login-card__footer {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid #222;
  text-align: center;
  font-size: 0.68rem;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.login-card__footer a { color: #666; text-decoration: none; }
.login-card__footer a:hover { color: #999; }

.login-alert {
  margin-bottom: 1rem;
  padding: 0.5rem 0.6rem;
  font-size: 0.7rem;
  background: rgba(100,30,20,.4);
  border-left: 2px solid #7a2a20;
  color: #c07070;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.login-alert.login-alert--success {
  background: rgba(30,100,20,.4);
  border-left: 2px solid #2a7a20 !important;
  color: #70c070 !important;
}

.login-meta {
  margin-top: 1.25rem;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #2e2e2e;
  text-align: center;
}


@media (max-width: 480px) {
  .login-page {
    justify-content: flex-start;
    padding-top: 0;
  }

  .lamp {
    width: 100%;
  }

  .lamp__wire {
    height: 20px;
  }

  .lamp__tube {
    width: 72vw;
    height: 8px;
  }

  .lamp__spill {
    width: 100vw;
    height: 55vw;
    clip-path: polygon(18% 0%, 82% 0%, 100% 100%, 0% 100%);
  }

  .login-wrap {
    width: 100%;
    margin-top: -16px;
  }

  .login-card {
    border-left: none;
    border-right: none;
    padding: 1.4rem 1.25rem 1.25rem;
  }
}
