/* Основные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, #0a0d1a 0%, #1a0d2e 25%, #2d1b3d 50%, #461959 75%, #16213e 100%);
    color: #f4f1eb;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Усиленный магический фон */
#magic-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    opacity: 0.8;
    background:
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 69, 19, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(70, 25, 89, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(139, 69, 19, 0.15) 0%, transparent 45%);
    animation: magicPulse 15s ease-in-out infinite;
}

@keyframes magicPulse {

    0%,
    100% {
        opacity: 0.8;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes magicFloat {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }

    25% {
        transform: translateX(-15px) translateY(-8px) rotate(90deg);
    }

    50% {
        transform: translateX(8px) translateY(-15px) rotate(180deg);
    }

    75% {
        transform: translateX(-8px) translateY(8px) rotate(270deg);
    }

    100% {
        transform: translateX(0) translateY(0) rotate(360deg);
    }
}

@keyframes starTwinkle {

    0%,
    100% {
        opacity: 0.15;
        transform: translateY(0px);
    }

    25% {
        opacity: 0.4;
        transform: translateY(-5px);
    }

    50% {
        opacity: 0.2;
        transform: translateY(-2px);
    }

    75% {
        opacity: 0.6;
        transform: translateY(-8px);
    }
}

/* Прогресс-бар с мистическими эффектами */
#progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(26, 13, 46, 0.95);
    z-index: 1000;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg,
            #d4af37 0%,
            #f4d03f 25%,
            #8b4513 50%,
            #d4af37 75%,
            #461959 100%);
    width: 0%;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 0 25px rgba(212, 175, 55, 0.8),
        inset 0 0 10px rgba(255, 255, 255, 0.3);
    animation: progressGlow 3s ease-in-out infinite;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6));
    animation: progressSpark 2s linear infinite;
}

@keyframes progressGlow {

    0%,
    100% {
        box-shadow: 0 0 25px rgba(212, 175, 55, 0.8), inset 0 0 10px rgba(255, 255, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 35px rgba(212, 175, 55, 1), inset 0 0 15px rgba(255, 255, 255, 0.5);
    }
}

@keyframes progressSpark {
    0% {
        transform: translateX(-20px);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateX(0);
        opacity: 0;
    }
}

/* Основной контейнер */
#app {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    position: relative;
    z-index: 1;
}

#flow-block {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
}

/* Усиленные карточки страниц */
.page-card {
    background: linear-gradient(145deg,
            rgba(10, 13, 26, 0.95) 0%,
            rgba(26, 13, 46, 0.9) 25%,
            rgba(45, 27, 61, 0.85) 50%,
            rgba(70, 25, 89, 0.9) 75%,
            rgba(139, 69, 19, 0.8) 100%);
    border: 3px solid transparent;
    border-radius: 25px;
    padding: 45px 35px;
    margin: 25px auto;
    backdrop-filter: blur(20px);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.6),
        inset 0 2px 0 rgba(212, 175, 55, 0.3),
        0 0 40px rgba(212, 175, 55, 0.15),
        0 0 80px rgba(70, 25, 89, 0.1);
    position: relative;
    overflow: hidden;
    animation: cardAppear 1s ease-out, cardFloat 6s ease-in-out infinite;
    background-image: linear-gradient(45deg, transparent 30%, rgba(212, 175, 55, 0.05) 50%, transparent 70%);
}

.page-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
            #d4af37,
            transparent,
            #8b4513,
            transparent,
            #461959,
            transparent,
            #d4af37);
    border-radius: 25px;
    z-index: -1;
    animation: borderGlow 4s linear infinite;
}

.page-card::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
    border-radius: 20px;
    pointer-events: none;
    animation: innerGlow 8s ease-in-out infinite;
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-3px) rotate(0.5deg);
    }

    50% {
        transform: translateY(0px) rotate(0deg);
    }

    75% {
        transform: translateY(-2px) rotate(-0.5deg);
    }
}

@keyframes borderGlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes innerGlow {

    0%,
    100% {
        opacity: 0.03;
    }

    50% {
        opacity: 0.08;
    }
}

/* Заголовки с мистическими эффектами */
.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #d4af37;
    text-align: center;
    margin-bottom: 25px;
    text-shadow:
        0 0 15px rgba(212, 175, 55, 0.9),
        0 0 30px rgba(212, 175, 55, 0.5),
        0 0 45px rgba(212, 175, 55, 0.3);
    line-height: 1.2;
    position: relative;
}

