/* New Top Nav Styles */
.top-nav-glass {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 65px;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(11, 12, 16, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.back-link {
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.back-link:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.brand-text {
    font-size: 1.2rem;
    font-weight: 800;
    background: linear-gradient(45deg, #2196F3, #9C27B0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
}

.nav-link {
    color: #a0a0a0;
    text-decoration: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link:active {
    transform: scale(0.95);
}

.nav-link.profile-link {
    background: linear-gradient(45deg, rgba(33, 150, 243, 0.2), rgba(156, 39, 176, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link.profile-link:hover {
    background: linear-gradient(45deg, rgba(33, 150, 243, 0.4), rgba(156, 39, 176, 0.4));
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
}

/* Add shimmer effect to nav items on hover */
.nav-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: none;
}

.nav-link:hover::after {
    left: 100%;
    transition: left 0.4s ease-in-out;
}

@media (max-width: 480px) {
    .top-nav-glass {
        padding: 0 1rem;
    }
    .brand-text {
        font-size: 1rem;
        display: none; /* Hide brand text on very small screens to save space */
    }
    .nav-brand {
        gap: 0.5rem;
    }
    .nav-links {
        gap: 0.2rem;
    }
    .nav-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}
