/* ===== VARIABLES ===== */
:root {
    --primary-color: #dc2626;
    --primary-dark: #b91c1c;
    --primary-light: #ef4444;
    --secondary-color: #1e293b;
    --secondary-dark: #0f172a;
    --secondary-light: #334155;
    --accent-color: #f59e0b;
    --accent-dark: #d97706;
    --accent-light: #fbbf24;
    
    --gradient-primary: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    --gradient-secondary: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    
    --background-color: #ffffff;
    --light-bg: #f8fafc;
    --dark-bg: #0f172a;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --text-white: #ffffff;
    --border-color: #e2e8f0;

    --heading-font: 'Exo 2', sans-serif;
    --text-font: 'Roboto', sans-serif;

    --border-radius: 12px;
    --border-radius-lg: 20px;
    --box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--text-font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--background-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== НАВИГАЦИЯ ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--box-shadow);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
}

.logo-icon {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
}

.admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.1);
    transition: transform 8s ease;
}

.swiper-slide-active .slide-background {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.8) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    color: var(--text-white);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    transform: translateY(50px);
    opacity: 0;
    transition: all 1s ease;
}

.swiper-slide-active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-title {
    font-family: var(--heading-font);
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    opacity: 0.9;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gradient-accent);
    color: var(--text-white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-lg);
    gap: 1rem;
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--text-white);
    position: relative;
    animation: scrollBounce 2s infinite;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--text-white);
    border-bottom: 2px solid var(--text-white);
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--heading-font);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SPORTS SECTION ===== */
.sports {
    padding: 8rem 0;
    background: var(--light-bg);
    position: relative;
}

.sports::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.02"><polygon fill="%23dc2626" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.sport-card {
    background: var(--background-color);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.sport-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: 0;
}

.sport-card:hover::before {
    left: 0;
}

.sport-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

.sport-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.sport-card:hover .sport-icon {
    color: white;
}

