/* style.css - Midnight Gold Karargah (Mavi Detaylar & Çıkış Modalı Geri Geldi) */

:root {
    --bg-main: #0B1120;
    --bg-card: #172133;
    --text-pure: #FFFFFF;
    --text-muted: #94A3B8;
    --primary: #818CF8;        /* Orijinal Mavi */
    --accent: #FBBF24;         /* Altın Sarısı */
    --border-soft: rgba(251, 191, 36, 0.15); /* İnce Altın Kenarlık */
}

* { margin: 0; padding: 0; box-sizing: border-box; outline: none !important; }

body { background-color: var(--bg-main); font-family: 'Inter', sans-serif; color: var(--text-pure); text-align: center; }

p { margin-bottom: 20px; }

/* ==========================================
   2. NAVBAR & LOGO (MAVİ DETAYLAR KORUNDU)
   ========================================== */
header { display: flex; justify-content: center; padding: 20px; position: sticky; top: 0; z-index: 1000; }
nav {
    background: rgba(11, 17, 32, 0.85); backdrop-filter: blur(15px); width: 95%; max-width: 1150px;
    padding: 12px 40px; border-radius: 100px; border: 1px solid var(--border-soft); /* Kaplama Duruyor */
    display: flex; justify-content: space-between; align-items: center;
}

.logo { 
    font-size: 1.8rem; font-weight: 800; color: #fff; font-family: 'Poppins', sans-serif;
    animation: logoPulse 4s ease-in-out infinite;
}
@keyframes logoPulse {
    0%, 100% { transform: scale(1); text-shadow: 0 0 0 rgba(129, 140, 248, 0); }
    50% { transform: scale(1.03); text-shadow: 0 0 15px rgba(129, 140, 248, 0.3); }
}

/* NOKTA RENGİ MAVİYE DÖNDÜ */
.dot { color: var(--primary); animation: dotBlink 2s infinite; }
@keyframes dotBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.nav-links { list-style: none; display: flex; gap: 30px; }

/* NAVBAR HOVER VE ÇİZGİ RENGİ MAVİYE DÖNDÜ */
.nav-links a { text-decoration: none; color: var(--text-muted); font-weight: 600; transition: 0.3s; position: relative; padding-bottom: 5px; }
.nav-links a:hover { color: var(--primary); }
.nav-links a.aktif { color: var(--accent); text-shadow: 0 0 10px rgba(251, 191, 36, 0.3); }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary); transition: 0.3s; }
.nav-links a:hover::after { width: 100%; }
.nav-links a.aktif::after { width: 100%; background: var(--accent); }

.nav-login-btn {
    background: transparent; border: 1px solid var(--accent); color: var(--accent);
    padding: 8px 22px; border-radius: 50px; text-decoration: none; font-weight: 700;
    font-size: 0.85rem; transition: 0.3s;
}
.nav-login-btn:hover { background: var(--accent); color: var(--bg-main); box-shadow: 0 0 15px rgba(251, 191, 36, 0.3); }

.nav-auth-group { display: flex; gap: 15px; align-items: center; }

