:root {
    --color: #f83a4b;
    --color-lighten: #fb9da4;
    --color-lighten10: #fa6b77;
    --color-lighten2: #fee6e8;
    --color-darken: #c50717;
    --color-darken10: #f6091d;
    --color-alpha: rgba(248, 58, 75, 0.5);
    --color-alpha2: rgba(248, 58, 75, 0.2);
    --color-alpha3: rgba(248, 58, 75, 0.05);
    --color-alpha7: rgba(248, 58, 75, 0.7);
    --color-alpha8: rgba(248, 58, 75, 0.8);
    --color-text: #ffffff;
    --color-bg-text: #ffffff;
    --color-bg-title: #ffffff;
    --color-bg-alpha05: rgba(255, 255, 255, 0.05);
    --color-bg-alpha07: rgba(255, 255, 255, 0.07);
    --color-bg-alpha10: rgba(255, 255, 255, 0.1);
    --color-bg-alpha2: rgba(255, 255, 255, 0.2);
    --color-bg-alpha3: rgba(255, 255, 255, 0.3);
    --color-bg-alpha5: rgba(255, 255, 255, 0.5);
    --color-text2: #000000;
    --gradient-main: 331deg, rgb(197, 7, 23), rgb(251, 157, 164);
    --color-primary-text-button: #ffffff;
    --font: 'Gilroy', Arial, sans-serif;
    --input-border-radius: 0.25rem;
    --input-padding: 1.25rem;
    --button-border-radius: 0.25rem;
    --color-bg-sidebar: #080808;
    --color-bg-sidebar-alpha55: rgba(8, 8, 8, 0.55);
    --color-bg-sidebar-alpha0: rgba(8, 8, 8, 0);
    --color-bg-1: #121212;
    --color-bg-2: #1a1a1a;
    --color-bg-3: #333333;
    --color-bg-4: #4d4d4d;
    --color-bg-5: #666666;
    --color-bg-6: rgba(255, 255, 255, 0.7);
    --color-bg-7: #121212;
    --color-bg-8: #262626;
    --color-bg-9: #ffffff;
    --color-bg-10: #1a1a1a;
    --color-bg-11: #000000;
    --color-bg-quiz: #000000;
    --color-bg-quiz-alpha55: rgba(0, 0, 0, 0.55);
    --color-bg-quiz-alpha8: rgba(0, 0, 0, 0.8);
    --color-bg-alpha0: rgba(0, 0, 0, 0);
    --color-bg-alpha7: rgba(255, 255, 255, 0.7);
    --color-white-label: #ffffff;
    --color-white-label-shadow: rgba(0, 0, 0, .2);
    --color-bg-sub-text: #595959;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font);
    background-color: rgb(0, 0, 0);
    color: var(--color-text);
    height: 100vh;
    overflow: visible;
    min-width: 1400px;
    width: 100%;
}

