/* Оракул ДА/НЕТ */
.mgcorc {
    max-width: 600px;
    margin: 10px auto;
    padding: 7px;
    font-family: 'EB Garamond', 'Georgia', serif;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

/* Картинка оракула и две сферы: синяя — ДА, красная — НЕТ (пульсируют, пока нет ответа) */
.mgcorc__oracle {
    position: relative;
    max-width: 350px;
    margin: 0 auto;
}
.mgcorc .mgcorc__img {
    display: block;
    width: 350px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow:
        0 0 50px rgba(255, 215, 0, 0.3),
        0 0 100px rgba(139, 105, 20, 0.2),
        0 20px 60px rgba(0, 0, 0, 0.4);
}
.mgcorc__point {
    position: absolute;
    top: 48%;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.mgcorc__point_yes {
    left: 16.5%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 102, 255, 0.8) 0%, rgba(0, 102, 255, 0.4) 50%, rgba(0, 102, 255, 0.1) 80%, transparent 100%);
    box-shadow: 0 0 50px rgba(0, 102, 255, 1);
    animation: mgcorc-pulse-yes 2.5s ease-in-out infinite;
}
.mgcorc__point_no {
    right: 14.8%;
    transform: translate(50%, -50%);
    background: radial-gradient(circle, rgba(255, 0, 102, 0.8) 0%, rgba(255, 0, 102, 0.4) 50%, rgba(255, 0, 102, 0.1) 80%, transparent 100%);
    box-shadow: 0 0 50px rgba(255, 0, 102, 1);
    animation: mgcorc-pulse-no 2.5s ease-in-out infinite;
}
.mgcorc__word {
    position: absolute;
    top: 48%;
    z-index: 100;
    color: #ffffff;
    font-family: 'Georgia', serif;
    font-size: 20px;
    font-weight: bold;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.mgcorc__word_yes {
    left: 16.5%;
    transform: translate(-50%, -50%);
    text-shadow:
        0 0 5px rgba(0, 150, 255, 1),
        0 0 10px rgba(0, 150, 255, 1),
        0 0 15px rgba(0, 150, 255, 1),
        0 0 20px rgba(0, 150, 255, 0.8),
        0 0 35px rgba(0, 150, 255, 0.6),
        0 0 40px rgba(0, 150, 255, 0.4);
}
.mgcorc__word_no {
    right: 14.8%;
    transform: translate(50%, -50%);
    text-shadow:
        0 0 5px rgba(255, 0, 0, 1),
        0 0 10px rgba(255, 0, 0, 1),
        0 0 15px rgba(255, 0, 0, 1),
        0 0 20px rgba(255, 0, 0, 0.8),
        0 0 35px rgba(255, 0, 0, 0.6),
        0 0 40px rgba(255, 0, 0, 0.4);
}
@keyframes mgcorc-pulse-yes {
    0%, 100% { transform: translate(-50%, -50%) scale(0.8); box-shadow: 0 0 30px rgba(0, 102, 255, 0.8); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.6); box-shadow: 0 0 80px rgba(0, 102, 255, 1); opacity: 1; }
}
@keyframes mgcorc-pulse-no {
    0%, 100% { transform: translate(50%, -50%) scale(0.8); box-shadow: 0 0 30px rgba(255, 0, 102, 0.8); opacity: 0.7; }
    50% { transform: translate(50%, -50%) scale(1.6); box-shadow: 0 0 80px rgba(255, 0, 102, 1); opacity: 1; }
}
/* Есть ответ: сферы замирают, на нужной загорается ДА или НЕТ */
.mgcorc_lit .mgcorc__point {
    animation: none;
}
.mgcorc_yes .mgcorc__word_yes,
.mgcorc_no .mgcorc__word_no {
    opacity: 1;
}

/* Ответ — текстом, курсивом (как в Короне любви) */
.mgcorc__foot {
    padding-top: 6px;
}
.mgcorc__text {
    max-width: 480px;
    min-height: 16px;
    margin: 0 auto;
    padding: 8px 10px;
    font-family: 'EB Garamond', 'Georgia', serif;
    font-size: 20px;
    font-style: italic;
    line-height: 1.4;
    white-space: pre-line;   /* «Да.» / «Нет.» — первой строкой, абзацы ответа */
    transition: opacity 0.5s linear;
}
.mgcorc__text b {
    font-weight: 600;
}
/* Заголовок над полем — если задан атрибутом title */
.mgcorc__title {
    display: block;
    margin-bottom: 4px;
    font-size: 18px;
    font-weight: 600;
}

/* Кнопка */
.mgc-btn-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 235px;
    height: 65px;
    margin: 10px auto 0;
    background-color: #f1e7d4;
    background-image: url('/wp-content/themes/gadanie-online/assets/images/knopka.webp');
    background-size: cover;
    background-position: center;
    color: #4a3828;
    font-size: 17px;
    font-weight: 400;
    font-family: 'EB Garamond', 'Georgia', serif;
    border: none;
    border-radius: 0;
    padding: 0 0 4px 0;
    outline: none;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}
.mgc-btn-2:hover {
    transform: translateY(-2px);
}
.mgc-btn-2:active,
.mgc-btn-2.mgc-btn-2--active {
    background-image: url('/wp-content/themes/gadanie-online/assets/images/knopka-1.webp');
    transform: translateY(2px);
}
.mgcorc .mgcorc__start {
    margin-top: 15px;
}

/* Поле вопроса — общее (assets/common/css/rg-question.css); здесь только ловушка для ботов */
.mgcorc__honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* Загрузка: три серые точки */
@keyframes mgcorc-bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}
.mgcorc__loading {
    position: relative;
    top: -26px;
    right: 0;
    left: 0;
    z-index: 10;
    width: 80px;
    margin: 60px auto 0;
    font-size: 26px;
    text-align: center;
}
.mgcorc__loading > div {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 100%;
    background-color: #999999;
    animation: mgcorc-bounce 1.4s infinite ease-in-out both;
}
.mgcorc__loading .one {
    animation-delay: -0.32s;
}
.mgcorc__loading .two {
    animation-delay: -0.16s;
}

.mgcorc__invisible {
    display: none;
}

/* Телефоны: картинка меньше, сферы чуть сдвинуты (как было) */
@media (max-width: 440px) {
    .mgcorc {
        padding: 0 5px;
    }
    .mgcorc .mgcorc__img {
        width: 320px;
    }
    .mgcorc__oracle {
        max-width: 320px;
    }
    .mgcorc__point_yes,
    .mgcorc__word_yes {
        left: 16%;
    }
    .mgcorc__point_yes,
    .mgcorc__word_yes {
        top: 48.5%;
    }
    .mgcorc__point_no,
    .mgcorc__word_no {
        right: 15%;
    }
    .mgcorc__word {
        font-size: 18px;
    }
}
@media (max-width: 320px) {
    .mgcorc .mgcorc__img {
        width: 280px;
    }
    .mgcorc__oracle {
        max-width: 280px;
    }
    .mgcorc__point_yes,
    .mgcorc__word_yes {
        top: 48%;
    }
    .mgcorc__word {
        font-size: 16px;
    }
}
