/* =========================================
   HALLOWEEN 2026
   LONDON EXPRESS ONLINE
   ПРАЗДНИЧНАЯ ВЕРХНЯЯ ПАНЕЛЬ
========================================= */

/* =========================================
   1. ОСНОВНАЯ ССЫЛКА
========================================= */

.activity-promo__anchor {
    display: block;
    color: inherit;
    text-decoration: none;
}

.activity-promo__anchor:hover {
    text-decoration: none;
}


/* =========================================
   2. ОСНОВНАЯ ПАНЕЛЬ
========================================= */

.activity-promo__bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 22222;

    display: flex;
    align-items: center;
    gap: 15px;

    width: 100%;
    height: 40px;

    padding: 0 32px 0 105px;

    box-sizing: border-box;
    isolation: isolate;

    /* Не обрезаем диагональную ленту */
    overflow: visible;

    background:
        radial-gradient(
            ellipse at 27% 110%,
            rgba(255, 115, 20, 0.32),
            transparent 30%
        ),
        radial-gradient(
            ellipse at 80% 100%,
            rgba(186, 33, 155, 0.28),
            transparent 36%
        ),
        linear-gradient(
            100deg,
            #180525 0%,
            #360a51 42%,
            #240534 100%
        );

    border-bottom: 2px solid #ff8418;

    box-shadow:
        0 2px 10px rgba(33, 5, 50, 0.25);

    transition: box-shadow 0.3s ease;
}

.activity-promo__anchor:hover
.activity-promo__bar {
    box-shadow:
        0 3px 14px rgba(49, 7, 77, 0.35);
}


/* =========================================
   3. МЯГКОЕ НОЧНОЕ СВЕЧЕНИЕ
========================================= */

.activity-promo__bar::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -2;
    pointer-events: none;

    background:
        radial-gradient(
            circle at 22% 110%,
            rgba(255, 142, 31, 0.32),
            transparent 16%
        ),
        radial-gradient(
            circle at 76% -80%,
            rgba(163, 57, 205, 0.35),
            transparent 28%
        );
}


/* =========================================
   4. ДЕКОРАТИВНЫЕ ЗВЁЗДЫ
========================================= */

.activity-promo__bar::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -1;
    pointer-events: none;

    background-image:
        radial-gradient(
            circle,
            rgba(255, 190, 94, 0.9) 1px,
            transparent 2px
        ),
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.6) 1px,
            transparent 2px
        );

    background-size:
        115px 38px,
        173px 47px;

    background-position:
        20px 7px,
        70px 20px;

    opacity: 0.6;
}


/* =========================================
   5. ДИАГОНАЛЬНАЯ ЛЕНТА «АКЦИЯ»
   Геометрия из исходного оформления
========================================= */

.activity-promo__ribbon {
    position: absolute;

    z-index: 102;

    left: 0;
    top: -5px;

    width: 75px;
    height: 80px;

    overflow: hidden;
    text-align: right;

    pointer-events: none;
}

.activity-promo__ribbon > span {
    position: absolute;

    top: 17px;
    left: -23px;

    display: block;
    width: 100px;

    padding: 3px 0 0;

    background: linear-gradient(
        105deg,
        #ff650a 0%,
        #ff9d20 52%,
        #ff650a 100%
    );

    color: #ffffff;

    font-size: 11.2px;
    font-weight: 900;
    line-height: 20px;
    letter-spacing: 0.2px;

    text-align: center;
    text-transform: uppercase;

    transform: rotate(-44deg);

    text-shadow:
        0 1px 2px rgba(90, 30, 0, 0.25);

    box-shadow:
        0 3px 10px -5px rgba(0, 0, 0, 0.5);
}


/* =========================================
   6. ДАТА АКЦИИ
========================================= */

.activity-promo__date {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    flex-shrink: 0;

    margin: 0;
    padding: 5px 12px;

    color: #fff5e9;

    background: rgba(26, 5, 45, 0.85);

    border: 1px solid rgba(255, 117, 24, 0.65);
    border-radius: 24px;

    box-shadow:
        0 0 9px rgba(255, 105, 18, 0.22),
        inset 0 0 8px rgba(255, 105, 18, 0.07);

    font-size: 12px;
    font-weight: 700;
    line-height: 1;

    white-space: nowrap;
}


