/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Поддержка prefers-reduced-motion для доступности */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    /* Отключаем конкретные анимации */
    .result-card:hover,
    .goal-card:hover,
    .component-card:hover,
    .pricing-card:hover,
    .program-card:hover,
    .benefit-card:hover,
    .included-card:hover,
    .case-card:hover,
    .tariff-card:hover {
        transform: none !important;
    }

    /* Отключаем анимации появления */
    .case-card,
    .program-card,
    .contact-form {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0a0a0a;
}

/* Улучшенная контрастность для доступности */
.btn-primary {
    background-color: #ff6b35;
    color: #ffffff;
    border: 2px solid #ff6b35;
}

.btn-primary:hover {
    background-color: #e55a2b;
    border-color: #e55a2b;
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #0a0a0a;
}

/* Улучшенные focus styles для доступности */
.btn-primary:focus,
.btn-secondary:focus,
.nav-menu a:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid #ff6b35;
    outline-offset: 2px;
}

/* Улучшенная контрастность для текста */
.hero-description,
.about-content p,
.benefit-card p,
.program-card p,
.result-card p,
.goal-card p {
    color: #f0f0f0;
}

/* Темный фон для секций */
.results,
.aim-explanation,
.goals {
    background-color: #0a0a0a !important;
    color: #ffffff;
    padding: 60px 0;
    border-bottom: 1px solid #333;
}

/* Принудительно устанавливаем темный фон для benefits */
.benefits {
    background-color: #0a0a0a !important;
    color: #ffffff !important;
}

/* Белый фон для программы и стоимости */
.program,
.pricing {
    background-color: #ffffff;
    color: #333333;
    padding: 60px 0;
}

/* Убираем разделительную линию между программой и стоимостью */
.program {
    border-bottom: none;
}

/* Стили для карточек в темных секциях */
.result-card,
.goal-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.result-card:hover,
.goal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: #ff6b35;
}

.result-card h3,
.goal-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.result-card p,
.goal-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* Стили для карточек в белых секциях */
.component-card,
.pricing-card {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
}

/* Стили для нового раздела systematic-approach */
.systematic-approach {
    background-color: #0a0a0a;
    color: #ffffff;
    padding: 80px 0;
    border-bottom: 1px solid #333;
}

.systematic-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.systematic-text-column {
    flex: 1;
    text-align: left;
}

.systematic-image-column {
    flex: 0 0 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* FIFA Card Styles */
.fifa-card {
    width: 350px;
    height: 450px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.5),
        0 10px 30px rgba(255, 107, 53, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #1a1a1a;
}

.fifa-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow:
        0 35px 90px rgba(0, 0, 0, 0.6),
        0 15px 40px rgba(255, 107, 53, 0.4);
}

.fifa-card-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.fifa-card-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            #ff6b35 0%,
            #ff8c42 25%,
            #ff6b35 50%,
            #e55a2b 75%,
            #ff6b35 100%);
    opacity: 0.9;
}

.fifa-card-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.05) 50%, transparent 60%);
}

.fifa-card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 25px;
    color: white;
}

