.hb--promo {
    --pm-acc: var(--hb-a);
}

.pm-gift {
    position: relative;
    height: 380px;
    display: grid;
    place-items: center;
}

.pm-gift__box {
    position: relative;
    width: 200px;
    height: 190px;
    animation: pm-bob 4.5s ease-in-out infinite;
}

@keyframes pm-bob {
    50% { transform: translateY(-12px) rotate(-1.5deg); }
}

.pm-gift__body {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 0;
    height: 130px;
    border-radius: 18px;
    background: linear-gradient(150deg, var(--hb-b), var(--hb-a));
    box-shadow: 0 40px 70px -30px color-mix(in srgb, var(--hb-a) 70%, transparent), inset 0 -14px 0 rgba(0, 0, 0, .08);
}

.pm-gift__lid {
    position: absolute;
    left: 0;
    right: 0;
    top: 22px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(150deg, #ffb27e, var(--hb-a));
    z-index: 2;
    transform-origin: 10% 100%;
    animation: pm-lid 4.5s ease-in-out infinite;
}

@keyframes pm-lid {
    0%, 60%, 100% { transform: none; }
    72% { transform: translateY(-16px) rotate(-8deg); }
    84% { transform: translateY(-4px) rotate(-2deg); }
}

.pm-gift__ribbon {
    position: absolute;
    left: 50%;
    top: 22px;
    bottom: 0;
    width: 28px;
    margin-left: -14px;
    z-index: 3;
    border-radius: 6px;
    background: #fff4d6;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05);
}

.pm-gift__ribbon::before,
.pm-gift__ribbon::after {
    content: "";
    position: absolute;
    top: -34px;
    width: 52px;
    height: 38px;
    border: 9px solid #fff4d6;
    border-radius: 50% 50% 8px 50%;
}

.pm-gift__ribbon::before {
    right: 12px;
    transform: rotate(-18deg);
}

.pm-gift__ribbon::after {
    left: 12px;
    transform: scaleX(-1) rotate(-18deg);
}

.pm-tag {
    position: absolute;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--fp-line);
    box-shadow: 0 24px 40px -26px rgba(14, 12, 27, .45);
    color: var(--hb-a);
    font-size: 24px;
    font-weight: 750;
    animation: pm-float 6s ease-in-out infinite;
}

.pm-tag .fp-ico {
    width: 26px;
    height: 26px;
}

.pm-tag.is-a { left: 8%; top: 16%; }
.pm-tag.is-b { right: 8%; top: 28%; animation-delay: -2s; }
.pm-tag.is-c { left: 18%; bottom: 10%; animation-delay: -4s; }

@keyframes pm-float {
    50% { transform: translateY(-14px) rotate(6deg); }
}

.pm-confetti {
    position: absolute;
    left: 50%;
    top: 44%;
    width: 8px;
    height: 14px;
    border-radius: 3px;
    background: var(--hb-b);
    opacity: 0;
    animation: pm-pop 4.5s ease-out infinite;
    --a: calc(var(--k, 0) * 26deg - 170deg);
}

.pm-confetti:nth-child(3n) { background: var(--hb-a); }
.pm-confetti:nth-child(3n + 1) { background: #ffd166; }

@keyframes pm-pop {
    0%, 66% { opacity: 0; transform: rotate(var(--a)) translateY(0); }
    70% { opacity: 1; }
    100% { opacity: 0; transform: rotate(var(--a)) translateY(-170px) rotate(240deg); }
}

.pm-badge {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--pm-acc);
    color: #fff;
    font-size: 12px;
    font-style: normal;
    font-weight: 650;
    letter-spacing: .02em;
}

.pm-logo {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    padding: 8px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--fp-line);
}

.pm-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pm-logo.is-sm {
    position: absolute;
    left: 14px;
    bottom: -22px;
    width: 46px;
    height: 46px;
    box-shadow: 0 14px 24px -16px rgba(14, 12, 27, .5);
}

.pm-logo.is-lg {
    width: 64px;
    height: 64px;
    border: 0;
}

.pm-feat {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    margin-bottom: 20px;
    border-radius: 32px;
    overflow: hidden;
    background: #0e0c1b;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 50px 80px -56px color-mix(in srgb, var(--pm-acc) 80%, #000);
    transition: transform .4s cubic-bezier(.3, .7, .2, 1);
}

.pm-feat:hover {
    transform: translateY(-4px);
}

.pm-feat__media {
    position: relative;
    min-height: 340px;
    background: linear-gradient(140deg, var(--hb-b), var(--pm-acc));
}

.pm-feat__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.3, .7, .2, 1);
}

.pm-feat:hover .pm-feat__media img {
    transform: scale(1.04);
}