/* Улучшения для мобильных устройств - общие */
@media screen and (max-width: 767px) {
    /* Универсальные настройки для всех мобильных устройств */
    * {
        box-sizing: border-box;
    }
    
    html, body {
        min-width: auto;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
        /* Поддержка safe-area для iPhone с вырезом */
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
    
    /* Универсальные отступы для всех контейнеров */
    .app-wrapper, .app, .app__layout {
        min-width: auto;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }
    
    /* Дополнительная поддержка safe-area для контента */
    .start-page__content, .quiz-content, .final-content {
        padding-left: max(env(safe-area-inset-left), 0.5rem);
        padding-right: max(env(safe-area-inset-right), 0.5rem);
    }
    
    /* Исправление для фиксированных элементов */
    .quiz-mobile-bottom, .quiz-progress-mobile {
        padding-left: max(env(safe-area-inset-left), 0);
        padding-right: max(env(safe-area-inset-right), 0);
        padding-bottom: max(env(safe-area-inset-bottom), 0);
    }
    
    /* Дополнительные исправления для предотвращения горизонтального скролла */
    .start-page__brand, .start-page__content, .quiz-left-panel, .quiz-right-panel, 
    .final-left-panel, .final-right-panel {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* Исправление для изображений */
    .car-image-mobile, .mobile-avatar, .avatar-image {
        max-width: 100%;
        height: auto;
    }
    
    /* Логотип в хедере - исключение из общих правил */
    .start-page__brand .start-page__logo {
        max-width: none !important;
        height: clamp(30px, 6vw, 45px) !important;
        width: auto !important;
    }
    
    /* Дополнительные исправления для полной адаптивности */
    .start-page__content, .quiz-content, .final-content {
        /* Убираем все фиксированные максимальные ширины */
        max-width: none !important;
        width: 100% !important;
    }
    
    /* Универсальные адаптивные отступы для всех внутренних элементов */
    .start-page__body > *, .quiz-content > *, .final-content > * {
        max-width: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Специальные исключения для элементов, которые должны быть адаптивными */
    .start-page__button, .discount-badge, .quiz-option, .final-title {
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box !important;
    }
    
    /* ===============================
       МОБИЛЬНАЯ ВЕРСИЯ - КВИЗ СЕКЦИЯ
       =============================== */
    
    /* Основная структура квиза для мобильных */
    .quiz-page {
        overflow-y: auto;
        /* Фиксированная высота для корректной прокрутки */
        height: 100vh;
        position: relative;
    }
    
    /* Переопределяем position: fixed для мобильной версии */
    @media screen and (max-width: 767px) {
        .quiz-page {
            position: relative !important;
            height: auto !important;
            min-height: 100vh !important;
        }
    }
    
    .quiz-container {
        flex-direction: column !important;
        min-width: auto !important;
        width: 100% !important;
        height: 100vh !important;
        /* Универсальные отступы для всех экранов */
        padding: clamp(0.5rem, 2vw, 1rem) !important;
        gap: 1.5rem !important;
        /* Увеличиваем нижний отступ для фиксированного футера */
        padding-bottom: 120px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        /* Обеспечиваем прокрутку */
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
    
    /* Левая панель квиза - мобильная версия */
    .quiz-left-panel {
        flex: 1 !important;
        width: 100% !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 1.5rem !important;
        order: 1 !important;
        /* Обеспечиваем правильную высоту для прокрутки */
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
        /* Убираем ограничения по высоте */
        max-height: none !important;
    }
    
    /* Контент квиза - мобильная версия */
    .quiz-content {
        max-width: none !important;
        width: 100% !important;
        height: auto !important;
        justify-content: flex-start !important;
        /* Убираем фиксированный нижний отступ, используем padding-bottom контейнера */
        padding: 0 !important;
        margin: 0 !important;
        position: static !important;
        z-index: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        /* Обеспечиваем правильную высоту для прокрутки */
        min-height: auto !important;
        flex: 1 !important;
        /* Убираем ограничения по высоте */
        max-height: none !important;
    }
    
    /* Вопрос - мобильная версия (вверху) */
    .quiz-question {
        /* Адаптивный размер шрифта */
        font-size: clamp(1.2rem, 4vw, 1.6rem) !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 !important;
        order: 1 !important;
        line-height: 1.3 !important;
        white-space: normal !important;
    }
    
    /* Сообщение ассистента - мобильная версия (после вопроса) */
    .quiz-description-mobile {
        order: 2 !important;
        margin: 0 !important;
        padding: 0 !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: 0.8rem !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        display: block !important;
        overflow: hidden !important;
        /* Анимация появления/исчезновения */
        opacity: 0 !important;
        transform: translateX(30px) !important;
        transition: opacity 0.5s ease, transform 0.5s ease !important;
    }
    
    /* Анимация появления окошка ассистента */
    .quiz-description-mobile.show {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    /* Заголовок сообщения ассистента */
    .mobile-assistant-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 1rem !important;
        cursor: pointer !important;
        transition: background-color 0.2s ease !important;
    }
    
    .mobile-assistant-header:hover {
        background: rgba(255, 255, 255, 0.05) !important;
    }
    
    /* Кружок контакта */
    .mobile-contact-circle {
        display: flex !important;
        align-items: center !important;
        gap: 0.8rem !important;
        flex: 1 !important;
    }
    
    .mobile-avatar {
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        border: 2px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    .mobile-contact-info {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.2rem !important;
    }
    
    .mobile-name-status {
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }
    
    .mobile-name {
        color: #fff !important;
        font-size: 1rem !important;
        font-weight: 500 !important;
    }
    
    .mobile-status-dot {
        width: 8px !important;
        height: 8px !important;
        background: #00ff00 !important;
        border-radius: 50% !important;
        box-shadow: 0 0 6px rgba(0, 255, 0, 0.5) !important;
    }
    
    .mobile-role {
        color: rgba(255, 255, 255, 0.7) !important;
        font-size: 0.8rem !important;
    }
    
    /* Иконка раскрытия */
    .mobile-expand-icon {
        color: rgba(255, 255, 255, 0.6) !important;
        font-size: 0.8rem !important;
        transition: transform 0.3s ease !important;
        user-select: none !important;
    }
    
    .quiz-description-mobile.expanded .mobile-expand-icon {
        transform: rotate(180deg) !important;
    }
    
    /* Содержимое сообщения */
    .mobile-message-content {
        max-height: 1.5em !important; /* Показываем одну строку */
        overflow: hidden !important;
        transition: max-height 0.3s ease !important;
    }
    
    .quiz-description-mobile.expanded .mobile-message-content {
        max-height: 200px !important;
        overflow-y: auto !important;
    }
    
    .mobile-message-text {
        padding: 0 1rem 1rem 1rem !important;
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }
    
    /* Стили для скроллбара в сообщении ассистента */
    .mobile-message-content::-webkit-scrollbar {
        width: 4px !important;
    }
    
    .mobile-message-content::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 2px !important;
    }
    
    .mobile-message-content::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3) !important;
        border-radius: 2px !important;
    }
    
    .mobile-message-content::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.5) !important;
    }
    
    /* Изображение - мобильная версия (сразу после сообщения) */
    .quiz-image-mobile {
        order: 3 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 1rem 0 !important;
        padding: 0 !important;
        flex: none !important;
        height: auto !important;
        width: 100vw !important;
        position: relative !important;
        left: 50% !important;
        transform: translateX(-50%) translateX(30px) !important;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out, visibility 0.4s ease-in-out;
    }
    
    /* Анимация появления мобильного изображения */
    .quiz-image-mobile.show {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(-50%) translateX(0) !important;
    }
    
    /* Состояние когда контейнер полностью скрыт (не занимает место) */
    .quiz-image-mobile.hidden {
        height: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }
    
    
    .car-image-mobile {
        width: 90vw !important;
        max-width: 90vw !important;
        max-height: 300px !important;
        height: auto !important;
        object-fit: contain !important;
        border-radius: 0.5rem !important;
        display: block !important;
    }
    
    /* Скрываем оригинальное изображение на мобильных */
    .quiz-image {
        display: none !important;
    }
    
    /* Ответы - мобильная версия (после изображения) */
    .quiz-options {
        order: 4 !important;
        margin: 0 !important;
        gap: 0.8rem !important;
        flex: none !important;
        justify-content: flex-start !important;
    }
    
    .quiz-option {
        /* Адаптивные отступы */
        padding: clamp(0.8rem, 2.5vw, 1.2rem) !important;
        border-radius: 0.6rem !important;
        /* Адаптивный размер шрифта */
        font-size: clamp(0.9rem, 2.5vw, 1.1rem) !important;
        box-sizing: border-box !important;
    }
    
    .quiz-option input[type="radio"] {
        /* Адаптивный размер радио-кнопок */
        width: clamp(1.2rem, 3vw, 1.6rem) !important;
        height: clamp(1.2rem, 3vw, 1.6rem) !important;
        /* Адаптивный отступ */
        margin-right: clamp(0.8rem, 2vw, 1.2rem) !important;
    }
    
    .option-text {
        /* Адаптивный размер шрифта */
        font-size: clamp(0.9rem, 2.5vw, 1.1rem) !important;
    }
    
    /* Контейнер для карточек и кнопок навигации - фиксированный футер */
    .quiz-mobile-bottom {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        display: none !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
        margin: 0 !important;
        padding: 1rem !important;
        background: rgba(0, 0, 0, 0.95) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
        z-index: 1000 !important;
        order: 5 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        transition: none !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3) !important;
    }
    
    /* Показываем футер когда он активен */
    .quiz-mobile-bottom.active {
        display: flex !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    /* Защита от скрытия футера JavaScript'ом */
    .quiz-mobile-bottom * {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Дополнительная защита для кнопок */
    .quiz-mobile-bottom .nav-button {
        opacity: 1 !important;
        visibility: visible !important;
        display: inline-block !important;
    }
    
    /* Дополнительная защита для карточек */
    .quiz-mobile-bottom .quiz-mobile-card {
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
    }
    
    /* Прогресс-бар теперь отдельный элемент внизу экрана */
    
    /* Верхняя строка - карточки и кнопки на одной строке */
    .quiz-mobile-top-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 1rem !important;
        order: 1 !important;
    }
    
    /* Карточки бонусов - мобильная версия (маленькие квадраты) */
    .quiz-mobile-cards {
        display: flex !important;
        gap: 0.5rem !important;
        flex: 1 !important;
    }
    
    .quiz-mobile-card {
        width: 50px !important;
        height: 50px !important;
        background: #e5e5e5 !important;
        border-radius: 0.5rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid #d0d0d0 !important;
        cursor: not-allowed !important;
        position: relative !important;
        flex-shrink: 0 !important;
    }
    
    .quiz-mobile-card .bonus-icon,
    .quiz-mobile-card .bonus-emoji {
        font-size: 1.5rem !important;
    }
    
    .quiz-mobile-card .bonus-lock {
        position: absolute !important;
        top: -0.3rem !important;
        right: -0.3rem !important;
        width: 1.2rem !important;
        height: 1.2rem !important;
        background: #fff !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.8rem !important;
        color: #666 !important;
        border: 1px solid #e5e5e5 !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Кнопки навигации - мобильная версия */
    .quiz-mobile-nav {
        display: flex !important;
        gap: 0.5rem !important;
        flex-shrink: 0 !important;
    }
    
    .quiz-mobile-nav .nav-button {
        padding: 0.8rem 1.2rem !important;
        font-size: 0.9rem !important;
        border-radius: 0.5rem !important;
        min-width: 80px !important;
        text-align: center !important;
    }
    
    .quiz-mobile-nav .prev-button {
        background: rgba(255, 255, 255, 0.1) !important;
        color: #fff !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    .quiz-mobile-nav .next-button {
        background: var(--color) !important;
        color: #fff !important;
        border: none !important;
    }
    
    .quiz-mobile-nav .next-button.enabled {
        opacity: 1 !important;
        cursor: pointer !important;
    }
    
    .quiz-mobile-nav .next-button:not(.enabled) {
        opacity: 0.5 !important;
        cursor: not-allowed !important;
    }
    
    /* Полоса прогресса - мобильная версия (в самом низу экрана) */
    .quiz-progress-mobile {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        height: 6px !important;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 1001 !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 0 !important;
    }
    
    .quiz-progress-mobile .progress-text {
        display: none !important;
    }
    
    .quiz-progress-mobile .progress-bar {
        width: 100% !important;
        height: 100% !important;
        border-radius: 0 !important;
        background: transparent !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .quiz-progress-mobile .progress-fill {
        height: 100% !important;
        border-radius: 3px !important;
        background-color: var(--color) !important;
        background-image: repeating-linear-gradient(
            45deg,
            var(--color) 0px,
            var(--color) 10px,
            rgba(255, 255, 255, 0.2) 10px,
            rgba(255, 255, 255, 0.2) 20px
        ) !important;
        background-size: 20px 20px !important;
        transition: width 0.3s ease !important;
        position: relative !important;
        overflow: hidden !important;
        animation: diagonalStripes 1s linear infinite !important;
    }
    
    /* Скрываем прогресс-бар при 0% ширины */
    .quiz-progress-mobile .progress-fill[style*="width: 0%"] {
        width: 0% !important;
        background-color: transparent !important;
        background-image: none !important;
        animation: none !important;
    }
    
    /* Скрываем старую навигацию */
    .quiz-navbar {
        display: none !important;
    }
    
    /* Скрываем правую панель на мобильных */
    .quiz-right-panel {
        display: none !important;
    }
    
    
    /* Специальные стили для полей ввода на мобильных */
    .input-container {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .input-container textarea {
        width: 100% !important;
        min-height: 160px !important;
        max-height: 200px !important;
        font-size: 16px !important; /* Предотвращает зум на iOS */
        padding: 0.8rem !important;
        border-radius: 0.6rem !important;
    }
    
    .char-counter {
        font-size: 0.75rem !important;
        bottom: 0.3rem !important;
        right: 0.8rem !important;
    }
    
    /* Показываем мобильные элементы для вопросов с изображениями (0, 1, 5) */
    .question-0 .quiz-description-mobile,
    .question-1 .quiz-description-mobile,
    .question-5 .quiz-description-mobile {
        display: block !important;
    }
    
    /* Изображения управляются через JavaScript для правильной анимации */
    
    /* Изображения для вопросов 2, 3 и 4 управляются через JavaScript */
    
    /* Показываем описания на мобильных для всех вопросов (2, 3, 4) */
    .question-2 .quiz-description-mobile,
    .question-3 .quiz-description-mobile,
    .question-4 .quiz-description-mobile {
        display: block !important;
    }
    
    /* Убираем стрелки (spinner) с полей ввода в вопросах 3 и 4 в мобильной версии */
    .question-3 #mileage-input,
    .question-4 #budget-input {
        -webkit-appearance: none !important;
        -moz-appearance: textfield !important;
        appearance: none !important;
    }
    
    .question-3 #mileage-input::-webkit-outer-spin-button,
    .question-3 #mileage-input::-webkit-inner-spin-button,
    .question-4 #budget-input::-webkit-outer-spin-button,
    .question-4 #budget-input::-webkit-inner-spin-button {
        -webkit-appearance: none !important;
        margin: 0 !important;
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        pointer-events: none !important;
    }
    
    /* Дополнительные правила для всех полей ввода в мобильной версии */
    #mileage-input::-webkit-outer-spin-button,
    #mileage-input::-webkit-inner-spin-button,
    #budget-input::-webkit-outer-spin-button,
    #budget-input::-webkit-inner-spin-button {
        -webkit-appearance: none !important;
        margin: 0 !important;
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        pointer-events: none !important;
    }
    
    /* Принудительно убираем стрелки для всех number полей в мобильной версии */
    input[type="number"]::-webkit-outer-spin-button,
    input[type="number"]::-webkit-inner-spin-button {
        -webkit-appearance: none !important;
        margin: 0 !important;
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        pointer-events: none !important;
    }
    
    
    .mileage-container, .budget-container {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 2rem 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 60vh !important;
        text-align: center !important;
    }
    
    .mileage-slider, .budget-slider {
        width: 200px !important;
        height: 500px !important;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
        border-radius: 100px !important;
        padding: 0 !important;
        position: relative !important;
        max-width: 200px !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        border: none !important;
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            inset 0 -1px 0 rgba(0, 0, 0, 0.2) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        transition: all 0.3s ease !important;
        cursor: pointer !important;
        user-select: none !important;
        -webkit-user-select: none !important;
        -moz-user-select: none !important;
        -ms-user-select: none !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent !important;
        overflow: hidden !important;
    }
    
    .mileage-slider:hover, .budget-slider:hover {
        border-color: rgba(248, 58, 75, 0.4) !important;
        box-shadow: 
            0 12px 40px rgba(248, 58, 75, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.15),
            inset 0 -1px 0 rgba(0, 0, 0, 0.2) !important;
        transform: translateY(-2px) !important;
    }
    
    .mileage-slider:active, .budget-slider:active {
        transform: translateY(-1px) scale(0.98) !important;
        box-shadow: 
            0 8px 32px rgba(248, 58, 75, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            inset 0 -1px 0 rgba(0, 0, 0, 0.2) !important;
    }
    
    /* Улучшенные стили для touch взаимодействия на мобильных */
    .mileage-slider:focus, .budget-slider:focus {
        outline: none !important;
        box-shadow: 
            0 12px 40px rgba(248, 58, 75, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.15),
            inset 0 -1px 0 rgba(0, 0, 0, 0.2),
            0 0 0 3px rgba(248, 58, 75, 0.2) !important;
    }
    
    /* Стили для улучшенной тактильной обратной связи */
    .mileage-slider.touching, .budget-slider.touching {
        transform: scale(0.95) !important;
        box-shadow: 
            0 6px 24px rgba(248, 58, 75, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            inset 0 -1px 0 rgba(0, 0, 0, 0.2) !important;
        transition: all 0.1s ease !important;
    }
    
    /* Анимация пульсации для активного слайдера */
    @keyframes sliderPulse {
        0% {
            box-shadow: 
                0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1),
                inset 0 -1px 0 rgba(0, 0, 0, 0.2);
        }
        50% {
            box-shadow: 
                0 12px 40px rgba(248, 58, 75, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.15),
                inset 0 -1px 0 rgba(0, 0, 0, 0.2),
                0 0 0 4px rgba(248, 58, 75, 0.1);
        }
        100% {
            box-shadow: 
                0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1),
                inset 0 -1px 0 rgba(0, 0, 0, 0.2);
        }
    }
    
    .mileage-slider.active, .budget-slider.active {
        animation: sliderPulse 2s ease-in-out infinite !important;
    }
    
    .slider-track {
        height: 100% !important;
        width: 100% !important;
        padding-right: 0 !important;
        padding-bottom: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        position: relative !important;
    }
    
    .slider-fill {
        border-radius: 98px !important;
        width: 100% !important;
        height: 0% !important;
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        top: auto !important;
        right: auto !important;
        transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        background: linear-gradient(180deg, 
            #f83a4b 0%, 
            #c50717 50%, 
            #a00512 100%) !important;
        box-shadow: 
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1),
            0 4px 12px rgba(248, 58, 75, 0.4) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        max-width: none !important;
        max-height: none !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    
    .slider-fill::after {
        width: 100% !important;
        height: 6px !important;
        border-radius: 3px !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        background: linear-gradient(90deg, 
            rgba(255, 255, 255, 0.9) 0%, 
            rgba(255, 255, 255, 1) 50%, 
            rgba(255, 255, 255, 0.9) 100%) !important;
        box-shadow: 
            0 2px 8px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.5),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    .slider-max-label, .slider-min-label {
        font-size: 1rem !important;
        padding: 0.5rem 0.8rem !important;
        background: linear-gradient(135deg, 
            rgba(0, 0, 0, 0.8) 0%, 
            rgba(0, 0, 0, 0.6) 100%) !important;
        border-radius: 0.6rem !important;
        text-align: center !important;
        color: #fff !important;
        font-weight: 600 !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 
            0 4px 12px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8) !important;
        min-width: 80px !important;
    }
    
    .slider-max-label {
        margin-top: 0.5rem !important;
        order: 2 !important;
    }
    
    .slider-min-label {
        margin-bottom: 0.5rem !important;
        order: 4 !important;
    }
    
    #mileage-input, #budget-input {
        width: 220px !important;
        font-size: 16px !important; /* Предотвращает зум на iOS */
        padding: 0.8rem !important;
        border-radius: 0.6rem !important;
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.15) 0%, 
            rgba(255, 255, 255, 0.05) 100%) !important;
        border: 2px solid rgba(255, 255, 255, 0.2) !important;
        color: #fff !important;
        text-align: center !important;
        flex-shrink: 0 !important;
        margin: 0.5rem 0 !important;
        box-shadow: 
            0 4px 16px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        transition: all 0.3s ease !important;
        font-weight: 600 !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
        order: 1 !important;
        -webkit-appearance: none !important;
        -moz-appearance: textfield !important;
        appearance: none !important;
    }
    
    .mileage-slider, .budget-slider {
        order: 3 !important;
    }
    
    #mileage-input:focus, #budget-input:focus {
        border-color: rgba(248, 58, 75, 0.6) !important;
        outline: none !important;
        box-shadow: 
            0 6px 20px rgba(248, 58, 75, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.15),
            0 0 0 3px rgba(248, 58, 75, 0.1) !important;
        transform: translateY(-1px) !important;
    }
    
    .other-input {
        font-size: 16px !important; /* Предотвращает зум на iOS */
    }
    
    .other-input-container {
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        flex-wrap: wrap !important;
    }
    
    .other-input {
        flex: none !important;
        width: 200px !important;
        max-width: 200px !important;
        font-size: 16px !important; /* Предотвращает зум на iOS */
    }
    
    /* ===============================
       МОБИЛЬНАЯ ВЕРСИЯ - ГЛАВНАЯ СТРАНИЦА
       =============================== */
    
    /* Основная структура для мобильных - главная страница */
    .app-wrapper,
    .app,
    .app__layout {
        min-width: auto !important;
        width: 100% !important;
    }
    
    .start-page {
        flex-direction: column !important;
        min-width: auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 100vh !important;
        /* Универсальные отступы для всех экранов */
        padding: clamp(0.5rem, 2vw, 1rem) !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* ===============================
       МОБИЛЬНЫЙ ХЕДЕР - ПОЛНАЯ ПЕРЕПИСЬ
       =============================== */
    
    /* Полностью переписываем мобильный хедер */
    .start-page__brand {
        /* Сбрасываем все стили */
        all: unset !important;
        
        /* Базовые стили для хедера */
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        
        /* Адаптивные размеры и позиционирование */
        width: 100% !important;
        height: clamp(50px, 8vw, 70px) !important;
        min-height: clamp(50px, 8vw, 70px) !important;
        max-height: clamp(50px, 8vw, 70px) !important;
        
        /* Адаптивные отступы */
        padding: 0 clamp(0.8rem, 3vw, 1.5rem) !important;
        margin: 0 !important;
        
        /* Внешний вид */
        background: rgba(0, 0, 0, 0.9) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        
        /* Позиционирование */
        position: static !important;
        z-index: 20 !important;
        order: 1 !important;
        
        /* Бокс-модель */
        box-sizing: border-box !important;
    }
    
    /* Логотип в хедере */
    .start-page__logo {
        /* Сбрасываем все стили */
        all: unset !important;
        
        /* Адаптивные размеры */
        height: clamp(30px, 6vw, 45px) !important;
        width: auto !important;
        
        /* Адаптивные отступы */
        margin: 0 clamp(10px, 2.5vw, 20px) 0 0 !important;
        padding: 0 !important;
        
        /* Позиционирование */
        flex-shrink: 0 !important;
        display: block !important;
    }
    
    /* Название компании в хедере */
    .start-page__company {
        /* Сбрасываем все стили */
        all: unset !important;
        
        /* Адаптивный текст */
        font-family: 'Gilroy', Arial, sans-serif !important;
        font-size: clamp(16px, 3.5vw, 22px) !important;
        font-weight: bold !important;
        color: #fff !important;
        
        /* Отступы */
        margin: 0 !important;
        padding: 0 !important;
        
        /* Позиционирование */
        display: block !important;
        flex: 1 !important;
        
        /* Адаптивное поведение текста */
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    /* Контентная область - мобильная версия */
    .start-page__content {
        width: 100% !important;
        max-width: none !important;
        /* Убираем боковые отступы для полной ширины */
        padding: 0 !important;
        order: 2 !important;
        position: static !important;
        z-index: 10 !important;
        height: auto !important;
        flex: 1 !important;
        box-sizing: border-box !important;
        /* Убираем отступ сверху, так как хедер теперь компактный */
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .start-page__body {
        background: rgba(0, 0, 0, 0.9) !important;
        border-radius: 0 !important;
        /* Адаптивные отступы */
        padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 3vw, 2rem) !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Заголовок - унифицированный стиль для всех экранов */
    .start-page__header {
        font-size: 1.75rem !important;
        font-weight: bold !important;
        line-height: 1.3 !important;
        margin-top: 1rem !important;
        margin-bottom: 2rem !important;
        color: var(--color-text) !important;
        text-align: left !important;
        padding: 0 !important;
    }
    
    /* Подзаголовок с преимуществами - мобильная версия */
    .start-page__subheader {
        /* Адаптивные отступы */
        margin-bottom: clamp(1rem, 3vw, 2rem) !important;
    }
    
    .start-page__subheader p {
        /* Адаптивный размер шрифта */
        font-size: clamp(0.9rem, 2.5vw, 1.1rem) !important;
        text-align: left !important;
        /* Адаптивные отступы */
        margin-bottom: clamp(0.6rem, 2vw, 1rem) !important;
        line-height: 1.4 !important;
    }
    
    /* Кнопка - мобильная версия */
    .start-page__button {
        width: 100% !important;
        /* Убираем фиксированную максимальную ширину для полной адаптивности */
        max-width: none !important;
        margin: 0 auto 2rem auto !important;
        /* Адаптивные отступы и размеры */
        padding: clamp(1rem, 3vw, 1.5rem) clamp(1rem, 4vw, 2rem) !important;
        font-size: clamp(1rem, 2.5vw, 1.2rem) !important;
        border-radius: 0.6rem !important;
        display: block !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
    
    /* Скидка - мобильная версия */
    .start-page__discount {
        text-align: center !important;
        margin-bottom: 2rem !important;
    }
    
    .discount-badge {
        display: inline-flex !important;
        /* Убираем фиксированный scale, делаем адаптивным */
        transform: scale(clamp(0.9, 2.5vw, 1.2)) !important;
        /* Обеспечиваем полную ширину контейнера */
        width: 100% !important;
        max-width: none !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
    
    /* Бонусы - мобильная версия */
    .start-page__bonuses {
        margin-bottom: 2rem !important;
    }
    
    .start-page__bonuses-title {
        font-size: 1.1rem !important;
        text-align: center !important;
        margin-bottom: 1.5rem !important;
    }
    
    .bonuses {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
    }
    
    .bonus {
        width: 100% !important;
        max-width: 280px !important;
        height: 70px !important;
        padding: 1rem !important;
    }
    
    .bonus__text {
        font-size: 0.9rem !important;
    }
    
    /* Подвал с контактами - мобильная версия */
    .start-page__footer {
        flex-direction: column !important;
        gap: 1.5rem !important;
        align-items: center !important;
        margin-top: 2rem !important;
        text-align: center !important;
    }
    
    .start-page__contact {
        order: 2 !important;
    }
    
    .start-page__phone {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .start-page__legal {
        font-size: 0.9rem !important;
    }
    
    .whitelabel {
        order: 1 !important;
        gap: 1rem !important;
    }
    
    .whitelabel__button {
        min-width: 50px !important;
        min-height: 50px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.1) !important;
        transition: all 0.2s ease !important;
    }
    
    
    .whitelabel__button:hover {
        background: rgba(255, 255, 255, 0.2) !important;
        transform: scale(1.05) !important;
    }
    
    /* Фоновый слой - мобильная версия */
    .start-page__layer {
        display: none !important;
    }
    
    /* Скрываем разделитель главной страницы на мобильных */
    .start-page__layer::after {
        display: none !important;
    }
    
    /* Фоновое изображение - мобильная версия */
    .start-page__bg {
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
        z-index: -1 !important;
        background-size: cover !important;
        background-position: center !important;
        filter: blur(1px) brightness(0.4) contrast(1.1) !important;
    }
    
    /* Принудительное переопределение inline стилей для заголовка благодарности */
    .thankyou-section .thank-title {
        font-size: clamp(16px, 4vw, 24px) !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 1rem auto !important;
        padding: 0 1rem !important;
        text-align: center !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    
    .thankyou-section .thank-title div[style*="font-size"] {
        font-size: clamp(16px, 4vw, 24px) !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 1rem auto !important;
        padding: 0 1rem !important;
        text-align: center !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    
    /* Предотвращение зума при тапе на input */
    input[type="email"],
    input[type="text"],
    input[type="tel"],
    select,
    textarea {
        font-size: 16px !important;
        -webkit-appearance: none;
        appearance: none;
    }
    
    /* Улучшение тактильных элементов */
    button, 
    .whitelabel__button,
    .quiz-option,
    .bonus-card {
        -webkit-tap-highlight-color: rgba(248, 58, 75, 0.2);
    }
    
    /* Дополнительное сближение элементов в секции благодарности */
    .thankyou-section .benefits-list {
        margin-bottom: -8rem !important;
    }
    
    .thankyou-section .bonuses-section {
        margin-top: -10rem !important;
    }
    
    /* Прокрутка на мобильных */
    ::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }
    
    ::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.2);
    }
    
    ::-webkit-scrollbar-thumb {
        background: var(--color-alpha5);
        border-radius: 3px;
    }
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.loading-text {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 300;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.app-wrapper {
    height: 100vh;
    position: relative;
    min-width: 1400px;
    width: 100%;
}

.app {
    height: 100vh;
    min-width: 1400px;
    width: 100%;
}

.app__layout {
    height: 100vh;
    min-width: 1400px;
    width: 100%;
}

.start-page {
    height: 100vh;
    display: flex;
    position: relative;
    min-width: 1400px;
    width: 100%;
}

.start-page__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-quiz, #fff) url('images/IMG_0189.PNG') no-repeat 0 40%;
    background-size: cover;
    filter: blur(0.5px) brightness(0.7) contrast(1.1);
    -webkit-filter: blur(0.5px) brightness(0.7) contrast(1.1);
}

.start-page__brand {
    position: absolute;
    top: 1rem;
    left: 2rem;
    z-index: 10;
    display: flex;
    align-items: center;
}

.start-page__logo {
    height: 50px;
    margin-right: 35px;
}

.start-page__company {
    font-family: 'Gilroy', Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: var(--color-text);
}

.start-page__content {
    position: relative;
    z-index: 5;
    padding: 2rem 2rem 2rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
    max-width: 45%;
}

.start-page__body {
    background: transparent;
    border-radius: 20px;
    padding: 2.5rem 2.5rem 2.5rem 1.5rem;
    overflow: hidden;
}


.start-page__header {
    font-size: 1.75rem;
    font-weight: bold;
    line-height: 1.3;
    margin-top: 1rem;
    margin-bottom: 2rem;
    color: var(--color-text);
    text-align: left;
    padding: 0;
}

.start-page__subheader {
    margin-bottom: 0.5rem;
}

.start-page__subheader p {
    margin-bottom: 0.5rem;
    font-family: 'Calibri', sans-serif;
    font-size: 1.125rem;
}

.start-page__button {
    background: var(--color);
    color: var(--color-primary-text-button);
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 300;
    border-radius: var(--button-border-radius);
    cursor: pointer;
    margin-bottom: 1.5rem;
    width: 60%;
    box-shadow: 0 4px 20px rgba(248, 58, 75, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.start-page__button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shine 15s infinite ease-in-out;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    10% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.start-page__button:hover {
    background: var(--color-darken10);
    box-shadow: 0 6px 25px rgba(248, 58, 75, 0.4);
}

.start-page__discount {
    margin-bottom: 2rem;
}

.discount-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: #fef3c7;
    border: 2px solid #fbbf24;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.discount-badge::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid #fbbf24;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.discount-badge__title {
    background: #fef3c7;
    color: #1f2937;
    padding: 0.25rem 0.5rem;
    font-size: 0.625rem;
    font-weight: 500;
    white-space: nowrap;
}

.discount-badge__value {
    background: #fbbf24;
    color: #1f2937;
    padding: 0.25rem 0.75rem;
    font-weight: bold;
    font-size: 0.875rem;
    position: relative;
}

.discount-badge__value::after {
    content: '';
    position: absolute;
    right: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #ffffff;
    border-radius: 50%;
}

/* Стили для скидки на странице квиза */
.quiz-right-panel .discount-badge {
    background: #ffd700;
    color: #333;
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: none;
    overflow: visible;
    width: 100%;
    height: 60px;
}

.quiz-right-panel .discount-badge::after {
    display: none;
}

.quiz-right-panel .discount-badge__title {
    background: none;
    color: #333;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.quiz-right-panel .discount-badge__value {
    background: none;
    color: #333;
    padding: 0;
    font-weight: bold;
    font-size: 1.2rem;
    position: static;
}

.quiz-right-panel .discount-badge__value::after {
    display: none;
}

.start-page__bonuses {
    margin-bottom: 2rem;
}

.start-page__bonuses-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.bonuses {
    display: flex;
    gap: 1rem;
}

.bonus {
    width: 192px;
    height: 64px;
    position: relative;
    background: #e5e5e5;
    border-radius: 0.5rem;
    padding: 1rem;
    border: 1px solid #d0d0d0;
    cursor: not-allowed;
}

.bonus__wrapper {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #666666;
    gap: 0.5rem;
    height: 100%;
    cursor: not-allowed;
}

.bonus__text {
    font-size: 0.75rem;
    display: block;
    line-height: 1.2;
}

.bonus__emoji {
    font-size: 2.5rem;
}

.bonus__image {
    width: 48px;
    height: 48px;
    background-image: url('images/4cbDMc6inJB2t8BPZCM7QP-removebg-preview.png');
    background-size: cover;
    background-position: center;
    border-radius: 0.25rem;
    flex-shrink: 0;
}

.bonus__lock-icon {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 2rem;
    height: 2rem;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    font-size: 1.2rem;
    color: #666;
    border: 2px solid #e5e5e5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.start-page__footer {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.start-page__contact {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.start-page__phone {
    font-size: 1rem;
    font-weight: bold;
    color: var(--color-text);
    text-decoration: none;
}

.start-page__legal {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.whitelabel {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.whitelabel__button {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 0;
    font-size: 0.75rem;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    border-radius: 0;
    position: relative;
    overflow: visible;
    outline: none;
}

.whitelabel__button:hover {
    color: #ffffff;
}

/* Shine effect same as buttons */
.whitelabel__button::before { display: none; }

.whitelabel__button:focus {
    outline: none;
    box-shadow: none;
}

.telegram-btn:hover {
    color: #0088cc;
    background: rgba(0, 136, 204, 0.1);
}


.whitelabel__bold {
    font-weight: bold;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
}


.start-page__layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 70%, transparent 100%);
    z-index: 1;
}

.start-page__layer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 35px;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
}

.quiz-page .start-page__layer::after {
    display: none;
}

/* Quiz Page Styles */
.quiz-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Скрываем мобильные элементы на ПК версии */
@media screen and (min-width: 769px) {
    .quiz-description-mobile,
    .quiz-mobile-bottom,
    .quiz-mobile-cards,
    .quiz-mobile-nav,
    .quiz-mobile-top-row,
    .quiz-progress-mobile,
    .quiz-image-mobile {
        display: none !important;
    }
    
}

.quiz-page.active {
    opacity: 1;
}

.quiz-page[style*="display: block"] {
    opacity: 1 !important;
}

/* Анимации для элементов главной страницы */
.start-page__header,
.start-page__subheader,
.start-page__button,
.start-page__discount,
.start-page__bonuses,
.start-page__footer {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Анимации для элементов квиза */
.quiz-footer,
.discount-badge,
.bonus-cards,
.assistant-info,
.quiz-branding {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.quiz-container {
    display: flex;
    height: 100vh;
    min-width: 1400px;
    width: 100%;
}

.quiz-left-panel {
    flex: 1;
    background: #000;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.quiz-content {
    max-width: 375px;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: space-between;
    padding: 2rem 0;
    margin-left: 5rem;
    position: relative;
    z-index: 20;
}

.quiz-question {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    margin-top: -1rem;
    margin-left: 0;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex: 1;
    justify-content: flex-start;
    margin-top: 2rem;
    margin-left: 0;
    position: relative;
    z-index: 30;
}

.quiz-option {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-option.selected {
    background: rgba(248, 58, 75, 0.2);
    border-color: var(--color);
}

.quiz-option:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.input-container {
    position: relative;
    width: 851px;
    margin-left: 0;
    overflow: visible;
}

.input-container textarea {
    width: 100%;
    min-height: 72px;
    max-height: 362px;
    padding: 1rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: none;
    resize: none;
    font-family: inherit;
    overflow: hidden;
    box-sizing: border-box;
    display: block;
    position: relative;
    cursor: text;
}

.input-container textarea:focus {
    border-color: var(--color);
    background: transparent;
}

.input-container textarea::-webkit-resizer {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 0 0 0.5rem 0;
    width: 20px;
    height: 20px;
}

.input-container textarea::-moz-resizer {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 0 0 0.5rem 0;
    width: 20px;
    height: 20px;
}

.input-container textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.char-counter {
    position: absolute;
    bottom: 0.5rem;
    right: 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

/* Общие стили для ПК версии ползунков (применяются только на экранах больше 768px) */
@media screen and (min-width: 768px) {
    .mileage-container, .budget-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        width: 851px !important;
        margin-left: 0 !important;
        position: relative !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        min-height: auto !important;
        text-align: left !important;
        padding: 0.3rem 0 2.5rem 0 !important;
    }
    
    .mileage-slider, .budget-slider {
        width: 851px !important;
        height: 3rem !important;
        border-radius: 1rem !important;
        background-color: rgba(255, 255, 255, 0.05) !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        order: 2 !important;
        padding: 0 !important;
        overflow: visible !important;
        position: relative !important;
        align-self: flex-start !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 1rem !important;
    }
    
    .slider-track {
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
        transition-property: width, height, left, right, top, bottom !important;
        transition-duration: 0.2s !important;
        transition-timing-function: ease !important;
        padding-right: 0 !important;
        order: 2 !important;
    }
    
    .slider-fill {
        border-radius: 1rem !important;
        width: 0% !important;
        height: 100% !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        background: linear-gradient(90deg, #f83a4b 0%, #c50717 100%) !important;
        box-shadow: 0 2px 8px rgba(248, 58, 75, 0.3) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        transition: width 0.2s ease !important;
        z-index: 1 !important;
        bottom: auto !important;
        right: auto !important;
        pointer-events: none !important;
        max-width: none !important;
        max-height: none !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }
    
    .slider-fill::after {
        content: '' !important;
        position: absolute !important;
        top: 50% !important;
        right: 0 !important;
        width: 3px !important;
        height: 24px !important;
        background: #fff !important;
        transform: translateY(-50%) !important;
        border-radius: 2px !important;
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
        pointer-events: auto !important;
        cursor: pointer !important;
    }
    
    .slider-max-label, .slider-min-label {
        font-size: 1.2rem !important;
        padding: 0 !important;
        background: none !important;
        border-radius: 0 !important;
        text-align: left !important;
        color: #fff !important;
        font-weight: 600 !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        text-shadow: 0 0 4px rgba(0, 0, 0, 0.8) !important;
        min-width: auto !important;
        margin: 0 !important;
    }
    
    .slider-min-label {
        order: 1 !important;
        margin: 0 !important;
        margin-right: 1rem !important;
        position: absolute !important;
        bottom: -1.5rem !important;
        left: 0 !important;
    }
    
    .slider-max-label {
        order: 3 !important;
        margin: 0 !important;
        margin-left: 1rem !important;
        position: absolute !important;
        bottom: -1.5rem !important;
        right: 0 !important;
    }

    #mileage-input, #budget-input {
        width: 120px !important;
        padding: 0.6rem !important;
        background: transparent !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 0.5rem !important;
        color: #fff !important;
        font-size: 1rem !important;
        text-align: center !important;
        outline: none !important;
        margin: 0 !important;
        align-self: flex-start !important;
        appearance: textfield !important;
        -moz-appearance: textfield !important;
        order: 0 !important;
    }

#mileage-input::-webkit-outer-spin-button,
#mileage-input::-webkit-inner-spin-button,
#budget-input::-webkit-outer-spin-button,
#budget-input::-webkit-inner-spin-button {
        -webkit-appearance: none !important;
        margin: 0 !important;
}

#mileage-input:focus, #budget-input:focus {
        border-color: var(--color) !important;
    }
}







#mileage-range {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

#mileage-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 0;
    height: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 2;
    border: none;
    outline: none;
}

#mileage-range::-moz-range-thumb {
    width: 0;
    height: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 2;
    border: none;
    outline: none;
}

#mileage-range::-webkit-slider-track {
    background: transparent;
    border: none;
    outline: none;
}

#mileage-range::-moz-range-track {
    background: transparent;
    border: none;
    outline: none;
}

#budget-range {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

#budget-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 0;
    height: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 2;
    border: none;
    outline: none;
}

