:root {
    --ivory: #fcfbf9;
    --ink: #14140f;
    --soft: #3a3a33;
    --muted: #6b665c;
    --gold: #8c734b;
    --line: rgba(20, 20, 15, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.85);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    background: var(--ivory);
    color: var(--ink);
    display: grid;
    /* SAĞ TARAFI YATAYDA DARALTAN MİMARİ: SOL GENİŞ (1.45), SAĞ KOMPAKT (0.85) */
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr);
    overflow-x: hidden;
}

/* SOL: CANLI MANKEN GÖRSELİ & ALTINA DİZİLEN YETENEK KARTLARI (TEMA YOLU) */
.photo-side {
    position: relative;
    min-height: 100vh;
    background-image:
        linear-gradient(to bottom, rgba(20, 20, 15, 0.1) 0%, rgba(20, 20, 15, 0.45) 100%),
        url('/assets/theme/bg.png');
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3.5rem 3rem 2.5rem;
}

.showcase-top-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid #ffffff;
    color: var(--ink);
    padding: 0.45rem 1.15rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

/* MANKEN ÜZERİNDE YÜZEN GLASSMORPHISM YETENEK KARTLARI (TAM GENİŞLİK) */
.showcase-bottom-wrap {
    width: 100%;
    max-width: 100% !important; /* Sağdaki boşluğu tamamen doldur */
}

.showcase-tagline {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
.showcase-tagline span { font-style: italic; color: #f1ead9; }

.showcase-desc {
    font-size: 0.9rem;
    color: #f8f6f2;
    line-height: 1.55;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    font-weight: 500;
    max-width: 850px;
}

.features-grid {
    --gap: 0.85rem;
    --vis: 4;
    display: flex;
    gap: var(--gap);
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 0 16px;
    outline: none;
}
.features-grid::-webkit-scrollbar { display: none; }
.features-grid .floating-feature-card {
    flex: 0 0 calc((100% - (var(--vis) - 1) * var(--gap)) / var(--vis));
}
/* 12 İKONUN TAMAMI TEK RENK (ALTIN) */
.feature-icon-box i { color: var(--gold) !important; }

.fs-wrap { position: relative; }
.fs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--ink);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    transition: background 0.2s ease, transform 0.2s ease;
}
.fs-arrow:hover { background: #ffffff; transform: translateY(-50%) scale(1.08); }
.fs-arrow:focus-visible, .fs-dot:focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; }
.fs-prev { left: -1rem; }
.fs-next { right: -1rem; }
.fs-dots { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 0.15rem; }
.fs-dot {
    width: 6px;
    height: 6px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
}
.fs-dot.active { width: 18px; background: #ffffff; }
@media (max-width: 1499px) { .features-grid { --vis: 3; } }
@media (max-width: 991px) { .features-grid { --vis: 2; } }
@media (max-width: 575px) { .features-grid { --vis: 1; } .fs-prev { left: -0.75rem; } .fs-next { right: -0.75rem; } }

/* ============================================================
   YENİ NESİL GÜNCELLEMELER ŞERİDİ (2. KATMAN SLIDER)
   Mevcut .features-grid ile BİREBİR AYNI stil — bağımsız çalışır.
   ============================================================ */
.features-grid-new {
    --gap: 0.85rem;
    --vis: 4;
    display: flex;
    gap: var(--gap);
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 0 16px;
    outline: none;
    margin-bottom: 1.25rem;
}
.features-grid-new::-webkit-scrollbar { display: none; }
.features-grid-new .floating-feature-card {
    flex: 0 0 calc((100% - (var(--vis) - 1) * var(--gap)) / var(--vis));
}

/* "YENİ" mini rozet şeridi */
.new-badge-strip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid #fcd34d;
    color: #92400e;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 0.32rem 0.85rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
    width: fit-content;
    box-shadow: 0 4px 12px rgba(252, 211, 77, 0.25);
}
.new-badge-strip i { color: #d97706; font-size: 0.65rem; }

@media (max-width: 1499px) { .features-grid-new { --vis: 3; } }
@media (max-width: 991px) { .features-grid-new { --vis: 2; } }
@media (max-width: 575px) { .features-grid-new { --vis: 1; } }

.floating-feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    cursor: pointer; /* Tıklanabilir kart işareti */
    user-select: none; /* Uzun basmada metin seçimini engelle */
}

.floating-feature-card:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    margin-bottom: 0.65rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.feature-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 0.2rem;
}

.feature-desc {
    font-size: 0.7rem;
    color: var(--muted);
    line-height: 1.4;
    margin: 0;
    font-weight: 500;
}

/* SAĞ: YATAYDA DARALTILMIŞ, MİNİMALİST VE FERAH GİRİŞ PANELİ */
.panel-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    background: var(--ivory);
    border-left: 1px solid var(--line);
}

