
    /* ===== ОБЩИЕ СТИЛИ ===== */
    .n_kviz {
        position: relative;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        transition: background-image 0.5s ease;
        min-height: 60vh;
        max-height: 75vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 40px 20px;
    }

    /* Затемнение фона ТОЛЬКО для слайдов с вопросами */
    .n_kviz.has-bg::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.55) 100%);
        z-index: 0;
        pointer-events: none;
    }

    .n_kviz > * {
        position: relative;
        z-index: 1;
    }

    /* Контейнер */
    .n_kviz .container {
        max-width: 90%;
        margin: 0 auto;
        padding: 0;
        width: 100%;
    }

    /* Слайды */
    .n_kviz .slide {
        display: none;
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .n_kviz .slide.active {
        display: block;
        opacity: 1;
        animation: fadeInUp 0.5s ease;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .first_button {
        margin-top: 0px;
    }

    .slide_content_block {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    /* Контент с блюром - ФИКСИРОВАННАЯ ВЫСОТА */
    .n_kviz .slide-content {
        /* background: rgba(0, 0, 0, 0.48);  */
        border-radius: 32px;
        padding: 30px 40px;
        min-height: 520px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    /* ===== ПЕРВЫЙ СЛАЙД - ГРАДИЕНТ ОТ КРАСНОГО К БЕЛОМУ ===== */
    .n_kviz .slide:first-child {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: auto;
    }
    
    .n_kviz .slide:first-child .slide-content {
        background: transparent;
        backdrop-filter: none;
        border: none;
        box-shadow: none;
        min-height: auto;
        padding: 0;
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 0;
    }
    
    .n_kviz .slide:first-child .slide_content_block {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        justify-content: space-between;
        padding: 0;
        gap: 0;
        background: linear-gradient(90deg, #ffffff 0%, #ffffff 40%, #F13B2F 80%, #F13B2F 100%);
    }
    
    /* Левая часть с текстом */
    .first-slide-left {
        flex: 1.2;
        padding: 60px 50px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: transparent;
    }
    
    /* Правая часть с логотипом */
    .first-slide-right {
        flex: 0.8;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 60px 40px;
        background: transparent;
    }
    
    .first-slide-right img {
        max-width: 100%;
        height: auto;
        filter: brightness(0) invert(1);
    }
    
    .n_kviz .slide:first-child .n_main_title {
        font-size: 5rem;
        font-weight: 800;
        color: #1a1a2e;
        background: none;
        -webkit-text-fill-color: #1a1a2e;
        margin-bottom: 20px;
        text-align: left;
        line-height: 1.2;
    }
    
    .n_kviz .slide:first-child .n_kviz_text {
        font-size: 1.2rem;
        color: #4a4a6a;
        max-width: 100%;
        margin-bottom: 40px;
        text-shadow: none;
        font-weight: 400;
        text-align: left;
    }
    
    .n_kviz .slide:first-child .button {
        background: linear-gradient(135deg, #F13B2F, #F13B2F);
        padding: 16px 56px;
        font-size: 1.2rem;
        font-weight: 600;
        box-shadow: none;
        animation: none;
        display: inline-flex;
        width: fit-content;
        border-radius: 50px;
    }
    
    .n_kviz .slide:first-child .button::after {
        display: none;
    }
    
    .n_kviz .slide:first-child .button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(255, 61, 0, 0.3);
    }

    /* Заголовки вопросов */
    .n_kviz .n_main_title,
    .n_kviz .n_h1 {
        font-size: 1.8rem;
        font-weight: 700;
        color: #ffffff;
        margin-bottom: 20px;
        display: block;
        text-align: center;
        letter-spacing: -0.02em;
        line-height: 1.3;
    }

    .n_kviz .n_kviz_text,
    .n_kviz .text_on_form {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.95);
        text-align: center;
        display: block;
    }

    /* Варианты ответов - ФИКСИРОВАННАЯ ВЫСОТА ПОД 6 ВАРИАНТОВ */
    .n_kviz .all_choice {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 30px;
        width: 100%;
        min-height: 320px;
    }

    .n_kviz .all_choice label {
        display: flex;
        align-items: center;
        gap: 14px;
        background: rgb(0 0 0 / 50%);
        padding: 10px 22px;
        border-radius: 50px;
        cursor: pointer;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #ffffff;
        font-size: 1rem;
        font-weight: 500;
    }

    .n_kviz .all_choice label:hover {
        background: rgba(255, 255, 255, 0.22);
        transform: translateX(8px);
        border-color: rgba(255, 255, 255, 0.45);
    }

    /* Кастомные радио и чекбоксы */
    .n_kviz .custom_radio {
        width: 22px;
        height: 22px;
        border: 2px solid rgba(255, 255, 255, 0.8);
        border-radius: 50%;
        position: relative;
        transition: all 0.2s ease;
        flex-shrink: 0;
    }

    .n_kviz input[type="radio"]:checked ~ .custom_radio {
        border-color: #F13B2F;
        background: #F13B2F;
    }

    .n_kviz input[type="radio"]:checked ~ .custom_radio::after {
        content: '';
        position: absolute;
        top: 4px;
        left: 4px;
        width: 10px;
        height: 10px;
        background: white;
        border-radius: 50%;
    }

    .n_kviz input[type="checkbox"]:checked ~ .custom_radio {
        background: #F13B2F;
        border-color: #F13B2F;
        border-radius: 6px;
    }

    .n_kviz input[type="checkbox"]:checked ~ .custom_radio::after {
        content: '✓';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        font-size: 12px;
    }

    .n_kviz input[type="radio"],
    .n_kviz input[type="checkbox"] {
        display: none;
    }

    /* Кнопки */
    .n_kviz .n_all_button {
        display: flex;
        justify-content: start;
        gap: 20px;
        flex-wrap: wrap;
        margin-top: 0px;
        margin-bottom: 20px;
    }

    .n_kviz .button,
    .n_kviz .btn-next,
    .n_kviz .btn-prev {
        background: linear-gradient(135deg, #F13B2F, #F13B2F);
        color: white;
        border: none;
        padding: 10px 28px;
        border-radius: 50px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        text-align: center;
        letter-spacing: 0.3px;
    }

    .n_kviz .button::after,
    .n_kviz .btn-next::after {
        content: '→';
        font-size: 1.1rem;
        transition: transform 0.3s ease;
    }

    .n_kviz .btn-prev::before {
        content: '←';
        font-size: 1.1rem;
        transition: transform 0.3s ease;
    }

    .n_kviz .btn-prev::after {
        content: none;
    }

    .n_kviz .button:hover,
    .n_kviz .btn-next:hover,
    .n_kviz .btn-prev:hover {
        transform: translateY(-2px);
        background: linear-gradient(135deg, #F13B2F, #F13B2F);
    }

    .n_kviz .button:hover::after,
    .n_kviz .btn-next:hover::after {
        transform: translateX(4px);
    }

    .n_kviz .btn-prev:hover::before {
        transform: translateX(-4px);
    }

    .n_kviz .button.disabled,
    .n_kviz .btn-next.disabled {
        opacity: 0.5;
        pointer-events: none;
    }

    /* НОВЫЙ ПРОГРЕСС-БАР С ЛОГОТИПОМ И ПЛАВНЫМ ЗАПОЛНЕНИЕМ */
    .n_kviz .progress-container {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        margin-bottom: 0px;
        margin-top: 10px;
    }
    
    /* Скрываем старые шаги прогресса */
    .n_kviz .progress-bar {
        display: none;
    }
    
    /* Новая плавная полоса прогресса */
    .smooth-progress {
        flex: 1;
        max-width: 400px;
        position: relative;
        height: 8px;
        background-color: rgba(255, 255, 255, 0.2);
        border-radius: 10px;
        overflow: hidden;
        cursor: pointer;
    }
    
    .smooth-progress-fill {
        width: 0%;
        height: 100%;
        border-radius: 10px;
        transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        z-index: 2;
    }
    
    /* Логотип на фоне прогресс-бара */
    .smooth-progress::before {
        content: "МАГМА";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 12px;
        font-weight: bold;
        color: rgba(255, 255, 255, 0.2);
        letter-spacing: 2px;
        z-index: 1;
        white-space: nowrap;
        pointer-events: none;
        font-family: Arial, sans-serif;
    }

    .n_kviz .progress-count {
        color: white;
        font-weight: 600;
        font-size: 0.85rem;
        background: rgba(255, 255, 255, 0.2);
        padding: 4px 14px;
        border-radius: 30px;
    }

    /* Навигация (стрелки) */
    .n_kviz .n_counter-container {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin-top: 20px;
        padding-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .n_kviz .btn-prev.btn_picture,
    .n_kviz .btn-next.btn_picture {
        width: 40px;
        height: 40px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        font-size: 1.2rem;
        background: rgba(255, 255, 255, 0.15);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .n_kviz .btn-prev.btn_picture:hover,
    .n_kviz .btn-next.btn_picture:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.05);
    }

    .n_kviz .btn-prev.btn_picture::before {
        content: '←';
        margin: 0;
    }

    .n_kviz .btn-next.btn_picture::after {
        content: '→';
        margin: 0;
    }

    .n_kviz .n_mobile_count {
        color: white;
        font-size: 0.85rem;
        font-weight: 500;
        background: rgba(255, 255, 255, 0.2);
        padding: 4px 14px;
        border-radius: 30px;
    }

    /* Форма обратной связи */
    .n_kviz .n_form_feedback {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .fosKontact_body_inputMask {
        border: none;
    }

    .n_kviz .fosKontact_body_inputMask input {
        width: 100%;
        padding: 10px 20px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 50px;
        color: white;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        box-sizing: border-box;
    }

    .n_kviz .fosKontact_body_inputMask input:focus {
        outline: none;
        border-color: #F13B2F;
        background: rgba(255, 255, 255, 0.18);
        box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
    }

    .n_kviz .fosKontact_body_inputMask input::placeholder {
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.9rem;
    }

    .n_kviz .n_form_button_and_politica {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 15px;
        margin-top: 5px;
        width: 100%;
    }

    .n_kviz .fosKontact_body_politic {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        cursor: pointer;
    }

    .n_kviz .fosKontact_body_politic span {
        width: 18px;
        height: 18px;
        border: 2px solid rgba(255, 255, 255, 0.7);
        border-radius: 4px;
        display: inline-block;
        position: relative;
        transition: all 0.2s ease;
    }

    .n_kviz .fosKontact_body_politic input:checked + span {
        background: #F13B2F;
        border-color: #F13B2F;
    }

    .n_kviz .fosKontact_body_politic input:checked + span::after {
        content: '✓';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        font-size: 11px;
    }

    .n_kviz .fosKontact_body_politic input {
        display: none;
    }

    .n_kviz .fosKontact_body_politic a {
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        font-size: 0.8rem;
        transition: color 0.2s ease;
        text-align: center;
    }

    .n_kviz .fosKontact_body_politic a:hover {
        color: #F13B2F;
        text-decoration: underline;
    }

    /* Скрываем оригинальные картинки */
    .n_kviz .slide-image {
        display: none;
    }
    
    /* Скрываем прогресс на последнем слайде */
    .n_kviz .slide:last-child .progress-container {
        display: none !important;
    }

    /* Адаптив */
    @media (max-width: 768px) {
        .n_kviz .container {
            max-width: 100%;
        }
        
        .n_kviz .slide-content {
            padding: 25px 20px;
            min-height: 460px;
        }
        
        .n_kviz .slide:first-child .slide-content {
            max-width: 100%;
        }
        
        .n_kviz .slide:first-child .slide_content_block {
            flex-direction: column;
            background: linear-gradient(180deg, #ffffff 0%, #ffffff 40%, #F13B2F 80%, #F13B2F 100%);
        }
        
        .first-slide-left {
            padding: 40px 30px;
            text-align: center;
        }
        
        .first-slide-right {
            padding: 40px 30px;
        }
        
        .n_kviz .slide:first-child .n_main_title {
            font-size: 2rem;
            text-align: center;
        }
        
        .n_kviz .slide:first-child .n_kviz_text {
            font-size: 1rem;
            text-align: center;
        }
        
        .n_kviz .slide:first-child .button {
            margin: 0 auto;
            padding: 14px 40px;
        }
        
        .n_kviz .n_main_title,
        .n_kviz .n_h1 {
            font-size: 1.5rem;
        }
        
        .n_kviz .all_choice {
            min-height: 280px;
        }
        
        .n_kviz .all_choice label {
            padding: 8px 16px;
            font-size: 0.9rem;
        }
        
        .n_kviz .button,
        .n_kviz .btn-next,
        .n_kviz .btn-prev {
            padding: 8px 22px;
            font-size: 0.9rem;
        }
        
        .n_kviz .btn-prev.btn_picture,
        .n_kviz .btn-next.btn_picture {
            width: 36px;
            height: 36px;
        }
        
        .smooth-progress {
            max-width: 250px;
        }
        
        .smooth-progress::before {
            font-size: 9px;
        }
    }

    @media (max-width: 480px) {
        .n_kviz .slide-content {
            padding: 20px 15px;
            min-height: 420px;
        }
        
        .first-slide-left {
            padding: 30px 20px;
        }
        
        .first-slide-right {
            padding: 30px 20px;
        }
        
        .n_kviz .slide:first-child .n_main_title {
            font-size: 1.6rem;
        }
        
        .n_kviz .slide:first-child .n_kviz_text {
            font-size: 0.9rem;
        }
        
        .n_kviz .slide:first-child .button {
            padding: 12px 32px;
            font-size: 1rem;
        }
        
        .n_kviz .n_main_title,
        .n_kviz .n_h1 {
            font-size: 1.3rem;
        }
        
        .n_kviz .all_choice {
            min-height: 240px;
            gap: 8px;
            margin-bottom: 20px;
        }
        
        .n_kviz .all_choice label {
            padding: 8px 12px;
            gap: 8px;
            font-size: 0.85rem;
        }
        
        .smooth-progress::before {
            font-size: 8px;
            letter-spacing: 1px;
        }
        
        .n_kviz .fosKontact_body_politic a {
            font-size: 0.7rem;
        }
    }
