        /** {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }*/

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f5f7fa;
        }

        /* ========== ЦВЕТОВЫЕ ПЕРЕМЕННЫЕ ========== */
        :root {
            --primary-color: #0f6fb9;
            --primary-dark: #0a558f;
            --primary-light: #e8f1f9;
            --accent-color: #deb543;
            --accent-dark: #c49a2e;
            --accent-light: #fef5e0;
            --text-dark: #2c3e50;
            --text-light: #7f8c8d;
            --bg-light: #f5f7fa;
        }

        /* ========== ШАПКА ========== */
        .navbar {
            background-color: white;
            transition: all 0.3s ease-in-out;
            padding-top: 1rem;
            padding-bottom: 1rem;
            box-shadow: 0 2px 15px rgba(15, 111, 185, 0.08);
            border-bottom: 2px solid transparent;
        }

        /* Стиль для сжатого состояния */
        .navbar.navbar-shrink {
            padding-top: 0.5rem;
            padding-bottom: 0.5rem;
            box-shadow: 0 5px 25px rgba(15, 111, 185, 0.12);
            border-bottom-color: var(--accent-color);
        }

        .navbar-brand {
            transition: all 0.3s ease-in-out;
        }

        .navbar-brand img {
            transition: all 0.3s ease-in-out;
            height: 70px;
            width: auto;
            display: block;
        }

        .navbar.navbar-shrink .navbar-brand img {
            height: 40px;
        }

        /* Стили навигации */
        .navbar-nav .nav-link {
            color: var(--text-dark);
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
        }

        .navbar-nav .nav-link:hover {
            color: var(--primary-color);
        }

        .navbar-nav .nav-link.active {
            color: var(--primary-color);
            position: relative;
        }

        .navbar-nav .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            transform: translateX(-50%);
            width: 30px;
            height: 3px;
            background: var(--accent-color);
            border-radius: 2px;
        }

        /* Кнопка гамбургера */
        .navbar-toggler {
            border-color: var(--primary-color);
        }

        .navbar-toggler:focus {
            box-shadow: 0 0 0 2px rgba(15, 111, 185, 0.25);
        }

        /* Мобильная версия */
        @media (max-width: 991.98px) {
            .navbar .container {
                position: relative;
                display: flex;
                justify-content: center;
            }

            .navbar-toggler {
                position: absolute;
                left: 0;
                top: 50%;
                transform: translateY(-50%);
            }

            .navbar-brand {
                margin: 0 auto;
            }

            .navbar-collapse {
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background-color: white;
                padding: 1.5rem;
                border-radius: 0 0 16px 16px;
                box-shadow: 0 15px 30px rgba(15, 111, 185, 0.15);
                z-index: 1050;
                max-height: 80vh;
                overflow-y: auto;
                border-top: 3px solid var(--accent-color);
            }

            .navbar-nav {
                flex-direction: column;
                gap: 0.5rem;
            }

            .nav-item {
                width: 100%;
            }

            .nav-link {
                padding: 0.75rem 1rem;
                border-radius: 10px;
                transition: all 0.3s;
            }

            .nav-link:hover {
                background-color: var(--primary-light);
                transform: translateX(5px);
            }

            .nav-link.active::after {
                display: none;
            }
            
            .nav-link.active {
                background-color: var(--primary-light);
                color: var(--primary-color);
            }
        }

        /* ========== ОСНОВНОЙ КОНТЕНТ ========== */
        .hero {
            min-height: 80vh;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-align: center;
            position: relative;
        }

        .hero::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--accent-color);
        }

        .hero h1 {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .hero .btn-light {
            background: white;
            color: var(--primary-color);
            border-radius: 50px;
            padding: 12px 35px;
            font-weight: 600;
            transition: all 0.3s;
            border: none;
        }

        .hero .btn-light:hover {
            background: var(--accent-color);
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        }

        .content {
            padding: 60px 0;
            background: var(--bg-light);
        }

        /* ========== КРАСИВЫЙ ПОДВАЛ ========== */
        .footer {
            background: linear-gradient(135deg, #1a2a3a 0%, #0f1a24 50%, #0a1219 100%);
            color: #ffffff;
            padding: 60px 0 20px 0;
            position: relative;
        }

        /* Декоративная полоса между контентом и подвалом */
        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
            background-size: 200% 100%;
            animation: gradientMove 3s ease infinite;
        }

        @keyframes gradientMove {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        /* Логотип в подвале */
        .footer-logo img {
            height: 50px;
            filter: brightness(0) invert(1);
            margin-bottom: 15px;
        }

        .footer-logo p {
            color: #9aaebf;
            font-size: 14px;
            line-height: 1.6;
        }

        /* Заголовки секций */
        .footer h5 {
            color: #ffffff;
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 20px;
            position: relative;
            display: inline-block;
        }

        .footer h5::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 40px;
            height: 3px;
            background: var(--accent-color);
            border-radius: 2px;
        }

        /* Ссылки */
        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: #9aaebf;
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
        }

        .footer-links a i {
            font-size: 12px;
            transition: transform 0.3s ease;
            color: var(--accent-color);
        }

        .footer-links a:hover {
            color: var(--accent-color);
            transform: translateX(5px);
        }

        .footer-links a:hover i {
            transform: translateX(3px);
            color: var(--accent-color);
        }

        /* Контакты */
        .footer-contact {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-contact li {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 15px;
            color: #9aaebf;
            font-size: 14px;
        }

        .footer-contact li i {
            width: 32px;
            height: 32px;
            background: rgba(15, 111, 185, 0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            color: var(--primary-color);
            font-size: 14px;
            transition: all 0.3s;
        }

        .footer-contact li:hover i {
            background: var(--accent-color);
            color: #1a2a3a;
            transform: scale(1.1);
        }

        /* Социальные сети */
        .social-links {
            display: flex;
            gap: 12px;
            margin-top: 20px;
            flex-wrap: wrap;
        }

        .social-links a {
            width: 38px;
            height: 38px;
            background: rgba(255, 255, 255, 0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            color: white;
            font-size: 16px;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .social-links a:hover {
            background: var(--accent-color);
            color: #1a2a3a;
            transform: translateY(-3px);
        }

        /* Подписка на новости */
        .newsletter-form {
            display: flex;
            gap: 10px;
            margin-top: 15px;
        }

        .newsletter-form input {
            flex: 1;
            padding: 12px 15px;
            border: none;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.08);
            color: white;
            font-size: 14px;
            transition: all 0.3s;
        }

        .newsletter-form input::placeholder {
            color: #6a7f94;
        }

        .newsletter-form input:focus {
            outline: none;
            background: rgba(255, 255, 255, 0.12);
            box-shadow: 0 0 0 2px var(--accent-color);
        }

        .newsletter-form button {
            padding: 12px 24px;
            background: var(--primary-color);
            border: none;
            border-radius: 8px;
            color: white;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .newsletter-form button:hover {
            background: var(--accent-color);
            color: #1a2a3a;
            transform: translateY(-2px);
        }

        /* Нижняя часть подвала */
        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            margin-top: 40px;
            padding-top: 20px;
            text-align: center;
            color: #6a7f94;
            font-size: 13px;
        }

        .footer-bottom a {
            color: #6a7f94;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-bottom a:hover {
            color: var(--accent-color);
        }

        /* Адаптив для подвала */
        @media (max-width: 768px) {
            .footer {
                padding: 40px 0 20px 0;
            }
            
            .footer-logo {
                text-align: center;
                margin-bottom: 30px;
            }
            
            .footer h5 {
                margin-top: 20px;
            }
            
            .footer h5::after {
                left: 50%;
                transform: translateX(-50%);
            }
            
            .footer-links, .footer-contact {
                text-align: center;
            }
            
            .footer-contact li {
                justify-content: center;
            }
            
            .social-links {
                justify-content: center;
            }
            
            .newsletter-form {
                flex-direction: column;
            }
            
            .hero h1 {
                font-size: 2rem;
            }
        }

        /* Анимация появления */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .footer .row > div {
            animation: fadeInUp 0.6s ease-out forwards;
            opacity: 0;
        }

        .footer .row > div:nth-child(1) { animation-delay: 0.1s; }
        .footer .row > div:nth-child(2) { animation-delay: 0.2s; }
        .footer .row > div:nth-child(3) { animation-delay: 0.3s; }
        .footer .row > div:nth-child(4) { animation-delay: 0.4s; }
        
        
        
    .login-fallback-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: #0f6fb9;
        color: white;
        padding: 8px 20px;
        border-radius: 24px;
        font-weight: 500;
        font-size: 14px;
        text-decoration: none;
        transition: all 0.3s ease;
        font-family: inherit;
    }
    
    .login-fallback-btn i {
        font-size: 16px;
    }
    
    .login-fallback-btn:hover {
        background: #deb543;
        color: #1a2a3a;
        transform: translateY(-2px);
    }
    
    
    
    
    
 /* ========== КНОПКА ВХОДА ========== */
.auth-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 10px 24px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(15, 111, 185, 0.2);
}

.auth-btn:hover {
    background: var(--accent-color);
    color: #1a2a3a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(222, 181, 67, 0.3);
}

.auth-btn__arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    margin-left: 4px;
}