.fifa-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.fifa-card-name {
    font-size: 2.2rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.fifa-card-position {
    font-size: 1rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fifa-card-rating {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ff6b35;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.95);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.fifa-card-photo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.fifa-trainer-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.fifa-card:hover .fifa-trainer-photo {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
}

.fifa-card-stats {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.fifa-stat {
    flex: 1;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 10px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #ffffff !important;
    opacity: 1 !important;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.stat-subtitle {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: #ffffff;
    opacity: 0.8;
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.systematic-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #ffffff;
    font-weight: 400;
}

.systematic-text:last-child {
    margin-bottom: 0;
}

.highlight-text {
    color: #ff6b35;
    font-weight: 700;
    font-size: 1.2rem;
}

.orange-text {
    color: #ff6b35 !important;
    font-weight: 500;
}

.blue-text {
    color: #4a90e2 !important;
    font-weight: 600;
}

.blue-text .highlight-text {
    color: #4a90e2 !important;
    font-weight: 700;
    font-size: 1.3rem;
}

.white-text {
    color: #ffffff !important;
    font-weight: 600;
}

.white-text .highlight-text {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.component-card:hover,
.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #ff6b35;
}

.component-card h3,
.pricing-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.component-card p {
    color: #666666;
    line-height: 1.6;
}

/* Сетки для секций */
.results-grid,
.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Красивый дизайн программы с нумерацией как на fak1e.ru */
.program-steps {
    max-width: 800px;
    margin: 3rem auto 0;
}

.program-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
    padding: 0.25rem 0;
}

.program-step:hover {
    transform: translateX(10px);
    transition: transform 0.3s ease;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #007bff;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 2rem;
    background: linear-gradient(to bottom, #007bff, rgba(0, 123, 255, 0.3));
}

/* 5-й пункт остается оранжевым */
.program-step:nth-child(5) .step-number {
    background: #ff6b35;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.program-step:nth-child(5) .step-number::after {
    background: linear-gradient(to bottom, #ff6b35, rgba(255, 107, 53, 0.3));
}

.program-step:last-child .step-number::after {
    display: none;
}

.step-content {
    flex: 1;
    padding-top: 0.1rem;
}

.step-content h3 {
    color: #333333;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.step-content p {
    color: #666666;
    line-height: 1.4;
    font-size: 0.9rem;
    margin: 0;
}

/* Стили для цен */
.pricing-card {
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid #222;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #ff8c42);
}

.price {
    margin: 2rem 0;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff6b35;
}

.old-price {
    font-size: 1.5rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 1rem;
}

/* Специальные стили для кнопки в карточке цены */
.pricing-card .btn-primary {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border: none;
    color: #ffffff;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    margin-top: 1rem;
}

.pricing-card .btn-primary:hover {
    background: linear-gradient(135deg, #ff8c42, #ff6b35);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* Стили для заголовков в белых секциях */
.program h2,
.pricing h2 {
    color: #333333;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.program .section-subtitle {
    color: #666666;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 2rem;
}



.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Навигация */
.navbar {
    width: 100%;
    height: 64px;
    background: #181A20;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    z-index: 99;
    position: relative;
}

.navbar-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 100%;
    margin-left: 25px;
    margin-right: auto;
    /* Сдвигаем всё остальное вправо */
}

.nav-logo-img {
    height: 48px;
    width: auto;
    display: block;
}

/* Новый контейнер для блоков справа */
.nav-right {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 25px;
    /* весь контент справа — отступ от правого края */
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    font-size: 1.1rem;
}

.auth-btn {
    margin-left: 30px;
    /* отступ после меню */
    border: none;
    background: #fff;
    color: #181A20;
    border-radius: 6px;
    padding: 7px 16px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: background .2s;
}

.auth-btn:hover {
    background: #f3f3f3;
}


/* --- Стили для кнопки "Заказать" в навигации --- */
.nav-menu li a[href="#order"],
.nav-menu li a[href="zakazat.html"] {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: #ffffff !important;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

.nav-menu li a[href="#order"]:hover,
.nav-menu li a[href="zakazat.html"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #ff8c42, #ff6b35);
}

.nav-menu li a[href="#order"]::before,
.nav-menu li a[href="zakazat.html"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -73%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
    border-radius: 20px;
    pointer-events: none;
}

.nav-menu li a[href="#order"]:hover::before,
.nav-menu li a[href="zakazat.html"]:hover::before {
    left: 25%;
}

/* Анимация пульсации для привлечения внимания */
@keyframes pulse-order {
    0% {
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    }

    50% {
        box-shadow: 0 4px 20px rgba(255, 107, 53, 0.5);
    }

    100% {
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    }
}

.nav-menu li a[href="#order"],
.nav-menu li a[href="zakazat.html"] {
    animation: pulse-order 2s infinite;
}

/* Главная секция */
.hero {
    background: #0a0a0a;
    color: #ffffff;
    padding: 0 0 40px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/фон индивиуальных тренировок.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: 1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(10, 10, 10, 0.3) 0%,
            rgba(10, 10, 10, 0.4) 30%,
            rgba(26, 26, 26, 0.6) 60%,
            rgba(10, 10, 10, 0.9) 100%);
    z-index: 2;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 0 20px;
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 3rem;
    margin: 0;
    color: #ffffff;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    z-index: 10;
    white-space: nowrap;
}

.hero-text {
    text-align: left;
}

.hero-main-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-image {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 600px;
    align-self: flex-start;
    margin-top: -30px;
}

.trainer-photo {
    width: 500px;
    height: 400px;
    object-fit: contain;
    border-radius: 15px;
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #cccccc;
    line-height: 1.6;
}

.hero-description:last-of-type {
    color: #ff6b35;
    font-weight: 600;
    font-size: 1.1rem;
}

.students-list {
    background: #1a1a1a;
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
    text-align: left;
    border: 1px solid #333;
}

.student-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.3rem;
    gap: 0.5rem;
}

.team-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.students-list p {
    margin: 0;
    font-weight: 500;
    color: #ffffff;
}

/* Секции */
.about,
.benefits,
.programs,
.testimonials,
.order,
.youtube,
.social {
    padding: 60px 0;
    border-bottom: 1px solid #333;
}

.about {
    background: #0a0a0a;
}

.benefits {
    background: #0a0a0a;
}

.programs {
    background: #0a0a0a;
}

.testimonials {
    background: #0a0a0a;
}

.order {
    background: #0a0a0a;
}

.youtube {
    background: #0a0a0a;
}

.social {
    background: #0a0a0a;
}

/* Заголовки */
h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #ffffff;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
}

/* Обо мне */
.about-content {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    margin: 0 auto;
    max-width: 1200px;
}

.about-title {
    flex: 1;
    flex-shrink: 0;
}

.about-title h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.about-text {
    flex: 2;
}

.about-content p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #cccccc;
}

.achievements {
    list-style: none;
    margin-top: 0.5rem;
}

.achievements li {
    margin-bottom: 0.3rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1rem;
    color: #cccccc;
}

.achievements li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
}

/* Что я могу дать */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
}

.benefit-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #ff8c42);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border-color: #ff6b35;
}

.benefit-card h3 {
    color: #ff6b35;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    height: auto;
    min-height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-card p {
    color: #cccccc;
    line-height: 1.7;
    font-size: 1.1rem;
    margin: 0;
    max-width: none;
}

/* Мои программы */
.programs-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 3rem;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.program-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #333;
}

.program-card:hover {
    transform: translateY(-10px);
}

.program-card h3 {
    color: #007bff;
    margin-bottom: 1rem;
}

.program-card p {
    color: #cccccc;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.program-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 2rem;
}

/* Кнопки */
.btn-primary {
    background: #ffffff;
    color: #000000;
    border: 2px solid #ffffff;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: #f8f9fa;
    border-color: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Отзывы */
.testimonials-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 3rem;
}

.testimonials-subtitle a {
    color: #ff6b35;
    text-decoration: none;
}

.testimonials-carousel {
    position: relative;
    max-width: 1200px;
    margin: 3rem auto 0;
    overflow: visible;
}

.testimonials-container {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1rem;
    width: 100%;
    overflow: visible;
    border-radius: 10px;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 0.67rem);
    text-align: center;
    cursor: pointer;
    min-width: 0;
    opacity: 1;
    transition: opacity 0.3s ease;
    overflow: visible;
    z-index: 1;
}

.testimonial-card:hover {
    z-index: 10;
}

.testimonial-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #f5f5f5;
    transform-origin: center;
}

