.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 50px;
    background: rgba(15, 12, 41, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(106, 17, 203, 0.3);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 15px;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active-section {
    color: var(--accent);
    background: rgba(255, 45, 117, 0.1);
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover:after,
.nav-links a.active-section:after {
    width: 100%;
}

.nav-links a.clicked {
    color: var(--accent);
    background: rgba(255, 45, 117, 0.1);
}

.nav-links a.clicked:after {
    width: 100%;
}