.main-title::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    animation: titleAccent 4s ease-in-out infinite;
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    animation: titleAccent 4s ease-in-out infinite reverse;
}

.subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #c19a6b;
    text-align: center;
    margin-bottom: 35px;
    line-height: 1.6;
    animation: subtitleFade 2s ease-out;
    text-shadow: 0 0 8px rgba(193, 154, 107, 0.4);
}

@keyframes subtitleFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 600;
    color: #d4af37;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.7);
    animation: questionAppear 1.2s ease-out;
    line-height: 1.3;
}

@keyframes questionAppear {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(15px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Опции выбора с усиленными эффектами */
.options-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 30px 0;
}

.option-button {
    background: linear-gradient(135deg,
            rgba(70, 25, 89, 0.9) 0%,
            rgba(45, 27, 61, 0.8) 50%,
            rgba(139, 69, 19, 0.7) 100%);
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 18px;
    padding: 22px 28px;
    color: #f4f1eb;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: left;
    line-height: 1.5;
    backdrop-filter: blur(10px);
    animation: optionSlide 0.6s ease-out;
    animation-fill-mode: both;
}

.option-button:nth-child(1) {
    animation-delay: 0.1s;
}

.option-button:nth-child(2) {
    animation-delay: 0.2s;
}

.option-button:nth-child(3) {
    animation-delay: 0.3s;
}

.option-button:nth-child(4) {
    animation-delay: 0.4s;
}

.option-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    transition: left 0.6s ease;
}

.option-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #d4af37;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
}

.option-button:hover {
    border-color: #d4af37;
    box-shadow:
        0 15px 35px rgba(212, 175, 55, 0.3),
        inset 0 0 25px rgba(212, 175, 55, 0.1),
        0 0 50px rgba(70, 25, 89, 0.2);
    transform: translateY(-4px) scale(1.02);
    background: linear-gradient(135deg,
            rgba(212, 175, 55, 0.2) 0%,
            rgba(70, 25, 89, 0.9) 50%,
            rgba(139, 69, 19, 0.8) 100%);
}

.option-button:hover::before {
    left: 100%;
}

.option-button:hover::after {
    opacity: 1;
    animation: pulse 1.5s infinite;
}

.option-button:active {
    transform: translateY(-2px) scale(1.01);
}

.option-button.selected {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #8b4513 100%);
    border-color: #d4af37;
    color: #1a0d2e;
    font-weight: 700;
    box-shadow:
        0 0 40px rgba(212, 175, 55, 0.8),
        inset 0 0 25px rgba(255, 255, 255, 0.3),
        0 15px 35px rgba(212, 175, 55, 0.4);
    animation: selectedPulse 2s ease-in-out infinite;
}

.option-button.selected::after {
    background: none;
    opacity: 1;
    animation: pulse 1s infinite;
}