.testimonial-image:hover {
    transform: scale(1.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.testimonials-carousel .carousel-btn {
    position: absolute;
    top: 150px;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.testimonials-carousel .prev-btn {
    left: -25px;
}

.testimonials-carousel .next-btn {
    right: -25px;
}

.testimonials-carousel .carousel-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.testimonials-carousel .carousel-btn:disabled {
    background: rgba(0, 0, 0, 0.3);
    cursor: not-allowed;
    transform: translateY(-50%) scale(0.9);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.carousel-dots {
    display: flex;
    gap: 0.3rem;
}

.dot {
    width: 30px;
    height: 3px;
    background: #e0e0e0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 2px;
}

.dot.active {
    background: #333;
}

/* Модальное окно для отзывов */
.testimonial-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 25px;
    color: #aaa;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.close-modal:hover {
    color: white;
}

.modal-image {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
}

/* Заказать */
.order {
    padding-top: 80px;
    margin-top: -60px;
}

.order-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 3rem;
}

.order-form {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid #222;
    position: relative;
    overflow: hidden;
}

.order-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #ff8c42);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #ffffff;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #222;
    border-radius: 12px;
    background: #000000;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group textarea::placeholder {
    color: #666;
}

.order-note {
    text-align: center;
    font-size: 0.9rem;
    color: #aaaaaa;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Специальные стили для кнопки в форме заказа */
.order-form .btn-primary {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border: none;
    color: #ffffff;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    margin-top: 1rem;
}

.order-form .btn-primary:hover {
    background: linear-gradient(135deg, #ff8c42, #ff6b35);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* YouTube */
.youtube-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 3rem;
}

.youtube-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.youtube-card {
    text-align: center;
}

.youtube-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.youtube-thumbnail:hover {
    transform: scale(1.05);
}

/* Социальные сети */
.social-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.social-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.2);
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.social-link:hover .social-icon {
    filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

/* Тарифы */
.tariffs {
    background: #0a0a0a;
    color: #ffffff;
    padding: 80px 0;
    border-bottom: 1px solid #333;
}

.tariffs h2 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
}

.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tariff-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.tariff-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-color: #ff6b35;
}

.tariff-card.featured {
    border: 2px solid #ff6b35;
    transform: scale(1.02);
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

.tariff-card.featured:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(255, 107, 53, 0.2);
}

.tariff-header {
    text-align: center;
    margin-bottom: 2rem;
}

.tariff-header h3 {
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
}

.tariff-limit {
    background: rgba(255, 107, 53, 0.2);
    color: #ff6b35;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.tariff-price {
    text-align: center;
    margin-bottom: 2.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: #ff6b35;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tariff-features ul {
    list-style: none;
    margin-bottom: 2.5rem;
}

.tariff-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #333;
    position: relative;
    padding-left: 2rem;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.5;
}

.tariff-features li:last-child {
    border-bottom: none;
}

.tariff-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
    font-size: 1.2rem;
}

.tariff-card {
    display: flex;
    flex-direction: column;
}

.tariff-features {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tariff-features ul {
    flex: 1;
}

.tariff-card .btn-primary {
    margin-top: auto;
    align-self: center;
    width: 100%;
    max-width: 200px;
}

/* Кейсы */
.cases {
    background: #f8f9fa;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.case-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.case-header h3 {
    margin: 0;
    color: #333;
}

.case-tag {
    background: #28a745;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.case-content p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.6;
}

.case-details {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
}

.case-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #007bff;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.case-quote {
    border-left: 3px solid #007bff;
    padding-left: 1rem;
}

.case-quote p {
    font-style: italic;
    margin-bottom: 0.5rem;
    color: #333;
}

.quote-author {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Дополнительные стили для страниц */
.hero-text {
    text-align: left;
}

.hero-subtitle-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    max-width: 400px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #ffffff;
    margin: 0;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    line-height: 1.4;
    text-align: left;
}

.hero-subtitle-second {
    font-size: 1.3rem;
    color: #ffffff;
    margin: 0;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    line-height: 1.4;
    text-align: left;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #ff8c42, #ff6b35);
}

/* Специфичные стили для страницы системы тренировок */
.hero-buttons .btn-secondary {
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.hero-buttons .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #007bff;
    border: 2px solid #007bff;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-secondary:hover {
    background: #007bff;
    color: white;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Стили для формы заказа */
.program-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff6b35;
}

.old-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

.program-features {
    list-style: none;
    margin: 1rem 0;
}

.program-features li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.program-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Стили для результатов */
.results {
    background: #f8f9fa;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.result-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.result-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.result-card p {
    color: #666;
    line-height: 1.6;
}

/* Стили для объяснения аима */
.aim-explanation {
    background: white;
}

.aim-video {
    margin: 3rem 0;
    text-align: center;
}

.aim-video iframe {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}

.aim-content {
    max-width: 1200px;
    margin: 0 auto;
}

.aim-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
}

.aim-columns::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background: linear-gradient(to bottom, transparent, #333, transparent);
}

.aim-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.aim-center {
    max-width: 800px;
    margin: 2rem auto 0;
    text-align: center;
}

.aim-center p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 400;
}

.aim-center strong {
    color: #ff6b35;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.aim-content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 400;
}

.aim-content strong {
    color: #ff6b35;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.aim-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.aim-content li {
    margin-bottom: 0.3rem;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 400;
}

