.navbar {
    background: rgba(34, 35, 39, 0.98);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid rgba(228, 199, 111, 0.15);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(228, 199, 111, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Left: Logo & Name */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: translateY(-2px);
}

.logo-circle {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, #4a2f7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--pearl-white);
    box-shadow: 0 4px 12px rgba(45, 27, 87, 0.5);
    transition: all 0.3s ease;
    border: 2px solid rgba(228, 199, 111, 0.2);
}

.nav-logo:hover .logo-circle {
    box-shadow: 0 6px 16px rgba(45, 27, 87, 0.7);
    transform: scale(1.05);
    border-color: rgba(228, 199, 111, 0.4);
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-gold), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

/* Center: Menu Tabs */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-menu a {
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
    display: block;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-gold);
    transform: translateY(-2px);
}

.nav-menu a:hover::before {
    width: 100%;
}

.nav-menu a:hover::after {
    opacity: 0.15;
}

.nav-menu a.active {
    color: var(--accent-gold);
    font-weight: 700;
}

.nav-menu a.active::before {
    width: 100%;
    background: linear-gradient(90deg, var(--accent-gold), var(--secondary));
}

/* Right: Search & Login */
.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--soft-carbon);
    border: 1px solid rgba(228, 199, 111, 0.2);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.search-container:hover {
    border-color: rgba(228, 199, 111, 0.4);
    background: rgba(34, 35, 39, 0.9);
}

.search-container:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 27, 87, 0.1);
}

.search-input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--light);
    font-size: 0.95rem;
    width: 180px;
    padding-right: 0.5rem;
    transition: width 0.3s ease;
}

.search-input::placeholder {
    color: var(--accent-silver);
}

.search-container:focus-within .search-input {
    width: 220px;
}

.search-icon {
    background: transparent;
    border: none;
    color: var(--accent-silver);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.search-icon:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--pearl-white);
    border: 1px solid rgba(228, 199, 111, 0.3);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(73, 42, 141, 0.5);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(228, 199, 111, 0.3), transparent);
    transition: left 0.5s ease;
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(228, 199, 111, 0.6);
    border-color: var(--accent-gold);
}

.login-btn:active {
    transform: translateY(0);
}

.login-btn svg {
    transition: transform 0.3s ease;
}

.login-btn:hover svg {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 2rem;
    }
    
    .search-input {
        width: 120px;
    }
    
    .search-container:focus-within .search-input {
        width: 160px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: static;
        transform: none;
        gap: 1rem;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .search-container {
        display: none;
    }
    
    .login-btn span {
        display: none;
    }
    
    .login-btn {
        padding: 0.6rem;
        width: 40px;
        height: 40px;
        justify-content: center;
    }
}
