/*
 * promo-banner.css — the discount-code banner under the nav, every design.
 *
 * CANONICAL COPY: warzone-web/warzone-web/wwwroot/css/promo-banner.css.
 * scripts/sync-seasons.ps1 copies it to the four article sites
 * (assets/css/promo-banner.css). Edit here, then sync — never edit the copies.
 *
 * Markup: Components/Integrations/PromoBannerView.razor (warzone-web) and
 * includes/promo_banner.php (article sites) — identical. Every design uses the
 * same markup; only the root's wz-promo--<style> modifier changes, so a design
 * is pure CSS. Designs (admin: /admin/promo-banners → Design):
 *   simple    quiet tinted strip
 *   neon      glowing neon sign, scanlines, flickering discount
 *   blaze     bold brand gradient, light sweep, tilted discount sticker
 *   ticket    coupon card with a tear-off stub, perforation and notches
 *   tactical  hazard stripes, stencil type, bomb-timer countdown
 *   glass     floating frosted-glass card with a gradient edge
 *
 * The same designs become the picture under warzone-web's Discord announcements
 * (/admin/promo-banners → Discord): wwwroot/js/promo-snapshot.js draws a
 * snapshot copy of the banner (section 8) with this stylesheet.
 *
 * Colours come from the brand-* RGB triplets (rgb(var(--brand-500))), so
 * every design re-tints with the season. Easter, the one season with more
 * than one colour, also mixes its painted-egg hues into every design
 * (section 9, keyed on the banner's data-wz-promo-season). Contrast: text on
 * dark grounds uses white or brand-400 (>= 6.8:1 in every palette); text on
 * a brand ground is neutral-950 on brand-400 (>= 6.8:1) or white on a ground
 * darkened enough for the lightest palette. Motion stops under
 * prefers-reduced-motion.
 */

/* ===================================================================
   1. Shared frame (also the "simple" design's parts)
   =================================================================== */

.wz-promo {
    position: relative;
    color: rgb(245 245 245);
}

.wz-promo[hidden] {
    display: none;
}

.wz-promo__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.625rem 1.25rem;
    max-width: 96rem;
    margin: 0 auto;
    padding: 0.75rem 3.5rem 0.75rem 1rem;
}

@media (min-width: 640px) {
    .wz-promo__inner { padding: 1rem 3.5rem 1rem 1.5rem; }
}

@media (min-width: 1024px) {
    .wz-promo__inner { padding-left: 2rem; }
}

.wz-promo__icon {
    display: none;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
}

@media (min-width: 640px) {
    .wz-promo__icon { display: inline-flex; }
}

.wz-promo__icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Parts only some designs show. */
.wz-promo__badge,
.wz-promo__eyebrow,
.wz-promo__clock {
    display: none;
}

.wz-promo__text {
    margin: 0;
    text-align: center;
    font-size: 1rem;
    line-height: 1.5rem;
}

@media (min-width: 640px) {
    .wz-promo__text { font-size: 1.125rem; line-height: 1.75rem; }
}

.wz-promo__discount {
    color: #fff;
    font-weight: 700;
}

.wz-promo__tiers {
    color: #fff;
    font-weight: 600;
}

.wz-promo__code {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin: 0 0.25rem;
    padding: 0.25rem 0.625rem;
    vertical-align: middle;
    border: 1px dashed rgb(var(--brand-400) / 0.7);
    border-radius: 0.375rem;
    background: rgb(var(--brand-500) / 0.1);
    color: rgb(var(--brand-400));
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: color 150ms, background-color 150ms, border-color 150ms;
}

@media (min-width: 640px) {
    .wz-promo__code { font-size: 1rem; line-height: 1.5rem; }
}

.wz-promo__code:hover {
    background: rgb(var(--brand-500) / 0.2);
    color: #fff;
}

.wz-promo__code svg {
    width: 1rem;
    height: 1rem;
}

.wz-promo__timer {
    color: rgb(212 212 212);
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-variant-numeric: tabular-nums;
}

.wz-promo__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgb(var(--brand-500) / 0.6);
    border-radius: 0.5rem;
    background: rgb(var(--brand-500) / 0.15);
    color: #fff;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 150ms, border-color 150ms, box-shadow 150ms, transform 150ms, filter 150ms;
}

