/* === ТОП БАННЕР С ПУЛЬСАЦИЕЙ И АНИМИРОВАННЫМ ОГНЁМ (ГАРАНТИРОВАННО) === */
.sngine-top-banner-container {
    width: 100%;
    padding: 15px 0;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.sngine-top-banner-link {
    text-decoration: none;
    width: 90%;
    max-width: 1100px;
    display: block;
}

.sngine-top-banner {
    /* Внешняя рамка */
    border: 3px solid #d6cbfb;
    /* Фон */
    background: #ee848e;
    /* Закругления */
    border-radius: 20px;
    /* Текст */
    color: white;
    font-size: 1.4em;
    font-weight: 700;
    font-family: 'Segoe UI', sans-serif;
    text-align: center;
    padding: 25px 30px;
    /* Тень */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    /* Курсор */
    cursor: pointer;
    /* Пульсация */
    animation: pulse 2s infinite;
    transform-origin: center;
}

/* Пульсация баннера */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 6px 12px rgba(0,0,0,0.08); }
    50% { transform: scale(1.02); box-shadow: 0 10px 20px rgba(238,132,142,0.18); }
    100% { transform: scale(1); box-shadow: 0 6px 12px rgba(0,0,0,0.08); }
}

.sngine-top-banner:hover {
    animation: pulse 1.5s infinite;
}

/* Текст */
.sngine-top-banner .banner-text {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* === АНИМИРОВАННЫЙ ОГОНЁК (СМЕЛЫЙ И НАДЕЖНЫЙ) === */
.fire-emoji {
    display: inline-block;
    font-size: 1.6em;
    margin-right: 8px;
    animation: flicker-fire 1.2s infinite alternate ease-in-out;
    text-shadow: 
        0 0 4px #fff,
        0 0 8px rgba(255, 120, 0, 0.7),
        0 0 12px rgba(255, 160, 0, 0.8),
        0 0 16px rgba(255, 100, 0, 0.6);
    vertical-align: -2px;
    transform-origin: bottom center;
}

/* Реалистичное мерцание огня */
@keyframes flicker-fire {
    0% {
        transform: scale(1) rotate(0deg);
        text-shadow: 
            0 0 4px #fff,
            0 0 8px rgba(255, 120, 0, 0.7),
            0 0 12px rgba(255, 160, 0, 0.8),
            0 0 16px rgba(255, 100, 0, 0.6);
    }
    25% {
        transform: scale(1.1) rotate(1deg);
        text-shadow: 
            0 0 4px #fff,
            0 0 10px rgba(255, 140, 0, 0.9),
            0 0 14px rgba(255, 180, 0, 0.85),
            0 0 20px rgba(255, 90, 0, 0.7);
    }
    50% {
        transform: scale(0.95) rotate(-1deg);
        text-shadow: 
            0 0 4px #fff,
            0 0 6px rgba(255, 110, 0, 0.6),
            0 0 10px rgba(255, 130, 0, 0.7),
            0 0 14px rgba(255, 80, 0, 0.5);
    }
    75% {
        transform: scale(1.05) rotate(0.5deg);
        text-shadow: 
            0 0 4px #fff,
            0 0 9px rgba(255, 130, 0, 0.8),
            0 0 13px rgba(255, 170, 0, 0.8),
            0 0 18px rgba(255, 95, 0, 0.65);
    }
    100% {
        transform: scale(1) rotate(0deg);
        text-shadow: 
            0 0 4px #fff,
            0 0 8px rgba(255, 120, 0, 0.7),
            0 0 12px rgba(255, 160, 0, 0.8),
            0 0 16px rgba(255, 100, 0, 0.6);
    }
}

/* Адаптив */
@media (max-width: 768px) {
    .sngine-top-banner {
        font-size: 1.15em;
        padding: 20px 16px;
        border-radius: 16px;
    }
    .fire-emoji {
        font-size: 1.4em;
        margin-right: 6px;
    }
/* === ПУЛЬСАЦИЯ ДЛЯ БАННЕРА С ОБРАТНЫМ ОТСЧЁТОМ === */
.countdown-banner {
    /* уже существующие стили */
    border: 3px solid #d6cbfb;
    background: #ee848e;
    border-radius: 20px;
    color: white;
    font-size: 1.4em;
    font-weight: 700;
    font-family: 'Segoe UI', sans-serif;
    text-align: center;
    padding: 25px 30px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.5px;

    /* АНИМАЦИЯ ПУЛЬСАЦИИ */
    animation: pulse 2s infinite;
    transform-origin: center;
}

/* Эффект при наведении */
.countdown-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(238, 132, 142, 0.25);
    border-color: #cdaaf9;
    animation: pulse 1.5s infinite;
}

/* Пульсация — плавное дыхание */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 10px 20px rgba(238, 132, 142, 0.18);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    }
}