#budget-range::-moz-range-thumb {
    width: 0;
    height: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 2;
    border: none;
    outline: none;
}

#budget-range::-webkit-slider-track {
    background: transparent;
    border: none;
    outline: none;
}

#budget-range::-moz-range-track {
    background: transparent;
    border: none;
    outline: none;
}

.slider-labels {
    display: flex !important;
    justify-content: space-between;
    color: #fff !important;
    font-size: 1.2rem !important;
    margin-top: 0.5rem;
    font-weight: 600;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.3rem 0.5rem;
    border-radius: 0.3rem;
}

.quiz-option input[type="radio"] {
    margin-right: 1rem;
    width: 1.2rem;
    height: 1.2rem;
    accent-color: #ff0000;
}

.option-text {
    color: #fff;
    font-size: 1rem;
}

/* Удалены дублирующиеся стили для .info-icon - используются стили в .info-tooltip */

.other-input-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.other-input {
    flex: 1;
    padding: 0.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.other-input:focus {
    border-color: var(--color);
}

.other-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.quiz-navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    background-color: var(--color-bg-quiz, #000);
    width: 100%;
    margin-top: auto;
    margin-bottom: 1rem;
    padding: 0 2rem;
    gap: 2rem;
    margin-left: 15rem;
}

.quiz-progress {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.progress-text {
    color: #fff;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.progress-text .progress-percent {
    color: var(--color);
    font-weight: bold;
}

.progress-bar {
    width: 600px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--color);
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    background-image: repeating-linear-gradient(
        45deg,
        var(--color) 0px,
        var(--color) 10px,
        rgba(255, 255, 255, 0.2) 10px,
        rgba(255, 255, 255, 0.2) 20px
    );
    background-size: 20px 20px;
    animation: diagonalStripes 1s linear infinite;
}

@keyframes diagonalStripes {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 20px 0;
    }
}

