:root {
    --nav-bg: #0a0f1c;
    --nav-border: rgba(56, 189, 248, 0.2);
    --accent: #37BAF5;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --dropdown-bg: #1e293b;
    --header-height-desktop: 80px;
    --header-height-mobile: 70px;
}

/* --- GLOBALER HEADER --- */
.efa-global-nav {
    background: var(--nav-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--nav-border);
    position: fixed; 
    top: 0; left: 0; right: 0;
    height: var(--header-height-desktop);
    z-index: 10000;
    display: flex;
    align-items: center;
}

/* FIX: Platzhalter für den Content schaffen */
body {
    padding-top: var(--header-height-desktop);
}

.efa-nav-bar-unique {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Branding */
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { height: 48px; width: 48px; background: #fff; padding: 4px; border-radius: 6px; object-fit: contain; }
.brand-text { color: var(--text-main); font-weight: 850; font-size: 1.2rem; }
.gamecenter-brand { color: var(--accent); }

/* --- DESKTOP NAVIGATION --- */
.nav-links {
    list-style: none;
    display: flex;
    gap: 8px;
    margin: 0; padding: 0;
}

.nav-item {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 10px 15px;
    text-transform: uppercase;
    transition: 0.2s ease;
    cursor: pointer;
}

.nav-item:hover { color: var(--accent); }

/* Dropdown Desktop */
.dropdown { position: relative; }
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%; left: 50%;
    transform: translateX(-50%);
    background: var(--dropdown-bg);
    min-width: 220px;
    border: 1px solid var(--nav-border);
    border-radius: 8px;
    padding: 10px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

@media (min-width: 1451px) {
    .dropdown:hover .dropdown-content { display: block; }
}

.dropdown-content a {
    display: block;
    padding: 10px 20px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
}
.dropdown-content a:hover { background: rgba(55, 186, 245, 0.1); color: var(--accent); }

/* --- MOBILE NAVIGATION (Slide-In) --- */
@media (max-width: 1450px) {
    .efa-global-nav { height: var(--header-height-mobile); }
    
    body { padding-top: var(--header-height-mobile); }

    .nav-links {
        position: fixed;
        top: 0; right: -100%; 
        width: 320px;
        height: 100vh;
        background: var(--nav-bg);
        flex-direction: column;
        justify-content: flex-start;
        padding: 90px 25px 30px 25px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--nav-border);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        overflow-y: auto;
    }

    .nav-links.active { right: 0; }

    .nav-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 18px 0;
        font-size: 1.1rem;
        color: #fff;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    /* Dropdown Mobil Anpassung */
    .dropdown-content {
        position: static;
        display: none;
        transform: none;
        background: rgba(255,255,255,0.03);
        border: none;
        width: 100%;
        box-shadow: none;
    }
    .dropdown.active .dropdown-content { display: block; }
    .dropdown-content a { 
        padding: 15px 25px; 
        color: var(--text-muted); 
        border-bottom: 1px solid rgba(255,255,255,0.02);
    }
}

/* Burger Button */
.mobile-nav-toggle {
    display: none;
    background: none; border: none; cursor: pointer;
    padding: 10px; z-index: 11000;
}

@media (max-width: 1450px) {
    .mobile-nav-toggle { display: block; }
}

.burger-bar {
    display: block; width: 25px; height: 2px; margin: 6px 0;
    background-color: #fff; transition: 0.3s;
}

/* Burger Animation */
.mobile-nav-toggle.active .burger-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-nav-toggle.active .burger-bar:nth-child(2) { opacity: 0; }
.mobile-nav-toggle.active .burger-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Body Lock */
body.menu-open { overflow: hidden; }