/* Styles isolated to the existing promotional popup. */
.lp5-promo-overlay {
    --promo-gold: #f3ce8c;
    min-height: 100dvh;
    background: radial-gradient(ellipse at 50% 35%, rgba(120, 35, 24, .22), rgba(0, 0, 0, .86) 75%) !important;
    backdrop-filter: blur(9px) !important;
    -webkit-backdrop-filter: blur(9px);
    padding: 28px 18px !important;
    animation: lp5-popup-fade .45s ease-out both;
}
.lp5-promo-overlay > div {
    position: relative;
    isolation: isolate;
    margin: auto;
    flex-shrink: 0;
    max-width: 430px !important;
    box-sizing: border-box;
    padding: 18px 18px 24px;
    border: 1px solid rgba(242, 192, 116, .5);
    border-radius: 26px;
    background: radial-gradient(ellipse at 0 0, rgba(180, 112, 48, .22), transparent 55%), linear-gradient(155deg, #281c18, #100d10 60%, #1b1411);
    box-shadow: 0 28px 85px rgba(0, 0, 0, .65), 0 0 36px rgba(195, 64, 31, .16), inset 0 1px rgba(255, 231, 199, .14);
    animation: lp5-popup-enter .7s cubic-bezier(.2, .8, .2, 1) both;
}
.lp5-promo-overlay > div > * {
    position: relative;
    z-index: 1;
}
.lp5-promo-overlay > div::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
    pointer-events: none;
    background:
        radial-gradient(circle at 8% 25%, #ffe4a6 0 1px, transparent 2px),
        radial-gradient(circle at 93% 43%, #f3ce8c 0 1px, transparent 2px),
        radial-gradient(circle at 35% 88%, #ffe4a6 0 1px, transparent 2px),
        radial-gradient(circle at 82% 95%, #f3ce8c 0 1.5px, transparent 3px),
        linear-gradient(115deg, transparent 35%, rgba(255, 220, 153, .07) 48%, transparent 61%);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 250% 100%;
    animation: lp5-popup-sparkle 7s ease-in-out infinite;
}
.lp5-promo-overlay > div::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: 0 0 26px rgba(242, 164, 76, .22);
    animation: lp5-popup-glow 4s ease-in-out infinite;
}
.lp5-promo-overlay > div > img {
    display: block;
    flex-shrink: 0;
    border-radius: 17px !important;
    border: 1px solid rgba(255, 224, 187, .22);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .3) !important;
    margin-bottom: 20px !important;
    animation: lp5-popup-reveal .8s .12s ease-out both;
}
.lp5-promo-overlay > div > div:first-of-type {
    gap: 12px !important;
    margin-bottom: 20px !important;
    animation: lp5-popup-reveal .7s .25s ease-out both;
}
.lp5-promo-overlay a {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 186, 112, .4);
    border-radius: 12px !important;
    height: 48px !important;
    line-height: 46px !important;
    letter-spacing: .8px;
    -webkit-tap-highlight-color: transparent;
    background: linear-gradient(120deg, #f03b2c, #b71419 60%, #8f1019) !important;
    box-shadow: 0 6px 20px rgba(182, 16, 20, .25) !important;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.lp5-promo-overlay a + a {
    background: linear-gradient(115deg, #6a492c, #32231b 65%, #241b17) !important;
    border-color: rgba(238, 192, 124, .65);
    color: #ffe3b2 !important;
}
.lp5-promo-overlay a::after {
    content: '';
    position: absolute;
    top: -30%;
    left: -80%;
    width: 45%;
    height: 160%;
    background: linear-gradient(90deg, transparent, rgba(255, 236, 204, .28), transparent);
    transform: skewX(-22deg);
    pointer-events: none;
    animation: lp5-popup-shine 5s ease-in-out infinite;
}
.lp5-promo-overlay a + a::after { animation-delay: .7s; }
.lp5-promo-overlay a:hover {
    transform: translateY(-3px);
    filter: brightness(1.12);
    box-shadow: 0 10px 26px rgba(190, 66, 30, .35) !important;
}
.lp5-promo-overlay a:active { transform: translateY(0); }
.lp5-promo-overlay a:focus-visible {
    outline: 2px solid #ffdf9c;
    outline-offset: 4px;
}
.lp5-promo-overlay h2 {
    color: #fff0dc !important;
    line-height: 1.55 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
    margin-bottom: 0 !important;
    animation: lp5-popup-reveal .7s .38s ease-out both;
}
.lp5-promo-overlay > div > div:last-child {
    width: 100%;
    padding-top: 17px;
    border-top: 1px solid rgba(233, 188, 122, .16);
    text-align: center;
    color: #c6b8ad !important;
    letter-spacing: .35px;
    animation: lp5-popup-reveal .7s .48s ease-out both;
}
@keyframes lp5-popup-reveal {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes lp5-popup-sparkle {
    0%, 100% { opacity: .25; background-position: 0 0, 0 0, 0 0, 0 0, 100% 0; }
    50% { opacity: .85; background-position: 0 -8px, 0 9px, 0 -10px, 0 -6px, 0 0; }
}
@keyframes lp5-popup-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lp5-popup-enter {
    from { opacity: 0; transform: translateY(24px) scale(.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes lp5-popup-glow {
    0%, 100% { opacity: .4; }
    50% { opacity: 1; }
}
@keyframes lp5-popup-shine {
    0%, 60% { left: -80%; }
    85%, 100% { left: 150%; }
}
@media (max-width: 480px) {
    .lp5-promo-overlay { padding: 18px 12px !important; }
    .lp5-promo-overlay > div { padding: 12px 12px 18px; border-radius: 22px; }
    .lp5-promo-overlay h2 { font-size: 15px !important; }
}
@media (max-height: 700px) and (min-width: 481px) {
    .lp5-promo-overlay > div { max-width: 370px !important; }
}
@media (prefers-reduced-motion: reduce) {
    .lp5-promo-overlay, .lp5-promo-overlay *,
    .lp5-promo-overlay *::before, .lp5-promo-overlay *::after {
        animation: none !important;
    }
    .lp5-promo-overlay a { transition: none; }
}