.aim-content .orange-text {
    color: #ff6b35;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.footnote {
    font-size: 0.9rem;
    color: #cccccc;
    font-style: italic;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #333;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Стили для включенных элементов */
.included {
    background: white;
    padding: 40px 0 80px 0;
    position: relative;
}

/* Убираем плавный переход снизу программы */
/* .included::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.7) 30%, rgba(255, 255, 255, 0.3) 60%, rgba(10, 10, 10, 0.8) 100%);
    pointer-events: none;
} */

.program-description {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.included h2 {
    color: #000000;
    margin-bottom: 2rem;
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.included-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.included-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.included-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.included-card p {
    color: #666;
    line-height: 1.6;
}

/* Стили для целей */
.goals {
    background: #f8f9fa;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.goal-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.goal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.goal-card h3 {
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.goal-card p {
    color: #666;
    line-height: 1.6;
}

/* Стили для изображений в карточках целей */
.goal-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.goal-card:hover img {
    transform: scale(1.05);
}

/* Стили для формы заказа */
.order-form-section {
    background: #f8f9fa;
}

.order-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Футер */
.footer {
    background: #000000;
    color: white;
    padding: 3rem 0 2rem;
    margin-bottom: 0;
}

/* Убираем лишние отступы после футера */
.footer+* {
    margin-top: 0;
}

/* Убираем отступы у body */
body {
    margin-bottom: 0;
    padding-bottom: 0;
}

.footer-content {
    text-align: center;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo a {
    text-decoration: none;
    display: block;
    transition: opacity 0.3s ease;
}

.footer-logo a:hover {
    opacity: 0.8;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.2) contrast(1.1);
}

.footer-social {
    flex: 1;
    text-align: center;
}

.footer-social h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
}

.footer-bottom p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff6b35;
}

/* === YouTube Carousel Styles === */
.youtube-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    overflow: visible;
}

.youtube-container {
    overflow: hidden;
    border-radius: 10px;
}

.youtube-videos-container {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.youtube-card {
    min-width: 50%;
    box-sizing: border-box;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.youtube-video {
    width: 100%;
    height: 315px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.youtube-carousel .carousel-btn {
    position: absolute;
    top: 157px;
    /* По центру относительно видео (315px / 2) */
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 100;
    transition: background-color 0.3s ease;
}

.youtube-carousel .prev-btn {
    left: -25px;
}

.youtube-carousel .next-btn {
    right: -25px;
}

.youtube-carousel .carousel-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

.youtube-carousel .carousel-btn:disabled {
    background: rgba(0, 0, 0, 0.3);
    cursor: not-allowed;
}

.youtube-carousel .carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.youtube-carousel .carousel-dots {
    display: flex;
    gap: 0.3rem;
}

.youtube-carousel .dot {
    width: 30px;
    height: 3px;
    background: #e0e0e0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 2px;
}

.youtube-carousel .dot.active {
    background: #333;
}

/* Адаптивность */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .systematic-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .systematic-text-column {
        text-align: center;
    }

    .systematic-image-column {
        flex: 0 0 auto;
    }

    .fifa-card {
        width: 300px;
        height: 400px;
    }

    .fifa-card-name {
        font-size: 1.8rem;
    }

    .fifa-card-rating {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .fifa-trainer-photo {
        width: 160px;
        height: 160px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-main-line {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
        white-space: normal;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        max-width: 100%;
        white-space: normal;
    }

    .hero-subtitle-container {
        align-items: center;
        max-width: 100%;
    }

    .hero-subtitle {
        text-align: center;
    }

    .hero-subtitle-second {
        text-align: center;
    }

    .hero-description {
        text-align: center;
        max-width: 100%;
    }

    .hero-description {
        font-size: 1rem;
        white-space: normal;
    }

    .hero-background {
        opacity: 0.5;
    }

    .hero-text {
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
        text-align: center;
    }

    .trainer-photo {
        width: 100%;
        max-width: 300px;
        height: 225px;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-carousel {
        max-width: 400px;
    }

    .testimonials-carousel .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
        top: 75px;
    }

    .testimonials-carousel .prev-btn {
        left: -17px;
    }

    .testimonials-carousel .next-btn {
        right: -17px;
    }

    .testimonial-card {
        flex: 0 0 calc(50% - 0.5rem);
    }

    .tariffs-grid {
        grid-template-columns: 1fr;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .included-grid {
        grid-template-columns: 1fr;
    }

    .goals-grid {
        grid-template-columns: 1fr;
    }

    /* Адаптивность для программы */
    .program-steps {
        margin: 2rem auto 0;
    }

    .program-step {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .program h2 {
        font-size: 2rem;
    }

    .order-form {
        padding: 2rem;
    }

    .form-row {
        flex-direction: column;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        /* Предотвращает зум на iOS */
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
    }

    .about-content {
        flex-direction: column;
        gap: 2rem;
    }

    .about-title h2 {
        font-size: 2.5rem;
        text-align: center;
    }

    .footer-logo-img {
        height: 50px;
    }

    h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    .youtube-card {
        min-width: 100%;
    }

    .youtube-video {
        height: 220px;
    }

    .youtube-carousel .carousel-btn {
        top: 110px;
        /* По центру относительно видео (220px / 2) */
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .youtube-carousel .prev-btn {
        left: -22px;
    }

    .youtube-carousel .next-btn {
        right: -22px;
    }

    .aim-video iframe {
        height: 300px;
    }

    .aim-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .aim-center {
        margin: 2rem auto 0;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .aim-video iframe {
        height: 250px;
    }

    .testimonials-carousel {
        max-width: 300px;
    }

    .testimonials-carousel .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 1rem;
        top: 75px;
    }

    .testimonials-carousel .prev-btn {
        left: -15px;
    }

    .testimonials-carousel .next-btn {
        right: -15px;
    }

    .testimonial-card {
        flex: 0 0 100%;
    }

    .social-grid {
        gap: 1rem;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .youtube-carousel .carousel-btn {
        top: 100px;
        /* По центру относительно видео (200px / 2) */
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .youtube-carousel .prev-btn {
        left: -20px;
    }

    .youtube-carousel .next-btn {
        right: -20px;
    }
}

/* Специфичные стили для главной страницы */
body:not(.sistema-trenirovok) .hero-content {
    margin-top: 200px !important;
}

body:not(.sistema-trenirovok) .hero-title {
    position: absolute !important;
    top: 120px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100% !important;
}

body:not(.sistema-trenirovok) .hero-text {
    flex: 1 !important;
    text-align: left !important;
}

body:not(.sistema-trenirovok) .hero-description:last-of-type {
    color: #ff6b35 !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
}

/* Специфичные стили для страницы системы тренировок */
.sistema-trenirovok .hero-content {
    max-width: 900px;
    justify-content: center;
    text-align: center;
    margin-top: 0 !important;
}

.sistema-trenirovok .hero-text {
    width: 100%;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.sistema-trenirovok .hero-title {
    font-size: 4rem;
    margin-bottom: 2.5rem;
    position: relative;
    line-height: 1.2;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: auto !important;
}

.sistema-trenirovok .hero-description {
    font-size: 1.1rem;
    margin: 0;
    color: #ff6b35;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 600;
    white-space: nowrap;
    text-align: right;
    max-width: 300px;
}

/* --- Уникальные стили для страницы кейсов --- */
.cases-page .hero-content {
    max-width: 1000px;
    margin-top: 100px;
    justify-content: center;
    text-align: center;
}

.cases-page .hero-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    position: relative;
    line-height: 1.2;
    color: #fff;
}

.cases-page .hero-text {
    width: 100%;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cases-page .btn-primary {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    text-decoration: none;
    display: inline-block;
}

.cases-page .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #ff8c42, #ff6b35);
}

/* Убираем фон с лицом Влада для страницы кейсов */
.cases-page .hero-background {
    background-image: none !important;
    background-color: #0a0a0a !important;
}

.cases-page .hero-background::after {
    background: none !important;
}

/* Исправляем карусель кейсов для страницы кейсов */
.cases-page .testimonials-carousel {
    position: relative;
    max-width: 1200px;
    margin: 3rem auto 0;
    overflow: hidden;
}

.cases-page .testimonials-container {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1rem;
    width: 300%;
    overflow: visible;
    border-radius: 10px;
}

.cases-page .testimonial-card {
    flex: 0 0 calc(33.333% - 0.67rem);
    text-align: center;
    cursor: pointer;
    min-width: 0;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.cases-page .testimonial-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background: #f5f5f5;
}

.cases-page .testimonial-image:hover {
    transform: scale(1.05);
}

.cases-page .testimonials-carousel .carousel-btn {
    position: absolute;
    top: 150px;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cases-page .testimonials-carousel .prev-btn {
    left: -25px;
}

.cases-page .testimonials-carousel .next-btn {
    right: -25px;
}

.cases-page .testimonials-carousel .carousel-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.cases-page .testimonials-carousel .carousel-btn:disabled {
    background: rgba(0, 0, 0, 0.3);
    cursor: not-allowed;
    transform: translateY(-50%) scale(0.9);
}

/* --- Уникальные стили для страницы групповых тренировок --- */
.group-trainings-page .hero {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding: 0 !important;
}

.group-trainings-page .hero-content {
    width: 100%;
    max-width: none;
    margin: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 220px 0 0 0;
    position: relative;
    z-index: 3;
    min-height: 80vh;
    margin-top: 0;
}

.group-trainings-page .hero-title {
    font-size: 3.5rem;
    color: #ffffff;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 4;
    margin: 0;
    padding: 0 2rem;
}

.group-trainings-page .hero-left-column {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 1rem;
}

.group-trainings-page .hero-right-column {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
    align-items: center;
}

.group-trainings-page .hero-subtitle {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 3rem;
    line-height: 1.5;
    font-weight: 400;
    max-width: 800px;
    text-align: center;
    position: absolute;
    top: 280px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    padding: 0 2rem;
}

.group-trainings-page .hero-description {
    font-size: 1.2rem;
    color: #ff6b35;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-weight: 600;
}

.group-trainings-page .hero-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
    max-width: 600px;
}

.group-trainings-page .top-card {
    width: 100%;
    max-width: 500px;
}

.group-trainings-page .hero-cards-bottom {
    display: flex;
    gap: 1rem;
    justify-content: center;
    width: 100%;
}

.group-trainings-page .hero-cards-bottom .hero-card {
    flex: 1;
    max-width: 240px;
}

.group-trainings-page .hero-card {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 140, 66, 0.05));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 16px;
    padding: 1.2rem;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.15);
    position: relative;
    overflow: hidden;
}

.group-trainings-page .hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.group-trainings-page .hero-card:hover::before {
    left: 100%;
}

.group-trainings-page .hero-card:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 140, 66, 0.1));
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.25);
    border-color: rgba(255, 107, 53, 0.5);
}

.group-trainings-page .hero-card h3 {
    color: #ff6b35;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
}

.group-trainings-page .hero-card p {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

.group-trainings-page .hero-right-top {
    text-align: center;
    margin-bottom: 1rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.group-trainings-page .hero-right-bottom {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.group-trainings-page .hero-additional-text p {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

.group-trainings-page .hero-image {
    flex-shrink: 0;
    width: 400px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.group-trainings-page .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.group-trainings-page .hero-buttons {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.group-trainings-page .btn-primary {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.group-trainings-page .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #ff8c42, #ff6b35);
}

.group-trainings-page .btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.group-trainings-page .btn-secondary:hover {
    background: #ffffff;
    color: #1a1a1a;
    transform: translateY(-2px);
}

/* --- Фоновая картинка для страницы групповых тренировок --- */
.group-trainings-page .hero-background {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image: url('images/фон эншент.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    opacity: 0.6 !important;
    z-index: 1 !important;
}

.group-trainings-page .hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(10, 10, 10, 0.2) 0%,
            rgba(10, 10, 10, 0.3) 40%,
            rgba(10, 10, 10, 0.7) 80%,
            rgba(10, 10, 10, 1) 100%);
    z-index: 2;
}

.group-trainings-page .hero-content {
    position: relative;
    z-index: 3;
}

/* --- Стили для таймера и карты на странице групповых тренировок --- */
.group-trainings-page .hero-bottom-info {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 4;
    text-align: center;
}

.group-trainings-page .countdown-timer {
    margin-bottom: 20px;
}

.group-trainings-page .timer-title {
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.group-trainings-page .timer-display {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.group-trainings-page .timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 107, 53, 0.9);
    padding: 15px 20px;
    border-radius: 10px;
    min-width: 80px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.group-trainings-page .timer-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 5px;
}

.group-trainings-page .timer-label {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.group-trainings-page .map-info {
    margin-top: 15px;
}

.group-trainings-page .map-text {
    font-size: 1.1rem;
    color: #ff6b35;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* --- Специфичные стили для карусели отзывов на главной странице --- */
.main-page .testimonials-carousel {
    position: relative;
    max-width: 1200px;
    margin: 3rem auto 0;
    overflow: hidden;
}

.main-page .testimonials-container {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1rem;
    width: 1000%;
    overflow: visible;
    border-radius: 10px;
}

.main-page .testimonial-card {
    flex: 0 0 calc(10% - 0.9rem);
    text-align: center;
    cursor: pointer;
    min-width: 0;
    opacity: 1;
    transition: opacity 0.3s ease;
    width: calc(10% - 0.9rem);
}

.main-page .testimonials-carousel .carousel-btn {
    position: absolute;
    top: 150px;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.main-page .testimonials-carousel .prev-btn {
    left: -35px;
}

.main-page .testimonials-carousel .next-btn {
    right: -35px;
}

.main-page .testimonials-carousel .carousel-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.main-page .testimonials-carousel .carousel-btn:disabled {
    background: rgba(0, 0, 0, 0.3);
    cursor: not-allowed;
    transform: translateY(-50%) scale(0.9);
}

/* --- Полностью независимые стили для навигации на всех страницах --- */
body .navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: #000000 !important;
    z-index: 1000 !important;
    padding: 1rem 0 !important;
    transition: all 0.3s ease !important;
}

body .nav-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 2rem !important;
}

body .nav-logo a {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 1.5rem !important;
}

body .nav-logo a:hover {
    color: #ff6b35 !important;
}

body .nav-logo-img {
    width: 48px !important;
    height: 48px !important;
    margin-right: 0.5rem !important;
}

body .nav-menu {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 2rem !important;
}

body .nav-menu a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.3s ease !important;
}

body .nav-menu a:hover {
    color: #ff6b35 !important;
}

/* --- Стили для кнопки "Заказать" в навигации на всех страницах --- */
body .nav-menu li a[href="#order"],
body .nav-menu li a[href="index.html#order"],
body .nav-menu li a[href="zakazat.html"] {
    background: linear-gradient(135deg, #ff6b35, #ff8c42) !important;
    color: #ffffff !important;
    padding: 0.8rem 1.5rem !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
}

body .nav-menu li a[href="#order"]:hover,
body .nav-menu li a[href="index.html#order"]:hover,
body .nav-menu li a[href="zakazat.html"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4) !important;
    background: linear-gradient(135deg, #ff8c42, #ff6b35) !important;
}

body .nav-menu li a[href="#order"]::before,
body .nav-menu li a[href="index.html#order"]::before,
body .nav-menu li a[href="zakazat.html"]::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -73% !important;
    width: 50% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
    transition: left 0.6s ease !important;
    border-radius: 20px !important;
    pointer-events: none !important;
}

body .nav-menu li a[href="#order"]:hover::before,
body .nav-menu li a[href="index.html#order"]:hover::before,
body .nav-menu li a[href="zakazat.html"]:hover::before {
    left: 25% !important;
}

/* Анимация пульсации для привлечения внимания */
@keyframes pulse-order {
    0% {
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    }

    50% {
        box-shadow: 0 4px 20px rgba(255, 107, 53, 0.5);
    }

    100% {
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    }
}

body .nav-menu li a[href="#order"],
body .nav-menu li a[href="index.html#order"],
body .nav-menu li a[href="zakazat.html"] {
    animation: pulse-order 2s infinite !important;
}

/* Центральная кнопка между колонками */
.hero-center-button {
    position: absolute;
    top: 63%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
}

.hero-center-button .btn-primary {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border: none;
    padding: 18px 40px;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    border-radius: 50px;
    box-shadow:
        0 10px 30px rgba(255, 107, 53, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-center-button .btn-primary:hover {
    background: linear-gradient(135deg, #ff8c42, #ff6b35);
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 15px 40px rgba(255, 107, 53, 0.6),
        0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Увеличенные размеры шрифтов для программы на странице групповых тренировок */
.group-trainings-page .step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.group-trainings-page .step-content p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.group-trainings-page .program-description {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* Компактная программа для групповых тренировок */
.group-trainings-page .program-step {
    margin-bottom: 0.5rem;
    padding: 0.15rem 0;
}

.group-trainings-page .step-number::after {
    height: 1.5rem;
    bottom: -1.5rem;
}

.group-trainings-page .program-steps {
    margin: 2rem auto 0;
}

/* Стили для тарифа Lite (синий цвет) */
.tariff-card.lite {
    border: 2px solid #007bff;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

.tariff-card.lite:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 123, 255, 0.3);
    border-color: #007bff;
}

.tariff-card.lite .tariff-limit {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
    border: 1px solid rgba(0, 123, 255, 0.3);
}

.tariff-card.lite .price {
    color: #007bff;
}

.tariff-card.lite .tariff-features li:before {
    color: #007bff;
}

/* Специальные стили для карусели кейсов на странице кейсов */
.cases-page #cases .testimonials-carousel {
    position: relative;
    max-width: 1200px;
    margin: 3rem auto 0;
    overflow: hidden;
}

.cases-page #cases .testimonials-container {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1rem;
    width: 300%;
    overflow: visible;
    border-radius: 10px;
}

.cases-page #cases .testimonial-card {
    flex: 0 0 calc(33.333% - 0.67rem);
    text-align: center;
    cursor: pointer;
    min-width: 0;
    opacity: 1;
    transition: opacity 0.3s ease;
    overflow: visible;
    z-index: 1;
}

.cases-page #cases .testimonial-card:hover {
    z-index: 10;
}

.cases-page #cases .testimonial-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #f5f5f5;
    transform-origin: center;
}

.cases-page #cases .testimonial-image:hover {
    transform: scale(1.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cases-page #cases .testimonials-carousel .carousel-btn {
    position: absolute;
    top: 150px;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cases-page #cases .testimonials-carousel .prev-btn {
    left: -25px;
}

.cases-page #cases .testimonials-carousel .next-btn {
    right: -25px;
}

.cases-page #cases .testimonials-carousel .carousel-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.cases-page #cases .testimonials-carousel .carousel-btn:disabled {
    background: rgba(0, 0, 0, 0.3);
    cursor: not-allowed;
    transform: translateY(-50%) scale(0.9);
}

/* Медиа-запросы для карусели кейсов */
@media (max-width: 768px) {
    .cases-page #cases .testimonials-container {
        width: 300%;
    }

    .cases-page #cases .testimonial-card {
        flex: 0 0 calc(100% - 0.67rem);
    }
}

/* Принудительное удаление фона для страницы кейсов */
body.cases-page .hero-background {
    background-image: none !important;
    background-color: #0a0a0a !important;
    opacity: 1 !important;
}

body.cases-page .hero-background::after {
    display: none !important;
    background: none !important;
}

body.cases-page .hero {
    background: #0a0a0a !important;
}

/* Стили для карусели кейсов */
.cases-carousel {
    position: relative;
    max-width: 1200px;
    margin: 3rem auto 0;
    overflow: hidden;
}

.cases-container {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1rem;
    width: 300%;
    overflow: visible;
    border-radius: 10px;
}

.case-card {
    flex: 0 0 calc(33.333% - 0.67rem);
    text-align: center;
    cursor: pointer;
    min-width: 0;
    opacity: 1;
    transition: opacity 0.3s ease;
    overflow: visible;
    z-index: 1;
}

.case-card:hover {
    z-index: 10;
}

.case-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #f5f5f5;
    transform-origin: center;
}

.case-image:hover {
    transform: scale(1.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Модальное окно для кейсов */
.case-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.case-modal .modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
}

.case-modal .close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: -40px;
}

.case-modal .close-modal:hover {
    color: #fff;
}

.case-modal .modal-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Медиа-запросы для карусели кейсов */
@media (max-width: 768px) {
    .cases-container {
        width: 300%;
    }

    .case-card {
        flex: 0 0 calc(100% - 0.67rem);
    }
}

/* СУПЕР АГРЕССИВНОЕ УДАЛЕНИЕ ФОНА ДЛЯ СТРАНИЦЫ КЕЙСОВ */
body.cases-page .hero-background,
.cases-page .hero-background,
body.cases-page #hero .hero-background,
.cases-page #hero .hero-background {
    background-image: none !important;
    background: #0a0a0a !important;
    background-color: #0a0a0a !important;
    opacity: 1 !important;
    filter: none !important;
}

body.cases-page .hero-background::after,
.cases-page .hero-background::after,
body.cases-page #hero .hero-background::after,
.cases-page #hero .hero-background::after {
    display: none !important;
    background: none !important;
    background-image: none !important;
    opacity: 0 !important;
    filter: none !important;
}

