.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(23, 8, 1, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 174, 57, 0.1);
    border-radius: 50px;
    padding: 8px 24px;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 10px 25px -5px rgba(0, 0, 0, 0.3),
        0 10px 10px -5px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 174, 57, 0.1);
}

.navbar:hover {
    background: rgba(23, 8, 1, 0.85);
    box-shadow: 
        0 20px 40px -5px rgba(0, 0, 0, 0.4),
        0 10px 10px -5px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 174, 57, 0.15);
}

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

.navbar-logo {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-logo img {
    height: 32px;
    margin-right: 12px;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link:hover {
    color: #ffffff;
    opacity: 1;
    background: rgba(255, 174, 57, 0.1);
}

.nav-link.active {
    color: #ffffff;
    opacity: 1;
    background: rgba(255, 174, 57, 0.2);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffc801, #ff6d01);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.nav-cta {
    background: linear-gradient(93.19deg, #ffc801, #ff6d01);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 148, 1, 0.3);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 148, 1, 0.4);
}



.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: white;
    z-index: 1001;
}

.mobile-menu-toggle svg {
    width: 28px;
    height: 28px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(23, 8, 1, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 174, 57, 0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    z-index: 999;
}

.mobile-menu.active {
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
}

.mobile-nav-link {
    padding: 1rem 2rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background: rgba(255, 174, 57, 0.1);
    border-left-color: #FFAE39;
    color: #FFAE39;
}

.mobile-nav-link.active {
    background: rgba(255, 174, 57, 0.15);
    border-left-color: #FFC401;
    color: #FFC401;
}



@media (max-width: 768px) {
    .navbar {
        top: 10px;
        left: 10px;
        right: 10px;
        transform: none;
        border-radius: 20px;
        padding: 12px 20px;
    }
    
    .navbar:hover {
        transform: none;
    }
    
    .navbar-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .navbar-logo {
        font-size: 1.25rem;
    }
    
    .navbar-logo img {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 12px 16px;
        top: 10px;
        left: 10px;
        right: 10px;
    }
    
    .navbar-content {
        gap: 12px;
    }
    
    .navbar-logo {
        font-size: 1.1rem;
    }
    
    .navbar-logo img {
        width: 28px;
        height: 28px;
    }
    
    .mobile-nav-link {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

body.menu-open {
    overflow: hidden;
}

.hamburger-icon,
.close-icon {
    transition: opacity 0.2s ease;
}

.mobile-menu-toggle .hidden {
    display: none;
}