/* ÇIKIŞ BUTONU TASARIMI */
.nav-logout-btn {
    background: transparent; border: 1px solid var(--text-muted); color: var(--text-muted);
    padding: 8px 18px; border-radius: 50px; text-decoration: none; font-weight: 600;
    font-size: 0.8rem; transition: 0.3s;
}
.nav-logout-btn:hover { border-color: #ff4d4d; color: #ff4d4d; background: rgba(255, 77, 77, 0.05); }

/* ==========================================
   3. HERO & SAYAÇ (ALTIN KENARLIKLAR)
   ========================================== */
.hero-minimal { padding: 40px 20px 15px; }
.hero-minimal h1 { font-size: 3.5rem; font-weight: 800; letter-spacing: -2px; }
.vurgu { color: var(--accent); }

.sayac-kapsayici {
    background: var(--bg-card); padding: 50px; border-radius: 40px;
    max-width: 900px; margin: 0 auto 60px; border: 1px solid var(--border-soft);
}
#sinav-baslik { font-size: 1.4rem; color: #FFFFFF; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 35px; font-weight: 700; }
#sayac { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.zaman-kutusu { background: rgba(11, 17, 32, 0.6); padding: 30px; min-width: 150px; border-radius: 25px; border: 1px solid var(--border-soft); transition: 0.3s; }
.zaman-kutusu:hover { transform: translateY(-5px); border-color: var(--primary); }
.zaman-kutusu span { font-size: 3.5rem; font-weight: 800; color: var(--accent); display: block; }
.zaman-kutusu small { color: var(--text-muted); text-transform: uppercase; font-size: 0.85rem; margin-top: 25px; display: block; letter-spacing: 2px; }

/* ==========================================
   4. KARTLAR
   ========================================== */
.kartlar-alani { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; padding: 20px; margin-bottom: 80px; }
.kart {
    background: var(--bg-card); padding: 45px; border-radius: 35px; width: 340px;
    border: 1px solid var(--border-soft); /* Kartlar Altın Kaplama */
    text-align: left; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); cursor: pointer;
}
.kart:hover { transform: translateY(-12px); border-color: var(--accent); box-shadow: 0 15px 40px rgba(0,0,0,0.4); }
.ozel-kart { border: 2px solid var(--accent); } 
.ikon-box { background: rgba(129, 140, 248, 0.1); width: 60px; height: 60px; border-radius: 15px; display: flex; align-items: center; justify-content: center; margin-bottom: 25px; font-size: 1.8rem; color: var(--primary); }
.ikon-box.gold { background: rgba(251, 191, 36, 0.1); color: var(--accent); }
.kart h3 { font-size: 1.5rem; margin-bottom: 12px; font-weight: 800; }
.kart p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 25px; }
.kart-btn { font-weight: 700; color: var(--primary); }
.kart-btn.gold { color: var(--accent); }

.istatistik-grid { display: flex; justify-content: center; gap: 25px; max-width: 1100px; margin: 40px auto 100px; }
.ist-kart { background: var(--bg-card); padding: 35px; border-radius: 28px; border: 1px solid var(--border-soft); min-width: 250px; transition: 0.3s; }
.ist-kart:hover { border-color: var(--accent); transform: scale(1.05); }
.ist-kart h4 { font-size: 2.8rem; color: var(--accent); font-weight: 800; margin-bottom: 5px; }

/* FOOTER TASARIM MÜHRÜ */
footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-soft);
    padding: 60px 20px 20px;
    margin-top: 100px;
}

.footer-icerik {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-section h4 {
    color: var(--accent); /* Altın rengi başlıklar */
    margin-bottom: 20px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent); /* Üzerine gelince altın parlama */
    padding-left: 5px; /* Hafif bir hareket ekledik */
}

.footer-alt {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.8rem;
}

.sosyal-medya { display: flex; gap: 15px; justify-content: center; align-items: center;}
.sosyal-medya a { font-size: 1.4rem; color: var(--text-muted); transition: 0.3s; }
.sosyal-medya a:hover { color: var(--accent); transform: translateY(-3px); }


/* ==========================================
   MODAL TASARIMI VE BUTON EFEKTLERİ
   ========================================== */