body.cases-page .hero,
.cases-page .hero,
body.cases-page #hero,
.cases-page #hero {
    background: #0a0a0a !important;
    background-color: #0a0a0a !important;
    background-image: none !important;
}

/* Удаляем любые другие фоновые изображения */
body.cases-page .hero *,
.cases-page .hero * {
    background-image: none !important;
}

/* ПОСЛЕДНИЕ АГРЕССИВНЫЕ ПРАВИЛА ДЛЯ УДАЛЕНИЯ ФОНА */
html body.cases-page .hero-background,
html body.cases-page #hero .hero-background,
html body.cases-page .hero .hero-background {
    background-image: none !important;
    background: #0a0a0a !important;
    background-color: #0a0a0a !important;
    background-size: none !important;
    background-position: none !important;
    background-repeat: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
}

html body.cases-page .hero-background::after,
html body.cases-page #hero .hero-background::after,
html body.cases-page .hero .hero-background::after {
    display: none !important;
    background: none !important;
    background-image: none !important;
    background-size: none !important;
    background-position: none !important;
    background-repeat: none !important;
    opacity: 0 !important;
    filter: none !important;
    transform: none !important;
    content: none !important;
}

html body.cases-page .hero,
html body.cases-page #hero {
    background: #0a0a0a !important;
    background-color: #0a0a0a !important;
    background-image: none !important;
    background-size: none !important;
    background-position: none !important;
    background-repeat: none !important;
}

