/**
 * Giveaway Manager - Promotional Popup Theme: Template 4 (Electric Blue, Lime Accent & Background Artwork)
 * Loaded ONLY when Template 4 is active or previewed.
 */

.giveaway-popup--template-4 {
    background: rgba(3, 5, 11, 0.78);
}

.giveaway-popup--template-4 .giveaway-popup__card {
    border-color: rgba(143, 166, 255, 0.45);
    background: #03050B;
    box-shadow: 0 32px 80px rgba(2, 4, 12, 0.84);
    color: #F3F6FC;
}

/* Scoped to :not([hidden]) so browsers never download background artwork until popup opens at 10s */
.giveaway-popup--template-4:not([hidden]) .giveaway-popup__card {
    background:
        linear-gradient(180deg, rgba(3, 5, 11, 0.20) 0%, rgba(3, 5, 11, 0.45) 45%, rgba(3, 5, 11, 0.86) 100%),
        url("bg.webp") center / cover no-repeat,
        #03050B;
}

.giveaway-popup--template-4 button.giveaway-popup__close {
    background: rgba(255, 255, 255, 0.10);
    color: #F3F6FC;
}

.giveaway-popup--template-4 button.giveaway-popup__close:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
}

.giveaway-popup--template-4 button.giveaway-popup__close:focus-visible {
    outline-color: #B8F23C;
    background: rgba(255, 255, 255, 0.18);
}

.giveaway-popup--template-4 .giveaway-popup__accent,
.giveaway-popup--template-4 .giveaway-popup__prize-val,
.giveaway-popup--template-4 .giveaway-popup__cd-num {
    background: linear-gradient(180deg, #2E7BFF 0%, #8FA6FF 50%, #FFFFFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.giveaway-popup--template-4 .giveaway-popup__firm-media {
    border-color: #8FA6FF;
    box-shadow: 0 0 22px rgba(46, 123, 255, 0.60);
}

.giveaway-popup--template-4 .giveaway-popup__cd-label {
    color: #B8F23C;
}

.giveaway-popup--template-4 .giveaway-popup__cd-date,
.giveaway-popup--template-4 .giveaway-popup__cd-unit {
    color: #D5DDF0;
}

.giveaway-popup--template-4 .giveaway-popup__cd-seg {
    border-color: rgba(143, 166, 255, 0.45);
    background: rgba(8, 12, 40, 0.78);
}

.giveaway-popup--template-4 li.giveaway-popup__tag {
    border-color: rgba(184, 242, 60, 0.45);
    background: rgba(10, 18, 40, 0.72);
    color: #F3F6FC;
}

.giveaway-popup--template-4 .giveaway-popup__tag svg {
    color: #B8F23C;
}

.giveaway-popup--template-4 a.giveaway-popup__cta {
    background: linear-gradient(135deg, #2E7BFF, #0026FF);
    box-shadow: 0 0 26px rgba(46, 123, 255, 0.55);
}

.giveaway-popup--template-4 a.giveaway-popup__cta:hover {
    box-shadow: 0 0 32px rgba(46, 123, 255, 0.75);
}
