

/* Start:/dist/css/quiz.css?17725276479538*/
* {
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(to bottom right, #4FC3F7, #26C6DA, #00BCD4, #0097A7);
    min-height: 100vh;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    margin-block: 40px;
    background: white;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.2);
    max-width: 1000px;
    width: 100%;
    height: 95vh;
    overflow-y: auto;
    position: relative;

    @media (max-width: 767px) {
        padding-inline: 10px;
    }
}

.header {
    background: linear-gradient(90deg, #0288D1, #0097A7);
    color: white;
    padding: 25px 30px 20px;
    /*position: sticky;*/
    /*top: 0;*/
    /*z-index: 100;*/

    @media (max-width: 767px) {
        padding: 16px;
    }
}

.logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.logo-left {
    height: 55px;
    width: auto;
    background: white;
    padding: 8px 12px;
    border-radius: 10px;
}

.logo-right {
    height: 70px;
    width: auto;
}

.header-content {
    text-align: center;
}

.header h1 {
    font-size: 2em;
    line-height: 110%;
    margin-bottom: 15px;
    color: #E1F5FE;
}

.header .description {
    font-size: 1.1em;
    opacity: 0.9;
    line-height: 1.5;
}

.question-container {
    padding: 30px;
    display: none;

    @media (max-width: 767px) {
        padding-inline: 10px;
    }
}

.question-container.active {
    display: block;
    animation: fadeIn 0.4s;
}

.question-header {
    margin-bottom: 25px;
}

.question-number {
    color: #0288D1;
    font-size: 1.1em;
    font-weight: bold;
}

.question-text {
    font-size: 1.5em;
    color: #01579B;
    margin-bottom: 30px;
    line-height: 1.4;
    font-weight: 600;
}

.options {
    display: grid;
    gap: 15px;
}

.option {
    padding: 20px 25px;
    border: 2px solid #B3E5FC;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s;
    background: #E8F5FF;
    font-size: 1.1em;
    color: #0277BD;
    position: relative;
}

.option:hover {
    border-color: #4FC3F7;
    background: #D4EDFF;
}

.option.selected {
    border-color: #0288D1;
    background: #B3E5FC;
    color: #01579B;
}

.option-letter {
    display: inline-block;
    width: 28px;
    height: 28px;
    background: #81D4FA;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    margin-right: 15px;
    font-weight: bold;
    color: #01579B;
}

.option.selected .option-letter {
    background: #0288D1;
    color: white;
}

.progress-container {
    margin-bottom: 30px;

    @media (max-width: 767px) {
        margin-bottom: 10px;
    }
}

.progress-bar {
    height: 8px;
    background: #B3E5FC;
    /*border-radius: 4px;*/
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #4FC3F7, #00BCD4);
    width: 0%;
    transition: width 0.6s ease;
}

.result-screen {
    padding: 30px;
    text-align: center;
    display: none;
    animation: fadeIn 0.6s;

    @media (max-width: 767px) {
        padding-inline: 10px;
    }
}

.result-header {
    padding: 0 0 20px;
    margin-bottom: 20px;
}

.result-title {
    color: #01579B;
    font-size: 2em;
    margin-bottom: 15px;
    font-weight: 700;
}

.result-analogy {
    color: #0288D1;
    font-size: 1.3em;
    font-weight: 600;
}

.result-image-container {
    margin: 25px auto;
    max-width: 800px;
    max-height: 350px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-image {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
}

.result-desc {
    color: #37474f;
    font-size: 1.15em;
    line-height: 1.6;
    margin: 25px auto 30px;
    padding: 25px;
    background: #F5FDFF;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #E1F5FE;
    max-width: 850px;
}

.surprise-box {
    background: linear-gradient(135deg, #FFD54F, #FFB300);
    padding: 22px;
    border-radius: 15px;
    margin: 25px auto 30px;
    box-shadow: 0 10px 25px rgba(255, 179, 0, 0.25);
    border: 2px solid #FFA000;
    max-width: 800px;
    animation: pulse 2s infinite;
}

.surprise-box h3 {
    color: #E65100;
    font-size: 1.5em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.surprise-box p {
    color: #5D4037;
    font-size: 1.15em;
    font-weight: 600;
}

.restart-btn {
    padding: 16px 50px;
    background: linear-gradient(90deg, #0288D1, #00BCD4);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.15em;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    margin-top: 20px;
    box-shadow: 0 5px 20px rgba(2, 136, 209, 0.3);
}

.restart-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(2, 136, 209, 0.4);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.intro-form {
    padding: 30px;
    display: none;
    animation: fadeIn 0.4s;

    @media (max-width: 767px) {
        padding: 10px;
    }
}

.intro-form.active {
    display: block;
}

.intro-form .question-text {
    text-align: center;
    margin-bottom: 25px;
}

.intro-form .form-fields {
    display: grid;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto 25px;
}

.intro-form .form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.intro-form .form-label {
    font-size: 1.05em;
    color: #0277BD;
    font-weight: 600;
}

.intro-form .form-input {
    padding: 16px 20px;
    border: 2px solid #B3E5FC;
    border-radius: 14px;
    background: #E8F5FF;
    font-size: 1.1em;
    color: #01579B;
    font-family: 'Segoe UI', Arial, sans-serif;
    outline: none;
    transition: border-color 0.3s;
}

.intro-form .form-input:focus {
    border-color: #0288D1;
    background: #D4EDFF;
}

.intro-form .form-input[readonly] {
    opacity: 0.7;
    cursor: default;
}

.intro-form .start-btn {
    display: block;
    margin: 0 auto;
    padding: 16px 50px;
    background: linear-gradient(90deg, #0288D1, #00BCD4);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.15em;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(2, 136, 209, 0.3);
}

.intro-form .start-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(2, 136, 209, 0.4);
}

.user-info {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 25px auto 0;
    max-width: 600px;
}

.user-info-item {
    padding: 14px 24px;
    background: #E8F5FF;
    border: 2px solid #B3E5FC;
    border-radius: 14px;
    color: #01579B;
    font-size: 1.05em;
    font-weight: 600;
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.user-info-item span {
    display: block;
    font-size: 0.85em;
    font-weight: 400;
    color: #0277BD;
    margin-bottom: 4px;
}

.user-info-item span:last-child {
    font-size: 1em;
    font-weight: bold;
}

.gift-icon {
    position: absolute;
    right: 30px;
    bottom: 20px;
    font-size: 2em;
    animation: bounce 2s infinite;
}

/* Адаптация для планшета */
@media (max-height: 1100px) and (min-height: 700px) {
    .container {
        height: 92vh;
    }

    .question-text {
        font-size: 1.4em;
        margin-bottom: 25px;
    }

    .option {
        padding: 18px 22px;
        font-size: 1.05em;
    }

    .result-image-container {
        max-height: 300px;
    }

    .result-image {
        max-height: 300px;
    }

    .result-desc {
        font-size: 1.1em;
        padding: 22px;
        margin: 20px auto 25px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        height: 96vh;
        border-radius: 15px;
    }

    .header {
        padding: 20px 25px 15px;
    }

    .logo-left {
        height: 50px;
    }

    .logo-right {
        height: 60px;
    }

    .header h1 {
        font-size: 1.6em;
    }

    .question-text {
        font-size: 1.3em;
        margin-bottom: 25px;
    }

    .option {
        padding: 16px 20px;
        font-size: 1em;
    }

    .result-title {
        font-size: 1.7em;
    }

    .result-image-container {
        max-height: 280px;
    }

    .result-image {
        max-height: 280px;
    }

    .result-desc {
        font-size: 1.05em;
        padding: 20px;
    }

    .gift-icon {
        position: static;
        display: block;
        margin: 15px auto 0;
        font-size: 1.8em;
    }
}
/* End */
/* /dist/css/quiz.css?17725276479538 */
