/* ========== Базовые стили ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --pink: #e91e63;
    --pink-dark: #c2185b;
    --pink-light: #fce4ec;
    --bg: #fef9f7;
    --text: #2d2d2d;
    --muted: #777;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Raleway', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* Доступность: видимый фокус для клавиатуры */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [role="button"]:focus-visible {
    outline: 3px solid var(--pink);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ========== Анимации ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes glow {
    from { text-shadow: 0 0 10px rgba(255,255,255,0.4); }
    to   { text-shadow: 0 0 25px rgba(255, 128, 171, 0.9); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}
@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes pulse-ring {
    0%   { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.scale-in {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.scale-in.visible { opacity: 1; transform: scale(1); }

/* Уважение к настройкам пользователя */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