.sport-name {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.sport-card:hover .sport-name {
    color: white;
}

.sport-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.sport-card:hover .sport-description {
    color: rgba(255, 255, 255, 0.9);
}

.sport-hover {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.sport-card:hover .sport-hover {
    opacity: 1;
    transform: translateY(0);
}

.sport-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 2px solid white;
    border-radius: 25px;
    transition: var(--transition);
}

.sport-link:hover {
    background: white;
    color: var(--primary-color);
}

/* ===== STATS SECTION ===== */
.stats {
    padding: 6rem 0;
    background: var(--gradient-secondary);
    color: var(--text-white);
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.05"><circle fill="%23ffffff" cx="500" cy="500" r="400"/></svg>');
    background-size: cover;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.stat-number {
    font-family: var(--heading-font);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* ===== NEWS SECTION ===== */
.news {
    padding: 8rem 0;
    background: var(--background-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.news-card {
    background: var(--background-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.news-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: var(--transition);
}

.news-card:hover .news-overlay {
    opacity: 1;
}

.news-content {
    padding: 2rem;
}

.news-date {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.news-title {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-excerpt {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.news-link:hover {
    gap: 1rem;
}

.all-news-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 auto;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.all-news-button:hover {
    background: var(--primary-color);
    color: white;
    gap: 1rem;
}

/* ===== GALLERY SECTION ===== */
.gallery {
    padding: 8rem 0;
    background: var(--light-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 4rem;
}

.gallery-item {
    display: block;
    height: 250px;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
    z-index: 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(220, 38, 38, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: white;
}

.all-gallery-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 auto;
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.all-gallery-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-lg);
    gap: 1rem;
}

/* ===== PARTNERS SECTION ===== */
.partners {
    padding: 6rem 0;
    background: var(--background-color);
}

.partners-swiper {
    padding: 2rem 0;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.partner-logo img {
    max-width: 150px;
    max-height: 60px;
    width: auto;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gradient-secondary);
    color: var(--text-white);
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.footer-description {
    opacity: 0.8;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-section h3 {
    font-family: var(--heading-font);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.contact-info i {
    color: var(--accent-color);
    width: 20px;
}

.contact-info a {
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--accent-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
    padding-left: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.7;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1023px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .sports-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 767px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--box-shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .sports-grid,
    .news-grid,
    .stats-grid,
    .gallery-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero {
        height: 70vh;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Для разных изображений на десктоп и мобильные */
.slide-background.desktop {
    display: block;
}

.slide-background.mobile {
    display: none;
}

@media (max-width: 767px) {
    .slide-background.desktop {
        display: none;
    }
    
    .slide-background.mobile {
        display: block;
    }
}

.partner-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    background: var(--light-bg);
    color: var(--text-light);
    font-weight: 600;
    border-radius: var(--border-radius);
    padding: 1rem;
}

/* ===== LANGUAGE SWITCHER ===== */
.language-switcher {
    position: relative;
    margin-right: 15px;
}

.language-btn {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: var(--border-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--box-shadow);
}

.language-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-lg);
    min-width: 100px;
    display: none;
    z-index: 1000;
    overflow: hidden;
    margin-top: 5px;
}

.language-switcher:hover .language-dropdown {
    display: block;
}

.language-dropdown a {
    display: block;
    padding: 12px 15px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.language-dropdown a:last-child {
    border-bottom: none;
}

.language-dropdown a:hover {
    background: var(--primary-color);
    color: white;
}

.language-dropdown a.active {
    background: var(--primary-color);
    color: white;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .language-switcher {
        margin-right: 10px;
    }
    
    .language-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .language-dropdown {
        min-width: 80px;
    }
    
    .language-dropdown a {
        padding: 10px 12px;
        font-size: 12px;
    }
}

/* ===== LANGUAGE SPECIFIC STYLES ===== */

/* Базовые стили для русского языка (по умолчанию) */
body {
    font-family: var(--text-font);
    line-height: 1.7;
}

/* Стили ТОЛЬКО для кыргызского языка */
html[lang="kg"] body,
html[lang="kg"] .nav-link,
html[lang="kg"] .section-subtitle,
html[lang="kg"] .footer-description,
html[lang="kg"] .contact-info,
html[lang="kg"] .footer-links,
html[lang="kg"] .sport-description,
html[lang="kg"] .news-excerpt {
    font-family: 'Noto Sans', sans-serif;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

/* Стили ТОЛЬКО для английского языка */
html[lang="en"] body,
html[lang="en"] .nav-link,
html[lang="en"] .section-subtitle,
html[lang="en"] .footer-description,
html[lang="en"] .contact-info,
html[lang="en"] .footer-links,
html[lang="en"] .sport-description,
html[lang="en"] .news-excerpt {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
}

/* Заголовки для всех языков остаются с Exo 2 */
.section-title,
.slide-title,
.news-title,
.sport-name,
.footer-section h3 {
    font-family: var(--heading-font);
}

/* Логотип и кнопки для всех языков */
.logo,
.cta-button,
.all-news-button,
.all-gallery-button,
.language-btn,
.admin-btn {
    font-family: var(--heading-font);
}

/* ===== МОБИЛЬНЫЕ СТИЛИ ДЛЯ НАВИГАЦИИ ===== */
@media (max-width: 767px) {
    /* Базовые стили навигации для русского */
    .nav-menu {
        font-family: var(--text-font);
    }
    
    /* Стили навигации для кыргызского на мобильных */
    html[lang="kg"] .nav-menu,
    html[lang="kg"] .nav-menu .nav-link {
        font-family: 'Noto Sans', sans-serif;
        line-height: 1.8;
        letter-spacing: 0.02em;
    }
    
    /* Стили навигации для английского на мобильных */
    html[lang="en"] .nav-menu,
    html[lang="en"] .nav-menu .nav-link {
        font-family: 'Roboto', sans-serif;
        line-height: 1.6;
    }
    
    /* Мобильное меню - специфичные настройки */
    .nav-menu.active .nav-link {
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu.active .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Улучшение читаемости для кыргызского в мобильном меню */
    html[lang="kg"] .nav-menu.active .nav-link {
        font-size: 1.15rem;
        padding: 1.2rem 1.5rem;
    }
    
    /* Улучшение для английского в мобильном меню */
    html[lang="en"] .nav-menu.active .nav-link {
        font-size: 1.05rem;
        padding: 0.9rem 1.5rem;
    }
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ ИСПРАВЛЕНИЯ ДЛЯ МОБИЛЬНЫХ ===== */
@media (max-width: 767px) {
    /* Исправление переключателя языков на мобильных */
    .language-btn {
        font-size: 13px;
        padding: 8px 12px;
    }
    
    .language-dropdown a {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    /* Убедимся, что логотип правильно отображается */
    .logo {
        font-size: 1.3rem;
    }
    
    .logo-icon {
        font-size: 1.8rem;
    }
    
    /* Исправление админ-кнопки */
    .admin-btn {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
}

/* ===== ОЧЕНЬ МАЛЕНЬКИЕ ЭКРАНЫ ===== */
@media (max-width: 480px) {
    .nav-content {
        padding: 0.8rem 0;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        font-size: 1.6rem;
    }
    
    .language-btn {
        font-size: 12px;
        padding: 7px 10px;
    }
    
    .admin-btn {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    /* Улучшение мобильного меню для маленьких экранов */
    .nav-menu.active .nav-link {
        font-size: 1rem;
        padding: 0.9rem 1.2rem;
    }
    
    html[lang="kg"] .nav-menu.active .nav-link {
        font-size: 1.05rem;
        padding: 1rem 1.2rem;
    }
    
    html[lang="en"] .nav-menu.active .nav-link {
        font-size: 0.95rem;
        padding: 0.8rem 1.2rem;
    }
}
/* ===== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ SPORTS.PHP ===== */

/* Стили для кнопок в sports.php */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    gap: 0.5rem;
    text-align: center;
    font-family: var(--heading-font);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--box-shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Стили для иконок видов спорта */
.sport-icon-large img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Делаем иконки белыми на цветном фоне */
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .sport-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .sport-icon-large img {
        width: 48px;
        height: 48px;
    }
}