/* ---------------------------------------------------------------
   Black Friday preset
   --------------------------------------------------------------- */

.banner {
    background: #23132B;
}

/* --- top banner ------------------------------------------------ */

.banner-bf {
    background: linear-gradient(90deg, #170C1E 0%, #3A1B55 45%, #1D38BA 100%);
}

.banner-bf__link {
    gap: 10px;
    padding: 0 10px;
    color: #FBF7FD;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
}

.banner-bf__link:hover {
    color: #FBF7FD;
}

.banner-bf__title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.banner-bf__text {
    opacity: 0.85;
}

/* --- countdown ------------------------------------------------- */

.bf-timer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bf-timer--ready {
    opacity: 1;
}

.bf-timer__label {
    opacity: 0.7;
}

.bf-timer__values {
    display: inline-flex;
    align-items: flex-start;
}

.bf-timer__unit {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.bf-timer__num {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.bf-timer__sep {
    font-style: normal;
    opacity: 0.5;
}

/* compact variant (top banner) */

.bf-timer--compact {
    font-size: 12px;
}

.bf-timer--compact .bf-timer__caption {
    display: none;
}

.bf-timer--compact .bf-timer__num {
    min-width: 18px;
    text-align: center;
}

.bf-timer--compact .bf-timer__sep {
    padding: 0 1px;
}

/* hero variant (home slider) */

.bf-timer--hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 32px;
}

.bf-timer--hero .bf-timer__label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #FBF7FD;
    opacity: 0.6;
}

.bf-timer--hero .bf-timer__values {
    gap: 6px;
}

.bf-timer--hero .bf-timer__unit {
    min-width: 72px;
    padding: 10px 6px;
    border: 1px solid rgba(251, 247, 253, 0.2);
    border-radius: 10px;
    background: rgba(23, 12, 30, 0.55);
    backdrop-filter: blur(4px);
}

.bf-timer--hero .bf-timer__num {
    font-size: 28px;
    line-height: 1;
    color: #FBF7FD;
}

.bf-timer--hero .bf-timer__caption {
    margin-top: 4px;
    font-size: 11px;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #FBF7FD;
    opacity: 0.6;
}

.bf-timer--hero .bf-timer__sep {
    display: none;
}

/* --- home slider ----------------------------------------------- */

.intro-bf__box {
    margin-bottom: 40px;
}

.intro-bf__eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 14px;
    border-radius: 100px;
    background: linear-gradient(90deg, #7B4397 0%, #1D38BA 100%);
    color: #FBF7FD;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.intro-box.dark .intro-content-box h2.intro-bf__title {
    margin-bottom: 12px;
    font-size: 56px;
    line-height: 110%;
}

.intro-box.dark .intro-content-box h2 .intro-bf__percent {
    background: linear-gradient(90deg, #FF2F6B 0%, #7B4397 60%, #1D38BA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.intro-box.dark .intro-content-box p.intro-bf__period {
    font-size: 16px;
    opacity: 0.7;
}

.intro-bf__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.intro-bf__terms {
    color: #FBF7FD;
    font-size: 15px;
    text-decoration: underline;
    opacity: 0.8;
}

.intro-bf__terms:hover {
    color: #FBF7FD;
    opacity: 1;
}

/* --- adaptive --------------------------------------------------- */

@media screen and (max-width: 991px) {
    .intro-box.dark .intro-content-box h2.intro-bf__title {
        font-size: 42px;
    }
}

@media screen and (max-width: 767px) {
    .banner-bf__link {
        gap: 6px;
        font-size: 10px;
    }

    .banner-bf__title {
        letter-spacing: 0.06em;
    }

    .bf-timer--compact {
        font-size: 10px;
    }

    .bf-timer--compact .bf-timer__label {
        display: none;
    }

    .bf-timer--compact .bf-timer__num {
        min-width: 15px;
    }

    .intro-bf__eyebrow {
        margin-bottom: 12px;
        padding: 5px 12px;
        font-size: 11px;
    }

    .intro-box.dark .intro-content-box h2.intro-bf__title {
        margin-bottom: 8px;
        font-size: 32px;
    }

    .intro-box.dark .intro-content-box p.intro-bf__period {
        font-size: 14px;
    }

    .bf-timer--hero {
        margin-top: 20px;
        gap: 6px;
    }

    .bf-timer--hero .bf-timer__unit {
        min-width: 58px;
        padding: 8px 4px;
    }

    .bf-timer--hero .bf-timer__num {
        font-size: 20px;
    }

    .bf-timer--hero .bf-timer__caption {
        font-size: 9px;
    }

    .intro-bf__actions {
        gap: 16px;
    }

    .intro-bf__terms {
        font-size: 13px;
    }
}

@media screen and (max-width: 374px) {
    .banner-bf__title {
        display: none;
    }
}

/* --- special offers page ---------------------------------------- */

.bf-page__hero {
    position: relative;
    margin-bottom: 50px;
    padding: 48px 40px;
    border-radius: 12px;
    background-color: #170C1E;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.bf-page__hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(23, 12, 30, 0.92) 0%, rgba(23, 12, 30, 0.6) 60%, rgba(23, 12, 30, 0.2) 100%);
}

.bf-page__hero-inner {
    position: relative;
    z-index: 2;
    max-width: 620px;
}

.bf-page__hero-title {
    margin-bottom: 12px;
    color: #FBF7FD;
    font-weight: 600;
    font-size: 44px;
    line-height: 115%;
    letter-spacing: -0.02em;
}

.bf-page__hero .bf-timer--hero {
    margin-bottom: 32px;
}

.bf-page__block {
    margin-bottom: 40px;
}

.bf-page__block-title {
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 24px;
    line-height: 130%;
}

.bf-page__block--vip {
    padding: 24px;
    border: 1px solid rgba(123, 67, 151, 0.25);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(123, 67, 151, 0.06) 0%, rgba(29, 56, 186, 0.06) 100%);
}

@media screen and (max-width: 767px) {
    .bf-page__hero {
        margin-bottom: 30px;
        padding: 28px 20px;
    }

    .bf-page__hero-title {
        font-size: 28px;
    }

    .bf-page__hero .bf-timer--hero {
        margin-bottom: 24px;
    }

    .bf-page__block-title {
        font-size: 20px;
    }

    .bf-page__block--vip {
        padding: 18px;
    }
}

.bf-page__hero-title {
    margin-bottom: 10px;
    color: #FBF7FD;
    font-weight: 600;
    font-size: 40px;
    line-height: 115%;
    letter-spacing: -0.02em;
}

.bf-page__hero-period {
    margin-bottom: 4px;
    color: #FBF7FD;
    font-size: 16px;
    opacity: 0.7;
}

.bf-page__back {
    margin: 10px 0 40px;
}

.bf-page__back a {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: #7B4397;
}

.bf-page__back a::before {
    content: '←';
    margin-right: 8px;
}

@media screen and (max-width: 767px) {
    .bf-page__hero-title {
        font-size: 26px;
    }

    .bf-page__hero-period {
        font-size: 14px;
    }
}

/* --- decorative chat card --------------------------------------- */

.bf-chat {
    position: absolute;
    top: 50%;
    right: 90px;
    z-index: 1;
    width: 380px;
    transform: translateY(-50%);
    pointer-events: none;
}

.bf-chat__photo {
    position: relative;
    display: block;
    width: 100%;
    height: 480px;
    border: 1px solid rgba(251, 247, 253, 0.14);
    border-radius: 26px;
    background-size: cover;
    background-position: center 20%;
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.95);
    overflow: hidden;
}

