/* MarsGames · kimlik sayfaları (giriş / kayıt / şifremi unuttum) */
.auth-wrap {
  min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 24px;
  background:
    radial-gradient(60% 54% at 50% 12%, rgba(232,0,26,.10), transparent 68%),
    radial-gradient(48% 42% at 82% 76%, rgba(232,0,26,.06), transparent 72%),
    #05080D;
}
.auth-card {
  width: 100%; max-width: 430px;
  background:
    radial-gradient(80% 46% at 50% 0%, rgba(232,0,26,.10), transparent 72%),
    linear-gradient(180deg, rgba(26,34,53,.94), rgba(17,24,39,.98));
  border: 1px solid #233047; border-radius: 26px; padding: 34px 30px 30px;
  box-shadow: 0 30px 80px -24px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.07), 0 0 0 1px rgba(255,255,255,.04);
  backdrop-filter: blur(8px);
  animation: auth-card-in .5s cubic-bezier(.22,1,.36,1) both;
}
@keyframes auth-card-in { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.auth-logo { display: block; text-align: center; margin-bottom: 20px; }
.auth-logo img { height: 52px; width: auto; filter: drop-shadow(0 0 18px rgba(232,0,26,.30)); }
/* base.css img'yi blok yapar; text-align ortalamıyor, logo ortalı başlığın solunda kalıyordu (İŞ-934). */
.auth-logo img { margin-inline: auto; }
.auth-card h1 { font-size: 26px; font-weight: 800; text-align: center; margin: 0 0 6px; color: #fff; letter-spacing: -.01em; text-shadow: 0 2px 20px rgba(0,0,0,.6); }
.auth-sub { text-align: center; color: #AEB9CC; font-size: 14px; margin: 0 0 24px; }
.auth-card .field { margin-bottom: 15px; }
.auth-card label { display: block; font-size: 13px; color: rgba(255,255,255,.72); margin-bottom: 6px; font-weight: 700; letter-spacing: .02em; }
.auth-card label.check { display: inline-flex; }
.auth-card input {
  width: 100%; padding: 12px 14px; border-radius: 14px; background: rgba(0,0,0,.42);
  border: 1px solid rgba(255,255,255,.12); color: #fff; font-size: 15px; font-family: inherit;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.auth-card input::placeholder { color: rgba(255,255,255,.32); }
.auth-card input:hover { border-color: rgba(255,42,61,.45); }
.auth-card input:focus { outline: none; border-color: rgba(255,42,61,.75); box-shadow: 0 0 0 3px rgba(232,0,26,.18); background: rgba(0,0,0,.52); }
.auth-msg { min-height: 18px; font-size: 13px; margin: 2px 0 12px; line-height: 1.4; }
.auth-msg.err { color: var(--hy-color-danger, #FF5D5D); }
.auth-msg.ok { color: var(--hy-color-emerald, #3DD6A0); }
.auth-msg a { color: #FF5C6B; }
.auth-btn { position: relative; overflow: hidden; width: 100%; min-height: 46px; padding: 13px; border: none; border-radius: 9999px; font-size: 15px; font-weight: 800; letter-spacing: .01em; font-family: inherit; cursor: pointer;
  background: linear-gradient(135deg, #E8001A, #B30012); color: #fff;
  box-shadow: 0 8px 22px -6px rgba(232,0,26,.45), inset 0 1px 0 rgba(255,255,255,.22);
  transition: transform .14s var(--hy-ease-standard, ease), box-shadow .18s ease, filter .14s ease; }
.auth-btn::before { content: ""; position: absolute; left: 8px; right: 8px; top: 3px; height: 44%; border-radius: 9999px; background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0)); pointer-events: none; }
.auth-btn:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 12px 28px -7px rgba(232,0,26,.55), inset 0 1px 0 rgba(255,255,255,.26); }
.auth-btn:active { transform: scale(.97); }
.auth-btn:focus-visible { outline: 2px solid #FF5C6B; outline-offset: 3px; }
.auth-btn:disabled { opacity: .6; cursor: default; transform: none; filter: none; box-shadow: none; }
.auth-btn--ghost { box-shadow: none; }
.auth-btn--ghost:hover { filter: none; background: rgba(255,255,255,.05); box-shadow: none; }
.auth-btn--ghost { background: linear-gradient(180deg, #454c58 0%, #15181e 100%); border: 1px solid rgba(255,255,255,.16); color: #fff; margin-top: 10px; }
.auth-links { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin: 18px 0 6px; }
/* Satırda tek bağlantı ("Giriş sayfasına dön") ortalı kartta sola yaslı kalıyordu; dikey hiza için
   align-items: "Kod gelmedi mi?" ile 44px yüksek düğme metni 10px kayıktı (ölçüldü, İŞ-934). */
.auth-links > :only-child { margin-inline: auto; }
.auth-links a,
.auth-links button { display: inline-flex; align-items: center; min-height: 44px; }
.auth-links a { color: #FF5C6B; font-size: 13px; text-decoration: none; }
.auth-links a:hover { text-decoration: underline; }
.auth-divider { display: flex; align-items: center; gap: 10px; color: var(--hy-text-subtle, #6b778f); font-size: 12px; margin: 16px 0; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--hy-border, rgba(156,169,194,.16)); }

@media (prefers-reduced-motion: reduce) { .auth-card { animation: none; } }
@media (max-width: 480px) {
  .auth-wrap { padding: 16px; }
  .auth-card { padding: 28px 22px 24px; border-radius: 22px; }
}

/* v3 (2026-09-05): sade auth sayfalarina kendi sahnesi (sozlesme 11.3); form karti ve akis degismedi */
body.auth-bg { background-color: #0d1117; background-size: cover; background-position: 70% 30%; background-repeat: no-repeat; background-attachment: fixed; }
body.auth-bg--reset { background-image: linear-gradient(180deg, rgba(13,17,23,.62) 0%, rgba(13,17,23,.82) 100%), url("../img/scenes/auth-sifre-v4.webp"); }
body.auth-bg--verify { background-image: linear-gradient(180deg, rgba(13,17,23,.62) 0%, rgba(13,17,23,.82) 100%), url("../img/scenes/auth-eposta-v4.webp"); }
@media (max-width: 700px) { body.auth-bg { background-attachment: scroll; background-position: 72% top; } }
body.auth-bg .auth-wrap { background: transparent; }
