/* =========================================
   TEMEL AYARLAR VE FONT
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', Roboto, sans-serif;
}

body {
    /* Lüks koyu antrasit/obsidiyen arka plan */
    background: #000;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f4f4f5;
    overflow: hidden;
    position: relative;
    padding: 20px;
}
/* =========================================
   TAM EKRAN VİDEO VE OVERLAY (YENİ EKLENENLER)
   ========================================= */
.fullscreen-bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover; /* Videonun ekranı tam kaplamasını sağlar */
    z-index: -2;
}

.video-bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(9, 9, 11, 0.65); /* Yarı saydam siyah/antrasit katman. Saydamlığı artırıp azaltabilirsiniz. */
    z-index: -1;
}

/* =========================================
   ANA YAPI VE CAM EFEKTLERİ
   ========================================= */
.portal-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 480px;
    gap: 50px;
    align-items: stretch;
    justify-content: center;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.premium-card {
    position: relative;
    border-radius: 40px;
    background: transparent;
    transition: transform 0.3s ease;
}

/* İç Koyu Cam Efekti */
.card-content {
    background: rgba(15, 15, 18, 0.85); /* Koyu yarı saydam zemin */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 40px;
    width: 100%;
    flex: 1;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.08);
}



/* =========================================
   FORM ALANI (SAĞ TARAF)
   ========================================= */
.login-section {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.login-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.header-container {
    width: 100%;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo Amblemi (Koyu Zemin) */
.logo-area {
    margin-bottom: 20px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(145deg, #18181b, #27272a);
    border: 2px solid #3f3f46;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.5), 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portal-logo {
    width: 85%;
    height: auto;
    object-fit: contain;
}

.welcome-text {
    text-align: center;
}

.welcome-text h1 {
    font-size: 1.6rem;
    color: #f8fafc; /* Parlak beyaz/gri */
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.welcome-text p {
    color: #94a3b8; /* Soft gri */
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* =========================================
   İINPUT ELEMANLARI
   ========================================= */
.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.input-group {
    position: relative;
    width: 100%;
}

.input-group input {
    width: 100%;
    padding: 18px 20px;
    background: rgba(9, 9, 11, 0.4); /* Çok koyu iç zemin */
    border: 1px solid #3f3f46;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 400;
    color: #f4f4f5; /* İçindeki yazı beyaz */
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.input-group input::placeholder {
    color: #71717a;
    letter-spacing: 1px;
    font-weight: 400;
}

.input-glow {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    pointer-events: none;
    box-shadow: 0 0 15px rgba(161, 161, 170, 0);
    transition: box-shadow 0.3s ease;
}

.input-group input:focus {
    border-color: #a1a1aa;
    background: rgba(24, 24, 27, 0.8);
}

.input-group input:focus ~ .input-glow {
    box-shadow: 0 0 15px rgba(161, 161, 170, 0.2);
}

.password-group {
    position: relative;
}

/* SVG Göz İkonu Rengi Koyu Temaya Göre */
.password-toggle {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #71717a;
    cursor: pointer;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #e4e4e7; /* Üzerine gelince parlasın */
}

/* =========================================
   GİRİŞ BUTONU - (Koyu Temada Parlayan Platin)
   ========================================= */
.submit-btn {
    position: relative;
    margin-top: 15px;
    width: 100%;
    padding: 20px;
    /* Koyu zemin üzerinde parlayan gerçekçi gümüş/platin buton */
    background: linear-gradient(135deg, #e4e4e7 0%, #a1a1aa 100%);
    color: #09090b; /* Koyu metin rengi */
    border: none;
    border-radius: 20px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
            0 8px 20px rgba(0, 0, 0, 0.4),
            inset 0 -4px 10px rgba(0, 0, 0, 0.1),
            inset 0 4px 10px rgba(255, 255, 255, 0.8);
}

.submit-btn:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #ffffff 0%, #d4d4d8 100%);
    box-shadow:
            0 15px 25px rgba(0, 0, 0, 0.5),
            0 0 20px rgba(228, 228, 231, 0.2),
            inset 0 -4px 10px rgba(0, 0, 0, 0.1),
            inset 0 4px 10px rgba(255, 255, 255, 0.9);
}

.submit-btn:active {
    transform: translateY(1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
}
/* =========================================
   ANİMASYONLAR
   ========================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   MOBİL UYUMLULUK
   ========================================= */
@media (max-width: 1000px) {
    .login-content {
        padding: 40px 30px;
    }

    .logo-area {
        width: 100px;
        height: 100px;
    }
}
/* =========================================
   BENİ HATIRLA (CUSTOM CHECKBOX)
   ========================================= */
.remember-group {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 25px;
    margin-top: -10px;
}

/* =========================================
   TELEFON EKRANI UYUMU
   ========================================= */

@media (max-width: 640px) {
    body {
        width: 100%;
        min-height: 100vh;
        min-height: 100dvh;
        padding: 16px;
        overflow-x: hidden;
        overflow-y: auto;
        align-items: flex-start;
        justify-content: center;
    }

    .portal-container {
        width: 100%;
        max-width: 420px;
        margin: auto 0;
        gap: 0;
    }

    .premium-card,
    .card-content {
        border-radius: 24px;
    }

    .login-content {
        padding: 30px 22px;
    }

    .header-container {
        margin-bottom: 28px;
    }

    .logo-area {
        width: 84px;
        height: 84px;
        margin-bottom: 16px;
    }

    .welcome-text h1 {
        font-size: 1.45rem;
        line-height: 1.25;
    }

    .welcome-text p {
        font-size: 0.82rem;
        line-height: 1.5;
    }

    .login-form {
        gap: 20px;
    }

    .input-group input {
        padding: 15px 16px;
        border-radius: 14px;
        font-size: 16px;
    }

    .password-group input {
        padding-right: 52px;
    }

    .input-glow {
        border-radius: 14px;
    }

    .password-toggle {
        right: 14px;
    }

    .remember-group {
        margin-top: -4px;
        margin-bottom: 10px;
    }

    .submit-btn {
        margin-top: 6px;
        padding: 16px;
        border-radius: 14px;
        font-size: 0.95rem;
    }
}

@media (max-width: 360px) {
    body {
        padding: 10px;
    }

    .login-content {
        padding: 24px 16px;
    }

    .header-container {
        margin-bottom: 22px;
    }

    .logo-area {
        width: 72px;
        height: 72px;
        margin-bottom: 14px;
    }

    .welcome-text h1 {
        font-size: 1.35rem;
    }
}