.navbar {
    background: var(--navbar-background);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: var(--shadow-sm);
    z-index: 50000;
}

.nav-container {
    max-width: 100%;
    margin: 0;
    padding: 0 1rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
}

.logo-text .icon {
    color: var(--logo-warning);
    margin-right: 0.5rem;
}

.logo-text .easy,
.logo-text .elastic {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.02em;
}

[data-theme="dark"] .logo-text .easy,
[data-theme="dark"] .logo-text .elastic {
    color: var(--primary-color);
}


.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    align-items: center;
    width: 100%;
}

.nav-links li:first-child {
    margin-right: 2rem;
}

.nav-links li {
    margin-right: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
    background: var(--button-hover-bg);
}

.nav-links a.active {
    color: var(--primary-color);
    background: var(--info-bg);
    font-weight: 600;
}

.github-link {
    background: var(--card-background);
    color: var(--text-secondary);
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    border: 1px solid var(--border-light);
}

.github-link i {
    font-size: 1.125rem;
    color: currentColor;
}

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

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.theme-toggle:hover {
    background: var(--info-bg);
    color: var(--primary-color);
}

.theme-toggle i {
    font-size: 1.125rem;
    position: absolute;
    transition: all 0.2s;
}

.theme-toggle .light-icon {
    opacity: 0;
    transform: rotate(-90deg);
}

.theme-toggle .dark-icon {
    opacity: 1;
    transform: rotate(0);
}

[data-theme="dark"] .theme-toggle .light-icon {
    opacity: 1;
    transform: rotate(0);
}

[data-theme="dark"] .theme-toggle .dark-icon {
    opacity: 0;
    transform: rotate(90deg);
}

.language-selector {
    position: relative;
    display: inline-block;
}

.language-toggle {
    background: var(--card-background);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    position: relative;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
    gap: 8px;
    min-width: 100px;
    font-size: 13px;
    font-weight: 500;
}

.language-toggle:hover {
    background: var(--info-bg);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: var(--primary-color);
}

.language-toggle .current-lang {
    flex: 1;
    text-align: left;
    white-space: nowrap;
}

.language-toggle .dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.language-toggle:hover .dropdown-arrow {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.language-selector.show .language-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    color: var(--text-secondary);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.language-option:hover {
    background: var(--info-bg);
    color: var(--primary-color);
}

.language-option.active {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.language-option.active:hover {
    background: var(--primary-hover);
}

.language-option .lang-name {
    flex: 1;
}

.language-option .lang-code {
    font-size: 11px;
    opacity: 0.7;
    font-weight: 400;
    text-transform: uppercase;
}

.language-option.active .lang-code {
    opacity: 0.9;
}

.language-selector .ripple {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-color);
    transform: scale(0);
    animation: ripple-animation 0.4s ease-out;
    pointer-events: none;
    opacity: 0.3;
}

@keyframes ripple-animation {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
} 