.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: linear-gradient(to bottom, rgba(11, 11, 31, 1), rgba(11, 11, 31, 0.95), transparent);
    backdrop-filter: blur(10px);
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
} 

.logo-icon {
    position: relative;
    width: 5rem;
    height: 5rem;
    
    background: transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    animation: logoGlow 2s infinite;
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(linear-gradient(135deg, white,blue));
    }
    50% {
        filter: invert(5);
    }
}


.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    background: linear-gradient(to right, #c000ff, #0078ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 0.5rem;
    color: var(--text-gray);
    letter-spacing: 2px;
}

.nav-items {
    display: none;
    gap: 0.25rem;
}

@media (min-width: 768px) {
    .nav-items {
        display: flex;
    }
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9375rem;
}

.nav-item:hover {
    color: var(--text-white);
    transform: scale(1.05);
}

.nav-item.active {
    color: var(--text-white);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(192, 0, 255, 0.2), rgba(0, 120, 255, 0.2));
    border: 1px solid rgba(192, 0, 255, 0.3);
    border-radius: 8px;
    animation: activeTab 0.3s ease-out;
}

@keyframes activeTab {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.nav-item svg {
    position: relative;
    z-index: 1;
}

.nav-item span {
    position: relative;
    z-index: 1;
}

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

.notification-btn {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: var(--text-white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1) rotate(15deg);
}

.notification-badge {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    width: 0.5rem;
    height: 0.5rem;
    background: var(--primary-purple);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(to right, #c000ff, #0078ff);
    border: none;
    border-radius: 50px;
    color: var(--text-white);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9375rem;
}

.user-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(192, 0, 255, 0.5);
}


.user-avatar {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0,0,0,0.45);
}

.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 1.5rem;
    margin-top: 0.5rem;
    width: 20rem;
    max-height: 24rem;
    background: rgba(11, 11, 31, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    box-shadow: 0 0 50px rgba(192, 0, 255, 0.2);
    overflow: hidden;
    animation: dropdownSlide 0.2s ease-out;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.notification-header h3 {
    font-size: 1.125rem;
}

.close-btn {
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.notification-list {
    max-height: 20rem;
    overflow-y: auto;
    padding: 0.5rem;
}

.notification-item {
    padding: 0.75rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.notification-item.unread {
    background: rgba(255, 255, 255, 0.05);
}

.notification-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.notification-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--primary-purple);
    border-radius: 50%;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.notification-text {
    flex: 1;
}

.notification-message {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.25rem;
}

.notification-time {
    font-size: 0.75rem;
    color: var(--text-gray);
}

.mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(11, 11, 31, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 0.5rem 0.75rem;
    justify-content: space-around;
}

@media (min-width: 768px) {
    .mobile-nav {
        display: none !important;
    }
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.75rem;
}

.mobile-nav-item:active {
    transform: scale(0.9);
}

.mobile-nav-item.active {
    color: var(--primary-purple);
}

.back-to-top {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    z-index: 40;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #c000ff, #0078ff);
    border: none;
    border-radius: 50%;
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(192, 0, 255, 0.5);
    transition: all 0.3s ease;
    animation: fadeIn 0.3s ease-out;
}

@media (min-width: 768px) {
    .back-to-top {
        bottom: 2rem;
    }
}

.back-to-top:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(192, 0, 255, 0.8);
}

.logo-icon {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.3));
    transition: transform 0.30s ease, filter 0.30s ease;
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.08);
}

.nav-item.active {
    color: #ffffff;
    font-weight: 600;
}

.nav-item.active::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 40px;
    background: linear-gradient(90deg, #c000ff, #0078ff);
    transform: scaleX(1);
    opacity: 1;
    transition: transform 0.3s ease, opacity 0.3s;
}

.nav-item:hover::after {
    transform: scaleX(0.55);
    opacity: 1;
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

.notification-action-btn {
    background: none;
    border: none;
    color: #b0b0b0;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-action-btn:hover {
    background: rgba(192, 0, 255, 0.1);
    color: #c000ff;
}

.notification-footer {
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 8px;
}

.notification-footer-btn {
    flex: 1;
    padding: 8px 12px;
    background: rgba(192, 0, 255, 0.1);
    border: 1px solid rgba(192, 0, 255, 0.3);
    color: #c000ff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.notification-footer-btn:hover {
    background: rgba(192, 0, 255, 0.2);
    border-color: #c000ff;
}