/* Принудительно скрываем любые изображения фона */
html body.cases-page .hero *,
html body.cases-page #hero * {
    background-image: none !important;
}

/* ФИНАЛЬНЫЕ САМЫЕ АГРЕССИВНЫЕ ПРАВИЛА */
html body.cases-page .hero-background,
html body.cases-page #hero .hero-background,
html body.cases-page .hero .hero-background,
html body.cases-page .hero-background,
html body.cases-page #hero .hero-background,
html body.cases-page .hero .hero-background {
    background-image: none !important;
    background: #0a0a0a !important;
    background-color: #0a0a0a !important;
    background-size: none !important;
    background-position: none !important;
    background-repeat: none !important;
    background-attachment: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    content: none !important;
}

html body.cases-page .hero-background::after,
html body.cases-page #hero .hero-background::after,
html body.cases-page .hero .hero-background::after,
html body.cases-page .hero-background::after,
html body.cases-page #hero .hero-background::after,
html body.cases-page .hero .hero-background::after {
    display: none !important;
    background: none !important;
    background-image: none !important;
    background-size: none !important;
    background-position: none !important;
    background-repeat: none !important;
    background-attachment: none !important;
    opacity: 0 !important;
    filter: none !important;
    transform: none !important;
    content: none !important;
    visibility: hidden !important;
}