@keyframes optionSlide {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes selectedPulse {

    0%,
    100% {
        box-shadow: 0 0 40px rgba(212, 175, 55, 0.8), inset 0 0 25px rgba(255, 255, 255, 0.3), 0 15px 35px rgba(212, 175, 55, 0.4);
    }

    50% {
        box-shadow: 0 0 60px rgba(212, 175, 55, 1), inset 0 0 35px rgba(255, 255, 255, 0.5), 0 20px 45px rgba(212, 175, 55, 0.6);
    }
}

/* Поля формы с мистическими эффектами */
.form-group {
    margin-bottom: 30px;
    position: relative;
    animation: formAppear 0.8s ease-out;
    animation-fill-mode: both;
}

.form-group:nth-child(1) {
    animation-delay: 0.1s;
}

.form-group:nth-child(2) {
    animation-delay: 0.2s;
}

.form-group:nth-child(3) {
    animation-delay: 0.3s;
}

.form-group:nth-child(4) {
    animation-delay: 0.4s;
}

.form-label {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #d4af37;
    margin-bottom: 10px;
    position: relative;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.form-label::before {
    content: '✦';
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    color: #8b4513;
    font-size: 0.8rem;
    opacity: 0.7;
    animation: labelAccent 3s ease-in-out infinite;
}

@keyframes labelAccent {

    0%,
    100% {
        opacity: 0.7;
        transform: translateY(-50%) rotate(0deg);
    }

    50% {
        opacity: 1;
        transform: translateY(-50%) rotate(180deg);
    }
}

.form-input {
    width: 100%;
    padding: 18px 25px;
    background: rgba(10, 13, 26, 0.9);
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 15px;
    color: #f4f1eb;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.05rem;
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    position: relative;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.form-input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow:
        0 0 25px rgba(212, 175, 55, 0.5),
        inset 0 2px 10px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(212, 175, 55, 0.1);
    background: rgba(10, 13, 26, 0.95);
    transform: scale(1.02);
}

.form-input::placeholder {
    color: rgba(244, 241, 235, 0.5);
    font-style: italic;
}

@keyframes formAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Кнопки с усиленными эффектами */
.btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 25%, #8b4513 50%, #d4af37 75%, #461959 100%);
    border: none;
    border-radius: 20px;
    padding: 20px 45px;
    color: #1a0d2e;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 35px auto;
    display: block;
    box-shadow:
        0 15px 35px rgba(212, 175, 55, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    animation: btnAppear 1s ease-out;
    min-width: 250px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.6s ease;
}

.btn-primary::after {
    content: '✦';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    font-size: 1rem;
    opacity: 0.8;
    animation: btnAccent 2s ease-in-out infinite;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 25px 50px rgba(212, 175, 55, 0.6),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        0 0 60px rgba(212, 175, 55, 0.3);
    background: linear-gradient(135deg, #f4d03f 0%, #d4af37 25%, #8b4513 50%, #f4d03f 75%, #461959 100%);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(-3px) scale(1.03);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    filter: grayscale(50%);
}

@keyframes btnAppear {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes btnAccent {

    0%,
    100% {
        opacity: 0.8;
        transform: translateY(-50%) rotate(0deg);
    }

    50% {
        opacity: 1;
        transform: translateY(-50%) rotate(180deg);
    }
}

/* Мистические символы с усиленными эффектами */
.mystic-symbol {
    font-size: 2.5rem;
    color: #d4af37;
    text-shadow:
        0 0 20px rgba(212, 175, 55, 0.9),
        0 0 40px rgba(212, 175, 55, 0.6);
    animation: mysticPulse 3s ease-in-out infinite;
    display: inline-block;
    margin: 0 15px;
    position: relative;
}

.mystic-symbol::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    animation: symbolRing 4s linear infinite;
}

@keyframes mysticPulse {

    0%,
    100% {
        opacity: 0.8;
        transform: scale(1) rotate(0deg);
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.9), 0 0 40px rgba(212, 175, 55, 0.6);
    }

    50% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
        text-shadow: 0 0 30px rgba(212, 175, 55, 1), 0 0 60px rgba(212, 175, 55, 0.8);
    }
}

@keyframes symbolRing {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(1.2);
        opacity: 0.3;
    }
}

/* Анимация анализа с усиленными эффектами */
.analysis-animation {
    text-align: center;
    padding: 50px 25px;
}

.analysis-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #d4af37;
    margin-bottom: 35px;
    animation: analysisGlow 2.5s ease-in-out infinite;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
}

@keyframes analysisGlow {

    0%,
    100% {
        text-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
        transform: scale(1);
    }

    50% {
        text-shadow: 0 0 25px rgba(212, 175, 55, 1), 0 0 50px rgba(212, 175, 55, 0.6);
        transform: scale(1.05);
    }
}

.loading-spinner {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(212, 175, 55, 0.3);
    border-top: 4px solid #d4af37;
    border-radius: 50%;
    animation: spin 2s linear infinite, spinnerGlow 3s ease-in-out infinite;
    margin: 0 auto 25px;
    position: relative;
}

.loading-spinner::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #d4af37;
    font-size: 2rem;
    animation: pulse 1.5s infinite;
}

.loading-spinner::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    animation: spin 3s linear infinite reverse;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spinnerGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    }

    50% {
        box-shadow: 0 0 40px rgba(212, 175, 55, 0.8), 0 0 60px rgba(212, 175, 55, 0.4);
    }
}

/* Результат с драматическими эффектами */
.result-card {
    background: linear-gradient(145deg,
            rgba(139, 69, 19, 0.95) 0%,
            rgba(70, 25, 89, 0.9) 50%,
            rgba(10, 13, 26, 0.95) 100%);
    border: 4px solid #d4af37;
    border-radius: 25px;
    padding: 45px 35px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: resultAppear 1.5s ease-out;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.8),
        inset 0 2px 0 rgba(212, 175, 55, 0.3),
        0 0 80px rgba(212, 175, 55, 0.3);
}

