/* ════════════════════════════════════════════════════════════════════════
   AUTH / LANDING PAGE
   ════════════════════════════════════════════════════════════════════════ */
* { box-sizing: border-box; margin: 0; padding: 0; }

body.auth-page {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    background: #070b16;
    color: #dde;
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
    padding: 20px;
    position: relative;
    overflow-y: auto;
}

/* Animated radar-grid backdrop */
.auth-bg {
    position: fixed; inset: 0; z-index: 0;
    background:
        radial-gradient(circle at 50% 40%, rgba(201,162,58,.16), transparent 45%),
        repeating-linear-gradient(0deg, rgba(201,162,58,.05) 0 1px, transparent 1px 42px),
        repeating-linear-gradient(90deg, rgba(201,162,58,.05) 0 1px, transparent 1px 42px),
        #070b16;
}
.auth-bg::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, transparent 55%, rgba(2,6,16,.7) 100%);
}

.auth-card {
    position: relative; z-index: 1;
    margin: auto;
    width: min(420px, 94vw);
    background: #111820;
    border: 0.5px solid #1e3a4a;
    border-radius: 12px;
    padding: 34px 30px 28px;
    box-shadow: 0 24px 70px rgba(0,0,0,.55);
    backdrop-filter: blur(6px);
}

/* Brand */
.auth-brand { text-align: center; margin-bottom: 24px; }
.auth-logo {
    font-size: 2.6rem; margin-bottom: 6px;
    filter: drop-shadow(0 0 12px rgba(201,162,58,.8));
    animation: auth-pulse 2.5s infinite;
}
@keyframes auth-pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.08)} }
.auth-brand h1 {
    font-family: 'Orbitron', monospace; font-size: 1.5rem; letter-spacing: 3px;
    color: #fff;
}
.auth-brand p { color: #7c8bb5; font-size: .85rem; letter-spacing: 1px; margin-top: 2px; }

/* Tabs */
.auth-tabs {
    display: flex; gap: 6px; margin-bottom: 22px;
    background: #0a1520; border: 1px solid #1e3a4a; border-radius: 12px; padding: 4px;
}
.auth-tab {
    flex: 1; padding: 10px; border: none; border-radius: 9px;
    background: transparent; color: #8794ba; font-weight: 700; font-size: .92rem;
    cursor: pointer; font-family: inherit; transition: background .15s, color .15s;
}
.auth-tab.active { background: linear-gradient(135deg, #c9a23a, #9c7e2e); color: #fff; }

/* Form */
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field label {
    font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; color: #7c8bb5;
    font-weight: 700;
}
.auth-field input,
.auth-field select {
    background: #0a1520; border: 1px solid #1e3a4a; border-radius: 10px;
    padding: 12px 14px; color: #fff; font-size: .95rem; font-family: inherit;
    outline: none; transition: border-color .15s, box-shadow .15s; width: 100%;
}
.auth-field select { cursor: pointer; }
.auth-field input:focus,
.auth-field select:focus {
    border-color: #c9a23a; box-shadow: 0 0 0 3px rgba(201,162,58,.18);
}

/* Onboarding genişliği + adım göstergesi */
.auth-card-genis { width: min(460px, 94vw); }
.onboarding-adim {
    display: flex; align-items: center; gap: 8px; margin-bottom: 20px;
    justify-content: center; flex-wrap: wrap;
}
.adim-nokta {
    width: 9px; height: 9px; border-radius: 50%; background: #1e3a4a;
}
.adim-nokta.aktif { background: #c9a23a; box-shadow: 0 0 8px rgba(201,162,58,.8); }
.adim-yazi { width: 100%; text-align: center; color: #7c8bb5; font-size: .78rem; letter-spacing: 1px; margin-top: 4px; }

.auth-msg { min-height: 20px; font-size: .82rem; text-align: center; color: #9fb; }
.auth-msg.err { color: #ff8da3; }
.auth-msg.ok  { color: #7fe6a0; }

.auth-submit {
    margin-top: 4px; padding: 13px; border: none; border-radius: 11px;
    background: linear-gradient(135deg, #c9a23a, #9c7e2e); color: #fff;
    font-weight: 800; font-size: 1rem; letter-spacing: .5px; cursor: pointer;
    font-family: 'Orbitron', monospace;
    transition: transform .12s, box-shadow .12s, opacity .12s;
}
.auth-submit:hover:not(:disabled) {
    transform: translateY(-2px); box-shadow: 0 10px 24px rgba(201,162,58,.45);
}
.auth-submit:disabled { opacity: .6; cursor: default; }

.auth-foot { text-align: center; margin-top: 18px; font-size: .85rem; color: #8794ba; }
.auth-foot a { color: #d8b552; font-weight: 700; text-decoration: none; }
.auth-foot a:hover { text-decoration: underline; }

/* inline UI ikonları */
.ui-ikon { width: 1.1em; height: 1.1em; vertical-align: -0.18em; object-fit: contain; display: inline-block; }
.auth-logo img { width: 56px; height: 56px; filter: drop-shadow(0 0 12px rgba(201,162,58,.85)); }

/* ── Giriş kartı: yumuşak giriş animasyonu ── */
@media (prefers-reduced-motion: no-preference) {
    @keyframes auth-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
    .auth-card { animation: auth-in .45s ease both; }
}

/* ── Kurgu uyarısı + kayıt onay kutusu ── */
.auth-kurgu-onay {
    display: flex; gap: 10px; align-items: flex-start;
    background: #0a1520; border: 0.5px solid #1e3a4a; border-left: 3px solid #c9a23a;
    border-radius: 8px; padding: 10px 12px; cursor: pointer;
    font-size: .74rem; color: #9fb0d6; line-height: 1.45; text-align: left;
}
.auth-kurgu-onay input { margin-top: 2px; accent-color: #c9a23a; flex-shrink: 0; }
.auth-kurgu-onay b { color: #d8b552; }

.auth-disclaimer {
    margin-top: 16px; padding-top: 12px; border-top: 0.5px solid #1e3a4a;
    font-size: .66rem; color: #6c79a8; line-height: 1.5; text-align: center;
}