/* =========================================
   7. ЗНАЧОК КАЛЕНДАРЯ
========================================= */

.activity-promo__calendar {
    color: #ff981d;

    font-size: 16px;
    line-height: 0.8;
}


/* =========================================
   8. ОСНОВНОЙ ТЕКСТ
========================================= */

.activity-promo__text {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    gap: 7px;

    flex-shrink: 0;

    margin: 0;

    color: #fff5e9;

    font-size: 21px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.4px;

    white-space: nowrap;
}

.activity-promo__heading {
    color: #fff5e9;

    text-shadow:
        0 0 8px rgba(255, 139, 64, 0.14);
}


/* =========================================
   9. ОРАНЖЕВАЯ ПЛАШКА «3 ЗАНЯТИЯ»
========================================= */

.activity-promo__text-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 5px 13px;

    color: #310744;

    background: linear-gradient(
        110deg,
        #ff9a15 0%,
        #ffb52d 52%,
        #ff8410 100%
    );

    border: 1px solid #ffae32;
    border-radius: 24px;

    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.4px;

    box-shadow:
        0 0 12px rgba(255, 133, 13, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


/* =========================================
   10. ТЕКСТ «В ПОДАРОК!»
========================================= */

.activity-promo__accent {
    color: #ffad37;

    font-weight: 800;

    text-shadow:
        0 0 8px rgba(255, 119, 23, 0.18);
}


/* =========================================
   11. ССЫЛКА «ПОДРОБНЕЕ»
========================================= */

.activity-promo__link {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    flex-shrink: 0;

    margin: 0 0 0 5px;

    color: #fff5f5;

    font-size: 14px;
    font-weight: 600;
    line-height: 1;

    white-space: nowrap;

    transition: color 0.25s ease;
}

.activity-promo__arrow {
    display: inline-block;

    font-size: 21px;
    line-height: 1;

    transition: transform 0.25s ease;
}


/* =========================================
   12. ЭФФЕКТЫ ПРИ НАВЕДЕНИИ
========================================= */

.activity-promo__anchor:hover
.activity-promo__text-accent {
    transform: translateY(-1px);

    box-shadow:
        0 0 16px rgba(255, 145, 20, 0.48);
}

.activity-promo__anchor:hover
.activity-promo__link {
    color: #ffb43d;
}

.activity-promo__anchor:hover
.activity-promo__arrow {
    transform: translateX(4px);
}


/* =========================================
   13. АДАПТАЦИЯ — ПЛАНШЕТЫ
========================================= */

@media (max-width: 1050px) {

    .activity-promo__bar {
        gap: 10px;
        padding-left: 85px;
        padding-right: 15px;
    }

    .activity-promo__text {
        font-size: 17px;
        gap: 5px;
    }

    .activity-promo__text-accent {
        font-size: 17px;
        padding: 5px 10px;
    }

    .activity-promo__link {
        font-size: 12px;
    }
}


/* =========================================
   14. АДАПТАЦИЯ — МОБИЛЬНЫЕ
========================================= */

@media (max-width: 700px) {

    .activity-promo__ribbon {
        display: block;
        left: -10px;
        top: -12px;
    }

    .activity-promo__bar {
        justify-content: center;
        gap: 8px;
        padding: 0 10px;
    }

    .activity-promo__date {
        display: none;
    }

    .activity-promo__text {
        flex-shrink: 1;

        gap: 5px;

        font-size: clamp(12px, 3.5vw, 17px);
        letter-spacing: -0.3px;
        margin: 0 0 0 15px;
    }

    .activity-promo__text-accent {
        font-size: inherit;
        padding: 4px 7px;
    }

    .activity-promo__arrow {
        font-size: 17px;
    }
}


/* =========================================
   15. ДОСТУПНОСТЬ — МЕНЬШЕ АНИМАЦИИ
========================================= */

@media (prefers-reduced-motion: reduce) {

    .activity-promo__bar,
    .activity-promo__text-accent,
    .activity-promo__link,
    .activity-promo__arrow {
        transition: none;
    }

    .activity-promo__ribbon {
        display: block;
        left: -12px;
        top: -13px;
    }
}