html body.cases-page .hero,
html body.cases-page #hero {
    background: #0a0a0a !important;
    background-color: #0a0a0a !important;
    background-image: none !important;
    background-size: none !important;
    background-position: none !important;
    background-repeat: none !important;
    background-attachment: none !important;
}

/* Принудительно скрываем любые изображения фона */
html body.cases-page .hero *,
html body.cases-page #hero * {
    background-image: none !important;
}

/* Удаляем фон только на странице кейсов */
body.cases-page .hero-background {
    background-image: none !important;
    background: #0a0a0a !important;
    background-color: #0a0a0a !important;
}

body.cases-page .hero-background::after {
    display: none !important;
    background: none !important;
}

/* Плавный переход от фона к черному для страницы системы тренировок */
.sistema-trenirovok .hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(10, 10, 10, 0) 0%,
            rgba(10, 10, 10, 0.2) 30%,
            rgba(10, 10, 10, 0.5) 60%,
            rgba(10, 10, 10, 0.8) 80%,
            rgba(10, 10, 10, 1) 100%);
    z-index: 2;
}

/* Стили для кнопки "Войти" в навигации */
.auth-btn {
    background: linear-gradient(135deg, #4a90e2, #357abd) !important;
    color: #ffffff !important;
    padding: 0.8rem 1.5rem !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
}

.auth-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4) !important;
    background: linear-gradient(135deg, #357abd, #4a90e2) !important;
}

/* Модальное окно авторизации */
.auth-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}



.auth-modal-content {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
    transition: color 0.3s ease;
}

.auth-close:hover {
    color: #ff6b35;
}

.auth-title {
    color: #ffffff;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    font-family: Inter, sans-serif;
}

.auth-subtitle {
    color: #cccccc;
    text-align: center;
    font-size: 1rem;
    margin-bottom: 2rem;
    font-family: Inter, sans-serif;
}

