/* ===== ОСНОВНЫЕ ПЕРЕМЕННЫЕ ===== */
:root {
    --primary: #667eea;
    --primary-dark: #5a67d8;
    --secondary: #764ba2;
    --accent: #f093fb;
    --gradient-main: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-light: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 20px 60px rgba(102, 126, 234, 0.25);
    --radius: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== ОБЩИЕ СТИЛИ ===== */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fe;
    color: #333;
    overflow-x: hidden;
}

/* ===== ФОНОВЫЕ ЭЛЕМЕНТЫ ===== */
.bg-gradient-primary {
    background: var(--gradient-main);
}

.bg-gradient-light {
    background: var(--gradient-light);
}

.bg-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23667eea' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ===== ГЕРО-БЛОК ===== */
.hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
    background: var(--gradient-main);
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.hero-photo:hover {
    transform: scale(1.05) rotate(-3deg);
    border-color: white;
}

/* ===== КАРТОЧКИ ===== */
.card-modern {
    background: white;
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

.card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card-modern .card-icon {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
}

.service-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(102, 126, 234, 0.08);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-main);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.service-card .service-icon {
    font-size: 3.5em;
    margin-bottom: 15px;
    display: block;
}

.service-card .service-price {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary);
}

/* ===== СПЕЦИАЛИЗАЦИИ ===== */
.specialization-badge {
    display: inline-block;
    background: white;
    padding: 12px 28px;
    border-radius: 50px;
    margin: 6px;
    font-size: 0.95em;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border: 1px solid rgba(102, 126, 234, 0.1);
    cursor: default;
}

.specialization-badge:hover {
    background: var(--gradient-main);
    color: white;
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    border-color: transparent;
}

/* ===== ОТЗЫВЫ ===== */
.review-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(102, 126, 234, 0.06);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.review-card .review-stars {
    color: #ffc107;
    font-size: 1.2em;
    letter-spacing: 3px;
}

.review-card .review-quote {
    font-size: 1.8em;
    color: var(--primary);
    opacity: 0.2;
    margin-bottom: 5px;
}

