/* ==========================================================================
   1. GLOBAL DEĞİŞKENLER VE ANA AYARLAR
   ========================================================================== */
:root {
    --bg-main: #f8fafc;         
    --bg-card: #ffffff;         
    --primary: #5046e5;         
    --primary-hover: #4338ca;   
    --text-main: #1e293b;       
    --text-muted: #64748b;      
    --border-color: #e2e8f0;    
    --input-bg: #f1f5f9;        
    --input-border: #cbd5e1;    
    --danger: #dc2626;          
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Play', sans-serif; }
html { height: auto !important; overflow-x: hidden !important; overflow-y: auto !important; scroll-behavior: smooth; }
body { background-color: var(--bg-main); color: var(--text-main); height: auto !important; min-height: 100vh; display: flex; flex-direction: column; position: relative; overflow-x: hidden !important; overflow-y: auto !important; -webkit-overflow-scrolling: touch; }

/* Arka Plan Soft Işıkları */
.sh-deco { position: absolute; width: 500px; height: 500px; background: rgba(80, 70, 229, 0.08); filter: blur(150px); border-radius: 50%; z-index: 1; pointer-events: none; }
.deco-1 { top: -150px; left: -150px; }
.deco-2 { top: 40%; right: -150px; }

/* ==========================================================================
   ÜST HEADER VE LOGO ALANI DÜZELTMESİ
   ========================================================================== */
header.navbar {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px !important;
    position: relative;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
    background: transparent !important; /* Header şeridinin arka plan bütünlüğü */
}

.logo {
    background: transparent !important; /* Beyazlığı tamamen ortadan kaldırır */
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
}

.logo a {
    color: var(--primary);
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    background: transparent !important; /* Link üzerindeki olası arka planları temizler */
}

.logo span { 
    color: var(--text-muted); 
    background: transparent !important;
}

        /* Masaüstü Navigasyon Listesi */
        .header-nav-list {
            gap: 15px;
        }
        .header-nav-list li a {
            color: var(--text-muted) !important;
            text-decoration: none;
            font-size: 15px;
            transition: color 0.3s;
            font-weight: 400;
            padding: 0.5rem 0.75rem !important;
        }
        .header-nav-list li a:hover, .header-nav-list li.active a {
            color: var(--primary) !important;
            font-weight: 700;
        }

        /* Mobil Header Düzenlemeleri */
        @media (max-width: 991.98px) {
            .navbar-collapse {
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: var(--bg-card);
                z-index: 999;
                padding: 15px;
                border: 1px solid var(--border-color);
                border-radius: 12px;
                box-shadow: 0 10px 25px rgba(0,0,0,0.08);
                margin-top: 10px;
            }
            .header-nav-list {
                gap: 5px;
                flex-direction: column;
            }
            .header-nav-list li a {
                padding: 10px 15px !important;
                display: block;
            }
            /* Bootstrap varsayılan ikon rengini belirginleştirme */
            .navbar-toggler-icon {
                background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
            }
        }

/* Bootstrap Navbar Kapsayıcı Ayarı */
header .navbar {
    float: right;
    height: 60px !important;
    padding: 0 40px 0 0 !important;
    background: transparent !important;
}

/* MASAÜSTÜ (PC) SÜRÜMÜ GÜVENLİK KURALLARI (992px ve Üzeri Geniş Ekranlar) */
@media (min-width: 992px) {
    header .navbar-collapse {
        display: flex !important;
        height: 60px !important;
        align-items: center !important;
    }
    header nav ul.navbar-nav { 
        display: flex !important; 
        flex-direction: row !important;
        align-items: center !important; 
        height: 60px !important;
        gap: 10px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    header nav ul.navbar-nav li.nav-item {
        height: 60px !important;
        display: flex !important;
        align-items: center !important;
    }
    header nav ul.navbar-nav li.nav-item a.nav-link { 
        color: var(--text-muted) !important; 
        font-size: 14px !important; 
        font-weight: 700 !important;
        padding: 0 15px !important; 
        height: 60px !important;            
        display: flex !important;
        align-items: center !important;     /* Menü link metinlerini dikeyde tam ortalar */
        justify-content: center !important;
        transition: color 0.2s ease !important;
        background: transparent !important;
    }
    header nav ul.navbar-nav li.nav-item.active a.nav-link,
    header nav ul.navbar-nav li.nav-item a.nav-link:hover { 
        color: var(--primary) !important; 
        background: transparent !important;
    }
}

/* KUSURSUZ MOBİL SÜRÜMÜ (991.98px ve Altı) */
@media (max-width: 991.98px) {
    header {
        height: 60px !important;
    }
    header .logo {
        padding-left: 20px;
    }
    header .navbar {
        padding: 0 20px 0 0 !important;
        margin-top: 10px !important; /* Hamburger butonu dikey ortalamak için */
        height: auto !important;
    }
    header .navbar-toggler {
        padding: 3px 6px !important;
        border-radius: 8px !important;
        background: var(--input-bg) !important;
    }
    
    /* Mobilde açılan Bootstrap menü paneli */
    header .navbar-collapse {
        position: absolute !important;
        top: 50px !important;
        left: 260px !important;
        width: 150px !important;
        background: var(--bg-card) !important;
        border: 1px solid var(--border-color) !important;
        border-radius: 12px !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
        padding: 10px !important;
        z-index: 99999 !important;
    }
    header nav ul.navbar-nav {
        flex-direction: column !important;
        width: 100% !important;
        gap: 2px !important;
    }
    header nav ul.navbar-nav li.nav-item {
        width: 100% !important;
        height: auto !important;
    }
    header nav ul.navbar-nav li.nav-item a.nav-link {
        width: 100% !important;
        height: 40px !important;
        color: var(--text-main) !important;
        display: flex !important;
        align-items: center !important;
        padding: 0 12px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        border-radius: 6px !important;
    }
    header nav ul.navbar-nav li.nav-item.active a.nav-link,
    header nav ul.navbar-nav li.nav-item a.nav-link:hover {
        background: var(--input-bg) !important;
        color: var(--primary) !important;
    }
}

/* ==========================================================================
   3. ANA GİRİŞ ALANI (HERO INNER YAPISI)
   ========================================================================== */
.sohbet-hero-inner { width: 100%; max-width: 1200px; margin: 40px auto 0 auto; padding: 40px 20px; display: grid; grid-template-columns: 460px 1fr; align-items: center; gap: 60px; position: relative; z-index: 5; height: auto !important; }
.sh-login { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 24px; padding: 35px; box-shadow: 0 10px 30px rgba(148, 163, 184, 0.1); }

/* Giriş Sekmeleri */
.login-tabs { display: flex; background: var(--input-bg); border: 1px solid var(--border-color); padding: 5px; border-radius: 12px; margin-bottom: 25px; gap: 2px; }
.tab-btn { flex: 1; background: none; border: none; color: var(--text-muted); padding: 12px 5px; font-size: 13px; font-weight: 700; cursor: pointer; border-radius: 8px; transition: all 0.3s ease; white-space: nowrap; }
.tab-btn.active { background: var(--primary); color: #ffffff; box-shadow: 0 4px 12px rgba(80, 70, 229, 0.2); }

/* Form Panelleri */
.form-panel { display: none; }
.form-panel.active { display: flex; flex-direction: column; }
.sh-title { font-size: 24px; font-weight: 700; margin-bottom: 5px; display: flex; align-items: center; gap: 10px; color: var(--text-main); }
.sh-chat-icon { color: var(--primary); display: inline-flex; }
.sh-subtitle { color: var(--text-muted); font-size: 13px; margin-bottom: 20px; line-height: 1.4; }

/* Avatarlar */
.sh-avatars { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.sh-avatars-stack { display: flex; align-items: center; }
.sh-av-initial { width: 38px; height: 38px; border-radius: 50%; border: 2px solid #ffffff; margin-left: -12px; display: flex; align-items: center; justify-content: center; color: #ffffff; font-weight: 700; font-size: 16px; text-transform: uppercase; }
.sh-av-initial:first-child { margin-left: 0; }
.sh-av-1 { background-color: #3b82f6; } 
.sh-av-2 { background-color: #10b981; } 
.sh-av-3 { background-color: #e83e8c; } 
.sh-av-4 { background-color: #ffc107; } 
.sh-avatars-meta { display: flex; flex-direction: column; }
.sh-avatars-num { font-weight: 700; font-size: 15px; color: var(--text-main); }
.sh-avatars-num span { color: var(--text-muted); font-weight: 400; }
.sh-avatars-status { font-size: 12px; color: #10b981; display: flex; align-items: center; gap: 6px; margin-top: 2px; font-weight: 700; }
.sh-trustline-dot { width: 7px; height: 7px; background-color: #10b981; border-radius: 50%; display: inline-block; animation: sh-pulse 2s infinite; }

/* Sayaç */
.sh-counter { background: var(--input-bg); border-left: 4px solid var(--primary); border: 1px solid var(--border-color); border-left-width: 4px; padding: 12px 15px; border-radius: 0 12px 12px 0; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; font-size: 13px; }
.sh-counter-icon { color: var(--primary); display: inline-flex; }
.sh-counter-text { flex: 1; color: var(--text-main); }
.sh-counter-num { color: var(--primary); font-weight: 700; }
.sh-online { background: #10b981; color: #ffffff; font-weight: 700; padding: 3px 8px; border-radius: 4px; font-size: 10px; letter-spacing: 0.5px; display: inline-flex; align-items: center; }

/* Form Elemanları */
.form-group { position: relative; width: 100%; margin-bottom: 16px; }
.inputWithIcon { position: relative; width: 100%; display: flex; align-items: center; }
.sh-input-icon { position: absolute; left: 16px; color: var(--text-muted); display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 2; }
.inputWithIcon input, .inputWithIcon select { width: 100%; background: var(--bg-card); border: 1px solid var(--input-border); padding: 16px 16px 16px 48px; border-radius: 12px; color: var(--text-main); font-size: 15px; outline: none; transition: all 0.3s ease; position: relative; z-index: 1; height: 54px; }
.inputWithIcon select { -webkit-appearance: none; -moz-appearance: none; appearance: none; cursor: pointer; }
.inputWithIcon input:focus, .inputWithIcon select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(80, 70, 229, 0.15); }
.inputWithIcon:focus-within .sh-input-icon { color: var(--primary); }

.date_form { display: flex; gap: 8px; width: 100%; }
.date_col { flex: 1; }
.register_date p.label { font-size: 13px; font-weight: 700; color: var(--text-muted); margin-bottom: 6px; padding-left: 4px; }
.form_split { display: flex; gap: 12px; width: 100%; }
.form_left, .form_right { flex: 1; }

.submit-btn { width: 100%; background: var(--primary); color: #ffffff; border: none; padding: 16px; border-radius: 12px; font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(80, 70, 229, 0.2); margin-top: 4px; }
.submit-btn:hover { background: var(--primary-hover); transform: translateY(-2px); }
.esunus_sifreunuttum { background: none; border: none; color: var(--text-muted); font-size: 13px; text-align: left; padding: 4px 0; cursor: pointer; transition: color 0.2s; outline: none; margin-bottom: 10px; }
.esunus_sifreunuttum:hover { color: var(--primary); }

.rules_text_elem { text-align: center; margin-top: 15px; }
.rules_text { font-size: 12px; color: var(--text-muted); }
.rules_click { color: var(--primary); font-weight: 700; cursor: pointer; text-decoration: underline; }

/* Sağ Panel */
.sh-right h1 { font-size: 44px; font-weight: 700; line-height: 1.25; margin-bottom: 20px; color: var(--text-main); }
.sh-right h1 span { color: var(--primary); }
.sh-right p { color: var(--text-muted); font-size: 16px; line-height: 1.6; margin-bottom: 35px; }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feat-card { background: var(--bg-card); border: 1px solid var(--border-color); padding: 18px; border-radius: 14px; display: flex; align-items: center; gap: 15px; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.feat-badge { background: var(--input-bg); color: var(--primary); width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 700; border: 1px solid var(--border-color); }
.feat-card h3 { font-size: 15px; font-weight: 700; color: var(--text-main); }

/* ==========================================================================
   4. BİLGİLENDİRME, SSS, SEO & FOOTER ALANLARI
   ========================================================================== */
.info-split-container { width: 100%; max-width: 1200px; margin: 60px auto 20px auto; padding: 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; position: relative; z-index: 5; height: auto !important; }
.split-column h2 { font-size: 28px; margin-bottom: 10px; font-weight: 700; color: var(--text-main); }
.split-column h2 span { color: var(--primary); }
.split-column .section-subtitle { color: var(--text-muted); font-size: 14px; margin-bottom: 30px; line-height: 1.5; }
.steps-list { display: flex; flex-direction: column; gap: 20px; }
.step-horizontal-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 20px; display: flex; align-items: flex-start; gap: 20px; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.step-horizontal-num { width: 40px; height: 40px; background: var(--primary); color: white; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; flex-shrink: 0; }
.step-horizontal-text h3 { font-size: 16px; margin-bottom: 6px; color: var(--text-main); }
.step-horizontal-text p { color: var(--text-muted); font-size: 13px; line-height: 1.6; }

/* SSS Akordeon */
.faq-container { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 14px; overflow: hidden; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.faq-trigger { width: 100%; background: none; border: none; padding: 18px 20px; text-align: left; color: var(--text-main); font-size: 15px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; outline: none; }
.faq-icon { font-size: 16px; color: var(--text-muted); transition: transform 0.3s ease; }
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--text-muted); font-size: 13px; line-height: 1.6; }
.faq-content p { padding: 0 20px 18px 20px; }
.faq-item.active { border-color: var(--primary); }
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--primary); }

/* SEO İçerik Kartı */
.seo-content-section { width: 100%; max-width: 1200px; margin: 40px auto 20px auto; padding: 0 20px; height: auto !important; }
.seo-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 20px; padding: 40px; line-height: 1.8; color: var(--text-muted); font-size: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
.seo-card h2.seo-main-title { font-size: 28px; border-bottom: 1px solid var(--border-color); padding-bottom: 10px; margin-bottom: 15px; color: var(--text-main); font-weight: 700; }
.seo-card h2.seo-sub-title { font-size: 22px; color: var(--primary); margin-top: 25px; margin-bottom: 15px; font-weight: 700; }

/* Alt Bilgi Alanı */
.footer-wrapper { width: 100%; background: #f1f5f9; border-top: 1px solid var(--border-color); margin-top: 60px; height: auto !important; }
.footer-nav-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 30px 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-links ul { display: flex; list-style: none; gap: 20px; flex-wrap: wrap; margin: 0; padding: 0; }
.footer-links ul li a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color 0.3s; }
.copyright-text { color: var(--text-muted); font-size: 13px; font-weight: 700; }

/* ==========================================================================
   5. DEKORATİF MASKE, MODAL VE RESPONSIVE KURALLARI
   ========================================================================== */
#diyolog-maske { display: none !important; position: fixed !important; top: 0 !important; left: 0 !important; width: 100vw !important; height: 100vh !important; background: #5046e5 !important; z-index: 2147483647 !important; align-items: center; justify-content: center; flex-direction: column; margin: 0 !important; padding: 0 !important; border: none !important; color: #ffffff; }
.esohbet-loading-wrap { text-align: center; }
.e-title { font-size: 24px; font-weight: 700; margin-bottom: 5px; color: #fff; }
.e-sub-text { color: rgba(255,255,255,0.8); font-size: 14px; margin-bottom: 20px; }
.d-loader { width: 70px; height: 70px; border: 7px solid rgba(255,255,255,0.2); border-top: 7px solid #fff; border-radius: 50%; animation: d-spin 1s linear infinite; margin: 0 auto 20px auto; }
#d-maske-bar-container { width: 260px; height: 6px; background: rgba(0,0,0,0.2); border-radius: 10px; margin: 30px auto 0 auto; overflow: hidden; }
#d-maske-bar { width: 0%; height: 100%; background: #fff; transition: width 0.1s linear; }

/* Modallar */
.modal { display: none; position: fixed; top:0; left:0; width:100%; height:100%; background:rgba(30,41,59,0.5); z-index:11000; align-items:center; justify-content:center; padding:20px; }
.modal-box { background: var(--bg-card); border: 1px solid var(--border-color); padding: 30px; border-radius: 20px; max-width: 500px; width: 100%; position: relative; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.modal-close { position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 18px; color: var(--text-muted); cursor: pointer; }
.modal-box h3 { font-size: 20px; font-weight: 700; margin-bottom: 20px; color: var(--text-main); display: flex; align-items: center; gap: 10px; }
.list { padding-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 2; }

@keyframes d-spin { 100% { transform: rotate(360deg); } }

@keyframes sh-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* TABLET VE KÜÇÜK EKRANLAR İÇİN RESPONSIVE DÜZENLER */
@media (max-width: 991.98px) {
    .sohbet-hero-inner { grid-template-columns: 1fr; gap: 40px; margin-top: 20px; }
    .sh-right { text-align: center; }
    .sh-right h1 { font-size: 32px; }
    .sh-login { max-width: 500px; margin: 0 auto; width: 100%; }
    .info-split-container { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 767.98px) {
    .sohbet-hero-inner { display: flex; flex-direction: column; padding: 20px; gap: 30px; }
    .sh-login { order: 1; }  
    .sh-right { order: 2; }  
    .features-grid { grid-template-columns: 1fr; }
    .login-tabs { flex-wrap: wrap; }
    .tab-btn { font-size: 12px; padding: 10px 2px; }
}
/* Sesli Chat Tarzı Sayaç Yanı Butonu */
.sesli-uyelik-btn {
    background: linear-gradient(135deg, #00c6ff, #0072ff) !important; /* Canlı mavi geçişli */
    color: #ffffff !important;
    border: none !important;
    padding: 8px 14px !important;
    border-radius: 6px !important; /* Hafif oval modern köşeler */
    font-size: 13px !important;
    font-weight: 700 !important;   /* Kalın yazı */
    text-transform: uppercase;     /* Harfleri büyütür */
    letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;                      /* İkon ve yazı arası boşluk */
    white-space: nowrap;           /* Yazının alt satıra geçmesini engeller */
    box-shadow: 0 0 10px rgba(0, 114, 255, 0.5);
    transition: all 0.2s ease-in-out;
}

/* Üzerine gelindiğinde (Hover) */
.sesli-uyelik-btn:hover {
    background: linear-gradient(135deg, #0072ff, #00c6ff) !important;
    box-shadow: 0 0 15px rgba(0, 114, 255, 0.8);
    transform: scale(1.03); /* Çok hafif büyüme */
}

/* Yanıp Sönme Efekt Animasyonu */
@keyframes sesliPulse {
    0% {
        box-shadow: 0 0 6px rgba(0, 114, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 16px rgba(0, 198, 255, 0.9); /* Dışa doğru parlama */
    }
    100% {
        box-shadow: 0 0 6px rgba(0, 114, 255, 0.5);
    }
}

/* Mobil Ekranlar İçin Boyut Ayarı */
@media (max-width: 576px) {
    .sesli-uyelik-btn {
        padding: 6px 10px !important;
        font-size: 11px !important; /* Mobilde taşma yapmaması için yazı boyutunu küçültür */
    }
}