/* ===== NAVBAR 1:1 VON COCO_GAME.HTML ===== */
/* Diese Datei MUSS nach allen anderen CSS-Dateien geladen werden! */

/* Navbar Container */
.navbar {
    background: rgba(10, 10, 20, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(6, 182, 212, 0.4) !important;
    box-shadow: 0 4px 30px rgba(6, 182, 212, 0.15) !important;
    padding: 0 !important;
    min-height: 70px !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
}

/* Nav Wrapper */
.nav-wrapper {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1rem 0 !important;
    gap: 2rem !important;
}

/* Logo */
.logo {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
    color: #ffffff !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    margin-right: 2rem !important;
    cursor: pointer !important;
}

.logo:hover {
    transform: scale(1.05) !important;
    color: #ffffff !important;
}

.logo-image {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

.logo:hover .logo-image {
    transform: rotate(360deg) !important;
}

/* Nav Menu */
.nav-menu {
    display: flex !important;
    list-style: none !important;
    gap: 1.5rem !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 !important;
}

.nav-menu li {
    margin: 0 !important;
    padding: 0 !important;
}

.nav-menu a {
    color: rgba(148, 163, 184, 0.9) !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    padding: 0.5rem 0 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    display: inline-block !important;
}

.nav-menu a:hover {
    color: rgba(6, 182, 212, 1) !important;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5) !important;
}

.nav-menu a::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 0 !important;
    height: 2px !important;
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.8) 0%, rgba(6, 182, 212, 1) 100%) !important;
    transition: width 0.3s ease !important;
}

.nav-menu a:hover::after {
    width: 100% !important;
}

/* AI Hub Link - WEIßE SCHRIFT & NOCH BREITER */
.ai-hub-link {
    padding: 10px 32px !important;
    border-radius: 20px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.6) 0%, rgba(6, 182, 212, 0.8) 100%) !important;
    border: 1px solid rgba(6, 182, 212, 0.6) !important;
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.6), 
                0 0 50px rgba(6, 182, 212, 0.4),
                0 0 70px rgba(6, 182, 212, 0.2) !important;
    animation: aiHubGlow 3s ease-in-out infinite !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    min-width: 120px !important;
    text-align: center !important;
}

.ai-hub-link * {
    color: #ffffff !important;
}

.ai-hub-link::after {
    display: none !important;
    content: none !important;
}

.ai-hub-link:hover {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.7) 0%, rgba(6, 182, 212, 1) 100%) !important;
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.8), 
                0 0 70px rgba(6, 182, 212, 0.6),
                0 0 100px rgba(6, 182, 212, 0.4) !important;
    transform: translateY(-2px) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.ai-hub-link:hover * {
    color: #ffffff !important;
}

/* AI Hub Link - Active State (wenn auf AI Hub Seite) */
.ai-hub-link.active {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.8) 0%, rgba(6, 182, 212, 1) 100%) !important;
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.8), 
                0 0 60px rgba(6, 182, 212, 0.6),
                0 0 80px rgba(6, 182, 212, 0.4) !important;
}

/* Coco Game Link - WEIßE SCHRIFT & NOCH BREITER */
.coco-game-link {
    padding: 10px 32px !important;
    border-radius: 20px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #10b981, #fbbf24) !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3) !important;
    border: none !important;
    animation: cocoGameGlow 3s ease-in-out infinite !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    min-width: 140px !important;
    text-align: center !important;
}

.coco-game-link * {
    color: #ffffff !important;
}

.coco-game-link::after {
    display: none !important;
    content: none !important;
}

.coco-game-link:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.5) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.coco-game-link:hover * {
    color: #ffffff !important;
}

/* Nav Buttons - WICHTIG: MUSS SICHTBAR SEIN! */
.nav-buttons {
    display: flex !important;
    gap: 1rem !important;
    align-items: center !important;
}