.quiz-navigation {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
}

.quiz-navigation > div:first-child {
    display: flex;
    gap: 0.5rem;
}

.nav-button {
    padding: 0.6rem 2.2rem;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.prev-button {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Крестик при наведении на заблокированную кнопку "Назад" в ПК версии */
@media screen and (min-width: 768px) {
    .prev-button[style*="cursor: not-allowed"]:hover {
        cursor: not-allowed !important;
    }
    
    .prev-button[style*="opacity: 0.3"]:hover {
        cursor: not-allowed !important;
    }
}

.next-button {
    background: var(--color);
    color: #fff;
    cursor: not-allowed;
    opacity: 0.5;
    width: 127px;
}

.nav-button:hover {
    opacity: 0.8;
}

.next-button:hover {
    opacity: 0.5;
}

.next-button.enabled {
    position: relative;
    overflow: hidden;
}

.next-button.enabled::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shine 15s infinite ease-in-out;
}

.enter-hint {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    text-align: right;
}

.quiz-right-panel {
    flex: 0 0 25%;
    background: #111;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.quiz-info {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: -1rem;
    margin-left: -1rem;
}

.all-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.bonus-card {
    position: relative;
    width: 100%;
    height: 80px;
    background: #e5e5e5;
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #d0d0d0;
    cursor: not-allowed;
}

.bonus-icon, .bonus-emoji {
    font-size: 2.5rem;
}

.bonus-text {
    color: #666;
    font-size: 0.8rem;
}

.bonus-lock {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 2rem;
    height: 2rem;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #666;
    border: 2px solid #e5e5e5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.quiz-image {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex: 0 0 40%;
    height: 100vh;
    padding: 1rem 0;
    margin-top: 5rem;
    margin-left: -8rem;
    position: relative;
    left: calc(-4rem - 7px);
    transition: all 0.6s ease;
    z-index: 1;
}

.car-image {
    max-width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 0.5rem;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.assistant-info {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: -0.7rem;
}

.assistant-avatar {
    position: relative;
    flex-shrink: 0;
}

.avatar-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.assistant-avatar .status-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 10px;
    height: 10px;
    background: #00ff00;
    border: 2px solid #fff;
    border-radius: 50%;
}

.assistant-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.assistant-name {
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
}

.assistant-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
}

.quiz-right-panel .quiz-info .quiz-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    line-height: 1.5;
    background: #2a2a2a;
    border-radius: 1rem;
    padding: 1rem;
    padding-right: 15px;
    position: relative;
    margin-top: 0.5rem;
    margin-left: -0.5rem;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-weight: 300 !important;
    z-index: 2;
    overflow: visible;
}

.quiz-right-panel .quiz-info .quiz-description::before {
    content: '';
    position: absolute;
    top: -0.8rem;
    left: 1rem;
    width: 0;
    height: 0;
    border-left: 0.6rem solid transparent;
    border-right: 0.6rem solid transparent;
    border-bottom: 1rem solid #2a2a2a;
    z-index: 10;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    display: block !important;
    visibility: visible !important;
}

/* Специальный класс для вопросов с прокруткой */
.quiz-right-panel .quiz-info .quiz-description-scrollable {
    position: relative;
    margin-top: 0.5rem;
    margin-left: 0.5rem;
}

.quiz-right-panel .quiz-info .quiz-description-scrollable::before {
    content: '';
    position: absolute;
    top: -0.8rem;
    left: 1rem;
    width: 0;
    height: 0;
    border-left: 0.6rem solid transparent;
    border-right: 0.6rem solid transparent;
    border-bottom: 1rem solid #2a2a2a;
    z-index: 10;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    display: block !important;
    visibility: visible !important;
}

/* Хвостик через box-shadow */
.quiz-right-panel .quiz-info .quiz-description-scrollable::after {
    content: '';
    position: absolute;
    top: -0.8rem;
    left: 1rem;
    width: 0;
    height: 0;
    border-left: 0.6rem solid transparent;
    border-right: 0.6rem solid transparent;
    border-bottom: 1rem solid #2a2a2a;
    z-index: 10;
    display: block !important;
    visibility: visible !important;
}

/* Стили для подсказки */
.info-tooltip {
    position: relative;
    display: inline-block;
    margin-left: 0.5rem;
}

.info-tooltip .info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #6b7280;
    color: white;
    border-radius: 50%;
    font-size: 10px;
    font-weight: bold;
    cursor: help;
    line-height: 1;
}

.info-tooltip .tooltip-content {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #333;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    white-space: normal;
    width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 99999;
    margin-left: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.info-tooltip .tooltip-content::after {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right-color: #fff;
}

.info-tooltip:hover .tooltip-content {
    opacity: 1;
    visibility: visible;
}

/* Стили для красной тонкой прокрутки */
.quiz-right-panel .quiz-info .quiz-description::-webkit-scrollbar,
.quiz-right-panel .quiz-info .quiz-description div::-webkit-scrollbar {
    width: 3px;
}

.quiz-right-panel .quiz-info .quiz-description::-webkit-scrollbar-track,
.quiz-right-panel .quiz-info .quiz-description div::-webkit-scrollbar-track {
    background: #333;
}

.quiz-right-panel .quiz-info .quiz-description::-webkit-scrollbar-thumb,
.quiz-right-panel .quiz-info .quiz-description div::-webkit-scrollbar-thumb {
    background: #ff0000;
    border-radius: 1px;
}

.quiz-right-panel .quiz-info .quiz-description::-webkit-scrollbar-thumb:hover,
.quiz-right-panel .quiz-info .quiz-description div::-webkit-scrollbar-thumb:hover {
    background: #cc0000;
}

/* Дополнительные стили для Firefox */
.quiz-right-panel .quiz-info .quiz-description {
    scrollbar-width: thin;
    scrollbar-color: #ff0000 #333;
}


.quiz-branding {
    margin-top: auto;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

/* Final Page Styles */
.final-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.thank-title {
    font-size: clamp(16px, 2.2vw, 26px) !important;
    max-width: clamp(260px, 40vw, 420px) !important;
    word-wrap: break-word !important;
    line-height: 1.4 !important;
}

.final-page.active {
    opacity: 1;
}

.final-page[style*="display: block"] {
    opacity: 1 !important;
}

.final-container {
    display: flex;
    height: 100vh;
    min-width: 1400px;
    width: 100%;
    justify-content: center;
    gap: 0;
    position: relative;
}

.final-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: calc(50% + 4rem);
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1;
    display: var(--separator-display, block);
}

.final-left-panel {
    flex: 0 0 var(--panel-width, 600px);
    background: #000;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Стили только для страницы благодарности */
.final-left-panel .thankyou-section {
    max-width: none !important;
    width: 100% !important;
}

.final-left-panel .thankyou-section .thank-title {
    font-size: 28px !important;
    max-width: 480px !important;
    line-height: 1.3 !important;
}

.final-content {
    max-width: var(--content-width, 550px);
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.final-content .thankyou-section {
    max-width: none !important;
    width: 100% !important;
    padding-right: 0 !important;
}

.final-progress {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.final-progress .progress-text {
    color: #fff;
    font-size: 1rem;
    font-weight: 300;
}

.final-progress .progress-bar {
    width: 445px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.final-progress .progress-fill {
    height: 100%;
    background: var(--color);
    width: 95%;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    background-image: repeating-linear-gradient(
        45deg,
        var(--color) 0px,
        var(--color) 10px,
        rgba(255, 255, 255, 0.2) 10px,
        rgba(255, 255, 255, 0.2) 20px
    );
    background-size: 20px 20px;
    animation: diagonalStripes 1s linear infinite;
}

.final-progress .progress-percent {
    color: var(--color);
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0.2rem;
    position: relative;
    display: inline-block;
    left: 95%;
    transform: translateX(-50%);
    top: -2.8rem;
    margin-left: -5rem;
    margin-top: 1px;
    margin-right: 20px;
    left: calc(95% - 6px);
}

.final-progress .progress-percent::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid var(--color);
    margin-top: 0.1rem;
}

.final-title {
    font-size: 1.4rem;
    color: #fff;
    line-height: 1.4;
    font-weight: 300;
    max-width: 500px;
}

.benefits-list h3 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

@media screen and (max-width: 767px) {
    .benefits-list h3 {
        margin-bottom: 0.3rem;
    }
}

.benefits-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    color: #fff;
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    padding-left: 0;
    max-width: 500px;
}

.benefits-list li:first-child {
    max-width: 480px;
}

.benefits-list li:last-child {
    max-width: 450px;
}

.bonuses-section h3 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.bonuses-grid {
    display: flex;
    gap: 1rem;
}

.bonuses-section .bonus-card {
    position: relative;
    width: 200px;
    height: 60px;
    background: #e5e5e5;
    border-radius: 0.5rem;
    padding: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #d0d0d0;
    cursor: not-allowed;
}

.bonuses-section .bonus-icon,
.bonuses-section .bonus-emoji {
    font-size: 2rem;
}

.bonuses-section .bonus-text {
    color: #666;
    font-size: 0.8rem;
}

.bonuses-section .bonus-lock {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 2rem;
    height: 2rem;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #666;
    border: 2px solid #e5e5e5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.arrow-indicator {
    position: absolute;
    right: 42rem;
    top: calc(50% + 6rem);
    transform: translateY(-50%);
    font-size: 3rem;
    color: var(--color);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(-50%) translateX(0);
    }
    40% {
        transform: translateY(-50%) translateX(10px);
    }
    60% {
        transform: translateY(-50%) translateX(5px);
    }
}

.final-right-panel {
    flex: 0 0 400px;
    background: #000;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.final-form {
    max-width: 500px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.final-form .discount-badge {
    background: #ffd700;
    color: #333;
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.discount-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.discount-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.discount-value {
    font-weight: bold;
    font-size: 1.2rem;
}

.final-form .info-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #4a5568;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    cursor: help;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group:last-of-type {
    margin-bottom: 2rem;
}

.form-label {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    z-index: 2;
    font-size: 1.2rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

/* ===== ПОЛЕ ТЕЛЕФОНА С СЕЛЕКТОРОМ СТРАН ===== */

.phone-input-container {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    background: transparent;
    overflow: visible;
    transition: border-color 0.3s ease;
}

.phone-input-container:focus-within {
    border-color: var(--color);
}

.country-selector {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    min-width: 120px;
    user-select: none;
}

.country-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    width: 100%;
    justify-content: space-between;
}

.country-flag {
    font-size: 1.2rem;
}

.country-code {
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
}

.dropdown-arrow {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.country-selector.active .dropdown-arrow {
    transform: rotate(180deg);
}

.country-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    margin-top: 4px;
    width: 346px;
    min-width: 200px;
}

.country-selector.active .country-dropdown {
    display: block !important;
}

.country-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.country-option:last-child {
    border-bottom: none;
}

.country-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.country-option.selected {
    background: rgba(0, 255, 0, 0.2);
}

.country-option .country-flag {
    font-size: 1.1rem;
}

.country-option .country-code {
    color: #fff;
    font-weight: 500;
    min-width: 40px;
}

.country-option .country-name {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    flex: 1;
}

#user-phone {
    flex: 1;
    padding: 1rem;
    font-size: 1rem;
    border: none;
    background: transparent;
    color: #fff;
    outline: none;
    font-family: inherit;
}

#user-phone::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Стили для скроллбара в выпадающем списке */
.country-dropdown::-webkit-scrollbar {
    width: 4px;
}

.country-dropdown::-webkit-scrollbar-track {
    background: #333;
}

.country-dropdown::-webkit-scrollbar-thumb {
    background: var(--color);
    border-radius: 2px;
}

.country-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--color-darken10);
}

