.navbar {
    height: 75px;
    background: #171717;
    border: 1px solid #333333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.logo {
    color: #ff4d8d;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar-content {
    display: flex;
    align-items: center;
    gap: 35px;
}

.navbar-spacer {
    height: 75px;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: #d1d5db;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ff4d8d;
    border-color: #ff4d8d;
}

.menu-icon {
    display: none;
    cursor: pointer;
}

.menu-icon i {
    color: #ff4d8d;
    font-size: 1.8rem;
}

.close-icon {
    display: none;
    color: #ff4d8d;
    font-size: 2rem;
    cursor: pointer;
}

/* Medium Screens (Tablets) */
@media (max-width: 1024px) {
    .navbar {
        padding: 0 20px;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .nav-links a {
        font-size: 0.95rem;
    }
    
    .nav-links .nav-btn {
        padding: 6px 14px;
        font-size: 0.85rem;
    }
}

/* Mobile Screens */
@media (max-width: 768px) {
    .menu-icon {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -280px;
        width: 250px;
        height: 100vh;
        background: #171717;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 30px;
        gap: 30px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
        z-index: 1050;
    }

    .nav-links.active {
        right: 0;
    }

    .close-icon {
        display: block;
    }
}

/* User Dropdown */
.user-menu-container {
    position: relative;
    display: flex;
    align-items: center;
}

.user-icon {
    font-size: 1.8rem;
    color: #ff4d8d;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.user-icon:hover {
    transform: scale(1.1);
}

.user-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    background: #171717;
    border: 1px solid #333333;
    border-radius: 12px;
    width: 180px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 12px 20px;
    color: #f5f5f5;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.3s ease;
}

.dropdown-item i {
    color: #ff4d8d;
    font-size: 1.1rem;
    width: 20px;
}

.dropdown-item:hover {
    background: rgba(255, 77, 141, 0.1);
}

/* Fix dropdown on mobile sidebar */
@media (max-width: 768px) {
    .user-dropdown {
        width: 140px;
    }
}