/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #4A4A4A;
    color: white;
    line-height: 1.4;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 12px;
    background-color: #4A4A4A;
    min-height: 100vh;
}

/* Заголовки */
.headlines {
    text-align: center;
    margin-bottom: 30px;
}

.hit-sales {
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.main-title {
    font-size: 26px;
    font-weight: bold;
    color: #E3B51D;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

/* Область для изображения */
.image-placeholder {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
    overflow: hidden;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Список преимуществ */
.features {
    margin: 30px 0;
}

.features-title {
    font-size: 22px;
    font-weight: bold;
    color: white;
    margin-bottom: 15px;
    padding-left: 10px;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.features-list {
    list-style: none;
    padding-left: 10px;
}

.features-list li {
    font-size: 16px;
    margin-bottom: 5px;
    line-height: 1.5;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.number {
    font-weight: bold;
    margin-right: 8px;
}

.highlight {
    color: #E3B51D;
    font-weight: bold;
}

/* Кнопка */
.cta-button {
    width: 100%;
    background-color: #FFBF00;
    color: #ffffff;
    border: none;
    border-radius: 15px;
    padding: 15px 30px;
    font-size: 26px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    margin: 30px 0;
    transition: background-color 0.3s ease;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.cta-button:hover {
    background-color: #E6B800;
}

/* Подарок */
.gift-section {
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding-left: 10px;
}

.gift-icon {
    margin-right: 10px;
    background-color: white;
    border-radius: 50%;
    width: 80px;
    height: 80px;
}

.gift-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gift-text {
    font-size: 18px;
    color: white;
    font-weight: bold;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    line-height: 1.6em;
}

/* Адаптивность для десктопа */
@media (min-width: 768px) {
    .container {
        max-width: 520px;
        margin: 0 auto;
        padding: 40px 20px;
    }

    .headlines {
        margin-bottom: 40px;
    }

    .hit-sales {
        font-size: 28px;
    }

    .main-title {
        font-size: 30px;
    }

    .image-placeholder {
        height: 250px;
        margin: 30px 0;
    }

    .features {
        margin: 40px 0;
    }

    .features-title {
        font-size: 24px;
    }

    .features-list li {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .cta-button {
        font-size: 20px;
        padding: 18px 35px;
        margin: 40px 0;
    }

    .gift-section {
        margin-top: 30px;
    }

    .gift-text {
        font-size: 18px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 520px;
        padding: 50px 30px;
    }

    .hit-sales {
        font-size: 32px;
    }

    .main-title {
        font-size: 34px;
    }

    .image-placeholder {
        height: 300px;
    }
}

/* Стили для квиза */
.quiz-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.quiz-content {
    background-color: #4A4A4A;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: quizSlideIn 0.3s ease-out;
    padding: 0;
}

@keyframes quizSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quiz-header {
    background-color: transparent;
    color: white;
    padding: 0;
    border-radius: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.quiz-header h3 {
    display: none;
}

.quiz-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.quiz-body {
    padding: 20px;
}

.quiz-question {
    font-size: 18px;
    font-weight: bold;
    color: white;
    margin-bottom: 30px;
    text-align: left;
    line-height: 1.3;
}

.quiz-options {
    margin-bottom: 30px;
}

.quiz-options label {
    display: flex;
    align-items: center;
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 15px 0;
    margin-bottom: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.quiz-options label:hover {
    background-color: transparent;
    border-color: transparent;
    color: #E3B51D;
}

.quiz-options input[type="radio"] {
    margin-right: 15px;
    width: 20px;
    height: 20px;
    accent-color: #E3B51D;
}

.quiz-options input[type="radio"]:checked+span {
    font-weight: bold;
    color: #E3B51D;
}

.quiz-next,
.quiz-submit {
    width: 100%;
    background: linear-gradient(90deg, #E3B51D 0%, #FFBF00 100%);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 18px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.quiz-next:hover,
.quiz-submit:hover {
    background: linear-gradient(90deg, #FFBF00 0%, #E3B51D 100%);
    transform: translateY(-2px);
}

.quiz-feedback {
    /* text-align: center; */
}

.quiz-feedback h4 {
    margin-bottom: 15px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.3;
}

.quiz-feedback p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.4;
}

.quiz-feedback input {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: 'Montserrat', sans-serif;
}

.quiz-feedback input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.quiz-feedback input:focus {
    outline: none;
    border-color: #E3B51D;
    background-color: rgba(255, 255, 255, 0.15);
}

.agreement-label {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    text-align: left;
}

.agreement-label input[type="checkbox"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    accent-color: #E3B51D;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Анимации для квиза */
.quiz-step-anim {
    animation: quizStepAnim 0.3s ease-out;
}

@keyframes quizStepAnim {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Отключение скролла при открытом модальном окне */
.no-scroll {
    overflow: hidden;
}