.wz-promo__cta:hover {
    border-color: rgb(var(--brand-400));
    background: rgb(var(--brand-500) / 0.25);
}

.wz-promo__close {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 0.375rem;
    background: transparent;
    color: rgb(163 163 163);
    cursor: pointer;
    transform: translateY(-50%);
    transition: color 150ms, background-color 150ms;
}

@media (min-width: 640px) {
    .wz-promo__close { right: 0.75rem; }
}

.wz-promo__close:hover {
    background: rgb(255 255 255 / 0.05);
    color: #fff;
}

.wz-promo__close svg {
    width: 1.25rem;
    height: 1.25rem;
}

.wz-promo a:focus-visible,
.wz-promo button:focus-visible {
    outline: 2px solid rgb(var(--brand-400));
    outline-offset: 2px;
}

/* ===================================================================
   2. simple — quiet tinted strip
   =================================================================== */

.wz-promo--simple {
    border-bottom: 1px solid rgb(var(--brand-500) / 0.4);
    background:
        linear-gradient(to right, rgb(var(--brand-500) / 0.2), rgb(var(--brand-500) / 0.1), rgb(var(--brand-500) / 0.2)),
        rgb(10 10 10 / 0.8);
}

.wz-promo--simple .wz-promo__icon {
    background: rgb(var(--brand-500) / 0.15);
    box-shadow: 0 0 0 1px rgb(var(--brand-500) / 0.3);
    color: rgb(var(--brand-400));
}

/* ===================================================================
   3. neon — glowing sign over a dark, scanlined strip
   =================================================================== */

.wz-promo--neon {
    border-top: 1px solid rgb(var(--brand-400) / 0.9);
    border-bottom: 1px solid rgb(var(--brand-400) / 0.9);
    background:
        repeating-linear-gradient(0deg, rgb(255 255 255 / 0.025) 0 1px, transparent 1px 3px),
        radial-gradient(120% 160% at 50% 0%, rgb(var(--brand-500) / 0.22), transparent 60%),
        rgb(7 7 10 / 0.94);
    box-shadow: 0 0 22px rgb(var(--brand-500) / 0.35), inset 0 0 26px rgb(var(--brand-500) / 0.18);
}

.wz-promo--neon .wz-promo__icon {
    display: none;
}

/* The discount as a lit neon tube: glowing outline, glowing digits, the odd flicker. */
.wz-promo--neon .wz-promo__badge {
    display: inline-flex;
    align-items: center;
    padding: 0 0.75rem;
    border: 2px solid rgb(var(--brand-400));
    border-radius: 0.75rem;
    color: #fff;
    font-size: 1.5rem;
    line-height: 2.25rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
    text-shadow: 0 0 4px rgb(var(--brand-400)), 0 0 12px rgb(var(--brand-500)), 0 0 24px rgb(var(--brand-500) / 0.8);
    box-shadow: 0 0 12px rgb(var(--brand-500) / 0.7), inset 0 0 12px rgb(var(--brand-500) / 0.5);
    animation: wz-promo-flicker 7s linear infinite;
}

.wz-promo--neon .wz-promo__text {
    color: rgb(229 229 229);
}

.wz-promo--neon .wz-promo__discount {
    color: #fff;
    text-shadow: 0 0 4px rgb(var(--brand-400)), 0 0 14px rgb(var(--brand-500)), 0 0 28px rgb(var(--brand-500) / 0.7);
}

.wz-promo--neon .wz-promo__code {
    border: 1px solid rgb(var(--brand-400));
    background: rgb(var(--brand-500) / 0.12);
    color: #fff;
    text-shadow: 0 0 6px rgb(var(--brand-400));
    box-shadow: 0 0 10px rgb(var(--brand-500) / 0.45);
}

.wz-promo--neon .wz-promo__timer {
    color: rgb(var(--brand-400));
    text-shadow: 0 0 8px rgb(var(--brand-500) / 0.7);
}