/* .result-card::before {
    content: '✦';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    color: #d4af37;
    animation: resultSymbol 3s ease-in-out infinite;
} */

.result-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: resultAura 6s ease-in-out infinite;
}

@keyframes resultAppear {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes resultSymbol {

    0%,
    100% {
        opacity: 0.8;
        transform: translateX(-50%) rotate(0deg) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) rotate(180deg) scale(1.3);
    }
}

@keyframes resultAura {

    0%,
    100% {
        opacity: 0.1;
    }

    50% {
        opacity: 0.3;
    }
}

.result-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 30px;
    margin-top: 20px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.9);
}

.result-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #f4f1eb;
    position: relative;
    z-index: 1;
}

.result-highlight {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(139, 69, 19, 0.2) 100%);
    border-left: 5px solid #d4af37;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 15px 15px 0;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    animation: highlightPulse 4s ease-in-out infinite;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
}

@keyframes highlightPulse {

    0%,
    100% {
        box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
        border-left-color: #d4af37;
    }

    50% {
        box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
        border-left-color: #f4d03f;
    }
}

.cta-section {
    background: linear-gradient(135deg, #461959 0%, #2d1b3d 50%, #8b4513 100%);
    border-radius: 20px;
    padding: 30px;
    margin-top: 35px;
    border: 3px solid rgba(212, 175, 55, 0.6);
    position: relative;
    animation: ctaGlow 5s ease-in-out infinite;
}

@keyframes ctaGlow {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
        border-color: rgba(212, 175, 55, 0.6);
    }

    50% {
        box-shadow: 0 0 50px rgba(212, 175, 55, 0.5);
        border-color: rgba(212, 175, 55, 0.9);
    }
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #f4f1eb;
    font-weight: 600;
}



/* Информационный блок о диагностике */
.diagnostic-info-block {
    background: linear-gradient(135deg,
            rgba(70, 25, 89, 0.15) 0%,
            rgba(139, 69, 19, 0.1) 50%,
            rgba(212, 175, 55, 0.05) 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 30px 25px;
    margin: 30px 0;
    position: relative;
    animation: diagnosticGlow 4s ease-in-out infinite;
}

.diagnostic-info-block::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    border-radius: 20px;
    z-index: -1;
    animation: borderShimmer 3s linear infinite;
}

@keyframes diagnosticGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    }

    50% {
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
    }
}

@keyframes borderShimmer {
    0% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 0.3;
    }
}

.diagnostic-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #d4af37;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.diagnostic-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #f4f1eb;
    text-align: center;
    margin-bottom: 20px;
}

.diagnostic-benefits {
    margin-bottom: 25px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: #f4f1eb;
    line-height: 1.5;
}

.benefit-icon {
    color: #27ae60;
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 12px;
    margin-top: 2px;
    text-shadow: 0 0 8px rgba(39, 174, 96, 0.6);
    animation: checkPulse 2s ease-in-out infinite;
}

@keyframes checkPulse {

    0%,
    100% {
        transform: scale(1);
        text-shadow: 0 0 8px rgba(39, 174, 96, 0.6);
    }

    50% {
        transform: scale(1.1);
        text-shadow: 0 0 15px rgba(39, 174, 96, 0.8);
    }
}

.diagnostic-process {
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding-top: 20px;
}

.process-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #d4af37;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: #f4f1eb;
    line-height: 1.5;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, #d4af37 0%, #8b4513 100%);
    color: #1a0d2e;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.9rem;
    margin-right: 12px;
    margin-top: 2px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    animation: numberGlow 3s ease-in-out infinite;
}

@keyframes numberGlow {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    }

    50% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
    }
}

/* Блок отзывов */
.testimonials-block {
    background: linear-gradient(135deg,
            rgba(139, 69, 19, 0.15) 0%,
            rgba(70, 25, 89, 0.1) 50%,
            rgba(10, 13, 26, 0.2) 100%);
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 20px;
    padding: 35px 30px;
    margin: 30px 0;
    position: relative;
    animation: testimonialsFloat 6s ease-in-out infinite;
}

@keyframes testimonialsFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.testimonials-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #d4af37;
    text-align: center;
    margin-bottom: 25px;
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.7);
}