.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.auth-btn-google {
    background: linear-gradient(135deg, #4285f4, #34a853);
    color: #ffffff;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.auth-btn-google:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
    background: linear-gradient(135deg, #34a853, #4285f4);
}

.auth-btn-yandex {
    background: linear-gradient(135deg, #ff0000, #ff3333);
    color: #ffffff;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.auth-btn-yandex:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
    background: linear-gradient(135deg, #ff3333, #ff0000);
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: #666;
    font-size: 0.9rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #444;
}

.auth-divider span {
    padding: 0 1rem;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form-group {
    margin-bottom: 1rem;
}

.auth-form-group label {
    display: block;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-family: Inter, sans-serif;
}

.auth-form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #444;
    border-radius: 8px;
    background: #333;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.auth-form-group input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

.auth-form-btn {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: #ffffff;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.auth-form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #ff8c42, #ff6b35);
}

.auth-switch {
    text-align: center;
    margin-top: 1rem;
}

.auth-switch a {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-switch a:hover {
    color: #ff8c42;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .auth-modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1.5rem;
    }

    .auth-title {
        font-size: 1.5rem;
    }

    .auth-buttons {
        gap: 0.8rem;
    }

    .auth-btn-google,
    .auth-btn-yandex {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.notification-bell {
    position: relative;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.notification-bell:hover {
    color: #ff6b35;
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff6b35;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* Тренировки */
.training-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.training-header h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.training-card {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #333;
    text-align: center;
    transition: all 0.3s ease;
}

.training-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: #ff6b35;
}

.training-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.training-card h3 {
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.training-card p {
    margin: 0 0 1.5rem 0;
    color: #999;
    line-height: 1.6;
}

.training-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #999;
}

/* Материалы */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.material-card {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #333;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.material-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: #ff6b35;
}

.material-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.material-card h3 {
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.material-card p {
    margin: 0 0 1rem 0;
    color: #999;
}

.material-count {
    background: rgba(255, 107, 53, 0.2);
    color: #ff6b35;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Сообщество */
.community-chat {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 16px;
    border: 1px solid #333;
    height: 500px;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

.message {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.message-content {
    flex: 1;
}

.message-author {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #ff6b35;
}

.message-text {
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.message-time {
    font-size: 0.8rem;
    color: #999;
}

.chat-input {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid #333;
}

.chat-input input {
    flex: 1;
    padding: 0.8rem;
    background: #333;
    border: 1px solid #444;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
}

.chat-input input:focus {
    outline: none;
    border-color: #ff6b35;
}

.chat-input button {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: #ffffff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-input button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* Улучшенное модальное окно для отзывов */
.testimonial-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.testimonial-modal .modal-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.testimonial-modal .close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.testimonial-modal .close-modal:hover {
    color: #ff6b35;
    transform: scale(1.1);
}

.testimonial-modal .modal-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.testimonial-modal .modal-image:hover {
    transform: scale(1.02);
}

/* Кнопки навигации в модальном окне */
.testimonial-modal .modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-modal .modal-nav-btn:hover {
    background: rgba(255, 107, 53, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.testimonial-modal .modal-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.testimonial-modal .modal-nav-btn:disabled:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1);
}

.testimonial-modal .prev-btn {
    left: 30px;
}

.testimonial-modal .next-btn {
    right: 30px;
}

/* Счетчик изображений */
.testimonial-modal .modal-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 500;
    z-index: 10001;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .testimonial-modal .modal-image {
        max-width: 95%;
        max-height: 80%;
    }

    .testimonial-modal .close-modal {
        top: 15px;
        right: 20px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }

    .testimonial-modal .modal-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .testimonial-modal .prev-btn {
        left: 15px;
    }

    .testimonial-modal .next-btn {
        right: 15px;
    }

    .testimonial-modal .modal-counter {
        bottom: 20px;
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .testimonial-modal .modal-image {
        max-width: 98%;
        max-height: 75%;
    }

    .testimonial-modal .modal-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .testimonial-modal .prev-btn {
        left: 10px;
    }

    .testimonial-modal .next-btn {
        right: 10px;
    }
}

/* Настройки */
.settings-form {
    max-width: 600px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #333;
}

.settings-form .form-group {
    margin-bottom: 1.5rem;
}

.settings-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #ffffff;
}

.settings-form input {
    width: 100%;
    padding: 0.8rem;
    background: #333;
    border: 1px solid #444;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    box-sizing: border-box;
}

.settings-form input:focus {
    outline: none;
    border-color: #ff6b35;
}

/* Стили для профиля */
.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #000000, #1a1a1a);
    border-radius: 15px;
    border: 1px solid #333;
    position: relative;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: none;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-upload-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.current-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #333;
}

.current-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-controls {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.btn-secondary {
    background: #666;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.btn-secondary:hover {
    background: #777;
}

.btn-danger {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.btn-danger:hover {
    background: #c82333;
}

/* Стили для социальных аккаунтов */
.social-accounts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-account-item {
    display: flex;
    flex-direction: column;
}

.social-account-item label {
    font-size: 0.9rem;
    color: #cccccc;
    margin-bottom: 0.3rem;
}

.social-account-item input {
    padding: 8px 12px;
    border: 1px solid #333;
    border-radius: 4px;
    background: #2a2a2a;
    color: #ffffff;
    font-size: 14px;
}

.social-account-item input:focus {
    outline: none;
    border-color: #ff6b35;
}

.social-accounts {
    display: flex;
    gap: 0.5rem;
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 10;
    filter: none !important;
    -webkit-filter: none !important;
    -moz-filter: none !important;
    -ms-filter: none !important;
    -o-filter: none !important;
}

.social-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    transition: transform 0.2s ease !important;
    display: block !important;
    text-decoration: none !important;
    background: transparent !important;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon img,
.social-accounts .social-icon img,
#socialAccountsContainer .social-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    display: block !important;
    filter: none !important;
    -webkit-filter: none !important;
    -moz-filter: none !important;
    -ms-filter: none !important;
    -o-filter: none !important;
    image-rendering: auto !important;
    -webkit-image-rendering: auto !important;
    -moz-image-rendering: auto !important;
    -ms-image-rendering: auto !important;
    -o-image-rendering: auto !important;
    transform: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    backface-visibility: visible !important;
    -webkit-backface-visibility: visible !important;
    -moz-backface-visibility: visible !important;
    -ms-backface-visibility: visible !important;
    -o-backface-visibility: visible !important;
    -webkit-font-smoothing: auto !important;
    -moz-osx-font-smoothing: auto !important;
}

.profile-info h2 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    color: #ff6b35;
}

.elo-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
    padding: 0.5rem 1rem;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.elo-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ff6b35;
}

.elo-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.profile-info p {
    margin: 0 0 1rem 0;
    color: #cccccc;
    font-size: 1.1rem;
}

.profile-content {
    display: grid;
    gap: 2rem;
}

.profile-section {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #333;
}

.profile-section h3 {
    margin: 0 0 1.5rem 0;
    color: #ffffff;
    font-size: 1.5rem;
}

.info-grid {
    display: grid;
    gap: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #0a0a0a;
    border-radius: 8px;
    border: 1px solid #333;
}

.info-item label {
    font-weight: 600;
    color: #cccccc;
}

.info-item span {
    color: #ffffff;
    font-weight: 500;
}

.achievements-grid {
    display: grid;
    gap: 1rem;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #0a0a0a;
    border-radius: 8px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.achievement-item:hover {
    border-color: #ff6b35;
    transform: translateY(-2px);
}

.achievement-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    border-radius: 50%;
    flex-shrink: 0;
}

.achievement-info h4 {
    margin: 0 0 0.25rem 0;
    color: #ffffff;
    font-size: 1.1rem;
}

.achievement-info p {
    margin: 0;
    color: #cccccc;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .profile-stats {
        justify-content: center;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .achievement-item {
        flex-direction: column;
        text-align: center;
    }
}