.wz-promo--neon .wz-promo__cta {
    border: 1.5px solid rgb(var(--brand-400));
    border-radius: 9999px;
    background: transparent;
    text-shadow: 0 0 6px rgb(var(--brand-400));
    box-shadow: 0 0 12px rgb(var(--brand-500) / 0.55), inset 0 0 12px rgb(var(--brand-500) / 0.3);
}

.wz-promo--neon .wz-promo__cta:hover {
    background: rgb(var(--brand-500) / 0.2);
    box-shadow: 0 0 22px rgb(var(--brand-500) / 0.85), inset 0 0 14px rgb(var(--brand-500) / 0.45);
}

@keyframes wz-promo-flicker {
    0%, 19%, 21%, 23%, 54%, 56%, 100% { opacity: 1; }
    20%, 22%, 55% { opacity: 0.55; }
}

/* ===================================================================
   4. blaze — bold brand gradient, light sweep, tilted sticker.
      Text sits on dark capsules: the lightest palettes (New Year
      yellow, Winter sky) still clear 4.5:1 under white text.
   =================================================================== */

.wz-promo--blaze {
    overflow: hidden;
    background:
        linear-gradient(rgb(0 0 0 / 0.22), rgb(0 0 0 / 0.22)),
        linear-gradient(100deg, rgb(var(--brand-600)) 0%, rgb(var(--brand-500)) 40%, rgb(var(--brand-400)) 50%, rgb(var(--brand-500)) 60%, rgb(var(--brand-600)) 100%);
    box-shadow: 0 10px 24px -14px rgb(var(--brand-500) / 0.9);
}

.wz-promo--blaze::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 22%;
    pointer-events: none;
    background: linear-gradient(100deg, transparent, rgb(255 255 255 / 0.3), transparent);
    transform: translateX(-120%) skewX(-18deg);
    animation: wz-promo-shine 6s ease-in-out infinite;
}

@keyframes wz-promo-shine {
    0% { transform: translateX(-120%) skewX(-18deg); }
    40%, 100% { transform: translateX(560%) skewX(-18deg); }
}

.wz-promo--blaze .wz-promo__icon {
    display: none;
}

.wz-promo--blaze .wz-promo__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.75rem;
    border-radius: 0.5rem;
    background: #fff;
    color: rgb(var(--brand-600));
    color: color-mix(in srgb, rgb(var(--brand-600)) 70%, #000);
    font-size: 1.375rem;
    line-height: 2rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    white-space: nowrap;
    transform: rotate(-3deg);
    box-shadow: 0 6px 14px -4px rgb(0 0 0 / 0.45);
}

.wz-promo--blaze .wz-promo__text,
.wz-promo--blaze .wz-promo__timer {
    padding: 0.25rem 0.875rem;
    border-radius: 0.75rem;
    background: rgb(0 0 0 / 0.38);
    color: #fff;
}

.wz-promo--blaze .wz-promo__code {
    border-color: rgb(255 255 255 / 0.75);
    background: rgb(0 0 0 / 0.3);
    color: #fff;
}

.wz-promo--blaze .wz-promo__code:hover {
    background: rgb(0 0 0 / 0.5);
}

.wz-promo--blaze .wz-promo__cta {
    border: 0;
    border-radius: 9999px;
    background: #fff;
    color: rgb(var(--brand-600));
    color: color-mix(in srgb, rgb(var(--brand-600)) 70%, #000);
    font-weight: 700;
    box-shadow: 0 6px 16px -6px rgb(0 0 0 / 0.5);
}

.wz-promo--blaze .wz-promo__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px -8px rgb(0 0 0 / 0.6);
}

.wz-promo--blaze .wz-promo__close {
    color: rgb(255 255 255 / 0.85);
}

.wz-promo--blaze .wz-promo__close:hover {
    background: rgb(0 0 0 / 0.25);
    color: #fff;
}

/* ===================================================================
   5. ticket — coupon card: stub with the discount, perforation,
      notches, fine print. Grid areas place the shared flat markup.
      The notches hang off the stub, so the perforation lines up
      however wide the discount is; they're painted in the strip's
      colour over the card's inset edge, which reads as a bite.
   =================================================================== */