.testimonials-list {
    margin-bottom: 25px;
}

.testimonial-item {
    background: rgba(26, 13, 46, 0.3);
    border-left: 4px solid #d4af37;
    border-radius: 0 15px 15px 0;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    animation: testimonialSlide 0.8s ease-out;
}

.testimonial-item:nth-child(1) {
    animation-delay: 0.2s;
}

.testimonial-item:nth-child(2) {
    animation-delay: 0.4s;
}

@keyframes testimonialSlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.testimonial-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-style: italic;
    color: #f4f1eb;
    line-height: 1.6;
    margin-bottom: 10px;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: -15px;
    top: -5px;
    font-size: 2rem;
    color: #d4af37;
    opacity: 0.7;
}

.testimonial-text::after {
    content: '"';
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-size: 2rem;
    color: #d4af37;
    opacity: 0.7;
}

.testimonial-author {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: #c19a6b;
    font-weight: 500;
    text-align: right;
}

.urgent-notice {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.2) 0%, rgba(139, 69, 19, 0.15) 100%);
    border: 2px solid rgba(231, 76, 60, 0.4);
    border-radius: 15px;
    padding: 18px 20px;
    margin: 25px 0;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: #f4f1eb;
    animation: urgentPulse 2s ease-in-out infinite;
}

@keyframes urgentPulse {

    0%,
    100% {
        border-color: rgba(231, 76, 60, 0.4);
        box-shadow: 0 0 15px rgba(231, 76, 60, 0.2);
    }

    50% {
        border-color: rgba(231, 76, 60, 0.7);
        box-shadow: 0 0 25px rgba(231, 76, 60, 0.4);
    }
}

.notice-icon {
    font-size: 1.2rem;
    margin-right: 8px;
    animation: warningBlink 1.5s ease-in-out infinite;
}

@keyframes warningBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* Вторичная кнопка */
.btn-secondary {
    background: linear-gradient(135deg, #8b4513 0%, #d4af37 25%, #461959 50%, #8b4513 75%, #d4af37 100%);
    border: 2px solid #d4af37;
    border-radius: 18px;
    padding: 18px 35px;
    color: #f4f1eb;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 25px auto;
    display: block;
    width: 100%;
    box-shadow:
        0 12px 30px rgba(139, 69, 19, 0.3),
        inset 0 1px 0 rgba(212, 175, 55, 0.2);
    animation: btnSecondaryGlow 3s ease-in-out infinite;
}

@keyframes btnSecondaryGlow {

    0%,
    100% {
        box-shadow: 0 12px 30px rgba(139, 69, 19, 0.3), inset 0 1px 0 rgba(212, 175, 55, 0.2);
    }

    50% {
        box-shadow: 0 15px 40px rgba(139, 69, 19, 0.5), inset 0 1px 0 rgba(212, 175, 55, 0.4);
    }
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 20px 45px rgba(139, 69, 19, 0.5),
        inset 0 1px 0 rgba(212, 175, 55, 0.4),
        0 0 40px rgba(212, 175, 55, 0.3);
    background: linear-gradient(135deg, #d4af37 0%, #8b4513 25%, #461959 50%, #d4af37 75%, #8b4513 100%);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.btn-secondary:hover::before {
    left: 100%;
}

.ps-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    color: #c19a6b;
    text-align: center;
    font-style: italic;
    margin-top: 20px;
    line-height: 1.5;
    animation: psTextFade 2s ease-out;
}

@keyframes psTextFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Уведомление о конфиденциальности */
.confidentiality-notice {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    color: rgba(193, 154, 107, 0.8);
    text-align: center;
    margin-top: 25px;
    padding: 15px 20px;
    background: rgba(26, 13, 46, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    line-height: 1.4;
    animation: confidentialityAppear 1s ease-out;
}

@keyframes confidentialityAppear {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Навигация */
.navigation-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.btn-back {
    background: linear-gradient(135deg, rgba(70, 25, 89, 0.8) 0%, rgba(139, 69, 19, 0.7) 100%);
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 12px;
    padding: 10px 20px;
    color: #f4f1eb;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-back:hover {
    border-color: #d4af37;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.progress-info {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: #d4af37;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

/* Список проблем */
.problems-list {
    margin: 30px 0;
}

.problem-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    color: #f4f1eb;
    line-height: 1.5;
    padding: 15px 20px;
    background: rgba(70, 25, 89, 0.2);
    border-radius: 15px;
    border-left: 4px solid #d4af37;
    animation: problemSlide 0.6s ease-out;
    animation-fill-mode: both;
}

.problem-item:nth-child(1) {
    animation-delay: 0.1s;
}

.problem-item:nth-child(2) {
    animation-delay: 0.2s;
}

.problem-item:nth-child(3) {
    animation-delay: 0.3s;
}

.problem-item:nth-child(4) {
    animation-delay: 0.4s;
}

.problem-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 2px;
    animation: problemIconPulse 2s ease-in-out infinite;
}

@keyframes problemSlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes problemIconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Блоки результатов */
.money-channel-indicator {
    background: linear-gradient(135deg, rgba(70, 25, 89, 0.3) 0%, rgba(139, 69, 19, 0.2) 100%);
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
    text-align: center;
    border: 2px solid rgba(212, 175, 55, 0.4);
    animation: indicatorGlow 4s ease-in-out infinite;
}

@keyframes indicatorGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    }

    50% {
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
    }
}