/* 1. DÖNEN NEON IŞIK ANİMASYONU */
@keyframes rotate-login-aura {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 2. DIŞ KORUYUCU NEON HAVUZU (360px - DİKEYDE TAŞMAYI ÖNLEYEN YAPI) */
.panel-glow-wrapper {
    position: relative;
    width: 100%;
    max-width: 370px;
    max-height: 94vh; /* Ekrandan asla taşmaz */
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(20, 20, 15, 0.1);
}

/* 3. KADIN MODASINA ÖZEL: ROSE GOLD, ŞAMPANYA & FUŞYA NEON IŞILTISI */
.panel-aura {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        #ff758c,
        #ff7eb3,
        #ffffff,
        #e2b0ff,
        #fcd34d,
        #ff758c
    );
    animation: rotate-login-aura 5s linear infinite;
    filter: blur(32px);
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
}

/* 4. ÖNDE DURAN FİLDİŞİ FORM KARTI (KOMPAKT PADDING) */
.panel-inner {
    width: calc(100% - 4px);
    max-height: calc(94vh - 4px);
    overflow-y: auto; /* Küçük ekranlarda güvenli scroll */
    scrollbar-width: none;
    background: #ffffff;
    border-radius: 22px;
    padding: 1.75rem 1.75rem 1.25rem; /* Dikey boşluklar sıkılaştırıldı */
    position: relative;
    z-index: 1;
    margin: 2px;
}
.panel-inner::-webkit-scrollbar { display: none; }

.brand-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.logo-symbol {
    flex: 0 0 46px;
    width: 46px; height: 46px;
    background: var(--ink);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem;
    color: #fff;
    box-shadow: 0 6px 16px rgba(20, 20, 15, 0.12);
}

.auth-title { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.3px; color: var(--ink); margin: 0; line-height: 1.2; }
.auth-subtitle { font-size: 0.7rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; margin: 0.15rem 0 0; }

.welcome-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 1.75rem;
}
.welcome-heading span { font-style: italic; color: var(--gold); }

.auth-alert {
    border-radius: 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    animation: shake 0.45s ease;
}
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

.nordic-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--ink); margin-bottom: 0.4rem; display: block; }

.nordic-input {
    background: #fff !important;
    border: 1px solid var(--line) !important;
    color: var(--ink) !important;
    border-radius: 10px !important;
    padding: 0.85rem 1rem !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}
.nordic-input:focus { border-color: var(--ink) !important; box-shadow: 0 0 0 3px rgba(20, 20, 15, 0.08) !important; outline: none !important; }

.pass-wrap { position: relative; }
.pass-wrap .nordic-input { padding-right: 3rem !important; }
.pass-toggle { position: absolute; top: 50%; right: 0.5rem; transform: translateY(-50%); width: 34px; height: 34px; border: none; background: transparent; color: var(--soft); border-radius: 8px; cursor: pointer; }
.pass-toggle:hover { color: var(--ink); background: rgba(20, 20, 15, 0.05); }
.caps-warning { display: none; margin-top: 0.4rem; font-size: 0.7rem; font-weight: 700; color: #92400e; }

.btn-nordic-main {
    background: var(--ink);
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 0.95rem 1.25rem;
    border-radius: 10px;
    border: none;
    width: 100%;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
    box-shadow: 0 6px 16px rgba(20, 20, 15, 0.12);
}
.btn-nordic-main:hover { background: #262620; color: #fff; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(20, 20, 15, 0.18); }
.btn-nordic-main:disabled { opacity: 0.8; transform: none; cursor: wait; }

/* PIN & NUMPAD: KOMPAKT ERGONOMİ */
.pin-dot { width: 11px; height: 11px; border-radius: 50%; border: 2px solid rgba(20, 20, 15, 0.25); transition: all 0.2s; }
.pin-dot.active { background: var(--ink); border-color: var(--ink); transform: scale(1.2); }
.btn-numpad {
    width: 48px; height: 48px; /* 58px'ten 48px'e çekildi */
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 1.1rem; font-weight: 800;
    color: var(--ink);
    transition: all 0.15s ease;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto;
}
.btn-numpad:hover { border-color: var(--ink); transform: scale(1.05); }

.system-signature { text-align: center; font-size: 0.62rem; color: var(--muted); margin-top: 1rem; font-weight: 600; letter-spacing: 0.5px; opacity: 0.85; }

/* RESPONSIVE */
@media (max-width: 991px) {
    body { display: block; }
    .photo-side { min-height: 400px; padding: 2.5rem 1.5rem; }
    .features-grid { --gap: 0.75rem; }
    .panel-side { border-left: none; padding: 3rem 1.5rem; }
    .panel-inner { max-width: 420px; }
}