/* ===== FAQ ===== */
.faq-item {
    background: white;
    border: 1px solid rgba(102, 126, 234, 0.08);
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-item .accordion-button {
    font-weight: 600;
    padding: 20px 25px;
    background: white;
    border-radius: 12px !important;
    transition: var(--transition);
}

.faq-item .accordion-button:not(.collapsed) {
    color: var(--primary);
    background: rgba(102, 126, 234, 0.05);
    box-shadow: none;
}

.faq-item .accordion-button:hover {
    background: rgba(102, 126, 234, 0.05);
}

.faq-item .accordion-body {
    padding: 0 25px 25px 25px;
    color: #555;
    line-height: 1.8;
}

/* ===== ФОРМА ЗАПИСИ ===== */
.booking-card {
    background: white;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(102, 126, 234, 0.08);
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.booking-card .form-control {
    border-radius: 12px;
    border: 2px solid #e8ecf1;
    padding: 12px 16px;
    transition: var(--transition);
}

.booking-card .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

.booking-card .btn-primary {
    background: var(--gradient-main);
    border: none;
    border-radius: 12px;
    padding: 14px 30px;
    font-weight: 600;
    transition: var(--transition);
}

.booking-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* ===== СЛОТЫ ВРЕМЕНИ ===== */
.slot-btn {
    margin: 5px;
    min-width: 65px;
    border-radius: 12px !important;
    border: 2px solid #e8ecf1;
    transition: var(--transition);
    font-weight: 500;
}

.slot-btn:hover {
    border-color: var(--primary);
    background: rgba(102, 126, 234, 0.08);
}

.slot-btn.selected {
    background: var(--gradient-main) !important;
    border-color: var(--primary) !important;
    color: white !important;
    transform: scale(1.05);
}

/* ===== КНОПКИ ===== */
.btn-gradient {
    background: var(--gradient-main);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 35px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-outline-gradient {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-gradient:hover {
    background: var(--gradient-main);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* ===== НАВИГАЦИЯ ===== */
.navbar {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.3em;
    color: var(--primary) !important;
}

.nav-link {
    font-weight: 500;
    color: #555 !important;
    transition: var(--transition);
    border-radius: 8px;
    padding: 8px 16px !important;
}

.nav-link:hover {
    color: var(--primary) !important;
    background: rgba(102, 126, 234, 0.06);
}

.nav-link.active {
    color: var(--primary) !important;
    background: rgba(102, 126, 234, 0.08);
}

/* ===== ФУТЕР ===== */
.footer {
    background: #1a1a2e;
    color: #aaa;
    padding: 40px 0 30px;
    margin-top: 50px;
}

.footer a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: white;
}

.footer .social-icon {
    display: inline-block;
    width: 42px;
    height: 42px;
    line-height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    text-align: center;
    font-size: 1.1em;
    transition: var(--transition);
    margin: 0 4px;
}

.footer .social-icon:hover {
    background: var(--gradient-main);
    transform: translateY(-3px) scale(1.1);
}

/* ===== АНИМАЦИИ ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pulse {
    animation: pulse 3s ease-in-out infinite;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero-photo {
        width: 150px;
        height: 150px;
    }
    
    .booking-card {
        padding: 25px;
        margin-top: -20px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .specialization-badge {
        padding: 8px 18px;
        font-size: 0.85em;
    }
}

/* ===== СТРАНИЦА ТЕСТА ===== */
.question-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    display: none;
}
.question-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}
.option-btn {
    display: block;
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e8ecf1;
    border-radius: 12px;
    background: white;
    transition: var(--transition);
    text-align: left;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
}
.option-btn:hover {
    border-color: var(--primary);
    background: rgba(102, 126, 234, 0.05);
}
.option-btn.selected {
    border-color: var(--primary);
    background: rgba(102, 126, 234, 0.1);
}
.option-btn .option-label {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    border-radius: 50%;
    background: #f0f0f5;
    text-align: center;
    font-weight: 600;
    font-size: 0.8em;
    margin-right: 12px;
    color: #666;
}
.option-btn.selected .option-label {
    background: var(--primary);
    color: white;
}
.progress-bar {
    height: 6px;
    background: #e8ecf1;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 20px;
}
.progress-bar .progress-fill {
    height: 100%;
    background: var(--gradient-main);
    transition: width 0.5s ease;
    border-radius: 3px;
}
.result-card {
    background: white;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    text-align: center;
}
.result-icon {
    font-size: 4em;
    margin-bottom: 15px;
}
.result-score {
    font-size: 3em;
    font-weight: 700;
    color: var(--primary);
}

/* ===== СТРАНИЦА ПРАКТИК ===== */
.practice-card {
    background: white;
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.04);
}
.practice-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.practice-card .icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}
.subscribe-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: var(--radius);
    padding: 40px;
}
.subscribe-section .form-control {
    border-radius: 50px;
    padding: 12px 25px;
    border: none;
}
.subscribe-section .btn {
    border-radius: 50px;
    padding: 12px 30px;
    background: white;
    color: var(--primary);
    font-weight: 600;
}
.subscribe-section .btn:hover {
    transform: scale(1.05);
}

/* ===== ВИДЕО ===== */
video {
    background: #1a1a2e;
    border-radius: var(--radius);
}

video::-webkit-media-controls-enclosure {
    border-radius: 0 0 var(--radius) var(--radius);
}

/* Скрываем кнопку скачивания в некоторых браузерах */
video::-internal-media-controls-download-button {
    display: none;
}

video::-webkit-media-controls-download-button {
    display: none;
}

video::-moz-media-controls-download-button {
    display: none;
}
/* ===== КАСТОМНЫЙ ВИДЕОПЛЕЕР ===== */
.custom-video-player {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: #1a1a2e;
}