.pm-feat__body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 44px;
    background: radial-gradient(circle at 100% 0, color-mix(in srgb, var(--pm-acc) 36%, transparent), transparent 60%);
}

.pm-feat__top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pm-feat__body > b {
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.1;
    font-weight: 650;
    letter-spacing: -.03em;
    text-wrap: balance;
}

.pm-feat__body > small {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .7);
}

.pm-feat__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.pm-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, .85);
}

.pm-count i {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--pm-acc) 30%, transparent);
    color: #fff;
}

.pm-count .fp-ico,
.pm-go .fp-ico {
    width: 16px;
    height: 16px;
}

.pm-go {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: #fff;
    color: #0e0c1b;
    font-size: 14px;
    font-weight: 600;
}

.pm-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 10px 18px;
    border-radius: 26px;
    border: 1px solid var(--fp-line);
    background: #fff;
    color: var(--hb-ink);
    text-decoration: none;
    transition: transform .35s cubic-bezier(.3, .7, .2, 1), box-shadow .35s;
}

.pm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 70px -46px rgba(14, 12, 27, .45);
}

.pm-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    margin-bottom: 22px;
    border-radius: 18px;
    background: linear-gradient(140deg, color-mix(in srgb, var(--pm-acc) 30%, #fff), var(--pm-acc));
}

.pm-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.pm-card__media .pm-badge {
    position: absolute;
    top: 12px;
    right: 12px;
}

.pm-card > b,
.pm-card > small,
.pm-card__foot {
    padding: 0 10px;
}

.pm-card > b {
    font-size: 19px;
    line-height: 1.25;
    font-weight: 650;
    letter-spacing: -.015em;
    text-wrap: balance;
}

.pm-card > small {
    font-size: 14px;
    line-height: 1.55;
    color: #6b6b7b;
}

.pm-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
}

.pm-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b6b7b;
}

.pm-date .fp-ico {
    width: 15px;
    height: 15px;
    color: var(--pm-acc);
}

.pm-arrow {
    width: 18px;
    height: 18px;
    color: var(--pm-acc);
    transition: transform .3s;
}

.pm-card:hover .pm-arrow {
    transform: translate(3px, -3px);
}

.pm-dhero {
    position: relative;
    isolation: isolate;
    margin-top: -64px;
    padding: 160px 0 72px;
    overflow: clip;
    background: #0e0c1b;
    color: #fff;
}

.pm-dhero__img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pm-dhero__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(100deg, rgba(14, 12, 27, .94) 30%, rgba(14, 12, 27, .55)), radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--pm-acc) 50%, transparent), transparent 55%);
}

.pm-dhero__in > .hb-dtitle,
.pm-dhero__in > .fp-desc {
    max-width: 760px;
}

.pm-dhero__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.pm-dhero .hb-dtitle {
    color: #fff;
}

.pm-dhero .fp-desc {
    color: rgba(255, 255, 255, .72);
}

.hb-crumb.is-dark a {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .16);
    color: #fff;
}

.pm-dhero__acts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 30px;
}

.pm-clock {
    display: flex;
    gap: 8px;
}

.pm-clock span {
    display: grid;
    justify-items: center;
    min-width: 64px;
    padding: 10px 8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(8px);
}

.pm-clock b {
    font-size: 24px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.02em;
}

.pm-clock small {
    font-size: 11px;
    color: rgba(255, 255, 255, .6);
}

.pm-ended {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    font-size: 14px;
}

.pm-ended .fp-ico {
    width: 16px;
    height: 16px;
}

.pm-others__t {
    margin: 0 0 18px;
    font-size: 22px;
    font-weight: 650;
    letter-spacing: -.02em;
}

.pm-grid:has(> :last-child:nth-child(2)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pm-grid:has(> :only-child) {
    grid-template-columns: minmax(0, 560px);
}

@media (max-width: 1024px) {
    .pm-feat {
        grid-template-columns: 1fr;
    }

    .pm-feat__media {
        min-height: 240px;
    }
}

@media (max-width: 720px) {
    .pm-grid:has(> :last-child:nth-child(2)),
    .pm-grid:has(> :only-child) {
        grid-template-columns: minmax(0, 1fr);
    }

    .pm-gift {
        height: 240px;
        margin-top: -12px;
        transform: scale(.8);
    }

    .pm-feat__body {
        padding: 26px;
    }

    .pm-dhero {
        padding: 124px 0 48px;
    }

    .pm-clock span {
        min-width: 0;
        flex: 1;
    }

    .pm-dhero__acts {
        flex-direction: column;
        align-items: stretch;
    }

    .pm-dhero__acts .fp-btn {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pm-gift__box,
    .pm-gift__lid,
    .pm-tag,
    .pm-confetti {
        animation: none;
    }
}