/* Wallet Button (AI Hub Seite) */
#walletBtn,
.nav-buttons button.btn-primary {
    padding: 10px 24px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    white-space: nowrap !important;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.6) 0%, rgba(6, 182, 212, 0.8) 100%) !important;
    border: 1px solid rgba(6, 182, 212, 0.5) !important;
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.5),
                0 0 45px rgba(6, 182, 212, 0.3),
                0 0 65px rgba(6, 182, 212, 0.2) !important;
    animation: buyButtonGlow 3s ease-in-out infinite !important;
    color: white !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

#walletBtn:hover,
.nav-buttons button.btn-primary:hover {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.7) 0%, rgba(6, 182, 212, 1) 100%) !important;
    box-shadow: 0 0 35px rgba(6, 182, 212, 0.8),
                0 0 65px rgba(6, 182, 212, 0.6),
                0 0 95px rgba(6, 182, 212, 0.4) !important;
    transform: translateY(-2px) !important;
    color: white !important;
}

/* Buy Button (Index Seite) */
.nav-buttons .btn-primary:not(button),
.nav-buttons a.btn-primary {
    padding: 10px 24px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    white-space: nowrap !important;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.6) 0%, rgba(6, 182, 212, 0.8) 100%) !important;
    border: 1px solid rgba(6, 182, 212, 0.5) !important;
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.5),
                0 0 45px rgba(6, 182, 212, 0.3),
                0 0 65px rgba(6, 182, 212, 0.2) !important;
    animation: buyButtonGlow 3s ease-in-out infinite !important;
    color: white !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
}

.nav-buttons .btn-primary:not(button):hover,
.nav-buttons a.btn-primary:hover {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.7) 0%, rgba(6, 182, 212, 1) 100%) !important;
    box-shadow: 0 0 35px rgba(6, 182, 212, 0.8),
                0 0 65px rgba(6, 182, 212, 0.6),
                0 0 95px rgba(6, 182, 212, 0.4) !important;
    transform: translateY(-2px) !important;
    color: white !important;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none !important;
    background: none !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 1.5rem !important;
    cursor: pointer !important;
    padding: 0.5rem !important;
    transition: all 0.3s ease !important;
}

.mobile-menu-toggle:hover {
    color: rgba(6, 182, 212, 1) !important;
}

/* Animations */
@keyframes aiHubGlow {
    0%, 100% {
        box-shadow: 0 0 30px rgba(6, 182, 212, 0.6), 
                    0 0 50px rgba(6, 182, 212, 0.4),
                    0 0 70px rgba(6, 182, 212, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(6, 182, 212, 0.8), 
                    0 0 65px rgba(6, 182, 212, 0.6),
                    0 0 90px rgba(6, 182, 212, 0.4);
    }
}

@keyframes cocoGameGlow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    }
    50% {
        box-shadow: 0 6px 25px rgba(16, 185, 129, 0.5);
    }
}

@keyframes buyButtonGlow {
    0%, 100% {
        box-shadow: 0 0 25px rgba(6, 182, 212, 0.5),
                    0 0 45px rgba(6, 182, 212, 0.3),
                    0 0 65px rgba(6, 182, 212, 0.2);
    }
    50% {
        box-shadow: 0 0 35px rgba(6, 182, 212, 0.7),
                    0 0 60px rgba(6, 182, 212, 0.5),
                    0 0 85px rgba(6, 182, 212, 0.3);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none !important;
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(10, 10, 20, 0.98) !important;
        flex-direction: column !important;
        padding: 2rem !important;
        gap: 1.5rem !important;
        border-bottom: 1px solid rgba(6, 182, 212, 0.3) !important;
        box-shadow: 0 8px 30px rgba(6, 182, 212, 0.2) !important;
    }
    
    .nav-menu.active {
        display: flex !important;
    }
    
    .nav-menu li {
        width: 100% !important;
        text-align: center !important;
    }
    
    .nav-menu a {
        font-size: 1.1rem !important;
        padding: 1rem !important;
        display: block !important;
    }
    
    .mobile-menu-toggle {
        display: block !important;
    }
    
    .nav-buttons {
        display: none !important;
    }
    
    .logo {
        margin-right: 0 !important;
    }
}
