/* Шапка и меню */
.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background: rgba(18, 18, 24, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    font-family: inherit;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}

.logo-icon {
    font-size: 1.2rem;
}

.main-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.main-nav a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #fff;
}

.main-nav a.disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: default;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Переключатель языков */
.lang-switcher {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    padding: 2px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: #a0aec0;
    padding: 4px 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    color: #fff;
}

.lang-btn.active {
    background: #3b82f6;
    color: #fff;
}

/* Кнопка входа */
.btn-banner-auth {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s ease;
    display: inline-block;
}

.btn-banner-auth:hover {
    opacity: 0.9;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }
    .main-nav {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
}