/* --- TOP NAVBAR --- */
#main-navbar {
    position: fixed; top: 0; left: 0; width: 100%; height: 65px;
    /* GRAU DURCHSICHTIG - REAGIERT AUF HINTERGRUNDFARBEN */
    background-color: rgba(30, 31, 41, 0.5);
    background-image: 
        radial-gradient(circle, rgba(255,255,255,0.4) 1px, transparent 1px),
        radial-gradient(circle, rgba(255,255,255,0.3) 1px, transparent 1px);
    background-size: 40px 40px, 60px 60px;
    background-position: 0 0, 20px 20px;
    
    /* ERZEUGT DEN DURCHSCHEIN-EFFEKT */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    /* RAND IN DEZENTEM GRAU */
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    display: flex; align-items: center; justify-content: space-between; padding: 0 30px;
    z-index: 10000;
}

.nav-left { display: flex; align-items: center; position: relative; }
.nav-right { display: flex; align-items: center; gap: 20px; }

.nav-site-name {
    font-family: 'Luckiest Guy', sans-serif; font-size: 1.6rem;
    color: white; letter-spacing: 1px; text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.nav-chevron-btn {
    background: none; border: none; color: #fbbf24;
    font-size: 1.3rem; margin-left: 12px; cursor: pointer;
    transition: transform 0.3s;
}
.nav-chevron-btn.active { transform: rotate(180deg); }

/* Rechte Links Style */
.nav-link {
    color: rgba(255, 255, 255, 0.9); text-decoration: none; font-weight: 800;
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px;
    transition: all 0.3s; padding: 8px 12px; border-radius: 6px;
}
.nav-link:hover { color: white; background: rgba(255, 255, 255, 0.1); }

/* LOGOUT BUTTON FARBE */
.auth-link { color: #fbbf24 !important; font-weight: 900; }

/* --- DROPDOWN MENÜ --- */
.nav-dropdown-content {
    display: none; position: absolute; top: 45px; left: 0;
    background: rgba(15, 23, 42, 0.98); min-width: 240px;
    border-radius: 15px; border: 1.5px solid rgba(251, 191, 36, 0.5);
    padding: 15px; flex-direction: column; gap: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}
.nav-dropdown-content.show { display: flex; animation: navFadeIn 0.2s ease-out; }

.nav-dropdown-content a {
    text-decoration: none; color: white; font-weight: 900; font-size: 0.85rem;
    padding: 14px; border-radius: 10px; text-align: center;
    text-transform: uppercase; border: 2px solid transparent;
}

.menu-shop { background: rgba(59, 130, 246, 0.2); border-color: #3b82f6 !important; }
.menu-locker { background: linear-gradient(rgba(13, 17, 34, 0.8), rgba(13, 17, 34, 0.8)) padding-box, linear-gradient(45deg, #7c3aed, #c084fc, #7c3aed) border-box !important; }
.menu-wishlist { background: linear-gradient(rgba(13, 17, 34, 0.8), rgba(13, 17, 34, 0.8)) padding-box, linear-gradient(45deg, #d97706, #fbbf24, #d97706) border-box !important; }

/* --- GALAXY AUTH MODAL --- */
.auth-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.8); backdrop-filter: blur(15px);
    z-index: 30000; display: none; align-items: center; justify-content: center;
}

.auth-content {
    background: linear-gradient(rgba(13, 17, 34, 0.95), rgba(13, 17, 34, 0.95)) padding-box,
                linear-gradient(45deg, #fbbf24, #3b82f6, #a855f7, #fbbf24) border-box;
    border: 2px solid transparent; border-radius: 24px; padding: 40px; 
    width: 420px; max-width: 90%; position: relative; 
    box-shadow: 0 0 60px rgba(59, 130, 246, 0.3); text-align: center; color: white;
}

#auth-title {
    font-family: 'Luckiest Guy', sans-serif; font-size: 2.2rem;
    color: #fbbf24; text-transform: uppercase; margin-bottom: 30px; letter-spacing: 2px;
}

.auth-input-group { display: flex; flex-direction: column; gap: 15px; margin-bottom: 30px; }

.auth-input-bar {
    background: rgba(255, 255, 255, 0.05); border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px; padding: 16px; color: white; font-weight: 800; font-size: 0.9rem;
    outline: none; transition: all 0.3s ease; text-transform: uppercase;
}
.auth-input-bar:focus {
    border-color: #3b82f6; background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

#auth-submit-btn {
    width: 100%; padding: 16px; border-radius: 14px; border: none;
    background: linear-gradient(45deg, #3b82f6, #a855f7);
    color: white; font-weight: 900; font-size: 1.2rem;
    text-transform: uppercase; cursor: pointer; transition: all 0.3s;
}
#auth-submit-btn:hover { transform: scale(1.02); filter: brightness(1.1); }

.auth-close { position: absolute; top: 15px; right: 20px; font-size: 2rem; color: #94a3b8; cursor: pointer; }
.auth-error { color: #ef4444; margin-top: 15px; font-weight: 900; font-size: 0.85rem; }

/* --- TOAST ANZEIGE --- */
.toast-galaxy {
    position: fixed; top: 80px; left: 50%; transform: translateX(-50%);
    z-index: 20000; min-width: 320px;
    background: rgba(13, 17, 34, 0.95); backdrop-filter: blur(15px);
    border: 1.5px solid rgba(251, 191, 36, 0.6); border-radius: 12px;
    padding: 12px 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    animation: slideDownToast 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}
.toast-content p { color: white; font-weight: 700; font-size: 0.9rem; margin: 0; text-align: center; }
.toast-galaxy.fade-out { opacity: 0; transform: translateX(-50%) translateY(-20px); transition: all 0.5s ease; }

/* --- ZENTRIERTER REMOVE BUTTON --- */
.remove-btn-centered {
    width: 85%;
    background: #ef4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 7px 0;
    border-radius: 6px;
    text-transform: uppercase;
    text-align: center;
    border: none;
    cursor: pointer;
    margin-bottom: 10px;
    transition: transform 0.2s;
}
.remove-btn-centered:hover { background: #dc2626; transform: scale(1.05); }

@keyframes slideDownToast { from { opacity: 0; transform: translateX(-50%) translateY(-40px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
@keyframes navFadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* --- MOBILE ANPASSUNGEN --- */
@media (max-width: 1024px) {
    #main-navbar { padding: 0 15px; height: 60px; }
    .nav-site-name { font-size: 1rem; }
    .nav-dropdown-content { left: 0; width: calc(100vw - 30px); top: 50px; }
    .toast-galaxy { top: 70px; }
    .nav-right { display: none !important; }
}