.auth-btn.active .auth-btn__arrow {
    transform: rotate(180deg);
}

/* Выпадающее меню */
.auth-dropdown {
    position: relative;
    display: inline-block;
}

.auth-dropdown__menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 240px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    z-index: 1000;
}

.auth-dropdown__menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.auth-dropdown__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    text-decoration: none;
    color: #2c3e50;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f2f5;
}

.auth-dropdown__item:last-child {
    border-bottom: none;
}

.auth-dropdown__item:hover {
    background: #eef2f7;
    color: var(--primary-color);
}

.auth-dropdown__item svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.auth-dropdown__soon {
    margin-left: auto;
    font-size: 11px;
    color: #999;
    font-weight: 400;
}

/* Меню авторизованного пользователя */
.user-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0f4f9;
    border-radius: 60px;
    padding: 4px 8px 4px 18px;
}

.user-menu__link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s;
}

.user-menu__link i {
    font-size: 18px;
}

.user-menu__link:hover {
    color: var(--accent-color);
}

.user-menu__logout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: white;
    border-radius: 50%;
    color: #999;
    text-decoration: none;
    transition: all 0.2s;
}

.user-menu__logout:hover {
    background: #ff4d4f;
    color: white;
}

/* Адаптив */
@media (max-width: 768px) {
    .auth-btn span {
        display: none;
    }
    
    .auth-btn {
        padding: 10px 16px;
    }
    
    .auth-btn i:first-child {
        margin: 0;
    }
    
    .user-menu__link span {
        display: none;
    }
    
    .user-menu {
        padding: 4px 8px;
    }
}

