/* 导航栏样式 */
.navbar {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #404040;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.8rem 0;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.navbar-brand .brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
}

.brand-icon {
    margin-right: 0.5rem;
    font-size: 1.8rem;
    animation: mystical 4s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(147, 112, 219, 0.6));
}

@keyframes mystical {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 8px rgba(147, 112, 219, 0.6));
    }
    25% {
        transform: scale(1.1) rotate(5deg);
        filter: drop-shadow(0 0 12px rgba(75, 0, 130, 0.8));
    }
    50% {
        transform: scale(1.05) rotate(0deg);
        filter: drop-shadow(0 0 15px rgba(138, 43, 226, 0.9));
    }
    75% {
        transform: scale(1.1) rotate(-5deg);
        filter: drop-shadow(0 0 12px rgba(75, 0, 130, 0.8));
    }
}

.brand-text {
    color: #2E8B57;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-nav {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: #a0a0a0;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(46, 139, 87, 0.1);
    text-decoration: none;
}

.nav-link.active {
    color: #2E8B57;
    background: rgba(46, 139, 87, 0.2);
}

.btn-connect-wallet {
    background: linear-gradient(135deg, #2E8B57, #1E6B3F);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-connect-wallet:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .navbar-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
    }
    
    .navbar-menu.active {
        left: 0;
    }
    
    .navbar-nav {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }
}