.form-input:focus {
    border-color: var(--color);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-select {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 3rem;
}

.form-select:focus {
    border-color: var(--color);
}

.form-select option {
    background: #333;
    color: #fff;
    padding: 0.5rem;
}

.error-icon {
    position: absolute;
    right: 1rem;
    color: var(--color);
    font-weight: bold;
    font-size: 1.2rem;
}


.submit-button {
    background: var(--color);
    color: #fff;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(248, 58, 75, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.submit-button:hover {
    background: var(--color-darken10);
    box-shadow: 0 6px 25px rgba(248, 58, 75, 0.4);
}

.submit-button svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    cursor: pointer;
}


/* НОВЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ БЛАГОДАРНОСТИ - ПЕРЕПИСАНЫ С НУЛЯ */
.thankyou-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: none; /* По умолчанию скрыта */
    z-index: 9999;
    background: #000;
    align-items: center;
    justify-content: center;
}

/* Когда страница благодарности показывается */
.thankyou-page[style*="display: flex"] {
    display: flex !important;
}

.thankyou-container {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    display: flex;
    gap: 3rem;
    align-items: center;
    justify-content: space-between;
}

.thankyou-left {
    flex: 1;
    max-width: 500px;
    margin-top: 4rem;
}

/* НОВЫЙ КОНТЕЙНЕР КОНТЕНТА */
.thankyou-content-new {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    text-align: left;
    /* Обеспечиваем правильное отображение всех дочерних элементов */
    position: relative;
    z-index: 100;
    width: 100%;
}

/* НОВЫЙ ЗАГОЛОВОК */
.thank-title-new {
    font-size: 2rem;
    color: #fff;
    margin: 0;
    text-align: left;
    line-height: 1.3;
}

/* ИМЯ ПОЛЬЗОВАТЕЛЯ */
#thank-user-name-new {
    color: var(--color);
    font-weight: bold;
}

/* НОВЫЙ ТЕКСТ */
.thank-text-new {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: left;
    line-height: 1.6;
    margin: 0;
    max-width: 100%;
}

/* НОВАЯ КНОПКА */
.thank-button-new {
    background: var(--color);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(248, 58, 75, 0.3);
    width: auto;
    min-width: auto;
}

.thank-button-new:hover {
    background: var(--color-darken10);
    box-shadow: 0 6px 25px rgba(248, 58, 75, 0.4);
    transform: translateY(-2px);
}

/* НОВЫЕ КНОПКИ МЕССЕНДЖЕРОВ - ПЕРЕПИСАНЫ С НУЛЯ */
.thank-messengers-new {
    display: flex !important;
    flex-direction: row !important;
    gap: 1rem !important;
    margin-top: 0.5rem !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    height: auto !important;
    /* Принудительно показываем кнопки */
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1000 !important;
}

/* Стили для действий */
.thank-actions-new {
    margin-top: 1rem;
    width: 100%;
}

.messenger-btn-new {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    /* Принудительные стили */
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1001 !important;
}

/* Принудительно показываем кнопки мессенджеров */
.thank-messengers-new[style*="opacity: 0"] {
    opacity: 1 !important;
}

.messenger-btn-new[style*="opacity: 0"] {
    opacity: 1 !important;
}

/* МАКСИМАЛЬНО ПРИНУДИТЕЛЬНЫЕ СТИЛИ ДЛЯ КНОПОК МЕССЕНДЖЕРОВ */
.thankyou-page .thank-messengers-new {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 9999 !important;
    width: 100% !important;
    height: auto !important;
}

.thankyou-page .messenger-btn-new {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10000 !important;
    width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
}

.thankyou-page .messenger-btn-new svg {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 40px !important;
    height: 40px !important;
    fill: #fff !important;
}

.messenger-btn-new:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
}

.telegram-btn-new:hover {
    background: rgba(0, 136, 204, 0.2) !important;
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.4) !important;
}


.messenger-btn-new svg {
    width: 40px !important;
    height: 40px !important;
    fill: #fff !important;
    color: #fff !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1001 !important;
}

.thankyou-right {
    flex: 1;
    max-width: 400px;
    margin-top: -2rem; /* Поднимаем карточки выше */
}