.custom-video-player video {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

/* Кастомная кнопка Play */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    z-index: 10;
}

.play-button:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translate(-50%, -50%) scale(1.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.play-button.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.play-button .play-icon {
    width: 0;
    height: 0;
    border-left: 28px solid white;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    margin-left: 8px;
}

/* Скрываем стандартные элементы управления, чтобы не мешали */
.custom-video-player video::-webkit-media-controls-enclosure {
    opacity: 0.7;
}

.custom-video-player video::-webkit-media-controls-play-button {
    display: none;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .play-button {
        width: 60px;
        height: 60px;
    }
    .play-button .play-icon {
        border-left: 20px solid white;
        border-top: 14px solid transparent;
        border-bottom: 14px solid transparent;
        margin-left: 6px;
    }
}

/* ===== КНОПКА "ЧУВСТВУЕТЕ ТРЕВОГУ?" ===== */
.btn-anxiety {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    border-radius: 60px;
    padding: 18px 45px;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 10px 40px rgba(245, 87, 108, 0.35);
    transition: all 0.4s ease;
    animation: pulse-anxiety 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-anxiety:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 20px 60px rgba(245, 87, 108, 0.5);
    color: white;
}

@keyframes pulse-anxiety {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 40px rgba(245, 87, 108, 0.35);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 60px rgba(245, 87, 108, 0.55);
    }
}

/* ===== ДЫХАТЕЛЬНАЯ АНИМАЦИЯ ===== */
.breath-modal .modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    border: none;
    border-radius: 30px;
    min-height: 500px;
}

.breath-circle-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.breath-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #f093fb, #f5576c);
    box-shadow: 0 0 60px rgba(245, 87, 108, 0.3);
    transition: width 4s ease-in-out, height 4s ease-in-out, box-shadow 4s ease-in-out;
}

.breath-circle.inhale {
    width: 280px;
    height: 280px;
    box-shadow: 0 0 120px rgba(245, 87, 108, 0.6);
}

.breath-circle.exhale {
    width: 60px;
    height: 60px;
    box-shadow: 0 0 60px rgba(245, 87, 108, 0.3);
}

.breath-circle.hold {
    width: 280px;
    height: 280px;
    box-shadow: 0 0 120px rgba(245, 87, 108, 0.8);
}

.breath-circle.rest {
    width: 80px;
    height: 80px;
    box-shadow: 0 0 40px rgba(245, 87, 108, 0.2);
}

.breath-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.6rem;
    font-weight: 300;
    color: white;
    text-shadow: 0 0 30px rgba(245, 87, 108, 0.3);
    z-index: 10;
    text-align: center;
    line-height: 1.4;
    letter-spacing: 2px;
    pointer-events: none;
}

