/* =========================================
   ОСНОВНОЙ ТОПБАР
   WHITE / GRID / PINK
========================================= */

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

    display: flex;
    align-items: center;

    width: 100%;
    height: 40px;

    padding-left: calc(2.08333vw + 38px);
    padding-right: calc(2.08333vw + 30px);

    box-sizing: border-box;

    z-index: 22222;
    isolation: isolate;
    overflow: hidden;

    background: #ffffff;

    border-bottom: 1px solid rgba(128, 93, 235, 0.08);

    box-shadow:
        0 2px 9px rgba(83, 72, 125, 0.13);

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

.activity-promo__bar:hover {
    box-shadow:
        0 3px 13px rgba(83, 72, 125, 0.18);
}


/* =========================================
   МЯГКИЕ ЦВЕТНЫЕ ФОРМЫ
========================================= */

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

    position: absolute;
    inset: 0;

    z-index: -2;

    pointer-events: none;

    background:

        /* очень мягкий сиреневый круг */
        radial-gradient(
            circle at 27% 155%,
            rgba(189, 80, 253, 0.26) 0 115px,
            radial-gradient(rgba(63, 0, 255, 0.39), rgba(0, 0, 0, 0.22))
            transparent 117px
        ),

        /* голубой справа */
        radial-gradient(
            circle at 87% -140%,
            rgba(79, 201, 227, 0.12) 0 125px,
            transparent 127px
        ),

        /* лёгкий жёлтый акцент */
        radial-gradient(
            circle at 73% -170%,
            rgba(254, 192, 50, 0.12) 0 100px,
            transparent 102px
        );
}


/* =========================================
   КЛЕТКА
========================================= */

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

    position: absolute;
    inset: 0;

    z-index: -1;

    pointer-events: none;

    background:

        /* вертикальные сиренево-серые линии */
        linear-gradient(
            90deg,
            rgba(128, 93, 235, 0.11) 1px,
            transparent 1px
        ),

        /* горизонтальные голубовато-серые линии */
        linear-gradient(
            0deg,
            rgba(102, 151, 177, 0.10) 1px,
            transparent 1px
        );

    background-size:
        22px 22px,
        22px 22px;
}


/* =========================================
   ДАТА
========================================= */

.activity-promo__date {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    margin-left: 8px;
    margin-right: 16px;
    padding: 4px 10px 3px;
    border: 1px solid rgba(230, 222, 255, 1);
    border-radius: 20px;
    background: rgba(126, 81, 252, 0.05);
    color: rgba(118, 76, 237, 1);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}


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

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

    flex-shrink: 0;

    margin: 9px 14px 8px 0;

    color: #ff6072;

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

    white-space: nowrap;

    text-shadow: none;
}

.activity-promo__text-accent {
    color: #ffc745;
    background-color: rgba(255, 255, 255, 0.99);
    padding: 2px 8px;
    border: 1px solid rgba(117, 75, 236, 0.11);
    border-radius: 15px;
}

/* =========================================
   АКЦЕНТ
========================================= */

.activity-promo__accent {
    color: #ff6072;

    font-weight: 800;

    text-shadow: none;
}


/* =========================================
   ПОДРОБНЕЕ
========================================= */

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

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

    flex-shrink: 0;

    margin-bottom: -3px;

    color: rgba(118, 76, 237, 1);

    font-size: 15px;
    font-weight: 400;

    white-space: nowrap;

    text-shadow: none;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.activity-promo__arrow {
    display: inline-block;

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

    transition: transform 0.3s ease;
}

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

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


/* =========================================
   ЛЕНТА "АКЦИЯ"
========================================= */

.activity-promo__ribbon {
    position: fixed;

    z-index: 102;

    left: 0;
    top: -5px;

    width: 75px;
    height: 80px;

    overflow: hidden;

    text-align: right;
}

.activity-promo__ribbon > span {
    position: absolute;

    top: 17px;
    left: -23px;

    display: block;

    width: 100px;

    padding: 3px 0 0;

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

    color: #ffffff;

    font-size: 10.5px;
    font-weight: 900;
    line-height: 20px;

    letter-spacing: 0.5px;

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

    transform: rotate(-44deg);

    text-shadow:
        0 1px 2px rgba(150, 95, 0, 0.20);

    box-shadow:
        0 3px 9px rgba(111, 92, 58, 0.18);
}