.modal-overlay {
    display: none; /* Varsayılan gizli */
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(8, 13, 24, 0.9); /* Karanlık şeffaf zemin */
    backdrop-filter: blur(8px); /* Arkayı bulanıklaştırır */
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

/* Modal kutusu ve açılış animasyonu */
.modal-box {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid var(--border-soft); /* Altın kaplama kenarlık */
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: scale(0.8);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-box { transform: scale(1); }

.modal-icon { font-size: 3rem; color: var(--accent); margin-bottom: 20px; }
.modal-box h3 { font-size: 1.8rem; margin-bottom: 15px; color: #fff; font-family: 'Poppins', sans-serif; }
.modal-box p { color: var(--text-muted); margin-bottom: 30px; font-size: 1rem; }

/* Buton Grubu */
.modal-buttons { display: flex; gap: 15px; justify-content: center; }

/* Genel Buton Yapısı */
.modal-btn {
    padding: 12px 25px;
    border-radius: 15px;
    font-weight: 800;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Geçiş animasyonu */
}

/* "Evet, Ayrıl" Butonu (Altın) */
.modal-btn.confirm { 
    background: var(--accent); 
    color: var(--bg-main); 
}
.modal-btn.confirm:hover { 
    filter: brightness(1.1); 
    transform: translateY(-5px) scale(1.05); /* Yukarı zıplama efekti */
    box-shadow: 0 10px 20px rgba(251, 191, 36, 0.3); /* Altın parlama */
}

/* "Hayır, Kal" Butonu (Mavi) */
.modal-btn.cancel { 
    background: rgba(129, 140, 248, 0.1); 
    color: var(--primary); 
    border: 1px solid var(--border-soft); 
}
.modal-btn.cancel:hover { 
    background: rgba(129, 140, 248, 0.2); 
    border-color: var(--primary);
    transform: translateY(-5px) scale(1.05); /* Yukarı zıpla */
    box-shadow: 0 10px 20px rgba(129, 140, 248, 0.15); /* Mavi parlama */
}

/* Tıklanma Hissi */
.modal-btn:active {
    transform: translateY(-2px) scale(0.98);
}

/* ÇEREZ BANDI - PREMİUM GLASS */
.cookie-container {
    position: fixed;
    bottom: -100px; /* Başlangıçta gizli */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: rgba(23, 33, 51, 0.9) !important;
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 20px;
    z-index: 9999;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.cookie-container.active {
    bottom: 30px; /* Ekrana giriş yapar */
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.cookie-content i { color: var(--accent); font-size: 1.5rem; }

.cookie-content p { color: #fff; font-size: 0.9rem; margin: 0; }

.cookie-content a { color: var(--accent); text-decoration: underline; }

.cookie-btn {
    background: var(--accent);
    color: var(--bg-main);
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

/* ODAKLANMA ÖZEL ALAN - GHOST GOLD EDİT */

.odaklanma-ozel-alan {
    max-width: 1000px; /* 1200px Genişlik Sabitlendi */
    margin: 40px auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.ozel-kapsayici {
    background: var(--bg-card) !important;
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-soft) !important;
    border-radius: 25px !important;
    padding: 40px 50px !important;
}

.ozel-icerik {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ozel-sol { display: flex; align-items: center; gap: 25px; }

.ozel-logo { font-size: 2.5rem; color: var(--accent); }

.ozel-metin h2 { font-size: 1.8rem; color: #fff; margin: 0; font-weight: 800; }

.altin-vurgu { color: var(--accent); }

.ozel-metin p { color: rgba(255, 255, 255, 0.4); margin: 5px 0 0 0; font-size: 0.95rem; }

/* HAYALET BUTON: İÇİ BOŞ, HOVERDA DOLAN */
.zen-timer-btn {
    background: transparent; /* İçi boş */
    color: var(--accent);
    border: 2px solid var(--accent); /* Tek renk altın çerçeve */
    padding: 14px 35px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s ease; /* Yumuşak geçiş */
}

/* Hoverda Altın Dolan Efekt */
.zen-timer-btn:hover {
    background: var(--accent); /* Hoverda tek renk altın doldu */
    color: #060912;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

/* KRONOMETRE EFEKTİ: İkonun tık tık etmesi */
.timer-effect {
    font-size: 1.2rem;
    transition: 0.3s;
}

.zen-timer-btn:hover .timer-effect {
    animation: tick-tock 0.8s infinite linear; /* Kronometre saniye hareketi */
}

@keyframes tick-tock {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-15deg); }
    100% { transform: rotate(0deg); }
}

/* Mobil */
@media (max-width: 768px) {
    .ozel-icerik { flex-direction: column; text-align: center; gap: 25px; }
}

/* ==========================================
   HELEFT FULL MOBİL RESPONSIVE PAKETİ (GÜNCEL)
   ========================================== */

/* 1. MASAÜSTÜNDE MOBİL ELEMANLARI GİZLE */
.mobile-menu-btn, .mobile-auth-wrapper { 
    display: none; 
}

@media (max-width: 768px) {
    /* 2. NAVBAR DÜZENİ */
    nav { 
        justify-content: space-between; 
        padding: 10px 25px; 
        width: 95%; 
    }

    /* Masaüstü sağ üstteki alanı mobilde gizle */
    .desktop-only, #auth-area-desktop { 
        display: none !important; 
    } 

    /* Hamburger Menü Butonunu Göster */
    .mobile-menu-btn { 
        display: block; 
        font-size: 2rem; 
        color: var(--accent); 
        cursor: pointer; 
        z-index: 2001; 
    }

    /* 3. AÇILIR MENÜ (HAMBURGER MENÜ İÇİ) */
    .nav-links {
        display: none; 
        flex-direction: column; 
        position: absolute;
        top: 85px; 
        left: 50%; 
        transform: translateX(-50%);
        background: var(--bg-card); 
        width: 90%; 
        padding: 30px;
        border-radius: 30px; 
        border: 1px solid var(--border-soft); 
        gap: 20px; 
        z-index: 2000; 
        box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    }

    .nav-links.mobile-active { 
        display: flex; 
        animation: slideInMobile 0.3s ease-out; 
    }

    /* 4. MOBİL KULLANICI BİLGİSİ VE BUTON TASARIMI */
    .mobile-auth-wrapper {
        display: block; 
        margin-top: 15px; 
        padding-top: 20px;
        border-top: 1px solid rgba(251, 191, 36, 0.1); 
        width: 100%;
    }

    #auth-area-mobile {
        display: flex;
        flex-direction: column; 
        gap: 12px;
        align-items: center;
    }

    /* Giriş Yap / Kullanıcı Adı Butonu (Siyah Yazı & Dolu Altın) */
    #auth-area-mobile .nav-login-btn { 
        width: 100%; 
        text-align: center; 
        padding: 12px; 
        display: block;
        background: var(--accent) !important; /* Dolu altın */
        color: #000000 !important;           /* SİYAH YAZI BURADA */
        font-weight: 800 !important;
        border-radius: 50px;
        text-decoration: none !important;
        box-shadow: 0 4px 15px rgba(251, 191, 36, 0.2);
    }

    #auth-area-mobile .nav-logout-btn { 
        width: 100%; 
        text-align: center; 
        padding: 12px; 
        display: block;
        background: transparent !important;
        border: 1px solid var(--text-muted);
        color: var(--text-muted) !important;
        border-radius: 50px;
        text-decoration: none !important;
    }

    /* 5. DİĞER SAYFA ELEMANLARI */
    .hero-minimal h1 { font-size: 2.2rem; }
    .sayac-kapsayici { padding: 30px 15px; margin: 0 15px 40px; }
    .zaman-kutusu { min-width: 75px; padding: 15px; flex: 1; }
    .zaman-kutusu span { font-size: 1.6rem; }
    .kart { width: 100%; max-width: 400px; }
    .istatistik-grid { flex-direction: column; align-items: center; }
    .footer-icerik { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .sosyal-medya { justify-content: center; }
}

/* MENÜ AÇILIŞ ANİMASYONU */
@keyframes slideInMobile { 
    from { opacity: 0; transform: translate(-50%, -20px); } 
    to { opacity: 1; transform: translate(-50%, 0); } 
}

/* 6. BUTONLARIN ALTINDAKİ ÇİZGİYİ (::AFTER) HER YERDE KALDIR */
.nav-links a.nav-login-btn::after, 
.nav-links a.nav-logout-btn::after,
.nav-links a.nav-login-btn:hover::after,
.nav-links a.nav-logout-btn:hover::after {
    display: none !important; /* Alt çizgiyi tamamen iptal ettik */
    content: none !important;
}

/* Masaüstünde de butonun siyah kalmasını garantiye alalım */
#auth-area-desktop .nav-login-btn {
    color: #000000 !important;
    background: var(--accent);
}