/* Стили для пункта меню с виджетом Telegram */
.auth-dropdown__item_widget {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 16px;
}

.auth-dropdown__item_widget svg {
    flex-shrink: 0;
}

.auth-dropdown__item_widget span {
    flex-shrink: 0;
    min-width: 70px;
}

/* Контейнер для виджета */
.telegram-widget-placeholder {
    flex: 1;
    min-width: 140px;
    display: inline-block;
    line-height: 0;
}

/* Стили для самого iframe виджета */
.telegram-widget-placeholder iframe {
    width: 100% !important;
    max-width: 186px;
    height: 28px !important;
    border-radius: 0 !important;
    vertical-align: middle;
}


/*terms==============================================*/
.terms-page {
    background: var(--bg-light, #f5f7fa);
    min-height: 60vh;
}

.terms-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark, #2c3e50);
    margin-bottom: 20px;
}

.title-line {
    width: 60px;
    height: 3px;
    background: var(--accent-color, #deb543);
    margin: 0 auto;
}

.terms-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.terms-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eef2f6;
}

.terms-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.terms-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color, #0f6fb9);
    margin-bottom: 16px;
}

.terms-section p {
    font-size: 15px;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 12px;
}

.terms-section ul {
    padding-left: 20px;
    margin-bottom: 12px;
}

.terms-section ul li {
    font-size: 15px;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 8px;
}