.bf-chat__photo::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 26px;
    background: linear-gradient(160deg, rgba(123, 67, 151, 0.55) 0%, rgba(29, 56, 186, 0.45) 100%);
    mix-blend-mode: color;
    opacity: 0.35;
}

.bf-chat__photo::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 40%;
    border-radius: 0 0 26px 26px;
    background: linear-gradient(180deg, rgba(23, 12, 30, 0) 0%, rgba(23, 12, 30, 0.75) 70%, rgba(23, 12, 30, 0.95) 100%);
}

.bf-chat__card {
    position: absolute;
    left: -130px;
    bottom: -26px;
    z-index: 2;
    transform: rotate(-3deg);
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 300px;
    padding: 20px;
    border: 1px solid rgba(251, 247, 253, 0.18);
    border-radius: 24px;
    background: rgba(23, 12, 30, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}

.bf-chat__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(251, 247, 253, 0.12);
}

.bf-chat__avatar {
    position: relative;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border: 2px solid rgba(255, 47, 107, 0.6);
    border-radius: 50%;
    background-size: cover;
    background-position: center 18%;
}

.bf-chat__dot {
    position: absolute;
    right: 0;
    bottom: 2px;
    width: 12px;
    height: 12px;
    border: 2px solid #170C1E;
    border-radius: 50%;
    background: #3ED47B;
}

.bf-chat__status {
    font-size: 13px;
    color: #FBF7FD;
    opacity: 0.75;
}

.bf-chat__msg {
    display: inline-block;
    max-width: 88%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.35;
    color: #FBF7FD;
}

.bf-chat__msg--in {
    align-self: flex-start;
    border-bottom-left-radius: 6px;
    background: rgba(251, 247, 253, 0.14);
}

.bf-chat__msg--second {
    margin-top: -4px;
}

.bf-chat__msg--out {
    align-self: flex-end;
    border-bottom-right-radius: 6px;
    background: linear-gradient(90deg, #FF2F6B 0%, #7B4397 100%);
    box-shadow: 0 10px 24px -12px rgba(255, 47, 107, 0.9);
    font-weight: 700;
}

.bf-chat__typing {
    display: flex;
    align-self: flex-start;
    gap: 5px;
    padding: 12px 14px;
    border-radius: 16px;
    border-bottom-left-radius: 6px;
    background: rgba(251, 247, 253, 0.14);
}

.bf-chat__typing i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FBF7FD;
    opacity: 0.45;
    animation: bf-typing 1.3s infinite ease-in-out;
}

.bf-chat__typing i:nth-child(2) {
    animation-delay: 0.18s;
}

.bf-chat__typing i:nth-child(3) {
    animation-delay: 0.36s;
}

@keyframes bf-typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.45;
    }
    30% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

.bf-chat__heart {
    position: absolute;
    top: -26px;
    right: -22px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF2F6B 0%, #7B4397 100%);
    box-shadow: 0 14px 30px -12px rgba(255, 47, 107, 0.9);
}

.bf-chat__heart::before {
    content: '\2665';
    color: #FBF7FD;
    font-size: 24px;
    line-height: 1;
}

@media screen and (max-width: 1399px) {
    .bf-chat {
        right: 40px;
        transform: translateY(-50%) scale(0.88);
        transform-origin: right center;
    }
}

@media screen and (max-width: 1199px) {
    .bf-chat {
        right: 10px;
        transform: translateY(-50%) scale(0.72);
        transform-origin: right center;
    }
}

@media screen and (max-width: 991px) {
    .bf-chat {
        display: none;
    }
}
