.blured-screen {
    position: fixed;
    top: 0;

    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); /* Для Safari */
    border: 1px solid rgba(255, 255, 255, 0.2);

    z-index: 9999;

    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    /*anim*/
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.quiz-block {
    width: clamp(290px, 92vw, 1000px);
    min-height: clamp(480px, 80vh, 640px);
    height: auto;

    background-color: #F9FAFB;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: clamp(16px, 3vw, 28px);

    font-family: 'Montserrat', sans-serif;
    color: #0F172A;

    border-radius: 20px;

    /*доп*/
    padding: 0 clamp(12px, 3vw, 30px) clamp(20px, 4vw, 40px);
    box-sizing: border-box;

    /*anim*/
    transform: scale(1) translateY(0);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: clamp(20px, 4vw, 50px);

    gap: clamp(4px, 1.2vw, 9px);

}

.progress-bar-part {
    width: clamp(35px, 12vw, 68px);
    height: clamp(6px, 1vw, 10px);

    border-radius: 40px;

    background-color: #D9D9D9;
}

.quiz-step {
    display: none;
}

.active-step {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: clamp(20px, 4vw, 40px);

    /*new*/
    width: 100%;

}

.quiz-main-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: clamp(10px, 2vw, 20px);

    text-align: center;
}

.quiz-title {
    font-size: clamp(22px, 4vw, 48px);
    font-weight: 700;

    text-align: center;

    /*new*/
    line-height: 1.1;
}

.quiz-subtitle {
    font-size: clamp(14px, 2.5vw, 24px);
    font-weight: 400;

    line-height: 1.25;
}

.quiz-btn {
    border-radius: clamp(12px, 2vw, 20px);

    text-align: center;

    border: none;
    background-color: #D9D9D9;

    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.quiz-btn:hover {
    filter: brightness(0.9);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.nav-btn {
    width: clamp(120px, 25vw, 263px);
    height: clamp(44px, 6vw, 69px);

    font-size: clamp(16px, 3vw, 32px);

    padding: 0 clamp(10px, 2vw, 20px);
    box-sizing: border-box;
}

.next-btn {
    background-color: #FFDC5F;
}


.select-trigger {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #d8d8d8;
    border: 1px solid #555555;
    border-radius: clamp(30px, 4vw, 60px);
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;

    /*new*/
    gap: clamp(8px, 1.5vw, 15px);
    padding: 0 clamp(10px, 3vw, 24px);
    box-sizing: border-box;
}

.custom-select {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    user-select: none;

    /*new*/
    width: 100%;
}

#finally-step {
    justify-content: center;
    height: 100%;
}

.inactive {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.inactive .quiz-block {
    transform: scale(0.95) translateY(20px);
}