.terms-section strong {
    color: var(--text-dark, #2c3e50);
}

.terms-section a {
    color: var(--primary-color, #0f6fb9);
    text-decoration: none;
}

.terms-section a:hover {
    text-decoration: underline;
}

.contact-list {
    list-style: none;
    padding-left: 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.contact-list li i {
    width: 28px;
    color: var(--primary-color, #0f6fb9);
    font-size: 18px;
}

.contact-list li a {
    color: var(--primary-color, #0f6fb9);
    text-decoration: none;
}

.contact-list li a:hover {
    text-decoration: underline;
}

.terms-acceptance {
    background: #f0f9ff !important;
    border-left: 4px solid var(--accent-color, #deb543);
}

.terms-footer {
    border-top: 1px solid #eef2f6;
    padding-top: 20px;
}

@media (max-width: 768px) {
    .terms-card {
        padding: 24px;
    }
    
    .terms-title {
        font-size: 1.8rem;
    }
    
    .terms-section h2 {
        font-size: 1.3rem;
    }
}


/*privacy===============================*/
.privacy-page {
    background: var(--bg-light, #f5f7fa);
    min-height: 60vh;
}

.privacy-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark, #2c3e50);
    margin-bottom: 20px;
}

.privacy-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.privacy-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eef2f6;
}

.privacy-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.privacy-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color, #0f6fb9);
    margin-bottom: 16px;
}

.privacy-section p {
    font-size: 15px;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 12px;
}

.privacy-section ul {
    padding-left: 20px;
    margin-bottom: 12px;
}

.privacy-section ul li {
    font-size: 15px;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 8px;
}

.privacy-section strong {
    color: var(--text-dark, #2c3e50);
}

.contact-list {
    list-style: none;
    padding-left: 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.contact-list li i {
    width: 28px;
    color: var(--primary-color, #0f6fb9);
    font-size: 18px;
}

.contact-list li a {
    color: var(--primary-color, #0f6fb9);
    text-decoration: none;
}

.contact-list li a:hover {
    text-decoration: underline;
}

.privacy-footer {
    border-top: 1px solid #eef2f6;
    padding-top: 20px;
}

@media (max-width: 768px) {
    .privacy-card {
        padding: 24px;
    }
    
    .privacy-title {
        font-size: 1.8rem;
    }
    
    .privacy-section h2 {
        font-size: 1.3rem;
    }
}



/*contacts===============================*/
.contacts-page {
    background: var(--bg-light, #f5f7fa);
    min-height: 60vh;
}

.contacts-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark, #2c3e50);
    margin-bottom: 20px;
}

.title-line {
    width: 60px;
    height: 3px;
    background: var(--accent-color, #deb543);
    margin: 0 auto;
}

.contacts-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contacts-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eef2f6;
}

.contacts-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contacts-section h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color, #0f6fb9);
    margin-bottom: 20px;
}

.contacts-section h2 i {
    margin-right: 10px;
}

.contacts-section p {
    font-size: 15px;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 12px;
}

/* Сетка соцсетей */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #f8fafc;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #eef2f6;
}

.social-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.social-card.telegram .social-icon {
    background: #e8f4fc;
    color: #26A5E4;
}
.social-card.vk .social-icon {
    background: #eef0fc;
    color: #4680C2;
}
.social-card.strava .social-icon {
    background: #fce8e8;
    color: #FC4C02;
}
.social-card.russiarunning .social-icon {
    background: var(--primary-light, #e8f1f9);
    color: var(--primary-color, #0f6fb9);
}
.social-card.worldrun .social-icon {
    background: #e8fce8;
    color: #22c55e;
}

.social-info {
    flex: 1;
}

.social-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark, #2c3e50);
    margin-bottom: 4px;
}

.social-info p {
    font-size: 12px;
    color: #6c757d;
    margin: 0;
}

.social-link {
    font-size: 11px;
    color: var(--primary-color, #0f6fb9);
    display: inline-block;
    margin-top: 4px;
}

/* Основатель */
.founder-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--primary-light, #e8f1f9);
    border-radius: 20px;
}

.founder-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-color, #0f6fb9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
}

.founder-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark, #2c3e50);
    margin-bottom: 4px;
}

.founder-info p {
    margin: 0;
    color: #6c757d;
}

/* Статистика */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.stat-item {
    text-align: center;
    padding: 16px;
    background: #f8fafc;
    border-radius: 16px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color, #0f6fb9);
}

.stat-label {
    font-size: 13px;
    color: #6c757d;
}

/* Локация */
.location-card {
    background: #f8fafc;
    padding: 20px;
    border-radius: 16px;
}

/* Адаптив */
@media (max-width: 768px) {
    .contacts-title {
        font-size: 1.8rem;
    }
    
    .contacts-card {
        padding: 24px;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .founder-card {
        flex-direction: column;
        text-align: center;
    }
}



/*codex===============================*/
.codex-page {
    background: var(--bg-light, #f5f7fa);
    min-height: 60vh;
}

.codex-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark, #2c3e50);
    margin-bottom: 20px;
}

.title-line {
    width: 60px;
    height: 3px;
    background: var(--accent-color, #deb543);
    margin: 0 auto;
}

/* Карточка приветствия */
.welcome-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f6;
}

.lion-decor {
    font-size: 1rem;
    letter-spacing: 4px;
    color: #deb543;
}

.welcome-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.welcome-lion-left, .welcome-lion-right {
    font-size: 2rem;
}

.welcome-text {
    background: linear-gradient(135deg, var(--primary-color, #0f6fb9), var(--primary-dark, #0a558f));
    color: white;
    padding: 12px 24px;
    border-radius: 60px;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
}

.welcome-intro p {
    color: var(--text-dark, #2c3e50);
}

.welcome-list {
    list-style: none;
    padding-left: 0;
    max-width: 500px;
    margin: 0 auto;
}

.welcome-list li {
    padding: 6px 0;
    color: var(--text-dark, #2c3e50);
    font-size: 14px;
}

.telegram-link {
    color: var(--primary-color, #0f6fb9);
    text-decoration: none;
    word-break: break-all;
}

.telegram-link:hover {
    text-decoration: underline;
}

/* Основная карточка кодекса */
.codex-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.codex-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eef2f6;
}

.codex-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.codex-section h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color, #0f6fb9);
    margin-bottom: 12px;
}

.codex-section p {
    font-size: 15px;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 0;
}

/* Признаки льва */
.codex-sign {
    background: var(--primary-light, #e8f1f9);
    padding: 24px 30px;
    border-radius: 20px;
    margin: 20px 0;
}

.codex-sign h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color, #0f6fb9);
    margin-bottom: 15px;
}

.codex-sign ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.codex-sign li {
    padding: 6px 0;
    color: var(--text-dark, #2c3e50);
    font-size: 14px;
}

/* Клятва */
.codex-oath {
    background: #fef5e0;
    padding: 24px 30px;
    border-radius: 20px;
    text-align: center;
    margin-top: 20px;
}

.oath-text {
    font-style: italic;
    font-size: 15px;
    color: var(--text-dark, #2c3e50);
    margin-bottom: 15px;
    line-height: 1.5;
}

.oath-signature {
    font-size: 14px;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Адаптив */
@media (max-width: 768px) {
    .codex-title {
        font-size: 1.8rem;
    }
    
    .codex-card {
        padding: 24px;
    }
    
    .welcome-card {
        padding: 20px;
    }
    
    .welcome-text {
        font-size: 14px;
        padding: 8px 16px;
    }
    
    .codex-section h2 {
        font-size: 1.2rem;
    }
    
    .codex-sign, .codex-oath {
        padding: 20px;
    }
}


/*about===============================*/
   .about-hero {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
        padding: 80px 0 60px;
        text-align: center;
        color: white;
        position: relative;
    }
    
    .about-hero::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--accent-color);
    }
    
    .about-hero__title {
        font-size: 3rem;
        font-weight: 800;
        margin-bottom: 15px;
    }
    
    .lion-icon {
        font-size: 3rem;
        display: inline-block;
        animation: wave 2s ease infinite;
    }
    
    @keyframes wave {
        0%, 100% { transform: rotate(0deg); }
        25% { transform: rotate(15deg); }
        75% { transform: rotate(-10deg); }
    }
    
    .about-hero__subtitle {
        font-size: 1.3rem;
        opacity: 0.95;
        margin-bottom: 20px;
    }
    
    .about-hero__date {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(255,255,255,0.2);
        padding: 8px 20px;
        border-radius: 50px;
        font-size: 14px;
    }
    
    /* Секция основателя */
    .founder-section {
        padding: 60px 0;
        background: white;
    }
    
    .founder-photo {
        width: 250px;
        height: 250px;
        border-radius: 50%;
        overflow: hidden;
        margin: 0 auto;
        border: 4px solid var(--accent-color);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .founder-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .founder-name {
        font-size: 1.8rem;
        color: var(--primary-color);
        margin-bottom: 15px;
    }
    
    .founder-quote {
        font-size: 1.1rem;
        font-style: italic;
        color: var(--text-dark);
        line-height: 1.6;
        padding-left: 20px;
        border-left: 4px solid var(--accent-color);
        margin-bottom: 25px;
    }
    
    .founder-stats {
        display: flex;
        gap: 30px;
        flex-wrap: wrap;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .stat-number {
        display: block;
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--primary-color);
    }
    
    .stat-label {
        font-size: 12px;
        color: var(--text-light);
    }
    
    /* Общие элементы */
    .section-title {
        font-size: 2rem;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 15px;
    }
    
    .title-line {
        width: 60px;
        height: 3px;
        background: var(--accent-color);
        margin: 0 auto;
    }
    
    .title-line_white {
        background: var(--accent-color);
    }
    
    /* Карточки "О клубе" */
    .about-section {
        padding: 60px 0;
        background: var(--bg-light);
    }
    
    .about-card {
        background: white;
        padding: 30px;
        border-radius: 20px;
        text-align: center;
        box-shadow: 0 5px 20px rgba(0,0,0,0.05);
        transition: all 0.3s;
        height: 100%;
    }
    
    .about-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(15,111,185,0.1);
    }
    
    .about-card__icon {
        font-size: 2.5rem;
        color: var(--primary-color);
        margin-bottom: 20px;
    }
    
    .about-card h4 {
        font-size: 1.2rem;
        font-weight: 700;
        margin-bottom: 15px;
        color: var(--text-dark);
    }
    
    .about-card p {
        font-size: 14px;
        color: var(--text-light);
        line-height: 1.5;
    }
    
    /* Секция тренировок (темная) */
    .training-section {
        background: linear-gradient(135deg, #1a2a3a 0%, #0f1a24 100%);
        padding: 60px 0;
        color: white;
    }
    
    .training-section .section-title {
        color: white;
    }
    
    .location-card {
        background: rgba(255,255,255,0.1);
        backdrop-filter: blur(10px);
        padding: 25px;
        border-radius: 16px;
        text-align: center;
        transition: all 0.3s;
        height: 100%;
    }
    
    .location-card:hover {
        background: rgba(255,255,255,0.15);
        transform: translateY(-3px);
    }
    
    .location-card__icon {
        font-size: 2rem;
        color: var(--accent-color);
        margin-bottom: 15px;
    }
    
    .location-card h4 {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 10px;
    }
    
    .location-card p {
        font-size: 13px;
        opacity: 0.8;
    }
    
    /* Секция преимуществ */
    .features-section {
        padding: 60px 0;
        background: white;
    }
    
    .feature-card {
        text-align: center;
        padding: 30px 20px;
        border-radius: 20px;
        transition: all 0.3s;
        background: var(--bg-light);
        height: 100%;
    }
    
    .feature-card:hover {
        transform: translateY(-5px);
        background: white;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }
    
    .feature-card__icon {
        width: 70px;
        height: 70px;
        background: var(--primary-light);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
    }
    
    .feature-card__icon i {
        font-size: 28px;
        color: var(--primary-color);
    }
    
    .feature-card h4 {
        font-size: 1.2rem;
        font-weight: 700;
        margin-bottom: 12px;
        color: var(--text-dark);
    }
    
    .feature-card p {
        font-size: 14px;
        color: var(--text-light);
    }
    
    /* CTA секция */
    .cta-section {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
        padding: 70px 0;
        text-align: center;
        color: white;
        position: relative;
    }
    
    .cta-section::before {
        content: '🦁';
        position: absolute;
        font-size: 150px;
        opacity: 0.05;
        bottom: 0;
        right: 20px;
        pointer-events: none;
    }
    
    .cta-icon {
        font-size: 3rem;
        margin-bottom: 20px;
    }
    
    .cta-title {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 15px;
    }
    
    .cta-text {
        font-size: 1.1rem;
        max-width: 600px;
        margin: 0 auto 30px;
        opacity: 0.95;
    }
    
    .cta-button {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: var(--accent-color);
        color: #1a2a3a;
        padding: 12px 35px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 700;
        transition: all 0.3s;
    }
    
    .cta-button:hover {
        background: white;
        color: var(--primary-color);
        transform: translateY(-2px);
    }
    
    /* Адаптив */
    @media (max-width: 768px) {
        .about-hero__title {
            font-size: 2rem;
        }
        
        .lion-icon {
            font-size: 2rem;
        }
        
        .about-hero__subtitle {
            font-size: 1rem;
        }
        
        .founder-section {
            text-align: center;
        }
        
        .founder-quote {
            text-align: left;
        }
        
        .founder-stats {
            justify-content: center;
        }
        
        .section-title {
            font-size: 1.5rem;
        }
        
        .cta-title {
            font-size: 1.5rem;
        }
        
        .stat-item {
            flex: 1;
        }
    }


/*index===============================*/
    .hero-section {
        background-image: url('https://lion.5api.ru/img/index.jpg');
        background-size: cover;
        background-position: center 30%;
        position: relative;
        min-height: 85vh;
        display: flex;
        align-items: center;
        background-color: #1a2a3a;
    }
    
    .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(15,111,185,0.85) 0%, rgba(10,85,143,0.9) 100%);
    }
    
    .hero-section .container {
        position: relative;
        z-index: 2;
    }
    
    .hero-title {
        font-size: 3.5rem;
        font-weight: 800;
        color: white;
        margin-bottom: 20px;
    }
    
    .hero-lion {
        font-size: 3.5rem;
        display: inline-block;
        animation: heroWave 2s ease infinite;
    }
    
    @keyframes heroWave {
        0%, 100% { transform: rotate(0deg); }
        25% { transform: rotate(15deg); }
        75% { transform: rotate(-10deg); }
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
        color: rgba(255,255,255,0.95);
        margin-bottom: 15px;
    }
    
    .hero-text {
        font-size: 1.1rem;
        color: rgba(255,255,255,0.85);
        margin-bottom: 30px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        display: flex;
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .btn-primary {
        background: var(--accent-color);
        border: none;
        color: #1a2a3a;
        font-weight: 600;
        padding: 12px 32px;
        border-radius: 50px;
        transition: all 0.3s;
    }
    
    .btn-primary:hover {
        background: white;
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }
    
    .btn-outline-light {
        border: 2px solid white;
        background: transparent;
        color: white;
        padding: 12px 32px;
        border-radius: 50px;
        font-weight: 600;
        transition: all 0.3s;
    }
    
    .btn-outline-light:hover {
        background: white;
        color: var(--primary-color);
        transform: translateY(-2px);
    }
    
    /* Статистика */
    .stats-section {
        padding: 50px 0;
        background: white;
        box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.8rem;
        font-weight: 800;
        color: var(--primary-color);
        margin-bottom: 8px;
    }
    
    .stat-label {
        font-size: 14px;
        color: var(--text-light);
    }
    
    /* Галерея */
    .gallery-section {
        padding: 60px 0;
        background: var(--bg-light);
    }
    
    .section-title {
        font-size: 2rem;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 15px;
    }
    
    .title-line {
        width: 60px;
        height: 3px;
        background: var(--accent-color);
        margin: 0 auto 15px;
    }
    
    .section-subtitle {
        color: var(--text-light);
        font-size: 1rem;
    }
    
    .gallery-item {
        position: relative;
        border-radius: 16px;
        overflow: hidden;
        aspect-ratio: 3/2;
        cursor: pointer;
    }
    
    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
    
    .gallery-item:hover img {
        transform: scale(1.05);
    }
    
    .gallery-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(transparent, rgba(0,0,0,0.7));
        padding: 20px;
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }
    
    .gallery-item:hover .gallery-overlay {
        transform: translateY(0);
    }
    
    .gallery-overlay span {
        color: white;
        font-weight: 600;
    }
    
    /* О нас кратко */
    .short-about-section {
        padding: 60px 0;
        background: white;
    }
    
    .title-line-left {
        margin: 0 0 20px 0;
    }
    
    .about-text {
        color: var(--text-dark);
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    .features-list {
        margin: 25px 0;
    }
    
    .feature-item {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 12px;
        color: var(--text-dark);
    }
    
    .feature-item i {
        color: var(--accent-color);
        font-size: 18px;
    }
    
    .about-image {
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    }
    
    .about-image img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    /* Локации (темная секция) */
    .locations-section {
        background: linear-gradient(135deg, #1a2a3a 0%, #0f1a24 100%);
        padding: 60px 0;
    }
    
    .locations-section .section-title {
        color: white;
    }
    
    .location-item {
        background: rgba(255,255,255,0.1);
        padding: 15px 10px;
        border-radius: 12px;
        text-align: center;
        transition: all 0.3s;
    }
    
    .location-item:hover {
        background: rgba(255,255,255,0.2);
        transform: translateY(-3px);
    }
    
    .location-item i {
        font-size: 24px;
        color: var(--accent-color);
        display: block;
        margin-bottom: 10px;
    }
    
    .location-item span {
        font-size: 13px;
        color: white;
    }
    
    /* Достижения */
    .achievements-section {
        padding: 60px 0;
        background: var(--bg-light);
    }
    
    .achievement-card {
        background: white;
        padding: 30px;
        border-radius: 20px;
        text-align: center;
        transition: all 0.3s;
        height: 100%;
    }
    
    .achievement-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(15,111,185,0.1);
    }
    
    .achievement-card i {
        font-size: 2.5rem;
        color: var(--accent-color);
        margin-bottom: 20px;
    }
    
    .achievement-card h4 {
        font-size: 1.2rem;
        font-weight: 700;
        margin-bottom: 12px;
    }
    
    .achievement-card p {
        font-size: 14px;
        color: var(--text-light);
    }
    
    /* Топ атлеты */
    .top-athletes-section {
        padding: 60px 0;
        background: white;
    }
    
    .top-athlete-card {
        text-align: center;
        padding: 20px;
        border-radius: 20px;
        transition: all 0.3s;
        background: var(--bg-light);
    }
    
    .top-athlete-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    }
    
    .top-athlete-photo {
        position: relative;
        width: 150px;
        height: 150px;
        margin: 0 auto 20px;
    }
    
    .top-athlete-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        border: 3px solid var(--accent-color);
    }
    
    .top-badge {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 40px;
        height: 40px;
        background: var(--accent-color);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
        font-size: 1.2rem;
        color: #1a2a3a;
        border: 2px solid white;
    }
    
    .top-athlete-card h4 {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 5px;
    }
    
    .athlete-stats {
        font-size: 13px;
        color: var(--text-light);
    }
    
    .btn-outline-primary {
        border: 2px solid var(--primary-color);
        background: transparent;
        color: var(--primary-color);
        padding: 10px 32px;
        border-radius: 50px;
        font-weight: 600;
        transition: all 0.3s;
    }
    
    .btn-outline-primary:hover {
        background: var(--primary-color);
        color: white;
    }
    
    /* CTA */
    .cta-section {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
        padding: 70px 0;
        color: white;
        text-align: center;
    }
    
    .cta-icon {
        font-size: 3rem;
        margin-bottom: 20px;
        opacity: 0.9;
    }
    
    .cta-title {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 15px;
    }
    
    .cta-text {
        font-size: 1.1rem;
        max-width: 600px;
        margin: 0 auto 30px;
        opacity: 0.95;
    }
    
    .cta-button {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: var(--accent-color);
        color: #1a2a3a;
        padding: 12px 35px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 700;
        transition: all 0.3s;
    }
    
    .cta-button:hover {
        background: white;
        color: var(--primary-color);
        transform: translateY(-2px);
    }
    
    /* Адаптив */
    @media (max-width: 768px) {
        .hero-title {
            font-size: 2.2rem;
        }
        
        .hero-lion {
            font-size: 2.2rem;
        }
        
        .hero-subtitle {
            font-size: 1.2rem;
        }
        
        .section-title {
            font-size: 1.5rem;
        }
        
        .stat-number {
            font-size: 1.4rem;
        }
        
        .cta-title {
            font-size: 1.5rem;
        }
    }
    
    
    
/* ========== ХЛЕБНЫЕ КРОШКИ ========== */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    font-weight: 500;
    font-size: 14px;
}

.breadcrumb-link {
    color: var(--text-dark, #2c3e50);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.breadcrumb-link:hover {
    color: var(--primary-color, #0f6fb9);
}

/* Активный пункт (как у меню) */
.breadcrumb-item.active {
    color: var(--primary-color, #0f6fb9);
    font-weight: 500;
}

/* Как у меню — подчёркивание при наведении */
.breadcrumb-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color, #deb543);
    transition: width 0.3s ease;
}

.breadcrumb-link:hover::after {
    width: 100%;
}

/* Разделитель */
.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-light, #7f8c8d);
    content: "›";
    font-size: 18px;
    font-weight: 300;
}