/* NAVBAR — TÜM SAYFALAR İÇİN TEK KAYNAK */

/* ── Duyuru Bandı ── */
.announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    background: #0a0a0a;
    border-bottom: 1px solid rgba(212, 160, 23, 0.2);
    height: 32px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.announcement-track {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    animation: tickerScroll 40s linear infinite;
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.announcement-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: #bbb;
    padding: 0 32px;
    letter-spacing: 0.02em;
}

.announcement-item .dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: rgba(212, 160, 23, 0.4); flex-shrink: 0;
}

.t-dot {
    width: 5px; height: 5px; border-radius: 50%;
    display: inline-block; margin-right: 8px;
    flex-shrink: 0; vertical-align: middle;
    position: relative; top: -1px;
}

.t-green { color: #22c55e; font-weight: 700; }
.t-gold  { color: #D4A017; font-weight: 700; }

.t-live {
    color: #ef4444;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.ticker-sep {
    display: inline-block;
    width: 3px; height: 3px; border-radius: 50%;
    background: rgba(255,255,255,0.15);
    margin: 0 28px; vertical-align: middle;
    position: relative; top: -1px; flex-shrink: 0;
}

@keyframes tickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.navbar {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    display: flex;
    align-items: center;
    padding: 14px 40px;
    position: fixed;
    top: 32px;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.8; }

.nav-logo-wrap { display: flex; flex-direction: column; line-height: 1.1; }

.nav-logo-name {
    font-size: 20px;
    font-weight: 900;
    color: #E8E8E8;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.nav-logo-accent { color: #D4A017; }

.nav-logo-sub {
    font-size: 9px;
    color: #666;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 400;
    margin-top: 1px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: nowrap;
}

.nav-link {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    border-radius: 4px;
}
.nav-link:hover { color: #fff; }

.nav-link:focus-visible, .nav-cta:focus-visible { outline: 2px solid #D4A017; outline-offset: 4px; }

.nav-link.active {
    color: #D4A017;
    border-bottom: 2px solid #D4A017;
    padding-bottom: 4px;
}

.nav-cta {
    background: linear-gradient(135deg, #D4A017, #F5C542);
    color: #000;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    margin-left: 8px;
    transition: filter 0.2s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}
.nav-cta:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* ── Hamburger ── */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 11px;
    flex-direction: column;
    gap: 5px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.2s;
}
.nav-hamburger:hover { background: rgba(255,255,255,0.06); }
.nav-hamburger:focus-visible { outline: 2px solid #D4A017; outline-offset: 2px; }

.nav-hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: #E8E8E8;
    border-radius: 1px;
    transition: all 0.3s;
}

.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 1024px) {
    .nav-logo-sub { display: none; }
    .nav-logo-name { font-size: 16px; }

    .nav-hamburger { display: flex; }

    .nav-right {
        display: flex;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        width: 100vw; height: 100vh;
        background: rgba(5, 5, 5, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transform: scale(0.97);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
        pointer-events: none;
    }

    .nav-right.open {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
        pointer-events: all;
    }

    .nav-link {
        padding: 16px 0;
        font-size: 22px;
        font-weight: 600;
        color: #aaa;
        letter-spacing: -0.01em;
        width: 100%;
        text-align: center;
        border-bottom: none;
        transition: color 0.2s;
    }
    .nav-link:hover { color: #fff; }
    .nav-link.active { color: #D4A017; border-bottom: none; padding-bottom: 16px; }

    .nav-cta {
        margin-left: 0;
        margin-top: 32px;
        padding: 14px 40px;
        font-size: 15px;
        font-weight: 700;
        border-radius: 50px;
        width: auto;
        min-width: 220px;
        justify-content: center;
        box-shadow: 0 4px 24px rgba(212,160,23,0.3);
    }

    .nav-hamburger { position: relative; z-index: 1001; }
}