.wz-promo--ticket {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgb(38 38 38);
    background: rgb(10 10 10);
}

.wz-promo--ticket .wz-promo__inner {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) auto;
    grid-template-areas:
        "badge eyebrow cta"
        "badge text    cta"
        "badge timer   cta";
    align-items: center;
    justify-items: start;
    gap: 0.125rem 1.25rem;
    max-width: 60rem;
    padding: 0 3rem 0 0;
    overflow: hidden;
    border-radius: 1rem;
    background: linear-gradient(100deg, rgb(var(--brand-500) / 0.16), rgb(23 23 23) 45%);
    box-shadow: inset 0 0 0 1px rgb(var(--brand-500) / 0.5), 0 12px 30px -14px rgb(var(--brand-500) / 0.5);
}

.wz-promo--ticket .wz-promo__icon {
    display: none;
}

.wz-promo--ticket .wz-promo__badge {
    grid-area: badge;
    position: relative;
    display: flex;
    align-self: stretch;
    align-items: center;
    justify-content: center;
    min-width: 6.5rem;
    padding: 0.75rem 1rem;
    border-right: 2px dashed rgb(10 10 10 / 0.55);
    background: rgb(var(--brand-400));
    color: rgb(10 10 10);
    font-size: 1.625rem;
    line-height: 2rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.wz-promo--ticket .wz-promo__badge::before,
.wz-promo--ticket .wz-promo__badge::after {
    content: "";
    position: absolute;
    right: calc(-0.75rem - 1px);
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    background: rgb(10 10 10);
}

.wz-promo--ticket .wz-promo__badge::before { top: -0.75rem; }
.wz-promo--ticket .wz-promo__badge::after { bottom: -0.75rem; }

.wz-promo--ticket .wz-promo__eyebrow {
    grid-area: eyebrow;
    display: block;
    align-self: end;
    padding-top: 0.75rem;
    color: rgb(var(--brand-400));
    font-size: 0.6875rem;
    line-height: 1rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.wz-promo--ticket .wz-promo__text {
    grid-area: text;
    text-align: left;
}

.wz-promo--ticket .wz-promo__timer {
    grid-area: timer;
    align-self: start;
    padding-bottom: 0.75rem;
    color: rgb(163 163 163);
}

.wz-promo--ticket .wz-promo__cta {
    grid-area: cta;
    border: 0;
    border-radius: 0.625rem;
    background: rgb(var(--brand-400));
    color: rgb(10 10 10);
    font-weight: 700;
    box-shadow: 0 8px 18px -8px rgb(var(--brand-500) / 0.8);
}

.wz-promo--ticket .wz-promo__cta:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

/* Inside the card's right padding, wherever the card ends. */
.wz-promo--ticket .wz-promo__close {
    right: max(1.5rem, calc(50% - 30rem + 0.5rem));
}

@media (max-width: 639.98px) {
    .wz-promo--ticket .wz-promo__inner {
        grid-template-columns: max-content minmax(0, 1fr);
        grid-template-areas:
            "badge eyebrow"
            "badge text"
            "badge timer"
            "badge cta";
        column-gap: 1rem;
        padding-right: 2.75rem;
    }

    .wz-promo--ticket .wz-promo__badge {
        min-width: 4.75rem;
        padding: 0.75rem 0.625rem;
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .wz-promo--ticket .wz-promo__timer { padding-bottom: 0; }
    .wz-promo--ticket .wz-promo__cta { margin: 0.375rem 0 0.75rem; }
}

/* ===================================================================
   6. tactical — Counter-Strike flavour: moving hazard stripes,
      stencil type, a bomb-timer countdown and a chamfered button
   =================================================================== */

.wz-promo--tactical {
    border-bottom: 1px solid rgb(var(--brand-500) / 0.35);
    background:
        radial-gradient(80% 140% at 50% 50%, rgb(var(--brand-500) / 0.1), transparent 70%),
        linear-gradient(180deg, rgb(24 24 27), rgb(9 9 11));
}

.wz-promo--tactical::before,
.wz-promo--tactical::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 5px;
    pointer-events: none;
    background:
        linear-gradient(-45deg, rgb(var(--brand-500)) 25%, rgb(10 10 10) 25% 50%, rgb(var(--brand-500)) 50% 75%, rgb(10 10 10) 75%)
        0 0 / 14px 14px;
    animation: wz-promo-hazard 1.2s linear infinite;
}

.wz-promo--tactical::before { top: 0; }
.wz-promo--tactical::after { bottom: 0; animation-direction: reverse; }

@keyframes wz-promo-hazard {
    to { background-position: 14px 0; }
}

.wz-promo--tactical .wz-promo__inner {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

@media (min-width: 640px) {
    .wz-promo--tactical .wz-promo__inner { padding-top: 1.25rem; padding-bottom: 1.25rem; }
}

/* The tag carries the look; dropping the icon keeps the row on one line down to ~1000px. */
.wz-promo--tactical .wz-promo__icon {
    display: none;
}

.wz-promo--tactical .wz-promo__eyebrow {
    display: inline-flex;
    padding: 0.125rem 0.875rem;
    background: rgb(var(--brand-400));
    color: rgb(10 10 10);
    font-size: 0.75rem;
    line-height: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    clip-path: polygon(0.5rem 0, 100% 0, calc(100% - 0.5rem) 100%, 0 100%);
}

.wz-promo--tactical .wz-promo__text {
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

@media (min-width: 640px) {
    .wz-promo--tactical .wz-promo__text { font-size: 1rem; line-height: 1.75rem; }
}

.wz-promo--tactical .wz-promo__discount {
    color: rgb(var(--brand-400));
}

.wz-promo--tactical .wz-promo__code {
    border: 1px solid rgb(var(--brand-500) / 0.6);
    border-radius: 0.125rem;
    background: rgb(0 0 0 / 0.5);
    color: rgb(var(--brand-400));
}

/* The bomb timer replaces the text countdown on screen; screen readers still read the text. */
.wz-promo--tactical .wz-promo__timer-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.wz-promo--tactical .wz-promo__clock {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid rgb(var(--brand-500) / 0.45);
    border-radius: 0.375rem;
    background: rgb(0 0 0 / 0.75);
    box-shadow: inset 0 0 12px rgb(var(--brand-500) / 0.15);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

.wz-promo--tactical .wz-promo__clock b {
    min-width: 2ch;
    color: rgb(var(--brand-400));
    font-size: 1.125rem;
    line-height: 1.5rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 0 8px rgb(var(--brand-500) / 0.9);
}

.wz-promo--tactical .wz-promo__clock i {
    color: rgb(var(--brand-500));
    font-style: normal;
    font-weight: 700;
    animation: wz-promo-blink 1s steps(1, end) infinite;
}

@keyframes wz-promo-blink {
    50% { opacity: 0.2; }
}

.wz-promo--tactical .wz-promo__cta {
    border: 0;
    border-radius: 0;
    background: rgb(var(--brand-400));
    color: rgb(10 10 10);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    clip-path: polygon(0.625rem 0, 100% 0, 100% calc(100% - 0.625rem), calc(100% - 0.625rem) 100%, 0 100%, 0 0.625rem);
}

.wz-promo--tactical .wz-promo__cta:hover {
    filter: brightness(1.1);
}

/* ===================================================================
   7. glass — floating frosted card with a gradient edge
   =================================================================== */

.wz-promo--glass {
    padding: 0.75rem 1rem 0.25rem;
}

.wz-promo--glass .wz-promo__inner {
    max-width: 68rem;
    border: 1px solid transparent;
    border-radius: 1.25rem;
    background:
        linear-gradient(rgb(23 23 23 / 0.78), rgb(23 23 23 / 0.78)) padding-box,
        linear-gradient(90deg,
            rgb(var(--brand-400)) 0%, rgb(var(--brand-600) / 0.2) 12.5%, rgb(255 255 255 / 0.22) 25%, rgb(var(--brand-600) / 0.2) 37.5%,
            rgb(var(--brand-400)) 50%, rgb(var(--brand-600) / 0.2) 62.5%, rgb(255 255 255 / 0.22) 75%, rgb(var(--brand-600) / 0.2) 87.5%,
            rgb(var(--brand-400)) 100%) 0 0 / 200% 100% border-box;
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    backdrop-filter: blur(14px) saturate(1.3);
    box-shadow: 0 18px 40px -20px rgb(var(--brand-500) / 0.65), inset 0 1px 0 rgb(255 255 255 / 0.06);
    animation: wz-promo-edge 8s linear infinite;
}

/* The edge gradient is two identical halves, so sliding it one card-width loops seamlessly. */
@keyframes wz-promo-edge {
    to { background-position: 0 0, 100% 0; }
}

.wz-promo--glass .wz-promo__icon {
    background: linear-gradient(135deg, rgb(var(--brand-400)), rgb(var(--brand-600)));
    color: rgb(10 10 10);
    box-shadow: 0 8px 18px -6px rgb(var(--brand-500) / 0.8);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .wz-promo--glass .wz-promo__discount {
        background: linear-gradient(90deg, rgb(var(--brand-400)), #fff);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
}

.wz-promo--glass .wz-promo__code {
    border: 1px solid rgb(255 255 255 / 0.18);
    border-radius: 9999px;
    background: rgb(255 255 255 / 0.06);
    color: #fff;
}

.wz-promo--glass .wz-promo__code:hover {
    background: rgb(255 255 255 / 0.12);
}

.wz-promo--glass .wz-promo__cta {
    border: 0;
    border-radius: 9999px;
    background: rgb(var(--brand-400));
    color: rgb(10 10 10);
    font-weight: 700;
    box-shadow: 0 10px 22px -10px rgb(var(--brand-500) / 0.9);
}

.wz-promo--glass .wz-promo__cta:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

/* Inside the card's right padding, wherever the card ends. */
.wz-promo--glass .wz-promo__close {
    top: calc(50% + 0.25rem);
    right: max(1.5rem, calc(50% - 34rem + 0.75rem));
}

/* ===================================================================
   8. Snapshot — the copy warzone-web's admin draws into the Discord
      announcement picture (data-wz-promo-snapshot; never rendered on
      the article sites). It has no close button, so no room is kept
      for one; a picture can't tick, so the clock gives way to the
      fixed "Until …" text; and nothing in it can be clicked, so the
      code loses its copy icon.
   =================================================================== */

.wz-promo[data-wz-promo-snapshot] .wz-promo__inner {
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .wz-promo[data-wz-promo-snapshot] .wz-promo__inner { padding-right: 1.5rem; }
}

.wz-promo--ticket[data-wz-promo-snapshot] .wz-promo__inner {
    padding-right: 1.25rem;
}

.wz-promo[data-wz-promo-snapshot] .wz-promo__clock,
.wz-promo[data-wz-promo-snapshot] .wz-promo__code svg,
.wz-promo--blaze[data-wz-promo-snapshot]::before {
    display: none;
}

.wz-promo--tactical[data-wz-promo-snapshot] .wz-promo__timer-text {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

.wz-promo--tactical[data-wz-promo-snapshot] .wz-promo__timer {
    color: rgb(var(--brand-400));
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ===================================================================
   9. Easter — the one season with more than one colour. Green (its
      brand-* palette) still leads; the painted-egg hues of its bunting
      and eggs (seasons.css artwork) add a variation to every design.
      Keyed on the banner's own data-wz-promo-season, never on an
      ancestor's data-season: the admin previews nest one season inside
      a page that may be in another. Text contrast is unchanged — the
      hues only colour light-on-dark text (>= 10:1), grounds under
      neutral-950 text, and edges.
   =================================================================== */

.wz-promo[data-wz-promo-season="easter"] {
    --egg-yellow: 253 224 71;    /* #FDE047 */
    --egg-pink: 249 168 212;     /* #F9A8D4 */
    --egg-lilac: 196 181 253;    /* #C4B5FD */
}

/* simple: a pastel wash, a yellow egg and the bunting's colours along the bottom. */
.wz-promo--simple[data-wz-promo-season="easter"] {
    border-bottom: 0;
    background:
        linear-gradient(to right, rgb(var(--brand-500) / 0.2), rgb(var(--egg-yellow) / 0.16), rgb(var(--egg-pink) / 0.15), rgb(var(--egg-lilac) / 0.17), rgb(var(--brand-500) / 0.2)),
        rgb(10 10 10 / 0.8);
}

.wz-promo--simple[data-wz-promo-season="easter"]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    pointer-events: none;
    background: linear-gradient(90deg,
        rgb(var(--brand-400)) 0 25%, rgb(var(--egg-yellow)) 25% 50%,
        rgb(var(--egg-pink)) 50% 75%, rgb(var(--egg-lilac)) 75%) 0 0 / 112px 100%;
    opacity: 0.85;
}

.wz-promo--simple[data-wz-promo-season="easter"] .wz-promo__icon {
    background: rgb(var(--egg-yellow) / 0.12);
    box-shadow: 0 0 0 1px rgb(var(--egg-yellow) / 0.35);
    color: rgb(var(--egg-yellow));
}

/* neon: a sign with several tubes — yellow discount, lilac code, pink timer, green button. */
.wz-promo--neon[data-wz-promo-season="easter"] {
    border-image: linear-gradient(90deg, rgb(var(--brand-400)), rgb(var(--egg-yellow)), rgb(var(--egg-pink)), rgb(var(--egg-lilac)), rgb(var(--brand-400))) 1;
    background:
        repeating-linear-gradient(0deg, rgb(255 255 255 / 0.025) 0 1px, transparent 1px 3px),
        radial-gradient(70% 160% at 15% 0%, rgb(var(--brand-500) / 0.2), transparent 60%),
        radial-gradient(70% 160% at 85% 0%, rgb(var(--egg-pink) / 0.14), transparent 60%),
        rgb(7 7 10 / 0.94);
    box-shadow: 0 0 22px rgb(var(--brand-500) / 0.25), 0 0 34px rgb(var(--egg-lilac) / 0.16), inset 0 0 26px rgb(var(--brand-500) / 0.14);
}

.wz-promo--neon[data-wz-promo-season="easter"] .wz-promo__badge {
    border-color: rgb(var(--egg-yellow));
    text-shadow: 0 0 4px rgb(var(--egg-yellow)), 0 0 12px rgb(var(--egg-yellow) / 0.9), 0 0 24px rgb(var(--egg-yellow) / 0.6);
    box-shadow: 0 0 12px rgb(var(--egg-yellow) / 0.6), inset 0 0 12px rgb(var(--egg-yellow) / 0.4);
}

.wz-promo--neon[data-wz-promo-season="easter"] .wz-promo__code {
    border-color: rgb(var(--egg-lilac));
    background: rgb(var(--egg-lilac) / 0.1);
    text-shadow: 0 0 6px rgb(var(--egg-lilac));
    box-shadow: 0 0 10px rgb(var(--egg-lilac) / 0.45);
}

.wz-promo--neon[data-wz-promo-season="easter"] .wz-promo__timer {
    color: rgb(var(--egg-pink));
    text-shadow: 0 0 8px rgb(var(--egg-pink) / 0.7);
}

/* blaze: green running into lilac and pink, with a yolk-yellow sticker. Yellow
   stays out of the ground: under the darkening it turns olive. */
.wz-promo--blaze[data-wz-promo-season="easter"] {
    background:
        linear-gradient(rgb(0 0 0 / 0.22), rgb(0 0 0 / 0.22)),
        linear-gradient(100deg, rgb(var(--brand-600)) 0%, rgb(var(--brand-500)) 24%, rgb(var(--egg-lilac)) 58%, rgb(var(--egg-pink)) 100%);
    box-shadow: 0 10px 24px -14px rgb(var(--egg-pink) / 0.9);
}

.wz-promo--blaze[data-wz-promo-season="easter"] .wz-promo__badge {
    background: rgb(var(--egg-yellow));
    color: rgb(10 10 10);
}

/* ticket: the stub is a painted egg. */
.wz-promo--ticket[data-wz-promo-season="easter"] .wz-promo__badge {
    background: linear-gradient(160deg, rgb(var(--egg-yellow)) 0%, rgb(var(--egg-pink)) 55%, rgb(var(--egg-lilac)) 100%);
}

.wz-promo--ticket[data-wz-promo-season="easter"] .wz-promo__inner {
    background:
        radial-gradient(60% 140% at 100% 100%, rgb(var(--egg-lilac) / 0.12), transparent 70%),
        linear-gradient(100deg, rgb(var(--brand-500) / 0.16), rgb(23 23 23) 45%);
}

/* tactical: hazard tape in the bunting's colours. One stripe of each, so
   the tile is 4 x 14px; the same stripe width and speed as the default. */
.wz-promo--tactical[data-wz-promo-season="easter"]::before,
.wz-promo--tactical[data-wz-promo-season="easter"]::after {
    background:
        linear-gradient(-45deg,
            rgb(var(--brand-500)) 6.25%, rgb(10 10 10) 6.25% 12.5%,
            rgb(var(--egg-yellow)) 12.5% 18.75%, rgb(10 10 10) 18.75% 25%,
            rgb(var(--egg-pink)) 25% 31.25%, rgb(10 10 10) 31.25% 37.5%,
            rgb(var(--egg-lilac)) 37.5% 43.75%, rgb(10 10 10) 43.75% 50%,
            rgb(var(--brand-500)) 50% 56.25%, rgb(10 10 10) 56.25% 62.5%,
            rgb(var(--egg-yellow)) 62.5% 68.75%, rgb(10 10 10) 68.75% 75%,
            rgb(var(--egg-pink)) 75% 81.25%, rgb(10 10 10) 81.25% 87.5%,
            rgb(var(--egg-lilac)) 87.5% 93.75%, rgb(10 10 10) 93.75%)
        0 0 / 56px 56px;
    animation-name: wz-promo-hazard-easter;
    animation-duration: 4.8s;
}

@keyframes wz-promo-hazard-easter {
    to { background-position: 56px 0; }
}

.wz-promo--tactical[data-wz-promo-season="easter"] .wz-promo__eyebrow {
    background: rgb(var(--egg-yellow));
}

.wz-promo--tactical[data-wz-promo-season="easter"] .wz-promo__clock i {
    color: rgb(var(--egg-pink));
}

/* glass: a pastel rainbow edge (still two identical halves, so the loop
   stays seamless), an egg-coloured icon and a green-to-yellow discount. */
.wz-promo--glass[data-wz-promo-season="easter"] .wz-promo__inner {
    background:
        linear-gradient(rgb(23 23 23 / 0.78), rgb(23 23 23 / 0.78)) padding-box,
        linear-gradient(90deg,
            rgb(var(--brand-400)) 0%, rgb(var(--egg-yellow)) 12.5%, rgb(var(--egg-pink)) 25%, rgb(var(--egg-lilac)) 37.5%,
            rgb(var(--brand-400)) 50%, rgb(var(--egg-yellow)) 62.5%, rgb(var(--egg-pink)) 75%, rgb(var(--egg-lilac)) 87.5%,
            rgb(var(--brand-400)) 100%) 0 0 / 200% 100% border-box;
    box-shadow: -18px 18px 40px -22px rgb(var(--brand-500) / 0.7), 18px 18px 40px -22px rgb(var(--egg-pink) / 0.6), inset 0 1px 0 rgb(255 255 255 / 0.06);
}

.wz-promo--glass[data-wz-promo-season="easter"] .wz-promo__icon {
    background: linear-gradient(135deg, rgb(var(--egg-yellow)), rgb(var(--egg-pink)));
    box-shadow: 0 8px 18px -6px rgb(var(--egg-pink) / 0.8);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .wz-promo--glass[data-wz-promo-season="easter"] .wz-promo__discount {
        background: linear-gradient(90deg, rgb(var(--brand-400)), rgb(var(--egg-yellow)));
        -webkit-background-clip: text;
        background-clip: text;
    }
}

/* ===================================================================
   10. Motion off on request
   =================================================================== */

@media (prefers-reduced-motion: reduce) {
    .wz-promo,
    .wz-promo *,
    .wz-promo::before,
    .wz-promo::after,
    .wz-promo *::before,
    .wz-promo *::after {
        animation: none !important;
        transition: none !important;
    }

    .wz-promo--blaze::before {
        display: none;
    }
}
