/* ===================================================
   GuardHesap Modern Header & Global Nav CSS
   =================================================== */

/* Üst Canlı Akış Çubuğu */
.live-ticker-bar {
    background: rgba(0, 240, 255, 0.03);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    padding: 8px 0;
    font-size: 13px;
    color: #94a3b8;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 1000;
}
.ticker-track {
    display: inline-flex;
    align-items: center;
    gap: 45px;
    animation: tickerAnim 38s linear infinite;
}
.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ticker-pulse {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    display: inline-block;
}
@keyframes tickerAnim {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Ana Header */
.main-header {
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 14px 24px;
    transition: all 0.3s ease;
}

.header-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    transition: transform 0.25s ease;
}
.logo:hover {
    transform: scale(1.02);
}
.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00f0ff 0%, #7928ca 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #040810;
    font-size: 19px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.45);
}
.logo span {
    letter-spacing: -0.5px;
}
.logo b {
    color: #00f0ff;
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

/* Navigasyon Butonları */
.nav-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 10px;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.25s ease;
}
.nav-btn:hover {
    color: #00f0ff;
    border-color: rgba(0, 240, 255, 0.35);
    background: rgba(0, 240, 255, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.15);
}
.nav-btn.highlight {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.12), rgba(121, 40, 202, 0.15));
    border-color: rgba(0, 240, 255, 0.4);
    color: #00f0ff;
}
.nav-btn.highlight:hover {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.25), rgba(121, 40, 202, 0.3));
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
}

/* Auth Alanı */
.auth-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 10px;
    color: #10b981;
    font-weight: 700;
    font-size: 14px;
}
.profile-badge i {
    font-size: 17px;
}

.logout-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.25s ease;
}
.logout-btn:hover {
    background: #ef4444;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 10px;
    color: #f1f5f9;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.25s;
}
.btn-login:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.btn-register {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 10px;
    color: #040810;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    background: linear-gradient(135deg, #00f0ff 0%, #7928ca 100%);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
    transition: all 0.25s;
}
.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
}

/* Mobil Uyumluluk */
@media (max-width: 820px) {
    .header-inner {
        flex-direction: column;
        padding: 5px 0;
    }
    .nav-buttons {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    .auth-area {
        width: 100%;
        justify-content: center;
        margin-top: 5px;
    }
}
