/* --- ОБЩИЕ СТИЛИ И ШРИФТЫ --- */
:root {
    --gold-color: #FFD700;
    --dark-purple: #4c1d4a;
    --hot-pink: #d92d8a;
    --soft-glow: rgba(255, 215, 0, 0.7);
}

@keyframes fadeInPage {
    from { opacity: 0; }
    to { opacity: 1; }
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(165deg, #2c002a, #5c1a59, #8c3a8a, #d92d8a);
    color: #fff;
    margin: 0;
    padding: 20px 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    animation: fadeInPage 0.5s ease-in-out forwards;
}

/* --- АНИМАЦИЯ ФОНА (без изменений) --- */
.background-animation-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden; z-index: -2;
}
.blob {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5;
    animation: blobMove 18s infinite alternate ease-in-out;
}
.blob-1 { width: 400px; height: 400px; background-color: var(--hot-pink); top: -10%; left: -10%; animation-duration: 18s; animation-direction: alternate; }
.blob-2 { width: 350px; height: 350px; background-color: #ff8cce; bottom: -15%; right: -5%; animation-duration: 22s; animation-direction: alternate-reverse; }
.blob-3 { width: 300px; height: 300px; background-color: var(--gold-color); top: 20%; right: 15%; animation-duration: 15s; animation-direction: alternate; }
.blob-4 { width: 450px; height: 450px; background-color: var(--dark-purple); bottom: 10%; left: 25%; animation-duration: 25s; animation-direction: alternate-reverse; }
@keyframes blobMove {
    from { transform: translate(0, 0) scale(1) rotate(0deg); }
    to { transform: translate(100px, -50px) scale(1.2) rotate(180deg); }
}
#sparkle-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden; pointer-events: none; z-index: -1;
}
.sparkle {
    position: absolute; width: 3px; height: 3px; background: #ffffff; border-radius: 50%;
    box-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px var(--hot-pink);
    animation: sparkle-fall linear infinite; opacity: 0;
}
@keyframes sparkle-fall {
    0% { transform: translateY(-20px); opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

/* --- ОСНОВНОЙ КОНТЕЙНЕР --- */
.container {
    position: relative; z-index: 1; text-align: center; max-width: 900px;
    width: 90%;
    padding: 30px 25px; /* Увеличиваем вертикальный отступ, уменьшаем горизонтальный */
    box-sizing: border-box; background: rgba(0, 0, 0, 0.25);
    border-radius: 30px; box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.2);
}

/* --- ЭЛЕМЕНТЫ КОНТЕНТА --- */
.inn-info { font-size: 0.8em; color: rgba(255, 255, 255, 0.6); margin-bottom: 20px; }
.logo-header { margin-bottom: 25px; }
.brand-name { font-family: 'Great Vibes', cursive; font-size: 3em; color: var(--gold-color); text-shadow: 0 0 10px var(--soft-glow), 0 0 25px var(--soft-glow), 0 0 40px var(--dark-purple); letter-spacing: 2px; display: inline-flex; align-items: center; margin: 0; }
.heart-icon-svg { width: 1em; height: 1em; margin: 0 10px; filter: drop-shadow(0 0 15px var(--soft-glow)); animation: heartbeat 1.5s infinite ease-in-out; }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
.main-content { flex-grow: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.main-title { font-size: 2em; font-weight: 700; margin: 0 0 15px 0; text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5); line-height: 1.2; }
.subtitle { font-size: 1.1em; max-width: 600px; margin: 0 auto 35px auto; color: rgba(255, 255, 255, 0.8); line-height: 1.6; }

/* --- КНОПКА ЗАПИСИ (CTA) --- */
.cta-button {
    display: inline-flex; align-items: center; justify-content: center;
    /* ✅ Уменьшаем кнопку еще немного */
    padding: 14px 28px;
    font-size: 1.1em;
    font-weight: 700; color: var(--dark-purple);
    background: linear-gradient(45deg, var(--gold-color), #ffec8a, var(--gold-color));
    background-size: 200% 200%; border: none; border-radius: 50px;
    text-decoration: none; cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--soft-glow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: buttonPulse 2s infinite ease-in-out, backgroundPan 3s linear infinite;
    width: 100%; /* Растягиваем на мобильных */
    max-width: 400px; /* Ограничиваем на десктопе */
    box-sizing: border-box;
}
.cta-button:hover { transform: scale(1.05) translateY(-5px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px var(--soft-glow); }
.button-icon { margin-right: 12px; font-size: 1.4em; display: inline-block; animation: iconSpin 4s linear infinite; }
@keyframes buttonPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
@keyframes backgroundPan { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes iconSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* --- ПОДВАЛ И ССЫЛКИ --- */
.footer-legal-links {
    margin-top: 35px; /* Увеличиваем отступ */
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    line-height: 1.5; /* Добавляем "воздуха" между строками, если они перенесутся */
}
.footer-legal-links a { color: inherit; text-decoration: none; margin: 0 8px; transition: color 0.3s ease, text-shadow 0.3s ease; }
.footer-legal-links a:hover { color: #fff; text-shadow: 0 0 5px rgba(255, 255, 255, 0.7); }

/* --- АДАПТАЦИЯ --- */
/* ✅ ПЕРЕДЕЛАНО: Сначала стили для больших экранов, потом для маленьких */

/* Стили для планшетов и десктопов */
@media (min-width: 768px) {
    .container { padding: 40px; }
    .brand-name { font-size: 4em; }
    .main-title { font-size: 2.8em; }
    .subtitle { font-size: 1.2em; }
    .cta-button {
        width: auto; /* Возвращаем авто-ширину */
        font-size: 1.3em;
        padding: 18px 40px;
    }
}

/* ✅ Стили ТОЛЬКО для маленьких мобильных экранов */
@media (max-width: 400px) {
    .footer-legal-links {
        display: flex;
        flex-direction: column; /* Ставим ссылки друг под другом */
        gap: 5px; /* Добавляем небольшой отступ между ними */
    }
    .footer-legal-links .link-separator {
        display: none; /* Прячем разделитель */
    }
}