.indicator-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    color: #f4f1eb;
    margin-bottom: 15px;
}

.indicator-value {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #d4af37;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
    margin-bottom: 20px;
    animation: valuePulse 3s ease-in-out infinite;
}

@keyframes valuePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.indicator-bar {
    width: 100%;
    height: 20px;
    background: rgba(10, 13, 26, 0.8);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.indicator-fill {
    height: 100%;
    background: linear-gradient(90deg, #d4af37 0%, #f4d03f 50%, #8b4513 100%);
    border-radius: 8px;
    transition: width 2s ease-in-out;
    animation: fillGlow 3s ease-in-out infinite;
}

@keyframes fillGlow {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    }

    50% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
    }
}

.diagnosis-section {
    margin: 30px 0;
}

.diagnosis-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #d4af37;
    text-align: center;
    margin-bottom: 25px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.diagnosis-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.diagnosis-item {
    display: flex;
    align-items: flex-start;
    background: rgba(26, 13, 46, 0.4);
    border-radius: 15px;
    padding: 20px;
    border-left: 5px solid #d4af37;
    animation: diagnosisSlide 0.8s ease-out;
    animation-fill-mode: both;
}

.diagnosis-item:nth-child(1) {
    animation-delay: 0.2s;
}

.diagnosis-item:nth-child(2) {
    animation-delay: 0.4s;
}

.diagnosis-item:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes diagnosisSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.diagnosis-icon {
    font-size: 2rem;
    margin-right: 15px;
    margin-top: 5px;
    animation: diagnosisIconFloat 3s ease-in-out infinite;
}

@keyframes diagnosisIconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.diagnosis-content {
    flex: 1;
}

.diagnosis-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #d4af37;
    margin-bottom: 8px;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.diagnosis-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: #f4f1eb;
    line-height: 1.5;
}

.result-conclusion {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(139, 69, 19, 0.1) 100%);
    border-radius: 15px;
    padding: 20px;
    margin: 25px 0;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    color: #f4f1eb;
    border: 2px solid rgba(212, 175, 55, 0.3);
    animation: conclusionPulse 4s ease-in-out infinite;
}

@keyframes conclusionPulse {

    0%,
    100% {
        border-color: rgba(212, 175, 55, 0.3);
    }

    50% {
        border-color: rgba(212, 175, 55, 0.6);
    }
}

.conclusion-icon {
    font-size: 1.5rem;
    margin-right: 10px;
    animation: conclusionIconSpin 4s linear infinite;
}

@keyframes conclusionIconSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Страница предложения */
.offer-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #d4af37;
    text-align: center;
    margin-bottom: 25px;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.7);
}

.offer-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    color: #f4f1eb;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 25px;
}

.offer-utp {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(139, 69, 19, 0.15) 100%);
    border-radius: 15px;
    padding: 20px;
    margin: 25px 0;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #d4af37;
    font-weight: 600;
    border: 2px solid rgba(212, 175, 55, 0.4);
}

.offer-benefits {
    margin: 30px 0;
}

.offer-benefits-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #d4af37;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.offer-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.offer-benefit-item {
    display: flex;
    align-items: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: #f4f1eb;
    padding: 12px 15px;
    background: rgba(70, 25, 89, 0.2);
    border-radius: 10px;
    border-left: 3px solid #27ae60;
}

