body, html {
    margin: 0; padding: 0; height: 100%; overflow: hidden;
    font-family: 'Cormorant Garamond', serif;
    background-color: #0b0816;
}

/* 1. ФОНОВЫЙ СЛОЙ */
.background-layer {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(ellipse at center, #2b2051 0%, #440453 75%);
    z-index: 1;
}
#magic-dust { width: 100%; height: 100%; }

/* 2. СЛОЙ КОНТЕНТА */
.content-layer {
    position: relative; width: 100%; height: 100vh;
    z-index: 10;
}

/* 3. ТОЧКИ */
.map-point {
    position: absolute; color: white; text-decoration: none;
    text-align: center; cursor: pointer;
}
.map-point span { display: block; font-size: 18px; opacity: 0.8; transition: opacity 0.3s ease; }
.map-point::before {
    content: ''; display: block; width: 20px; height: 20px;
    margin: 0 auto 10px; border-radius: 50%;
    background-color: rgba(255, 215, 0, 0.7);
    box-shadow: 0 0 15px 5px rgba(255, 215, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.map-point:hover span { opacity: 1; }
.map-point:hover::before {
    transform: scale(1.3);
    box-shadow: 0 0 25px 10px rgba(255, 215, 0, 0.6);
}
.sun::before { width: 50px; height: 50px; }

/* --- Стили для модальных окон (общие) --- */
.page-content {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(11, 8, 22, 0.85); z-index: 1000;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden;
    transform: scale(0.95);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}
.page-content.visible { opacity: 1; visibility: visible; transform: scale(1); }
.content-wrapper {
    background-color: #1a182d; color: #e0e0e0; padding: 40px;
    border-radius: 10px; width: 90%; max-width: 800px; max-height: 90vh;
    position: relative; border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 40px rgba(43, 32, 81, 0.5);
}
.close-button {
    position: absolute; top: 15px; right: 20px; font-size: 30px;
    color: #e0e0e0; text-decoration: none; transition: transform 0.3s ease;
}
.close-button:hover { transform: rotate(90deg); }

/* Окно "Обо мне" */
#about .content-wrapper { overflow-y: auto; }
.healer-photo {
    width: 150px; height: 150px; background-color: #4c3b89;
    background-size: cover; background-position: center; border-radius: 50%;
    float: left; margin: 0 30px 10px 0;
    border: 3px solid rgba(255, 215, 0, 0.5);
}
#about .content-wrapper p {
    line-height: 1.7; font-size: 17px;
    margin-bottom: 1em; text-align: justify;
}
.intro-text { overflow: hidden; }
.final-call {
    margin-top: 30px; padding-top: 15px;
    font-style: italic; text-align: center;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    color: #e0c387;
}

/* Окно "Ключи к Гармонии" (Видео) */
#practices .content-wrapper {
    max-height: 80vh; max-width: 900px;
    display: flex; flex-direction: column;
}
#practices video {
    object-fit: contain; flex: 1; min-height: 0;
    width: 100%; border-radius: 8px; outline: none;
    border: 1px solid rgba(255, 215, 0, 0.1);
    margin-top: 20px; display: block;
}

/* --- "Подвал" модального окна --- */
.modal-footer {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 40px; padding-top: 20px;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}
.social-links { margin-top: 0; padding-top: 0; border-top: none; }
.social-links a {
    display: inline-block; font-size: 28px; margin: 0 15px 0 0;
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out; 
}
.social-links a i { transition: color 0.3s ease; }
.social-links a.visible { opacity: 1; transform: translateY(0); }
.social-links a:nth-child(1).visible { transition-delay: 0.2s; }
.social-links a:nth-child(2).visible { transition-delay: 0.3s; }
.social-links a:nth-child(3).visible { transition-delay: 0.4s; }
.social-links a:hover { transform: scale(1.1) translateY(0); }

/* Цвета иконок */
.social-links .fa-telegram { color: #0088cc; }
.social-links a:hover .fa-telegram { color: #2AABEE; }
.social-links .fa-youtube { color: #c4302b; }
.social-links a:hover .fa-youtube { color: #FF0000; }
.social-links .fa-vk { color: #4a76a8; }
.social-links a:hover .fa-vk { color: #5B88BD; }

/* --- Кнопка "Поблагодарить" --- */
.donation-section { margin-top: 0; }
.donation-button {
    display: inline-flex; align-items: center;
    padding: 10px 22px; border-radius: 50px; text-decoration: none;
    font-family: 'Cormorant Garamond', serif; font-size: 16px; font-weight: 700;
    letter-spacing: 0.5px; color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #8A63D2, #C895FF);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 15px rgba(138, 99, 210, 0.3);
    transition: all 0.3s ease;
}
.donation-button:hover {
    background: linear-gradient(45deg, #9C78E0, #D2A8FF);
    box-shadow: 0 6px 20px rgba(138, 99, 210, 0.5);
    transform: translateY(-3px);
}
.donation-button .fa-heart { margin-right: 10px; color: #ffc0cb; }
