/* Seasonal designs, switched on by body.season-* (see pages.context_processors.current_season).
   Selectors out-rank the plain `div.slider` rules in mains/*-main.css, so load order does not matter. */

/* Flakes live inside the slider: z-index:0 makes it a stacking context so flakes (z-index:-1) paint above
   the slider background but below its content. The plugin's own inline z-index is a float, which CSS drops,
   so the .flake rule below sets it. */
body[class*="season-"]:not(.modelprofile) div.slider { position: relative; z-index: 0; overflow: hidden; }
.flake { pointer-events: none; z-index: -1; }

/* christmas */
/* The fixed site nav overlays the top of the header, so the banner (1179x389, carries its own lettering) starts
   below it: --nav is the nav's measured height per breakpoint (it wraps to 2-3 rows on narrow desktops), --banner the
   banner's height at full width. Dark red fills the nav area. The page content (.mainWrapper, margin-top -45px) overlaps
   the last 45px of the header, so those are added below the banner.
   Desktop: the buttons + WhatsApp icon are pinned to the bottom of the banner, clear of the lettering.
   Phone: the whole banner sits below the nav, the buttons below it on dark red. */
body.season-christmas:not(.modelprofile) div.slider {
    --nav: 51px;
    --banner: calc(100vw * 389 / 1179);
    background: #1a0005 url("/static/img/slider/xmas/merry-sexy-christmas.jpg") center var(--nav) / 100% auto no-repeat;
}
@media (max-width: 1199px) { body.season-christmas:not(.modelprofile) div.slider { --nav: 86px; } }
@media (max-width: 991px) { body.season-christmas:not(.modelprofile) div.slider { --nav: 126px; } }
@media (max-width: 767px) { body.season-christmas:not(.modelprofile) div.slider { --nav: 41px; } }
@media (min-width: 801px) {
    body.season-christmas:not(.modelprofile) div.slider { height: calc(var(--nav) + var(--banner) + 45px); }
    /* 45px overlap + 2px + the icon row's 10px margin = ~12px between the icon and the page content. Inline padding-top needs !important. */
    body.season-christmas:not(.modelprofile) div.slider > .container {
        position: absolute; left: 0; right: 0; bottom: 47px; padding-top: 0 !important;
    }
}
@media (max-width: 800px) {
    body.season-christmas:not(.modelprofile) div.slider {
        height: auto;
        box-shadow: none;
        background:
            url("/static/img/slider/xmas/merry-sexy-christmas.jpg") center var(--nav) / 100% auto no-repeat,
            radial-gradient(ellipse at 50% 80%, #a3001f 0%, #5a0012 50%, #1a0005 100%);
    }
    body.season-christmas:not(.modelprofile) div.slider > .container {
        padding-top: calc(var(--nav) + var(--banner) + 14px) !important;
        padding-bottom: 61px;
    }
}
body.season-christmas .sliderBanner .btn-primary,
body.season-christmas .btn-signup, body.season-christmas .btn-login {
    background: linear-gradient(180deg, #c8102e 0%, #7a0015 100%); border: 2px solid #d4af37; color: #fff;
    letter-spacing: 1px; box-shadow: 0 0 14px rgba(255, 30, 70, .55);
}

/* halloween */
body.season-halloween:not(.modelprofile) div.slider { box-shadow: inset 0 0 0 100vmax rgba(90, 30, 120, 0.45); }
body.season-halloween .sliderBanner .btn-primary,
body.season-halloween .btn-signup, body.season-halloween .btn-login {
    background: #e66a00; border: 2px solid #1a1a1a; color: #1a1a1a;
}

/* summer */
body.season-summer:not(.modelprofile) div.slider { box-shadow: inset 0 0 0 100vmax rgba(255, 190, 40, 0.28); }
body.season-summer .sliderBanner .btn-primary,
body.season-summer .btn-signup, body.season-summer .btn-login {
    background: #00a6a6; border: 2px solid #fff; color: #fff;
}