.offer-benefit-icon {
    font-size: 1.2rem;
    margin-right: 12px;
    color: #27ae60;
    animation: benefitCheck 2s ease-in-out infinite;
}

@keyframes benefitCheck {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Страница благодарности */
.thank-you-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #d4af37;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.7);
}

.thank-you-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    color: #f4f1eb;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 30px;
}

.testimonials-section {
    margin: 30px 0;
}

.social-links {
    margin-top: 30px;
    text-align: center;
}

.social-links-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #d4af37;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.social-links-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    background: linear-gradient(135deg, rgba(70, 25, 89, 0.8) 0%, rgba(139, 69, 19, 0.7) 100%);
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 12px;
    padding: 12px 20px;
    color: #f4f1eb;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    border-color: #d4af37;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
    color: #d4af37;
}

/* Загрузка */
.loading-steps {
    margin-top: 25px;
}

.loading-step {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: #c19a6b;
    text-align: center;
    margin-bottom: 10px;
    animation: loadingStepFade 2s ease-in-out infinite;
}

@keyframes loadingStepFade {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* Форма */
.form-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #d4af37;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.7);
}

.form-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    color: #f4f1eb;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 30px;
}

.privacy-notice {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: rgba(193, 154, 107, 0.8);
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    background: rgba(26, 13, 46, 0.3);
    border-radius: 8px;
}