.thankyou-bonuses {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Стили для разблокированных карточек бонусов */
.bonus-card-unlocked {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bonus-card-unlocked:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(248, 58, 75, 0.2);
}

.bonus-card-unlocked .bonus-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.bonus-card-unlocked .bonus-text {
    flex: 1;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
}

.bonus-card-unlocked .bonus-arrow {
    color: var(--color);
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.bonus-card-unlocked:hover .bonus-arrow {
    transform: translateX(5px);
}

/* Стили для кнопки "Вернуться на главную" в ПК версии */
.thankyou-page .thank-button {
    background: var(--color) !important;
    color: #fff !important;
    border: none !important;
    padding: 1rem 2rem !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    border-radius: 0.5rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 20px rgba(248, 58, 75, 0.3) !important;
    margin-top: 1rem !important;
    width: auto !important;
    min-width: 200px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
}

.thankyou-page .thank-button:hover {
    background: var(--color-darken10) !important;
    box-shadow: 0 6px 25px rgba(248, 58, 75, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* Стили для кнопок мессенджеров */
.thank-messengers {
    display: flex !important;
    gap: 1rem !important;
    margin-top: 1.5rem !important;
    visibility: visible !important;
    opacity: 1 !important;
    /* Отладочные стили */
    border: 2px solid yellow !important;
    padding: 10px !important;
    background: rgba(255, 255, 0, 0.1) !important;
    min-height: 80px !important;
}

/* Максимально специфичные стили для кнопок мессенджеров на странице благодарности */
.thankyou-page .thank-messengers .whitelabel__button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 60px !important;
    height: 60px !important;
    background: rgba(255, 255, 255, 0.3) !important;
    border: 3px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 50% !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1000 !important;
    /* Принудительно переопределяем все возможные скрывающие стили */
    min-width: 60px !important;
    min-height: 60px !important;
    max-width: none !important;
    max-height: none !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    /* Временная отладочная рамка */
    box-shadow: 0 0 0 3px red !important;
    /* Принудительные размеры */
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    /* Дополнительные стили для видимости */
    margin: 5px !important;
    padding: 0 !important;
    /* Переопределяем все базовые стили */
    background-color: rgba(255, 255, 255, 0.3) !important;
    background-image: none !important;
    border-style: solid !important;
    border-width: 3px !important;
}

.thankyou-page .whitelabel__button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.thankyou-page .telegram-btn:hover {
    background: rgba(0, 136, 204, 0.2);
    border-color: #0088cc;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}


.thankyou-page .thank-messengers .whitelabel__button svg {
    width: 35px !important;
    height: 35px !important;
    fill: #fff !important;
    color: #fff !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1001 !important;
}

/* Стили для страницы благодарности на мобильных устройствах */
@media screen and (max-width: 767px) {
    .thankyou-page {
        padding: 1rem;
        align-items: flex-start;
        padding-top: 2rem;
        overflow-y: auto;
        height: 100vh;
    }
    
    .thankyou-container {
        padding: 1rem;
        max-width: 100%;
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        justify-content: flex-start;
        padding-top: 1rem;
    }
    
    .thankyou-left {
        max-width: 100%;
        margin-top: 0;
        width: 100%;
    }
    
    .thankyou-right {
        max-width: 100%;
        margin-top: 1rem; /* Подвинуть карточки ниже на 1rem */
    }
    
    .thankyou-bonuses {
        gap: 1rem;
    }
    
    .bonus-card-unlocked {
        padding: 1rem;
    }
    
    /* Кнопка на всю ширину в мобильной версии */
    .thankyou-content-new {
        width: 100% !important;
        align-items: stretch !important;
    }
    
    .thank-actions-new {
        width: 100% !important;
    }
    
    .thank-button-new {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
    
    /* НОВЫЕ кнопки мессенджеров на мобильных */
    .thank-messengers-new {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 1rem !important;
        /* Принудительно показываем на мобильных */
        visibility: visible !important;
        opacity: 1 !important;
        display: flex !important;
    }
    
    .messenger-btn-new {
        width: 35px !important;
        height: 35px !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        /* Принудительно показываем на мобильных */
        visibility: visible !important;
        opacity: 1 !important;
        display: flex !important;
    }
    
    .messenger-btn-new svg {
        width: 25px !important;
        height: 25px !important;
        /* Принудительно показываем на мобильных */
        visibility: visible !important;
        opacity: 1 !important;
        display: block !important;
    }
    
    /* Стили для заголовка благодарности */
    .thank-title-new {
        font-size: 1.8rem !important;
        margin-bottom: 1rem !important;
        color: #fff !important;
        text-align: center !important;
        line-height: 1.3 !important;
    }
    
    /* Стили для текста благодарности */
    .thank-text-new {
        font-size: 1.2rem !important;
        color: rgba(255, 255, 255, 0.8) !important;
        text-align: center !important;
        line-height: 1.5 !important;
        margin-bottom: 2rem !important;
        max-width: 100% !important;
    }
    
    /* Стили для имени пользователя */
    .thankyou-page .thank-user-name {
        color: var(--color) !important;
        font-weight: bold !important;
    }
    
    /* Стили для кнопки на странице благодарности */
    .thank-button-new {
        background: var(--color) !important;
        color: #fff !important;
        border: none !important;
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
        font-weight: 500 !important;
        border-radius: 0.5rem !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 4px 20px rgba(248, 58, 75, 0.3) !important;
        margin-top: 1rem !important;
        width: 100% !important;
        min-width: unset !important;
        text-decoration: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
        box-sizing: border-box !important;
    }
    
    .thank-button-new:hover {
        background: var(--color-darken10) !important;
        box-shadow: 0 6px 25px rgba(248, 58, 75, 0.4) !important;
    }
}

/* Оптимизация для маленьких экранов (до 360px) */
@media screen and (max-width: 360px) {
    .thankyou-page {
        padding: 0.5rem;
        align-items: flex-start;
        padding-top: 1rem;
        overflow-y: auto;
        height: 100vh;
    }
    
    .thankyou-container {
        padding: 0.5rem;
        gap: 1rem;
        justify-content: flex-start;
        padding-top: 0.5rem;
    }
    
    .thankyou-left {
        margin-top: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .thank-title-new {
        font-size: 1.2rem !important;
    }
    
    .thank-text-new {
        font-size: 0.9rem !important;
    }
    
    .bonus-card-unlocked {
        padding: 0.75rem;
        max-width: 280px;
    }
    
    .messenger-btn-new {
        width: 30px !important;
        height: 30px !important;
    }
    
    .messenger-btn-new svg {
        width: 20px !important;
        height: 20px !important;
    }
    
    .thankyou-content-new {
        width: 100% !important;
        align-items: stretch !important;
    }
    
    .thank-actions-new {
        width: 100% !important;
    }
    
    .thank-button-new {
        width: 100% !important;
        min-width: unset !important;
        padding: 0.75rem 1.25rem !important;
        font-size: 0.85rem !important;
        display: flex !important;
        box-sizing: border-box !important;
    }
}

/* Оптимизация для средних мобильных экранов (361px - 480px) */
@media screen and (min-width: 361px) and (max-width: 480px) {
    .thankyou-page {
        padding: 0.75rem;
        align-items: flex-start;
        padding-top: 1.5rem;
        overflow-y: auto;
        height: 100vh;
    }
    
    .thankyou-container {
        padding: 0.75rem;
        gap: 1.5rem;
        justify-content: flex-start;
        padding-top: 0.75rem;
    }
    
    .thankyou-left {
        margin-top: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .thank-title-new {
        font-size: 1.5rem !important;
    }
    
    .thank-text-new {
        font-size: 1.1rem !important;
    }
    
    .bonus-card-unlocked {
        max-width: 320px;
    }
    
    .thankyou-content-new {
        width: 100% !important;
        align-items: stretch !important;
    }
    
    .thank-actions-new {
        width: 100% !important;
    }
    
    .thank-button-new {
        width: 100% !important;
        display: flex !important;
        box-sizing: border-box !important;
    }
    
    .messenger-btn-new {
        width: 32px !important;
        height: 32px !important;
    }
    
    .messenger-btn-new svg {
        width: 22px !important;
        height: 22px !important;
    }
}

/* Оптимизация для больших мобильных экранов (481px - 767px) */
@media screen and (min-width: 481px) and (max-width: 767px) {
    .thankyou-page {
        padding: 1rem;
        align-items: flex-start;
        padding-top: 2rem;
        overflow-y: auto;
        height: 100vh;
    }
    
    .thankyou-container {
        padding: 1rem;
        gap: 2rem;
        justify-content: flex-start;
        padding-top: 1rem;
    }
    
    .thankyou-left {
        margin-top: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .thank-title-new {
        font-size: 1.7rem !important;
    }
    
    .thank-text-new {
        font-size: 1.15rem !important;
    }
    
    .bonus-card-unlocked {
        max-width: 350px;
    }
    
    .thankyou-content-new {
        width: 100% !important;
        align-items: stretch !important;
    }
    
    .thank-actions-new {
        width: 100% !important;
    }
    
    .thank-button-new {
        width: 100% !important;
        display: flex !important;
        box-sizing: border-box !important;
    }
    
    .messenger-btn-new {
        width: 36px !important;
        height: 36px !important;
    }
    
    .messenger-btn-new svg {
        width: 24px !important;
        height: 24px !important;
    }
}

/* Оптимизация для горизонтальной ориентации мобильных устройств */
@media screen and (max-width: 767px) and (orientation: landscape) {
    .thankyou-page {
        padding: 0.5rem;
        align-items: flex-start;
        padding-top: 0.5rem;
        min-height: 100vh;
        overflow-y: auto;
        height: 100vh;
    }
    
    .thankyou-container {
        flex-direction: row;
        gap: 1rem;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 0.5rem;
    }
    
    .thankyou-left {
        margin-top: 0;
        flex: 1;
        order: 1;
    }
    
    .thankyou-right {
        flex: 1;
        order: 2;
    }
    
    .thankyou-content-new {
        width: 100% !important;
        align-items: stretch !important;
    }
    
    .thank-actions-new {
        width: 100% !important;
    }
    
    .thank-button-new {
        width: 100% !important;
        display: flex !important;
        box-sizing: border-box !important;
    }
    
    .thankyou-bonuses {
        flex-direction: row;
        justify-content: center;
        gap: 0.75rem;
    }
    
    .bonus-card-unlocked {
        flex: 1;
        max-width: 200px;
        padding: 0.75rem;
    }
    
    .thank-title-new {
        font-size: 1.3rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .thank-text-new {
        font-size: 0.95rem !important;
        margin-bottom: 1rem !important;
    }
    
    .thank-messengers-new {
        margin-top: 0.75rem !important;
    }
    
    .messenger-btn-new {
        width: 28px !important;
        height: 28px !important;
    }
    
    .messenger-btn-new svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    .thank-button-new {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.9rem !important;
        margin-top: 0.75rem !important;
        width: 100% !important;
        display: flex !important;
    }
}

/* Оптимизация для очень коротких экранов */
@media screen and (max-width: 767px) and (max-height: 500px) {
    .thankyou-page {
        padding: 0.25rem 0.5rem;
        align-items: flex-start;
        padding-top: 0.5rem;
        overflow-y: auto;
        height: 100vh;
    }
    
    .thankyou-container {
        padding: 0.25rem;
        gap: 0.5rem;
        justify-content: flex-start;
        padding-top: 0.25rem;
    }
    
    .thankyou-left {
        margin-top: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .thank-title-new {
        font-size: 1rem !important;
        margin-bottom: 0.25rem !important;
        margin-top: 0 !important;
    }
    
    .thank-text-new {
        font-size: 0.8rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .bonus-card-unlocked {
        padding: 0.25rem;
    }
    
    .thankyou-content-new {
        width: 100% !important;
        align-items: stretch !important;
    }
    
    .thank-actions-new {
        width: 100% !important;
    }
    
    .thank-button-new {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.8rem !important;
        margin-top: 0.25rem !important;
        width: 100% !important;
        display: flex !important;
        box-sizing: border-box !important;
    }
    
    .thank-messengers-new {
        margin-top: 0.25rem !important;
    }
}

@media screen and (max-width: 767px) and (max-height: 600px) {
    .thankyou-page {
        padding: 0.5rem 0.25rem;
        align-items: flex-start;
        padding-top: 1rem;
        overflow-y: auto;
        height: 100vh;
    }
    
    .thankyou-container {
        padding: 0.5rem;
        gap: 0.75rem;
        justify-content: flex-start;
        padding-top: 1rem;
    }
    
    .thankyou-left {
        margin-top: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .thank-title-new {
        font-size: 1.2rem !important;
        margin-bottom: 0.5rem !important;
        margin-top: 0 !important;
    }
    
    .thank-text-new {
        font-size: 0.9rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .bonus-card-unlocked {
        padding: 0.5rem;
    }
    
    .thankyou-content-new {
        width: 100% !important;
        align-items: stretch !important;
    }
    
    .thank-actions-new {
        width: 100% !important;
    }
    
    .thank-button-new {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem !important;
        margin-top: 0.5rem !important;
        width: 100% !important;
        display: flex !important;
        box-sizing: border-box !important;
    }
    
    .thank-messengers-new {
        margin-top: 0.5rem !important;
    }
}


@media screen and (max-width: 767px) {
    
    /* Общие настройки для мобильной версии */
    .final-page {
        position: relative !important;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: 100vw;
        height: 100vh !important;
        box-sizing: border-box;
    }
    
    /* Скрываем элементы благодарности на финальной странице в мобильной версии */
    .final-page .thankyou-section {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    .final-container {
        flex-direction: column;
        min-width: auto !important;
        width: 100% !important;
        /* Универсальные отступы для всех экранов */
        padding: clamp(0.5rem, 2vw, 1rem);
        padding-bottom: calc(clamp(0.5rem, 2vw, 1rem) + 200px) !important; /* Отступ для фиксированной кнопки */
        gap: 1rem;
        align-items: stretch;
        min-height: 100vh;
        height: auto !important;
        overflow-y: visible;
        margin: 0;
        box-sizing: border-box;
        max-width: 100vw;
    }
    
    /* Исправляем позиционирование левой секции */
    .final-left-panel {
        order: 1;
        width: 100%;
        padding: 0;
        margin: 0;
        overflow: visible;
        flex: none;
        box-sizing: border-box;
        max-width: 100%;
    }
    
    .final-content {
        padding: 0.5rem;
        margin: 0;
        width: 100%;
        overflow: visible;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        box-sizing: border-box;
        max-width: 100%;
    }
    
    .final-container::after {
        display: none !important;
    }
    
    /* Левая панель - мобильная версия */
    .final-left-panel {
        flex: none !important;
        width: 100%;
        padding: 1rem 0;
        min-height: auto;
        background: transparent;
        display: flex !important;
        flex-direction: column !important;
        order: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .final-content {
        max-width: 327px;
        width: 100%;
        gap: 2rem;
        padding: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    /* Прогресс бар - мобильная версия (как на ПК) */
    .final-content .final-progress {
        align-items: flex-start !important;
        text-align: left;
        margin-top: 20px !important;
        margin-bottom: 0.05rem !important;
        width: 100%;
        max-width: 327px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 1rem;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }
    
    .final-progress .progress-text {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .final-progress .progress-bar {
        width: 100% !important;
        max-width: none !important;
        margin: 0;
        position: relative;
    }
    
    .final-progress .progress-percent {
        position: relative !important;
        transform: none !important;
        margin: 0 !important;
        left: calc(95% - 6px + 4rem + 5px) !important;
        top: -2.8rem !important;
        margin-left: -5rem !important;
        margin-top: 1px !important;
        margin-right: 20px !important;
        font-size: 1rem;
        display: inline-block;
    }
    
    .final-progress .progress-percent::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 6px solid var(--color);
        margin-top: 0.1rem;
        display: block !important;
    }
    
    /* Заголовок - мобильная версия */
    .final-title {
        /* Адаптивный размер шрифта */
        font-size: clamp(1.2rem, 4vw, 1.8rem) !important;
        text-align: left;
        line-height: 1.4;
        width: 100%;
        /* Убираем фиксированную максимальную ширину */
        max-width: none !important;
        /* Адаптивные отступы */
        margin: 0 auto clamp(0.8rem, 2vw, 1.5rem) auto;
        padding: 0;
        word-wrap: break-word;
        box-sizing: border-box !important;
        overflow-wrap: break-word;
        hyphens: auto;
        box-sizing: border-box;
    }
    
    /* Список преимуществ - мобильная версия */
    .benefits-list {
        margin-bottom: 1rem;
        width: 100%;
        max-width: 327px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    .benefits-list h3 {
        text-align: left;
        margin-bottom: 1rem;
        font-size: 1.4rem;
        font-weight: 600;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .benefits-list ul {
        padding: 0;
        text-align: left;
        max-width: 100%;
        margin: 0;
    }
    
    .benefits-list li {
        text-align: left;
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 1rem;
        width: 100%;
        max-width: none;
        padding: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box;
    }
    
    /* Секция бонусов - мобильная версия (квадратные карточки как в квизе) */
    .bonuses-section {
        margin-bottom: 0.5rem;
        margin-top: 0.25rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        max-width: 327px;
        padding: 0;
        margin: 0.25rem auto 0.5rem auto;
        box-sizing: border-box;
        order: 2 !important;
    }
    
    /* Изменяем порядок элементов в мобильной версии */
    .final-content {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .final-progress {
        order: 1 !important;
    }
    
    .final-title {
        order: 3 !important;
    }
    
    .benefits-list {
        order: 4 !important;
    }
    
    .bonuses-section h3 {
        display: none !important;
    }
    
    .bonuses-grid {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
    }
    
    .bonuses-section .bonus-card {
        width: 50px !important;
        height: 50px !important;
        background: #e5e5e5 !important;
        border-radius: 0.5rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid #d0d0d0 !important;
        cursor: not-allowed !important;
        position: relative !important;
        flex-shrink: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }
    
    .bonuses-section .bonus-icon,
    .bonuses-section .bonus-emoji {
        font-size: 1.5rem !important;
        margin: 0 !important;
    }
    
    .bonuses-section .bonus-text {
        display: none !important;
    }
    
    .bonuses-section .bonus-lock {
        position: absolute !important;
        top: -0.3rem !important;
        right: -0.3rem !important;
        width: 1.2rem !important;
        height: 1.2rem !important;
        background: #fff !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.8rem !important;
        color: #666 !important;
        border: 1px solid #e5e5e5 !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Стрелка-индикатор - мобильная версия */
    .arrow-indicator {
        display: none !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        visibility: hidden !important;
    }
    
    /* Правая панель (форма) - мобильная версия */
    .final-right-panel {
        flex: none !important;
        width: 100%;
        padding: 1rem;
        min-height: auto;
        background: transparent;
        order: 2;
        overflow: visible;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        box-sizing: border-box;
    }
    
    .final-form {
        max-width: 350px;
        width: 100%;
        gap: 1.2rem;
        align-items: center;
        margin: 0 auto;
        padding: 0;
        box-sizing: border-box;
    }
    
    /* Значок скидки - мобильная версия */
    .final-form .discount-badge {
        padding: 1.2rem;
        border-radius: 0.8rem;
        margin-bottom: 1rem;
        align-self: center;
        max-width: 300px;
    }
    
    .discount-content {
        gap: 0.3rem;
    }
    
    .discount-text {
        font-size: 1rem;
    }
    
    .discount-value {
        font-size: 1.4rem;
    }
    
    /* Форма контактов - мобильная версия */
    .contact-form {
        gap: 1rem;
        align-items: center;
        max-width: 350px;
        margin: 0 auto;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .form-group {
        gap: 0.5rem;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    .form-label {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 0.8rem;
    }
    
    .input-icon {
        font-size: 1.3rem;
    }
    
    .form-input {
        padding: 1.2rem 1rem 1.2rem 3.5rem;
        font-size: 16px; /* Предотвращает зум на iOS */
        border-radius: 0.8rem;
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Контейнер телефона - мобильная версия */
    .phone-input-container {
        border-radius: 0.8rem;
        min-height: 60px;
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
        overflow: hidden;
    }
    
    .country-selector {
        min-width: 100px;
    }
    
    .country-display {
        padding: 1rem 0.8rem;
    }
    
    .country-flag {
        font-size: 1.3rem;
    }
    
    .country-code {
        font-size: 1rem;
    }
    
    .country-dropdown {
        width: 100%;
        min-width: 200px;
        max-width: calc(100vw - 2rem);
        border-radius: 0.6rem;
        max-height: 180px;
        left: 0;
        right: auto;
        z-index: 1000;
    }
    
    .country-option {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    #user-phone {
        padding: 1.2rem;
        font-size: 16px; /* Предотвращает зум на iOS */
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Кнопка отправки - мобильная версия */
    .submit-button {
        padding: 1.2rem 1.5rem;
        font-size: 1.1rem;
        border-radius: 0.8rem;
        min-height: 60px;
        box-shadow: 0 6px 20px rgba(248, 58, 75, 0.4);
        margin: 0 auto;
        width: 100%;
        max-width: 90vw;
        box-sizing: border-box;
    }
    
    /* Фиксированная кнопка отправки внизу экрана для мобильной версии */
    .mobile-submit-fixed {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        background: #000 !important;
        padding: 1.2rem !important;
        padding-bottom: max(1.2rem, env(safe-area-inset-bottom)) !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    .mobile-submit-fixed .submit-button {
        margin: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        box-shadow: 0 6px 20px rgba(248, 58, 75, 0.4) !important;
    }
    
    /* Скрываем оригинальную кнопку отправки в форме на мобильных */
    .contact-form .submit-button {
        display: none !important;
    }
    
    /* Добавляем отступ снизу для формы контактов */
    .contact-form {
        margin-bottom: 40px !important;
    }
    
    
    /* Добавляем отступ снизу для правой панели */
    .final-right-panel {
        margin-bottom: 40px !important;
    }
    
    .submit-button:hover {
        box-shadow: 0 8px 25px rgba(248, 58, 75, 0.5);
    }
    
    .submit-button svg {
        width: 22px;
        height: 22px;
    }
    
    
    /* Секция благодарности - мобильная версия */
    .thankyou-section {
        text-align: center !important;
        padding: 1rem 0;
        margin-top: 2rem !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Принудительно показываем секцию благодарности если она скрыта через JS inline стили */
    .thankyou-section[style*="display: none"] {
        display: flex !important;
    }
    
    .thankyou-section[style*="opacity: 0"] {
        opacity: 1 !important;
    }
    
    /* Принудительное центрирование только текстовых элементов в секции благодарности */
    .thankyou-section h1 {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .thankyou-section h2,
    .thankyou-section h3,
    .thankyou-section p,
    .thankyou-section span,
    .thankyou-section div:not(.thankyou-section .thank-actions):not(.thankyou-section .thank-messengers) {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .thankyou-section .thank-title,
    .thankyou-section .thank-title h1 {
        text-align: center !important;
        margin: 3rem auto 0.5rem auto !important;
        padding: 0.5rem 1rem !important;
        width: 100% !important;
        font-size: clamp(14px, 5vw, 20px) !important;
        line-height: 1.2 !important;
        max-width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    
    .thankyou-section .thank-text {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 0.5rem !important;
        max-width: 100% !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
    }
    
    .thankyou-section .thank-actions {
        margin-left: 0 !important;
        margin-right: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
        text-align: center !important;
    }
    
    .thankyou-section .thank-button,
    .thankyou-section #thank-back-btn,
    .thankyou-section a[href="#"] {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.4rem 2.5rem !important;
        border-radius: 0.6rem !important;
        font-size: 1rem !important;
        text-align: center !important;
        justify-content: center !important;
        min-width: unset !important;
        margin-top: 0.3rem !important;
        margin-bottom: 0.3rem !important;
    }
    
    .thankyou-section .thank-messengers {
        margin-top: 0.5rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        justify-content: center !important;
        gap: 0 !important;
        display: flex !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }
    
    
    /* Переопределяем inline стиль gap:14px для мобильных устройств и убираем gap */
    .thankyou-section .thank-messengers[style*="gap:14px"] {
        gap: 0 !important;
    }
    
    /* Переопределяем inline стиль margin-top:14px для уменьшения отступа */
    .thankyou-section .thank-messengers[style*="margin-top:14px"] {
        margin-top: 6px !important;
    }
    
    /* Добавляем отрицательный margin для близкого расположения кнопок */
    .thankyou-section .telegram-btn:not(:last-child) {
        margin-right: -1.5rem !important;
    }
    
    /* Альтернативный подход - принудительное сближение для конкретных кнопок */
    .thankyou-section .thank-messengers .telegram-btn {
        margin-right: -2rem !important;
    }
    
    
    /* Улучшения для сенсорных устройств */
    .whitelabel__button {
        min-width: 44px;
        min-height: 44px;
        padding: 0.5rem;
    }
    
    /* Специальные стили для кнопок мессенджеров в секции благодарности */
    .thankyou-section .whitelabel__button {
        min-width: 40px;
        min-height: 40px;
        padding: 0.3rem;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }
    
    .thankyou-section .telegram-btn {
        min-width: 40px;
        min-height: 40px;
        border-radius: 0.6rem;
        transition: all 0.2s ease;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }
    
    .telegram-btn {
        min-width: 50px;
        min-height: 50px;
        border-radius: 0.6rem;
        transition: all 0.2s ease;
    }
    
    .telegram-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
    
    /* Красная полоса прокрутки для мобильных устройств */
    ::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }
    
    ::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 4px;
    }
    
    ::-webkit-scrollbar-thumb {
        background: #ff0000;
        border-radius: 4px;
        border: 1px solid rgba(0, 0, 0, 0.2);
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: #cc0000;
    }
    
    /* Для Firefox */
    * {
        scrollbar-width: thin;
        scrollbar-color: #ff0000 rgba(0, 0, 0, 0.1);
    }
    
}

/* Действия для очень маленьких экранов - главная страница */
@media screen and (max-width: 480px) {
    .start-page__content {
        padding: 0 !important;
    }
    
    .start-page__body {
        padding: 1.5rem 1rem !important;
        border-radius: 0 !important;
    }
    
    .start-page__header {
        font-size: 1.75rem !important;
        font-weight: bold !important;
        line-height: 1.3 !important;
        margin-top: 1rem !important;
        margin-bottom: 2rem !important;
        color: var(--color-text) !important;
        text-align: left !important;
        padding: 0 !important;
    }
    
    .start-page__subheader p {
        font-size: 0.9rem !important;
        margin-bottom: 0.7rem !important;
    }
    
    .start-page__button {
        /* Убираем фиксированную максимальную ширину */
        max-width: none !important;
        /* Адаптивные отступы и размеры */
        padding: clamp(0.8rem, 2.5vw, 1.2rem) !important;
        font-size: clamp(0.9rem, 2.5vw, 1.1rem) !important;
        margin-bottom: 1.5rem !important;
    }
    
    .bonus {
        /* Адаптивная высота */
        height: clamp(55px, 8vw, 75px) !important;
        /* Убираем фиксированную максимальную ширину */
        max-width: none !important;
        width: 100% !important;
    }
    
    .bonus__text {
        font-size: 0.8rem !important;
    }
    
    .whitelabel__button {
        min-width: 45px !important;
        min-height: 45px !important;
    }
}

/* Действия для очень маленьких экранов (480px и меньше) */
@media screen and (max-width: 487px) {
    /* Скрываем страницу спасибо на всех маленьких экранах */
    .thankyou-section {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    .thankyou-section .thank-text {
        margin-bottom: 0.4rem !important;
    }
    
    .thankyou-section .thank-messengers {
        margin-top: 0.5rem !important;
    }
    
    
    .thankyou-section .thank-button,
    .thankyou-section #thank-back-btn,
    .thankyou-section a[href="#"] {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.3rem 2.5rem !important;
        font-size: 0.95rem !important;
        margin-top: 0.2rem !important;
        margin-bottom: 0.2rem !important;
    }
    
    .thankyou-section .thank-actions {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 1rem !important;
        width: 100% !important;
    }
}

/* Дополнительные медиа-запросы для лучшей адаптации */
@media screen and (max-width: 320px) {
    /* Очень маленькие экраны */
    .start-page, .quiz-container, .final-container {
        padding: 0.25rem !important;
    }
    
    .start-page__content {
        padding: 0 !important;
    }
    
    .quiz-content, .final-content {
        padding: 0.5rem !important;
    }
}

@media screen and (min-width: 321px) and (max-width: 480px) {
    /* Маленькие экраны */
    .start-page, .quiz-container, .final-container {
        padding: 0.5rem !important;
    }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
    /* Средние мобильные экраны */
    .start-page, .quiz-container, .final-container {
        padding: 0.75rem !important;
    }
}

/* Специальные стили для коротких экранов */
@media screen and (max-width: 767px) and (max-height: 799px) {
    .quiz-page {
        /* Обеспечиваем правильную прокрутку на коротких экранах */
        height: 100vh !important;
        overflow-y: auto !important;
    }
    
    .quiz-container {
        /* Уменьшаем отступы для коротких экранов */
        padding: clamp(0.5rem, 2vw, 1rem) !important;
        padding-bottom: 100px !important;
        height: 100vh !important;
        overflow-y: auto !important;
    }
    
    .quiz-content {
        /* Обеспечиваем правильную высоту контента */
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }
}

/* Специальные стили для очень высоких экранов */
@media screen and (max-width: 767px) and (min-height: 800px) {
    .start-page, .quiz-container, .final-container {
        padding: clamp(0.75rem, 2.5vw, 1.25rem) !important;
    }
    
    .start-page__content {
        padding: 0 !important;
    }
    
    .quiz-content, .final-content {
        padding: 1.5rem !important;
    }
    
    /* Дополнительные настройки для длинных экранов */
    .quiz-page {
        /* Обеспечиваем полную прокрутку на длинных экранах */
        min-height: 100vh;
        height: auto;
        overflow-y: auto;
    }
    
    .quiz-container {
        /* Увеличиваем нижний отступ для очень длинных экранов */
        padding-bottom: 140px !important;
    }
}

/* Специальные стили для очень широких экранов в портретной ориентации */
@media screen and (max-width: 767px) and (min-width: 400px) {
    .start-page__content {
        /* Убираем фиксированную максимальную ширину для полной адаптивности */
        max-width: none;
        margin: 0 auto;
        /* Убираем отступы для полной ширины */
        padding: 0;
    }
    
    .quiz-content, .final-content {
        /* Убираем фиксированную максимальную ширину для полной адаптивности */
        max-width: none;
        margin: 0 auto;
        /* Адаптивные отступы */
        padding: clamp(1rem, 3vw, 2rem);
    }
}

/* Дополнительные стили для обеспечения идеальной адаптации */
@media screen and (max-width: 767px) {
    /* Универсальное правило для всех элементов с фиксированными размерами */
    * {
        max-width: none !important;
    }
    
    /* Исключения для элементов, которые должны сохранять пропорции */
    .mobile-avatar, .avatar-image, .car-image-mobile {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Логотип в хедере - исключение */
    .start-page__brand .start-page__logo {
        max-width: none !important;
        height: clamp(30px, 6vw, 45px) !important;
        width: auto !important;
    }
    
    /* Специальные правила для адаптивных отступов */
    .start-page__content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .quiz-content, .final-content {
        padding-left: clamp(0.5rem, 2vw, 1rem) !important;
        padding-right: clamp(0.5rem, 2vw, 1rem) !important;
    }
    
    /* Дополнительная защита от разделителей на мобильных */
    .start-page__layer::after,
    .final-container::after,
    .quiz-container::after {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}

/* Планшетная версия - промежуточные размеры */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .final-container {
        flex-direction: row;
        padding: 1.5rem;
        gap: 2rem;
    }
    
    .final-left-panel {
        flex: 1;
        order: 1;
    }
    
    .final-right-panel {
        flex: 0 0 350px;
        order: 2;
    }
    
    .final-title {
        font-size: 1.3rem;
    }
    
    .benefits-list li {
        font-size: 1rem;
    }
    
    .bonuses-grid {
        flex-direction: row;
        gap: 1rem;
    }
    
    .bonuses-section .bonus-card {
        width: 180px;
    }
}

/* Горизонтальная ориентация мобильных устройств */
@media screen and (max-width: 767px) and (orientation: landscape) {
    /* Уменьшаем отступы в горизонтальной ориентации */
    .start-page, .quiz-container, .final-container {
        padding: clamp(0.25rem, 1vw, 0.5rem) !important;
    }
    
    .final-container {
        flex-direction: row;
        gap: 1rem;
    }
    
    /* Уменьшаем высоту элементов в горизонтальной ориентации */
    .start-page__content, .quiz-content, .final-content {
        padding: 0.5rem !important;
    }
    
    /* Адаптируем фиксированные элементы */
    .quiz-mobile-bottom {
        padding: 0.5rem !important;
    }
    
    .quiz-progress-mobile {
        height: 4px !important;
    }
    
    .final-left-panel {
        order: 1;
        flex: 1;
        padding: 0.8rem 0;
    }
    
    .final-right-panel {
        order: 2;
        flex: 0 0 280px;
        padding: 0.8rem 0;
    }
    
    .final-content {
        gap: 1rem;
    }
    
    .final-title {
        /* Адаптивный размер шрифта */
        font-size: clamp(1.2rem, 3vw, 1.6rem) !important;
        margin-bottom: 0.8rem;
        /* Адаптивные отступы */
        padding: 0 clamp(0.5rem, 2vw, 1rem);
        word-wrap: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box;
        /* Убираем фиксированную максимальную ширину */
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }
    
    .benefits-list {
        margin-bottom: -8rem; /* Экстремальный отрицательный отступ для маленьких экранов */
    }
    
    .benefits-list li {
        font-size: 1rem;
        margin-bottom: 0.8rem;
        padding: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box;
    }
    
    .bonuses-section {
        margin-bottom: 0.6rem;
        margin-top: -9rem; /* Экстремальный отрицательный отступ для маленьких экранов */
    }
    
    .final-form {
        gap: 1rem;
    }
    
    .form-input {
        padding: 0.8rem 0.8rem 0.8rem 3rem;
        font-size: 14px;
    }
    
    #user-phone {
        padding: 0.8rem;
        font-size: 14px;
    }
    
    .country-dropdown {
        width: 100%;
        min-width: 180px;
        max-width: calc(100vw - 1.5rem);
        max-height: 150px;
        left: 0;
        right: auto;
        z-index: 1000;
    }
    
    .submit-button {
        padding: 0.9rem 1.2rem;
        font-size: 1rem;
        min-height: 44px;
    }
    
    .thankyou-section .thank-title {
        font-size: 1.2rem !important;
    }
    
    .thankyou-section .thank-text {
        font-size: 0.9rem !important;
    }
}

/* Кнопки мессенджеров в мобильной версии квиза */
@media screen and (max-width: 767px) {
    .quiz-mobile-messengers {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 1rem !important;
        margin: 0.5rem 0 0.2rem 0 !important;
        padding: 0.2rem 0 !important;
        order: 5 !important;
    }
    
    .quiz-mobile-messengers .whitelabel__button {
        width: 45px !important;
        height: 45px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.3s ease !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
    }
    
    .quiz-mobile-messengers .whitelabel__button:hover {
        background: rgba(255, 255, 255, 0.2) !important;
        transform: scale(1.05) !important;
        border-color: rgba(255, 255, 255, 0.4) !important;
    }
    
    .quiz-mobile-messengers .telegram-btn:hover {
        background: rgba(0, 136, 204, 0.2) !important;
        border-color: rgba(0, 136, 204, 0.4) !important;
    }
    
    
    .quiz-mobile-messengers svg {
        width: 20px !important;
        height: 20px !important;
        color: rgba(255, 255, 255, 0.8) !important;
        transition: color 0.3s ease !important;
    }
    
    .quiz-mobile-messengers .telegram-btn:hover svg {
        color: #0088cc !important;
    }
    
}

/* Скрываем кнопки мессенджеров на десктопе */
@media screen and (min-width: 769px) {
    .quiz-mobile-messengers {
        display: none !important;
    }
}

/* Дополнительные стили для очень маленьких экранов - заголовок благодарности */
@media screen and (max-width: 480px) {
    /* Скрываем страницу спасибо на всех маленьких экранах */
    .thankyou-section {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    .thankyou-section .thank-title,
    .thankyou-section .thank-title h1 {
        font-size: clamp(12px, 4vw, 18px) !important;
        margin: 2rem auto 0.3rem auto !important;
        padding: 0.3rem 0.5rem !important;
        line-height: 1.1 !important;
    }
}

/* Стили для подсказок в мобильной версии */
@media screen and (max-width: 767px) {
    /* Защита от перехвата кликов родительскими элементами */
    .quiz-option {
        position: relative !important;
    }
    
    .quiz-option .info-tooltip {
        position: absolute !important;
        right: 0.5rem !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
        z-index: 20 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
    }
    
    /* Дополнительная защита - делаем область клика больше */
    .quiz-option .info-tooltip::before {
        content: '' !important;
        position: absolute !important;
        top: -8px !important;
        left: -8px !important;
        right: -8px !important;
        bottom: -8px !important;
        z-index: -1 !important;
        pointer-events: auto !important;
    }
    
    .info-tooltip {
        position: relative !important;
        display: inline-block !important;
        margin-left: 0.8rem !important;
        margin-right: 0.5rem !important;
        z-index: 10 !important;
        pointer-events: auto !important;
    }
    
    .info-tooltip .info-icon {
        cursor: pointer !important;
        background: #4a5568 !important;
        width: 24px !important;
        height: 24px !important;
        font-size: 12px !important;
        font-weight: bold !important;
        transition: all 0.2s ease !important;
        border-radius: 0 4px 4px 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: none !important;
        box-shadow: none !important;
        color: #a0aec0 !important;
        -webkit-tap-highlight-color: transparent !important;
        user-select: none !important;
        position: relative !important;
        z-index: 15 !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
    }
    
    .info-tooltip .info-icon:hover {
        background: #5a6578 !important;
        color: #cbd5e0 !important;
    }
    
    .info-tooltip .info-icon:active {
        background: #2d3748 !important;
        color: #718096 !important;
    }
    
    .info-tooltip .tooltip-content {
        position: fixed !important;
        right: 1rem !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: calc(100vw - 2rem) !important;
        max-width: 300px !important;
        z-index: 10000 !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
        border-radius: 6px !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s ease !important;
        background: #fff !important;
        color: #333 !important;
        padding: 12px 14px !important;
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
    }
    
    .info-tooltip .tooltip-content::after {
        display: none !important;
    }
    
    /* Показ подсказки */
    .info-tooltip .tooltip-content.show {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(-50%) !important;
    }
    
    /* Улучшенные стили для текста подсказки */
    .info-tooltip .tooltip-content br {
        display: block !important;
        margin: 0.3em 0 !important;
    }
}

/* Дополнительные стили для очень маленьких экранов */
@media screen and (max-width: 480px) {
    .info-tooltip .info-icon {
        width: 28px !important;
        height: 28px !important;
        font-size: 14px !important;
    }
    
    .info-tooltip .tooltip-content {
        width: calc(100vw - 2rem) !important;
        max-width: 250px !important;
        padding: 10px 12px !important;
    }
    
    /* Слайдеры для очень маленьких экранов */
    .mileage-container, .budget-container {
        padding: 0.2rem 0 !important;
        gap: 0.3rem !important;
    }
    
    .mileage-slider, .budget-slider {
        width: 140px !important;
        height: 350px !important;
        border-radius: 70px !important;
        border: none !important;
        box-shadow: 
            0 6px 24px rgba(0, 0, 0, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.08),
            inset 0 -1px 0 rgba(0, 0, 0, 0.15) !important;
        overflow: hidden !important;
    }
    
    .slider-fill {
        border-radius: 68px !important;
        max-width: none !important;
        overflow: hidden !important;
    }
    
    .slider-fill::after {
        height: 5px !important;
        border-radius: 2.5px !important;
    }
    
    .slider-labels {
        font-size: 0.7rem !important;
        padding: 0.1rem 0.2rem !important;
    }
    
    .slider-min-label {
        margin-bottom: 0.3rem !important;
        order: 4 !important;
    }
    
    .slider-max-label {
        margin-top: 0.3rem !important;
        order: 2 !important;
    }
    
    #mileage-input, #budget-input {
        width: 180px !important;
        padding: 0.6rem !important;
        font-size: 14px !important;
        border-radius: 0.5rem !important;
        border: 2px solid rgba(255, 255, 255, 0.15) !important;
        box-shadow: 
            0 3px 12px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
        order: 1 !important;
        -webkit-appearance: none !important;
        -moz-appearance: textfield !important;
        appearance: none !important;
    }
    
    .mileage-slider, .budget-slider {
        order: 3 !important;
    }
    
    .info-tooltip .tooltip-content br {
        margin: 0.2em 0 !important;
    }
}

/* Дополнительные исправления для предотвращения переполнения на мобильных */
@media screen and (max-width: 767px) {
    /* Предотвращаем горизонтальное переполнение */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Исправляем контейнер финальной страницы */
    .final-container {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    
    /* Исправляем левую панель */
    .final-left-panel {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    /* Исправляем правую панель */
    .final-right-panel {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    /* Исправляем форму */
    .final-form {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    /* Исправляем поля ввода */
    .form-input, #user-phone {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    /* Исправляем контейнер телефона */
    .phone-input-container {
        max-width: 100% !important;
        overflow: visible !important;
        position: relative !important;
    }
    
    /* Исправляем селектор страны */
    .country-selector {
        max-width: 100% !important;
        overflow: visible !important;
        position: relative !important;
    }
    
    /* Исправляем dropdown для мобильной версии */
    .country-dropdown {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: auto !important;
        width: 100% !important;
        min-width: 200px !important;
        max-width: calc(100vw - 2rem) !important;
        z-index: 10000 !important;
        background: #1a1a1a !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 0.6rem !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
        max-height: 180px !important;
        overflow-y: auto !important;
        margin-top: 4px !important;
        display: none !important;
    }
    
    /* Убеждаемся, что dropdown отображается правильно */
    .country-selector.active .country-dropdown {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    /* Дополнительные стили для корректного отображения */
    .country-dropdown {
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    
    .country-selector.active .country-dropdown {
        transform: translateY(0);
    }
    
    /* Дополнительные стили для мобильной версии dropdown */
    .country-option {
        padding: 0.8rem !important;
        font-size: 0.9rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        cursor: pointer !important;
        transition: background-color 0.2s ease !important;
    }
    
    .country-option:hover {
        background-color: rgba(255, 255, 255, 0.05) !important;
    }
    
    .country-option.selected {
        background-color: rgba(255, 255, 255, 0.1) !important;
        color: var(--color) !important;
    }
    
    .country-option:last-child {
        border-bottom: none !important;
    }
    
    /* Дополнительные стили для корректного отображения dropdown */
    .country-dropdown {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    }
    
    .country-selector.active .country-dropdown {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
}

/* Специальные стили для горизонтальной ориентации мобильных устройств */
@media screen and (max-width: 767px) and (orientation: landscape) {
    .country-dropdown {
        max-height: 120px !important;
        max-width: calc(100vw - 1rem) !important;
    }
    
    .country-option {
        padding: 0.6rem !important;
        font-size: 0.8rem !important;
    }
}

/* Унификация отступов для всех секций финальной страницы */
@media screen and (max-width: 767px) {
    .final-content > *:not(.benefits-list):not(.final-title):not(.bonuses-section) {
        /* Убираем фиксированную максимальную ширину */
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        /* Адаптивные отступы */
        padding-left: clamp(0.5rem, 2vw, 1rem) !important;
        padding-right: clamp(0.5rem, 2vw, 1rem) !important;
        box-sizing: border-box !important;
    }
    
    /* Специальные стили для списка преимуществ */
    .benefits-list {
        /* Убираем фиксированную максимальную ширину */
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        /* Адаптивные отступы */
        padding: 0 clamp(0.5rem, 2vw, 1rem) !important;
        box-sizing: border-box !important;
    }
    
    .benefits-list li {
        max-width: none !important;
        width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Специальные стили для заголовка */
    .final-title {
        /* Убираем фиксированную максимальную ширину */
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        /* Адаптивные отступы */
        padding: 0 clamp(0.5rem, 2vw, 1rem) !important;
        box-sizing: border-box !important;
    }
    
    /* Специальные стили для секции бонусов */
    .bonuses-section {
        /* Убираем фиксированную максимальную ширину */
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        /* Адаптивные отступы */
        padding: 0 clamp(0.5rem, 2vw, 1rem) !important;
        box-sizing: border-box !important;
    }
    
    /* Исключения для элементов, которые должны быть на всю ширину */
    .final-progress .progress-bar {
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: auto !important;
    }
    
    /* Принудительное переопределение отступа над прогресс-баром */
    .final-left-panel .final-content .final-progress {
        margin-top: 20px !important;
        margin-bottom: 0 !important;
    }
    
    .bonuses-grid {
        max-width: 280px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Финальное переопределение отступа над прогресс-баром в мобильной версии */
@media screen and (max-width: 767px) {
    .final-progress {
        margin-top: 20px !important;
    }
    
    /* Принудительное переопределение отступов для карточек бонусов */
    .bonuses-section {
        margin-top: 0.25rem !important;
        margin-bottom: 0.5rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    
}

/* Дополнительное переопределение для очень маленьких экранов */
@media screen and (max-width: 480px) {
    .bonuses-section {
        margin-top: 0.25rem !important;
        margin-bottom: 0.5rem !important;
        padding: 0 !important;
    }
}

/* Дополнительные стили для очень маленьких экранов */
@media screen and (max-width: 480px) {
    .final-title {
        /* Адаптивный размер шрифта */
        font-size: clamp(1.1rem, 3.5vw, 1.5rem) !important;
        /* Адаптивные отступы */
        padding: 0 clamp(0.25rem, 1.5vw, 0.75rem);
    }
    
    .benefits-list h3 {
        font-size: 1.3rem;
    }
    
    .benefits-list li {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .bonuses-section h3 {
        font-size: 1.1rem;
    }
    
    .bonuses-section .bonus-text {
        font-size: 0.9rem;
    }
    
    .form-label {
        font-size: 1rem;
    }
    
    .form-input {
        padding: 1rem 0.8rem 1rem 3rem;
        font-size: 16px;
    }
    
    #user-phone {
        padding: 1rem;
        font-size: 16px;
    }
    
    .submit-button {
        padding: 1rem 1.2rem;
        font-size: 1rem;
        min-height: 50px;
    }
}

/* МАКСИМАЛЬНЫЙ ПРИОРИТЕТ - переопределение карточек бонусов */
@media screen and (max-width: 767px) {
    .final-left-panel .final-content .bonuses-section {
        margin-top: 0.1rem !important;
        margin-bottom: 0.5rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
        padding-left: 0.5rem !important;
        padding-right: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        align-items: flex-start !important;
    }
    
    .final-left-panel .final-content .bonuses-section .bonuses-grid {
        justify-content: flex-start !important;
        align-items: flex-start !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Убираем отступ снизу у прогресс-бара */
    .final-left-panel .final-content .final-progress {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    /* Убираем gap между элементами в final-content */
    .final-left-panel .final-content {
        gap: 0 !important;
    }
}