.breath-text .count {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-top: 5px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.breath-text .hint {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    -webkit-text-fill-color: rgba(255,255,255,0.4);
    margin-top: 8px;
    font-weight: 300;
    letter-spacing: 1px;
}

.breath-counter {
    text-align: center;
    margin-top: 15px;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.breath-counter .cycles {
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

/* Волны вокруг круга */
.breath-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 2px solid rgba(245, 87, 108, 0.1);
    animation: wave-expand 4s ease-in-out infinite;
    pointer-events: none;
}

.breath-waves:nth-child(2) {
    width: 360px;
    height: 360px;
    animation-delay: 0.5s;
    border-color: rgba(245, 87, 108, 0.05);
}

@keyframes wave-expand {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

/* Адаптив */
@media (max-width: 768px) {
    .breath-circle-container {
        width: 220px;
        height: 220px;
    }
    .breath-circle.inhale {
        width: 200px;
        height: 200px;
    }
    .breath-text {
        font-size: 1.2rem;
    }
    .breath-text .count {
        font-size: 2.2rem;
    }
}

/* ===== ДЫХАТЕЛЬНАЯ АНИМАЦИЯ - ЧЕЛОВЕК ===== */
.breath-modal .modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    border: none;
    border-radius: 30px;
    min-height: 500px;
}

.breath-person-container {
    position: relative;
    width: 280px;
    height: 400px;
    margin: 0 auto;
}

/* Человек SVG */
.breath-person {
    width: 100%;
    height: 100%;
}

/* Анимация грудной клетки */
.chest {
    transform-origin: center;
    transition: transform 3s ease-in-out;
}

.chest.inhale {
    transform: scale(1.12);
}

.chest.exhale {
    transform: scale(0.92);
}

.chest.hold {
    transform: scale(1.12);
}

.chest.rest {
    transform: scale(0.95);
}

/* Анимация плеч */
.shoulder-left {
    transform-origin: top right;
    transition: transform 3s ease-in-out;
}

.shoulder-right {
    transform-origin: top left;
    transition: transform 3s ease-in-out;
}

.shoulder-left.inhale,
.shoulder-right.inhale {
    transform: rotate(-3deg) scale(1.05);
}

.shoulder-left.exhale,
.shoulder-right.exhale {
    transform: rotate(0deg) scale(0.95);
}

/* Анимация живота */
.belly {
    transform-origin: center;
    transition: transform 3s ease-in-out;
}

.belly.inhale {
    transform: scale(1.08);
}

.belly.exhale {
    transform: scale(0.92);
}

/* Анимация головы (лёгкий наклон) */
.head {
    transform-origin: bottom center;
    transition: transform 3s ease-in-out;
}

.head.inhale {
    transform: rotate(-1deg);
}

.head.exhale {
    transform: rotate(1deg);
}

/* Светящийся контур */
.glow-ring {
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.3);
    }
}

/* Текст поверх */
.breath-text {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.4rem;
    font-weight: 300;
    color: white;
    text-shadow: 0 0 30px rgba(245, 87, 108, 0.3);
    z-index: 10;
    text-align: center;
    line-height: 1.4;
    letter-spacing: 2px;
    pointer-events: none;
}

.breath-text .count {
    font-size: 2.8rem;
    font-weight: 700;
    display: block;
    margin-top: 5px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.breath-text .hint {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    -webkit-text-fill-color: rgba(255,255,255,0.4);
    margin-top: 8px;
    font-weight: 300;
    letter-spacing: 1px;
}

.breath-counter {
    text-align: center;
    margin-top: 15px;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.breath-counter .cycles {
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

/* Адаптив */
@media (max-width: 768px) {
    .breath-person-container {
        width: 200px;
        height: 300px;
    }
    .breath-text {
        font-size: 1.1rem;
        bottom: 0;
    }
    .breath-text .count {
        font-size: 2rem;
    }
}

/* ===== ДЫХАТЕЛЬНАЯ АНИМАЦИЯ - SVG ===== */
.breath-modal .modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    border: none;
    border-radius: 30px;
    min-height: 480px;
}

.breath-person-container {
    position: relative;
    width: 280px;
    height: 350px;
    margin: 0 auto;
}

.breath-person-container svg {
    display: block;
    width: 100%;
    height: 100%;
}

.breath-text {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    pointer-events: none;
    padding: 10px;
}

.breath-text #breathPhase {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.7);
    display: block;
}

.breath-text #breathCount {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-top: 5px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.breath-text #breathHint {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.3);
    -webkit-text-fill-color: rgba(255,255,255,0.3);
    margin-top: 5px;
    display: block;
}

.breath-counter {
    text-align: center;
    margin-top: 10px;
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
}

.breath-counter .cycles {
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

/* Адаптив */
@media (max-width: 768px) {
    .breath-person-container {
        width: 200px;
        height: 260px;
    }
    .breath-text #breathPhase {
        font-size: 1rem;
    }
    .breath-text #breathCount {
        font-size: 2.2rem;
    }
    .breath-modal .modal-content {
        min-height: 400px;
    }
}
