/* Responsive hamburger navbar */
.navbar {
    position: relative;
}

.navbar .container {
    position: relative;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

.nav-links-mobile {
    display: none;
}

@media (max-width: 768px) {
    .navbar-toggle {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .nav-links-mobile {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card);
        border-top: 1px solid var(--border);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        padding: 10px;
    }

    .nav-links-mobile.active {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .nav-links-mobile .nav-link,
    .nav-links-mobile .btn {
        width: 100%;
        text-align: left;
        justify-content: flex-start;
    }

    .nav-balance {
        width: 100%;
        text-align: center;
        padding: 12px;
        background: rgba(0, 212, 255, 0.1);
        border-radius: 4px;
        margin: 5px 0;
    }
}

/* Better navbar styling */
.navbar {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(10, 10, 30, 0.95));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.2s;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-link {
    position: relative;
    padding: 8px 12px;
    transition: all 0.3s;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transform: translateX(-50%);
    transition: width 0.3s;
}

.nav-link:hover::before {
    width: 80%;
}

.nav-balance {
    background: rgba(0, 212, 255, 0.15);
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
    border: 1px solid rgba(0, 212, 255, 0.3);
}