/* Адаптивность для новых элементов */
@media (max-width: 768px) {
    .page-card {
        padding: 35px 25px;
        margin: 20px 15px;
        border-radius: 20px;
    }

    .main-title {
        font-size: 2rem;
        margin-bottom: 20px;
        line-height: 1.1;
    }

    .subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .question-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
        line-height: 1.2;
    }

    .option-button {
        padding: 18px 22px;
        font-size: 1rem;
    }

    .btn-primary {
        padding: 18px 35px;
        font-size: 1.2rem;
        min-width: 220px;
    }

    .form-input {
        padding: 15px 20px;
        font-size: 1rem;
    }



    .mystic-symbol {
        font-size: 2rem;
        margin: 0 10px;
    }

    .diagnostic-info-block {
        padding: 25px 20px;
        margin: 25px 0;
    }

    .diagnostic-title {
        font-size: 1.2rem;
    }

    .diagnostic-subtitle {
        font-size: 1rem;
    }

    .benefit-item,
    .process-step {
        font-size: 0.95rem;
    }

    .process-title {
        font-size: 1.2rem;
    }

    .testimonials-block {
        padding: 30px 20px;
    }

    .testimonials-title {
        font-size: 1.3rem;
    }

    .testimonial-item {
        padding: 15px;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .urgent-notice {
        padding: 15px;
        font-size: 0.95rem;
    }

    .btn-secondary {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .ps-text {
        font-size: 0.9rem;
    }

    .confidentiality-notice {
        font-size: 0.8rem;
        padding: 12px 15px;
    }

    .navigation-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .problem-item {
        font-size: 1rem;
        padding: 12px 15px;
    }

    .problem-icon {
        font-size: 1.3rem;
        margin-right: 12px;
    }

    .indicator-value {
        font-size: 2.5rem;
    }

    .diagnosis-item {
        padding: 15px;
    }

    .diagnosis-icon {
        font-size: 1.5rem;
        margin-right: 12px;
    }

    .diagnosis-name {
        font-size: 1.1rem;
    }

    .diagnosis-description {
        font-size: 0.95rem;
    }

    .offer-title {
        font-size: 1.7rem;
    }

    .offer-text {
        font-size: 1rem;
    }

    .offer-utp {
        font-size: 1.1rem;
        padding: 15px;
    }

    .thank-you-title {
        font-size: 1.8rem;
    }

    .social-links-list {
        flex-direction: column;
        align-items: center;
    }

    .social-link {
        width: 200px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    #app {
        padding: 20px 10px;
    }

    .page-card {
        padding: 30px 20px;
        margin: 15px 10px;
    }

    .main-title {
        font-size: 1.7rem;
        line-height: 1.1;
    }

    .subtitle {
        font-size: 1rem;
    }

    .question-title {
        font-size: 1.3rem;
        line-height: 1.1;
    }

    .option-button {
        padding: 15px 18px;
        font-size: 0.95rem;
    }

    .btn-primary {
        padding: 16px 30px;
        font-size: 1.1rem;
        min-width: 200px;
    }



    .mystic-symbol {
        font-size: 1.8rem;
        margin: 0 8px;
    }

    .mystic-symbol::before {
        width: 50px;
        height: 50px;
    }

    .diagnostic-info-block {
        padding: 20px 15px;
        margin: 20px 0;
    }

    .diagnostic-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .diagnostic-subtitle {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .benefit-item,
    .process-step {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .process-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .process-steps {
        gap: 12px;
    }

    .step-number {
        width: 22px;
        height: 22px;
        font-size: 0.8rem;
    }

    .testimonials-block {
        padding: 25px 15px;
    }

    .testimonials-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .testimonial-item {
        padding: 12px 15px;
        margin-bottom: 15px;
    }

    .testimonial-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .testimonial-author {
        font-size: 0.85rem;
    }

    .urgent-notice {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .btn-secondary {
        padding: 14px 25px;
        font-size: 0.95rem;
        letter-spacing: 0.5px;
    }

    .ps-text {
        font-size: 0.85rem;
        margin-top: 15px;
    }

    .confidentiality-notice {
        font-size: 0.75rem;
        padding: 10px 12px;
        margin-top: 20px;
    }

    .problem-item {
        font-size: 0.95rem;
        padding: 10px 12px;
    }

    .problem-icon {
        font-size: 1.2rem;
        margin-right: 10px;
    }

    .indicator-value {
        font-size: 2rem;
    }

    .diagnosis-item {
        padding: 12px;
    }

    .diagnosis-icon {
        font-size: 1.3rem;
        margin-right: 10px;
    }

    .diagnosis-name {
        font-size: 1rem;
    }

    .diagnosis-description {
        font-size: 0.9rem;
    }

    .offer-title {
        font-size: 1.5rem;
    }

    .offer-text {
        font-size: 0.95rem;
    }

    .offer-utp {
        font-size: 1rem;
        padding: 12px;
    }

    .thank-you-title {
        font-size: 1.6rem;
    }

    .social-link {
        width: 180px;
        font-size: 0.9rem;
        padding: 10px 15px;
    }
}

/* Скрытие и показ элементов */
.hidden {
    display: none;
}

.fade-in {
    animation: fadeInUp 1s ease-out;
}

.fade-out {
    animation: fadeOut 0.6s ease-in forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-30px);
    }
}

/* Стили валидации */
.validation-error {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 8px;
    display: none;
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
    animation: errorSlide 0.3s ease-out;
    background: rgba(231, 76, 60, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    border-left: 3px solid #e74c3c;
}

@keyframes errorSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стили для знака зодиака */
.zodiac-info {
    display: none;
    margin-left: 15px;
    font-size: 1rem;
}

.zodiac-sign {
    color: #d4af37;
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.7);
    animation: zodiacGlow 3s ease-in-out infinite;
}

.zodiac-element {
    color: #c19a6b;
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: 8px;
    font-style: italic;
}

@keyframes zodiacGlow {

    0%,
    100% {
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.7);
        transform: scale(1);
    }

    50% {
        text-shadow: 0 0 20px rgba(212, 175, 55, 1), 0 0 30px rgba(212, 175, 55, 0.5);
        transform: scale(1.05);
    }
}

/* Стили для полей с ошибками */
.form-input.error {
    border-color: #e74c3c !important;
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.4) !important;
    background: rgba(231, 76, 60, 0.05) !important;
    animation: errorShake 0.5s ease-in-out;
}

@keyframes errorShake {

    0%,
    20%,
    40%,
    60%,
    80%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }
}

/* Стили для полей с валидными данными */
.form-input.valid {
    border-color: #27ae60 !important;
    box-shadow: 0 0 15px rgba(39, 174, 96, 0.4) !important;
    background: rgba(39, 174, 96, 0.05) !important;
}

.form-group.valid::after {
    content: '✓';
    position: absolute;
    right: 15px;
    top: 45px;
    color: #27ae60;
    font-size: 1.2rem;
    font-weight: bold;
    animation: validPulse 2s infinite;
    pointer-events: none;
}

@keyframes validPulse {

    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Анимация для появления знака зодиака */
.zodiac-info.show {
    display: inline-block;
    animation: zodiacAppear 0.8s ease-out;
}

@keyframes zodiacAppear {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}