
body{
    background-color: #f1f1f1;
}
.logo-cell a {
    background-image: url(logos/main-logo.png);
    height: 88px;
    width: 100%;
    max-width: 100%;
    background-position-x: center;
    background-size: contain;
}
@media (max-width: 768px){
    .logo-cell a {
        background-position: left -0px;
        height: 130PX;
    }
}
.header-wrapper--home{
    background-color: #f1f1f1;
    height: 270px;
}
.control-panel {
    top: 128px;
    display: none;
}
.movie .info{
    padding: 0px 0 50px 0;
}
.footer-wrapper {
    background-color: #333333;
}
ul#navigation a {
    color: #595959;
}
.lines, .lines:before, .lines:after{
    background-color: #595959;
}
@media (max-width: 994px){
    .header-wrapper ul#navigation {
        background-color: #fff;
    }
}
@media (max-width: 767px){
    .control-panel {
        margin: 0;
        right: 0;
        width: 100%;
    }
    .header-wrapper ul#navigation {
        position: relative;
        max-width: none;
        min-width: none;
        width: 100%;
    }
}
.movie--test .spectacle-kind{
    color: #fff;
    background-color: #bd146f;
    width: auto;
    padding: 5px 8px;
    display: inline;
    background-color: #bd146f;
}
.program-arrows .arrow{
    background-color: #f1f1f1;
}
.time-select .time-select__group{
    background-color: #fff;
}

#all-movies .movie--test .border-box {
    border: 0px;
    background-color: #fff;
}


@media (max-width: 991px){
    .header-wrapper--home {
        height: 170px;
    }
}
@media (max-width: 767px){
    .header-wrapper--home {
        height: 120px;
    }
}
/* ---- Venue selector bars — texnopolis (same style top and bottom) ---- */
.header-venue-select-container {
    background-color: #333333;
}
.header-venue-select-container .header-venue-select {
    color: #fff;
    background-color: #333333;
    border-color: #333333;
    font-size: 12px;
    height: 42px;
    padding: 12px;
}
.footer-venue-select-container {
    background-color: #333333;
    text-align: right;
}
.footer-venue-select-container .footer-venue-select,
.footer-col-venue .footer-venue-select {
    color: #fff;
    background-color: #333333;
    border-color: #333333;
    font-size: 12px;
    height: 42px;
    padding: 12px;
}
@media (max-width: 767px) {
    .header-venue-select-container .header-venue-select,
    .footer-venue-select-container .footer-venue-select {
        width: 100%;
        text-align: center;
    }
}



/* ============================================================
   SPECTACLE 1093 - "Doomsday" green + fog  (DARK PAGE VERSION + DARK PRICING PANEL ON THE SEAT PAGE)
   No transitions: the page opens directly in its final look.
   Only the fog keeps drifting.
   Works on both pages of this spectacle:
     .spectacle-page-1093  (movie page)  -> normal for 3s, then
                                            slowly turns green
     .spectacle-plan-1093  (seat plan)   -> already green, so the
                                            journey feels continuous
   The loading screen between them turns Doom-green too.

   How it stays safe:
   - Fixed full-screen layers on <html>/<body>, shown only while
     the page contains one of the two classes above (classes the
     site already renders). Nothing else on the site is affected.
   - The green is a backdrop-filter: it recolours what is behind
     it, so layout, sizes and fonts are untouched.
   - pointer-events: none -> every button and seat works as before.
   ============================================================ */

/* ---------- settings ---------- */
html:has(.spectacle-page-1093, .spectacle-plan-1093) {
    --sp1093-delay: -10s;         /* seat page: final on the first frame (movie page: see section 5) */
    --sp1093-turn: .01s;          /* dark version: no transition, final look on load */
    --sp1093-in: sp1093-turn;     /* movie page: with a faint flicker */
    --sp1093-fog: .6;             /* fog strength (0-1) */
    --sp1093-centre: .25;         /* how much effect stays in the centre
                                   (0 = centre fully clear, 1 = even) */
    --sp1093-drift: 26s;          /* main fog: one left-right sweep */
    --sp1093-swirl: 19s;          /* second fog: one slow swirl */
}

/* seat plan: arrive already green (quick fade, no wait, no flicker) */
html:has(.spectacle-plan-1093) {
    --sp1093-delay: -10s;
    --sp1093-turn: .01s;
    --sp1093-in: sp1093-fade;
}

/* ---------- 1. the green grade over the whole screen ---------- */
html:has(.spectacle-page-1093, .spectacle-plan-1093)::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 99990;
    pointer-events: none;
    -webkit-backdrop-filter: sepia(.4) hue-rotate(50deg) saturate(1.4) brightness(.95) contrast(1.03);
    backdrop-filter: sepia(.4) hue-rotate(50deg) saturate(1.4) brightness(.95) contrast(1.03);
    background:
        radial-gradient(ellipse at center, rgba(20, 40, 22, 0) 50%, rgba(10, 24, 12, .4) 100%),
        rgba(52, 78, 46, .1);
    /* clear centre, full effect toward the edges */
    -webkit-mask-image: radial-gradient(ellipse 75% 70% at center, rgba(0, 0, 0, var(--sp1093-centre)) 30%, #000 100%);
    mask-image: radial-gradient(ellipse 75% 70% at center, rgba(0, 0, 0, var(--sp1093-centre)) 30%, #000 100%);
    opacity: 0;
    animation: var(--sp1093-in) var(--sp1093-turn) ease-in var(--sp1093-delay) forwards;
}

/* movie page: a faint flicker, then a slow slide into green */
@keyframes sp1093-turn {
    0%   { opacity: 0; }
    4%   { opacity: .25; }
    7%   { opacity: .05; }
    11%  { opacity: .3; }
    15%  { opacity: .15; }
    100% { opacity: 1; }
}

/* seat plan: straight in */
@keyframes sp1093-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ---------- 2. main fog: drifts left/right, slight rise and fall ---------- */
html:has(.spectacle-page-1093, .spectacle-plan-1093)::after {
    content: "";
    position: fixed;
    top: -5%;
    bottom: -5%;
    left: -30%;
    right: -30%;
    z-index: 99991;
    pointer-events: none;
    background:
        radial-gradient(40% 28% at 20% 80%, rgba(200, 218, 190, .45), transparent 70%),
        radial-gradient(48% 24% at 55% 32%, rgba(180, 204, 170, .35), transparent 70%),
        radial-gradient(36% 22% at 82% 62%, rgba(210, 226, 200, .4), transparent 70%),
        radial-gradient(55% 30% at 40% 100%, rgba(170, 196, 160, .4), transparent 70%),
        radial-gradient(32% 18% at 70% 10%, rgba(190, 210, 180, .3), transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at center, rgba(0, 0, 0, .15) 25%, #000 100%);
    mask-image: radial-gradient(ellipse 60% 60% at center, rgba(0, 0, 0, .15) 25%, #000 100%);
    opacity: 0;
    animation:
        sp1093-fog-in var(--sp1093-turn) ease-in var(--sp1093-delay) forwards,
        sp1093-drift var(--sp1093-drift) ease-in-out var(--sp1093-delay) infinite alternate;
}

@keyframes sp1093-drift {
    0%   { transform: translate(-8%, 1%); }
    35%  { transform: translate(-2%, -1.5%); }
    70%  { transform: translate(4%, 1.2%); }
    100% { transform: translate(8%, -1%); }
}

/* ---------- 3. second fog: slower, swirls the other way ---------- */
body:has(.spectacle-page-1093, .spectacle-plan-1093)::before {
    content: "";
    position: fixed;
    top: -10%;
    bottom: -10%;
    left: -25%;
    right: -25%;
    z-index: 99991;
    pointer-events: none;
    background:
        radial-gradient(34% 22% at 75% 85%, rgba(190, 210, 180, .35), transparent 70%),
        radial-gradient(42% 20% at 25% 45%, rgba(175, 200, 165, .3), transparent 70%),
        radial-gradient(30% 18% at 50% 15%, rgba(205, 222, 195, .28), transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at center, rgba(0, 0, 0, .15) 25%, #000 100%);
    mask-image: radial-gradient(ellipse 60% 60% at center, rgba(0, 0, 0, .15) 25%, #000 100%);
    opacity: 0;
    animation:
        sp1093-fog-in var(--sp1093-turn) ease-in var(--sp1093-delay) forwards,
        sp1093-swirl var(--sp1093-swirl) ease-in-out var(--sp1093-delay) infinite alternate;
}

@keyframes sp1093-swirl {
    0%   { transform: translate(6%, -2%) scale(1); }
    50%  { transform: translate(0%, 2%) scale(1.07); }
    100% { transform: translate(-6%, -1%) scale(1.02); }
}

@keyframes sp1093-fog-in {
    to { opacity: var(--sp1093-fog); }
}

/* ---------- 3b. hero: the header turns into the hero ----------
   The page loads with the normal header (grey, logos in their own
   colours, title in its usual place). At the eerie moment, together
   with the green, the header opens up into the Doom hero: it grows,
   the image fades in, the logos turn green, and the title rises into
   the hero. Then the hero fog seeps in. */
html:has(.spectacle-page-1093, .spectacle-plan-1093) {
    --sp1093-hero: url("https://www.texnopolis.net/wp-content/uploads/2026/10/doctor-doom-3840x2160-26922-1920x1080.jpg");
    --sp1093-hero-pos: center 25%;                   /* which part of the image shows */
    --sp1093-hero-height: clamp(480px, 76vh, 780px);  /* hero height on desktop */
    --sp1093-header-start: 170px;                    /* the normal header height */
    --sp1093-title-lift: 296px;                      /* room for the title inside the hero */
    --sp1093-mist: 120px;                            /* height of the misty bottom edge */
    --sp1093-logo-green: #7fd06a;                    /* colour of the logos */
    --sp1093-hero-delay: var(--sp1093-delay);        /* starts with the green */
    --sp1093-hero-turn: .01s;                        /* dark version: no transition */
    --sp1093-hero-fog: 14s;                          /* one sweep of the hero fog */
}

/* dark page version: on the movie page the hero flows straight into a
   dark band with the poster and description, so no mist is needed */
html:has(.spectacle-page-1093, .spectacle-plan-1093) {
    --sp1093-mist: 40px;
    --sp1093-dark: #0c160e;                          /* colour of the dark band */
}

/* seat plan: a shorter hero, so the seats stay close to the top */
html:has(.spectacle-plan-1093) {
    --sp1093-hero-height: clamp(340px, 52vh, 540px);
}

/* seat plan: the hero is already there (the loader covers the switch) */
html:has(.spectacle-plan-1093) {
    --sp1093-hero-delay: -10s;
    --sp1093-hero-turn: .01s;
}

html:has(.spectacle-page-1093, .spectacle-plan-1093) header.header-wrapper {
    position: relative;
    box-sizing: border-box;
    min-height: var(--sp1093-header-start);
    animation: sp1093-hero-grow var(--sp1093-hero-turn) cubic-bezier(.6, .05, .25, 1) var(--sp1093-hero-delay) both;
}

@keyframes sp1093-hero-grow {
    from { min-height: var(--sp1093-header-start); }
    to   { min-height: var(--sp1093-hero-height); }
}

/* the image, fading in behind the logos. Instead of fading from dark
   to grey (which turns muddy), the bottom of the hero dissolves into
   pale mist rising out of the page. */
html:has(.spectacle-page-1093, .spectacle-plan-1093) header.header-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        /* the misty edge: soft, uneven banks of pale mist along the bottom */
        radial-gradient(32% 26% at 6% 100%, rgba(236, 243, 232, .95), rgba(236, 243, 232, 0)),
        radial-gradient(26% 20% at 30% 100%, rgba(240, 245, 236, .95), rgba(240, 245, 236, 0)),
        radial-gradient(34% 28% at 55% 100%, rgba(234, 242, 230, .95), rgba(234, 242, 230, 0)),
        radial-gradient(24% 19% at 78% 100%, rgba(240, 245, 236, .95), rgba(240, 245, 236, 0)),
        radial-gradient(30% 25% at 97% 100%, rgba(236, 243, 232, .95), rgba(236, 243, 232, 0)),
        linear-gradient(to bottom, rgba(241, 241, 241, 0) calc(100% - var(--sp1093-mist)), rgba(241, 241, 241, .9) calc(100% - 25px), #f1f1f1 100%),
            /* a dark pool behind the title */
        radial-gradient(70% 40% at 22% 66%, rgba(4, 12, 6, .7), transparent 70%),
            /* darker top for the logos, darker lower half for the title */
        linear-gradient(to bottom,
        rgba(6, 16, 8, .65) 0%,
        rgba(6, 16, 8, .15) 24%,
        rgba(6, 16, 8, .3) 45%,
        rgba(6, 16, 8, .7) 75%,
        rgba(6, 16, 8, .45) 100%),
        var(--sp1093-hero) var(--sp1093-hero-pos) / cover no-repeat;
    opacity: 0;
    animation: sp1093-hero-show var(--sp1093-hero-turn) ease-in-out var(--sp1093-hero-delay) both;
}

@keyframes sp1093-hero-show {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* hero fog: five mist banks drifting across the image, seeping in
   once the hero has opened. Drawn inside the header, so nothing
   spills sideways, and thinning out before the bottom edge. */
html:has(.spectacle-page-1093, .spectacle-plan-1093) header.header-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-repeat: no-repeat;
    background-image:
        radial-gradient(closest-side, rgba(190, 214, 180, .5), transparent),
        radial-gradient(closest-side, rgba(170, 200, 160, .4), transparent),
        radial-gradient(closest-side, rgba(205, 224, 195, .35), transparent),
        radial-gradient(closest-side, rgba(180, 206, 170, .35), transparent),
        radial-gradient(closest-side, rgba(200, 220, 190, .3), transparent),
        radial-gradient(closest-side, rgba(238, 244, 234, .8), transparent),
        radial-gradient(closest-side, rgba(238, 244, 234, .75), transparent);
    background-size: 70% 45%, 55% 35%, 80% 50%, 90% 40%, 60% 30%, 55% 32%, 65% 30%;
    /* the mist fades out in the last few pixels, so there's no edge */
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 40px), transparent);
    mask-image: linear-gradient(to bottom, #000 calc(100% - 40px), transparent);
    opacity: 0;
    animation:
        sp1093-hero-show .01s linear -10s both,
        sp1093-hero-fog var(--sp1093-hero-fog) ease-in-out infinite alternate;
}

@keyframes sp1093-hero-fog {
    0%   { background-position: -40% 70%, 120% 50%, 10% 85%, 130% 80%, -30% 60%, -30% 112%, 130% 115%; }
    50%  { background-position: 50% 64%, 40% 56%, 60% 80%, 40% 74%, 60% 58%, 50% 110%, 50% 113%; }
    100% { background-position: 140% 68%, -20% 52%, 90% 84%, -30% 78%, 130% 64%, 130% 112%, -30% 115%; }
}

/* ---------- 3c. the title rises into the hero (movie page) ---------- */
html:has(.spectacle-page-1093) .spectacle-page-1093 > .info.row:first-child {
    position: relative;
    z-index: 99992;                 /* above the green and fog layers */
    animation: sp1093-title-rise var(--sp1093-hero-turn) cubic-bezier(.6, .05, .25, 1) var(--sp1093-hero-delay) both;
}

/* the title block gets a fixed minimum height while it rises, with
   the text at its bottom, so it lands in the same place at every
   screen width */
html:has(.spectacle-page-1093) .spectacle-page-1093 > .info.row:first-child {
    align-items: flex-end;
}

@keyframes sp1093-title-rise {
    from { margin-top: 0; padding-bottom: 0; min-height: 0; }
    to   {
        margin-top: calc(-1 * (var(--sp1093-title-lift) + var(--sp1093-mist)));
        padding-bottom: var(--sp1093-mist);
        min-height: calc(var(--sp1093-title-lift) + var(--sp1093-mist));  /* the site uses border-box sizing */
    }
}

html:has(.spectacle-page-1093) .spectacle-page-1093 > .info.row:first-child :is(.spectacle-type, .subtitle span) {
    animation: sp1093-title-small var(--sp1093-hero-turn) ease-in-out var(--sp1093-hero-delay) both;
}

html:has(.spectacle-page-1093) .spectacle-page-1093 > .info.row:first-child h1 {
    animation: sp1093-title-big var(--sp1093-hero-turn) ease-in-out var(--sp1093-hero-delay) both;
}

/* the title keeps its normal dark colour while it rises, and only
   turns pale once it is over the image */
@keyframes sp1093-title-small {
    0%, 45% { color: rgb(20, 20, 20); text-shadow: none; }
    100%    { color: #c9dcbc; text-shadow: 0 1px 8px rgba(0, 0, 0, .85); }
}

@keyframes sp1093-title-big {
    0%, 45% { color: rgb(37, 37, 37); text-shadow: none; }
    100% {
        color: #f1f4ea;
        text-shadow:
            0 2px 3px rgba(0, 0, 0, .6),
            0 4px 24px rgba(0, 0, 0, .7),
            0 0 40px rgba(127, 208, 106, .18);
    }
}

/* ---------- 3d. the logos: from their own colours to green ---------- */
html:has(.spectacle-page-1093, .spectacle-plan-1093) .logo-cell a {
    position: relative;
    z-index: 99992;                 /* above the green and fog layers */
    animation: sp1093-logo-glow var(--sp1093-hero-turn) ease-in-out var(--sp1093-hero-delay) both;
}

@keyframes sp1093-logo-glow {
    from { filter: drop-shadow(0 0 0 transparent); }
    to   { filter: drop-shadow(0 0 3px rgba(0, 0, 0, .7)) drop-shadow(0 0 14px rgba(143, 191, 106, .35)); }
}

/* the logos are one picture; a green copy shaped by it fades in over it */
html:has(.spectacle-page-1093, .spectacle-plan-1093) .logo-cell a::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: var(--sp1093-logo-green);
    -webkit-mask: url("/brand/texnopolis/logos/main-logo.png") 50% 0 / contain no-repeat;
    mask: url("/brand/texnopolis/logos/main-logo.png") 50% 0 / contain no-repeat;
    opacity: 0;
    animation: sp1093-hero-show var(--sp1093-hero-turn) ease-in-out var(--sp1093-hero-delay) both;
}

/* phones: shorter normal header and hero, and a matching title lift */
@media (max-width: 640px) {
    html:has(.spectacle-page-1093, .spectacle-plan-1093) {
        --sp1093-hero-height: clamp(440px, 74vh, 620px);
        --sp1093-header-start: 120px;
        --sp1093-title-lift: 288px;
        --sp1093-mist: 90px;
    }
}

/* reduced motion: the change happens as a quick fade, fog stays still */
@media (prefers-reduced-motion: reduce) {
    html:has(.spectacle-page-1093, .spectacle-plan-1093) {
        --sp1093-hero-turn: .01s;
    }
    html:has(.spectacle-page-1093, .spectacle-plan-1093) header.header-wrapper::after {
        animation: sp1093-hero-show .01s linear -10s both;
    }
}


/* ---------- 3e. dark page: hero flows into a dark band (movie page) ----------
   The bottom of the hero deepens into solid dark green; the poster
   and description sit on that same dark green, edge to edge, and the
   band ends in a thin glowing green line above the showtimes. */
html:has(.spectacle-page-1093, .spectacle-plan-1093) header.header-wrapper::before {
    background:
        linear-gradient(to bottom, transparent 50%, var(--sp1093-dark) 90%),
        radial-gradient(70% 40% at 22% 66%, rgba(4, 12, 6, .7), transparent 70%),
        linear-gradient(to bottom,
        rgba(6, 16, 8, .65) 0%,
        rgba(6, 16, 8, .15) 24%,
        rgba(6, 16, 8, .3) 45%,
        rgba(6, 16, 8, .6) 75%,
        rgba(6, 16, 8, .6) 100%),
        var(--sp1093-hero) var(--sp1093-hero-pos) / cover no-repeat;
}

/* the header's own base colour turns dark too, so its last (partial)
   pixel row blends dark-into-dark instead of leaving a light hairline */
html:has(.spectacle-page-1093, .spectacle-plan-1093) header.header-wrapper {
    animation:
        sp1093-hero-grow var(--sp1093-hero-turn) cubic-bezier(.6, .05, .25, 1) var(--sp1093-hero-delay) both,
        sp1093-header-dark var(--sp1093-hero-turn) ease-in-out var(--sp1093-hero-delay) both;
}

@keyframes sp1093-header-dark {
    to { background-color: var(--sp1093-dark); }
}

/* the hero fog stays inside the image and thins out before the band */
html:has(.spectacle-page-1093, .spectacle-plan-1093) header.header-wrapper::after {
    -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 92%);
    mask-image: linear-gradient(to bottom, #000 50%, transparent 92%);
}

/* the band: dark from the start (no animation), painted edge to edge
   without changing the layout (a wide shadow, clipped to the row's
   height, plus 2px above so there's no seam with the hero) */
html:has(.spectacle-page-1093) .spectacle-page-1093 > .info.row:nth-child(2) {
    clip-path: inset(-2px -100vmax 0);
    background-color: var(--sp1093-dark);
    box-shadow: 0 0 0 100vmax var(--sp1093-dark);
}

/* light text on the dark band */
html:has(.spectacle-page-1093) .spectacle-page-1093 > .info.row:nth-child(2) * {
    color: #d3e2c8;
}

html:has(.spectacle-page-1093) .spectacle-page-1093 > .info.row:nth-child(2) :is(h1, h2, h3, h4, h5, strong, b) {
    color: #eef6e6;
}

@media (max-width: 640px) {
    html:has(.spectacle-page-1093) {
        --sp1093-mist: 40px;
    }
}


/* ---------- 3f. date arrows: no grey box ----------
   The arrows' background is the page's own grey; on the green-tinted
   page it showed as a white box. The chevron itself stays. */
html:has(.spectacle-page-1093) a.arrow {
    background-color: transparent;
}

/* ---------- 3g. seat plan page: dark hero, normal page below ----------
   Only the hero changes on the seat plan (same dark hero as the movie
   page); the plan itself keeps the site's normal colours. The hero
   ends in the same thin green line the movie page's dark band uses. */
html:has(.spectacle-plan-1093) header.header-wrapper::before {
    background:
        linear-gradient(to top, rgba(127, 208, 106, .9) 0 3px, transparent 3px),
        linear-gradient(to bottom, transparent 50%, var(--sp1093-dark) 90%),
        radial-gradient(70% 40% at 22% 66%, rgba(4, 12, 6, .7), transparent 70%),
        linear-gradient(to bottom,
        rgba(6, 16, 8, .65) 0%,
        rgba(6, 16, 8, .15) 24%,
        rgba(6, 16, 8, .3) 45%,
        rgba(6, 16, 8, .6) 75%,
        rgba(6, 16, 8, .6) 100%),
        var(--sp1093-hero) var(--sp1093-hero-pos) / cover no-repeat;
}

/* the hero fog, the same on both pages: a few large, faint wisps
   (soft, never one bright stripe) that keep moving across the hero at
   different heights. Only the fog inside the hero image. */
html:has(.spectacle-page-1093, .spectacle-plan-1093) header.header-wrapper::after {
    --sp1093-hero-fog-time: 9s;     /* one sweep; lower = faster */
    background-image:
        radial-gradient(closest-side, rgba(190, 214, 180, .22), transparent),
        radial-gradient(closest-side, rgba(175, 202, 165, .18), transparent),
        radial-gradient(closest-side, rgba(205, 224, 195, .16), transparent),
        radial-gradient(closest-side, rgba(185, 208, 175, .14), transparent),
        radial-gradient(closest-side, rgba(195, 216, 185, .15), transparent);
    background-repeat: no-repeat;
    background-size: 65% 90%, 55% 75%, 70% 100%, 50% 65%, 60% 70%;
    -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 95%);
    mask-image: linear-gradient(to bottom, #000 40%, transparent 95%);
    animation:
        sp1093-hero-show .01s linear -10s both,
        sp1093-hero-fog-soft var(--sp1093-hero-fog-time) ease-in-out infinite alternate;
}

/* wide sweeps: wisps cross most of the hero, in opposite directions,
   rising and sinking a little */
@keyframes sp1093-hero-fog-soft {
    0%   { background-position: -40% 28%, 135% 55%, -20% 95%, 140% 12%, 40% 70%; }
    50%  { background-position: 50% 36%, 40% 46%, 70% 86%, 50% 22%, 110% 60%; }
    100% { background-position: 140% 30%, -35% 52%, 125% 92%, -40% 15%, -20% 68%; }
}

/* ---------- 3h. seat page: the pricing panel inside the hero ----------
   As on the movie page, the title sits inside the hero image: the
   title tab and pricing panel are pulled up into the hero, the image
   flows into a full-width dark band behind the rest of the panel, and
   the band ends in the thin green line. The seat map and everything
   below keep the site's normal colours. */
html:has(.spectacle-plan-1093) {
    --sp1093-hero-height: clamp(480px, 76vh, 780px);  /* same hero as the movie page */
    --sp1093-panel-lift: 412px;                       /* puts the title where the movie page has it */
    --sp1093-panel-fade: 376px;                       /* where the band behind the panel is fully dark */
}

/* the hero: image visible further down (behind the title), dark only at the very bottom */
html:has(.spectacle-plan-1093) header.header-wrapper::before {
    background:
        linear-gradient(to bottom, transparent 62%, var(--sp1093-dark) 100%),
        radial-gradient(60% 40% at 50% 72%, rgba(4, 12, 6, .55), transparent 70%),
        linear-gradient(to bottom,
        rgba(6, 16, 8, .65) 0%,
        rgba(6, 16, 8, .15) 24%,
        rgba(6, 16, 8, .3) 45%,
        rgba(6, 16, 8, .6) 75%,
        rgba(6, 16, 8, .6) 100%),
        var(--sp1093-hero) var(--sp1093-hero-pos) / cover no-repeat;
}

/* this site puts a <br> before the seat section (the old one didn't);
   it pushed the panel 36px below where the lift expects it, so the
   band behind it was still see-through at the hero's bottom edge */
html:has(.spectacle-plan-1093) main > br:has(+ section.movie-plan-container) {
    display: none;
}

/* pull the tab + panel up into the hero, above its layers */
html:has(.spectacle-plan-1093) section.movie-plan-container {
    margin-top: calc(-1 * var(--sp1093-panel-lift));
}

html:has(.spectacle-plan-1093) section.movie-plan-container :is(.plan-tab, .plan-tabcontent) {
    position: relative;
    z-index: 3;
}

/* the small title tab above the panel is hidden on this page */
html:has(.spectacle-plan-1093) .plan-tab {
    display: none;
}

/* the panel: transparent over the image, then a full-width dark band
   (drawn with border-image, so the layout doesn't change), ending in
   the green line */
html:has(.spectacle-plan-1093) .pricing-panel {
    background: transparent;
    border-image:
        linear-gradient(to bottom,
        rgba(12, 22, 14, 0) 0,
        rgba(12, 22, 14, 0) calc(var(--sp1093-panel-fade) - 160px),
        var(--sp1093-dark) var(--sp1093-panel-fade))
        fill 0 / 0 / 0 100vmax 0 100vmax;
    border-bottom: 3px solid rgba(127, 208, 106, .9);
    margin-bottom: 40px;            /* breathing room before the seat plan */
}

@media (max-width: 640px) {
    html:has(.spectacle-plan-1093) .pricing-panel {
        margin-bottom: 24px;
    }
}

/* light text, like the movie page */
html:has(.spectacle-plan-1093) .pricing-panel :is(div, span, p, li, label) {
    color: #d3e2c8;
}

/* the title, made identical to the movie page's: same position
   (left-aligned at the content edge), colours and shadows */
html:has(.spectacle-plan-1093) .pricing-panel {
    padding-left: 0;
    padding-right: 0;
}

html:has(.spectacle-plan-1093) .pricing-panel :is(h1, .spectacle-type) {
    text-align: left;
}

/* the title's wrapper has an inline padding in the page's HTML,
   so !important is the only way to line it up */
html:has(.spectacle-plan-1093) .pricing-panel .movie .info.row > div:has(> h1) {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* desktop: the movie page title sits in a centred 10-of-12 column;
   the same side space here gives the same start and the same line breaks */
@media (min-width: 992px) {
    html:has(.spectacle-plan-1093) .pricing-panel .movie .info.row > div:has(> h1) {
        padding-left: calc((100% + 30px) / 12) !important;
        padding-right: calc((100% + 30px) / 12) !important;
    }
}

html:has(.spectacle-plan-1093) .pricing-panel .spectacle-type {
    color: #c9dcbc;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .85);
}

html:has(.spectacle-plan-1093) .pricing-panel h1 {
    color: #f1f4ea;
    text-shadow:
        0 2px 3px rgba(0, 0, 0, .6),
        0 4px 24px rgba(0, 0, 0, .7),
        0 0 40px rgba(127, 208, 106, .18);
}

html:has(.spectacle-plan-1093) .pricing-panel .book-result__count {
    color: #f1f4ea;
}

html:has(.spectacle-plan-1093) .pricing-panel .plan-info-seat-selected-block {
    color: #fff;
}

/* phones: a smaller lift, so the tab stays clear of the logos */
@media (max-width: 640px) {
    html:has(.spectacle-plan-1093) {
        --sp1093-hero-height: clamp(440px, 74vh, 620px);
        --sp1093-panel-lift: 404px;
        --sp1093-panel-fade: 368px;
    }

    /* same side margin as the movie page title on phones */
    html:has(.spectacle-plan-1093) .pricing-panel {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* ---------- 4. brighter controls (showtimes, buttons) ----------
   They brighten together with the green, so they stand out from the
   murk. */
html:has(.spectacle-page-1093, .spectacle-plan-1093)
:is(.time-select__item, button, [ng-click]):not(#fixedspinner *, [class*="plan-table-seat"], [class*="plan-info-seat"], .arrow, .redesign-button-disabled, [disabled]) {
    animation: sp1093-controls var(--sp1093-turn) ease-in var(--sp1093-delay) forwards;
}

@keyframes sp1093-controls {
    to { filter: brightness(1.28) saturate(1.3) contrast(1.05); }
}

/* disabled buttons (e.g. "ΥΠΟΛΟΓΙΣΜΟΣ ΚΟΣΤΟΥΣ" before a showtime is
   picked): the site draws them light grey with white text, and the
   brightening turned them almost pure white. They are left out of the
   brightening and get a muted grey-green, so they still read as
   "not available yet" but the text stays visible. */
html:has(.spectacle-page-1093, .spectacle-plan-1093) .redesign-button.redesign-button-disabled {
    background-color: #9aa695;
    border-color: #9aa695;
    color: #fff;
}

/* ---------- 4b. seats keep their real colours ----------
   The green layer (lighter in the centre, where the seat map sits)
   shifts hues a little; seats are nudged the opposite way first, so
   selected stays green and taken stays red. The
   wheelchair seat (amea) already reads correctly, so it's left out. */
html:has(.spectacle-plan-1093)
:is([class*="plan-table-seat"], [class*="plan-info-seat"]):not(#fixedspinner *, .plan-table-seat-amea) {
    animation: sp1093-seats var(--sp1093-turn) ease-in var(--sp1093-delay) forwards;
}

@keyframes sp1093-seats {
    to { filter: hue-rotate(-18deg) saturate(1.35) brightness(1.1); }
}

/* ---------- 5. Doom-green loading screen (movie page and seat plan) ----------
   Lifted above the green and fog layers, so it shows in its own
   colours instead of being tinted. */
html:has(.spectacle-page-1093, .spectacle-plan-1093) #fixedspinner .overlay {
    z-index: 99993;
    background:
        radial-gradient(ellipse at center, #2c4428 0%, #142416 60%, #0a140c 100%);
}

html:has(.spectacle-page-1093, .spectacle-plan-1093) #fixedspinner :is(.spinner, .please-wait) {
    z-index: 99994;
}

html:has(.spectacle-page-1093, .spectacle-plan-1093) #fixedspinner :is(.double-bounce1, .double-bounce2) {
    background-color: #8fbf6a;
}

html:has(.spectacle-page-1093, .spectacle-plan-1093) #fixedspinner .please-wait {
    color: #b9d6a2;
}

/* ---------- phones: lighter fog, slower movement ---------- */
@media (max-width: 640px) {
    html:has(.spectacle-page-1093, .spectacle-plan-1093) {
        --sp1093-fog: .45;
        --sp1093-drift: 34s;
        --sp1093-swirl: 26s;
    }
}

/* ---------- reduced motion: the green still arrives, fog stays still ---------- */
@media (prefers-reduced-motion: reduce) {
    html:has(.spectacle-page-1093, .spectacle-plan-1093)::after,
    body:has(.spectacle-page-1093, .spectacle-plan-1093)::before {
        animation: sp1093-fog-in var(--sp1093-turn) ease-in var(--sp1093-delay) forwards;
    }
}


/* =====================================================================
   5. MOVIE PAGE: THE TRANSFORMATION (below the description only)
   The hero, title, poster and description are final from the first
   frame, exactly as before. Everything below them (the text, the dates
   and showtimes, the footer) opens normal and is then taken over:
   one slow power dip, the green seeps in, the fog rolls in from the
   sides, dark edges close in, and the showtime buttons start to glow.
   The final green and fog are the same as before.

   How it is layered (movie page only, the seat page is untouched):
   - the page's usual green + fog layers do the transformation;
   - the header (hero) and the movie block (title, poster, description;
     only the div.movie that holds the spectacle, the date list uses
     the same class) sit above them, so nothing reaches them;
   - the movie block carries its own copy of the green + fog, one piece
     from the top of the page to the green line under the description,
     so the hero and the description look as before, with no seam.
   ===================================================================== */

/* ---------- 5. SETTINGS: switch each effect on (1) or off (0) ---------- */
html:has(.spectacle-page-1093) {
    --sp1093-fx-fog-roll: 1;   /* 1 = the fog rolls in from the sides; 0 = it simply fades in */
    --sp1093-fx-edges: 1;      /* 1 = dark edges slowly close in;      0 = off */
    --sp1093-fx-dip: 1;        /* 1 = one slow "power dip" at the start; 0 = off */
    --sp1093-fx-pulse: 1;      /* 1 = showtime buttons glow softly;    0 = off */

    /* timing */
    --sp1093-delay: 1s;        /* the page stays normal this long */
    --sp1093-turn: 2.5s;       /* then the green seeps in over this long */
    --sp1093-roll-delay: .6s;  /* the fog starts rolling in */
    --sp1093-roll: 4.5s;       /* how long the fog takes to arrive */
    --sp1093-edges-delay: 1s;  /* the edges start closing in */
    --sp1093-edges-time: 5s;   /* how long the edges take */
    --sp1093-dip-delay: .5s;   /* the power dip starts */
    --sp1093-dip-time: 2.6s;   /* the whole dip, down and back up */
    --sp1093-pulse-delay: 5s;  /* the buttons start glowing */
    --sp1093-pulse-time: 2.8s; /* one glow, in or out */

    --sp1093-hero-delay: -10s; /* hero and title: already final */
    --sp1093-hero-turn: .01s;
}

/* 5a. the green seeps in (no flicker) */
html:has(.spectacle-page-1093)::before {
    --sp1093-max: 1;
    animation: sp1093-fade-max var(--sp1093-turn) ease-in-out var(--sp1093-delay) both;
}

@keyframes sp1093-fade-max {
    from { opacity: 0; }
    to   { opacity: var(--sp1093-max); }
}

/* the fog rolls in: the main bank from the lower left, the second bank
   from the lower right; they keep their usual drift afterwards */
html:has(.spectacle-page-1093)::after {
    --sp1093-max: var(--sp1093-fog);
    animation:
        sp1093-roll-left var(--sp1093-roll) cubic-bezier(.2, .6, .3, 1) var(--sp1093-roll-delay) both,
        sp1093-drift var(--sp1093-drift) ease-in-out -10s infinite alternate;
}

body:has(.spectacle-page-1093)::before {
    --sp1093-max: var(--sp1093-fog);
    animation:
        sp1093-roll-right var(--sp1093-roll) cubic-bezier(.2, .6, .3, 1) var(--sp1093-roll-delay) both,
        sp1093-swirl var(--sp1093-swirl) ease-in-out -10s infinite alternate;
}

@keyframes sp1093-roll-left {
    from {
        opacity: 0;
        translate: calc(var(--sp1093-fx-fog-roll) * -45%) calc(var(--sp1093-fx-fog-roll) * 10%);
    }
    to {
        opacity: var(--sp1093-max);
        translate: 0 0;
    }
}

@keyframes sp1093-roll-right {
    from {
        opacity: 0;
        translate: calc(var(--sp1093-fx-fog-roll) * 45%) calc(var(--sp1093-fx-fog-roll) * 10%);
    }
    to {
        opacity: var(--sp1093-max);
        translate: 0 0;
    }
}

/* edges + power dip: one layer over the page (under the hero and the
   description). The edges close in and stay; the dip darkens the page
   once, slowly, and lifts as the green arrives. */
body:has(.spectacle-page-1093)::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 99991;
    pointer-events: none;
    animation:
        sp1093-edges var(--sp1093-edges-time) ease-out var(--sp1093-edges-delay) both,
        sp1093-dip var(--sp1093-dip-time) ease-in-out var(--sp1093-dip-delay) both;
}

@keyframes sp1093-edges {
    from { box-shadow: inset 0 0 0 0 rgb(4 14 6 / 0); }
    to {
        box-shadow: inset 0 0
        calc(var(--sp1093-fx-edges) * 26vmin)
        calc(var(--sp1093-fx-edges) * 3vmin)
        rgb(4 14 6 / calc(var(--sp1093-fx-edges) * .7));
    }
}

@keyframes sp1093-dip {
    0%       { background-color: rgb(2 8 3 / 0); }
    45%, 55% { background-color: rgb(2 8 3 / calc(var(--sp1093-fx-dip) * .6)); }
    100%     { background-color: rgb(2 8 3 / 0); }
}

/* the showtime buttons: brighten with the green, then glow softly */
html:has(.spectacle-page-1093) .time-select__item:not(#fixedspinner *, .arrow) {
    animation:
        sp1093-controls var(--sp1093-turn) ease-in var(--sp1093-delay) forwards,
        sp1093-pulse var(--sp1093-pulse-time) ease-in-out var(--sp1093-pulse-delay) infinite alternate;
}

@keyframes sp1093-pulse {
    from {
        box-shadow: 0 0
        calc(var(--sp1093-fx-pulse) * 4px)
        rgb(127 208 106 / calc(var(--sp1093-fx-pulse) * .3));
    }
    to {
        box-shadow: 0 0
        calc(var(--sp1093-fx-pulse) * 18px)
        calc(var(--sp1093-fx-pulse) * 2px)
        rgb(127 208 106 / calc(var(--sp1093-fx-pulse) * .7));
    }
}

/* 5b. the hero and the movie block sit above the transformation */
html:has(.spectacle-page-1093) header.header-wrapper {
    z-index: 99995;
}

html:has(.spectacle-page-1093) div.movie:has(> .spectacle-page-1093) {
    position: relative;
    z-index: 99996;
}

/* 5c. the movie block's own green (the same grade, final from the start).
   It reaches from the top of the page down to the green line under the
   description; the clear centre is the same as the full-screen one. */
html:has(.spectacle-page-1093) div.movie:has(> .spectacle-page-1093)::before,
html:has(.spectacle-page-1093) div.movie:has(> .spectacle-page-1093)::after {
    content: "";
    position: absolute;
    /* The block starts right under the hero here (the container's clearfix
       stops the title's negative margin collapsing through it, unlike the
       old site), so reach back one hero height to start at the hero's top. */
    top: calc(-1 * var(--sp1093-hero-height));
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99990;               /* under the title (99992) */
    pointer-events: none;
}

html:has(.spectacle-page-1093) div.movie:has(> .spectacle-page-1093)::before {
    -webkit-backdrop-filter: sepia(.4) hue-rotate(50deg) saturate(1.4) brightness(.95) contrast(1.03);
    backdrop-filter: sepia(.4) hue-rotate(50deg) saturate(1.4) brightness(.95) contrast(1.03);
    background:
        radial-gradient(70.7% 70.7vh at 50% 50vh, rgba(20, 40, 22, 0) 50%, rgba(10, 24, 12, .4) 100%),
        rgba(52, 78, 46, .1);
    -webkit-mask-image: radial-gradient(75% 70vh at 50% 50vh, rgba(0, 0, 0, var(--sp1093-centre)) 30%, #000 100%);
    mask-image: radial-gradient(75% 70vh at 50% 50vh, rgba(0, 0, 0, var(--sp1093-centre)) 30%, #000 100%);
}

/* 5d. the movie block's own fog: both fog banks in one layer, drifting
   like the full-screen fog, fading out softly inside the description */
html:has(.spectacle-page-1093) div.movie:has(> .spectacle-page-1093)::after {
    z-index: 99991;
    background:
        radial-gradient(34% 22% at 75% 85%, rgba(190, 210, 180, .35), transparent 70%),
        radial-gradient(42% 20% at 25% 45%, rgba(175, 200, 165, .3), transparent 70%),
        radial-gradient(30% 18% at 50% 15%, rgba(205, 222, 195, .28), transparent 70%),
        radial-gradient(40% 28% at 20% 80%, rgba(200, 218, 190, .45), transparent 70%),
        radial-gradient(48% 24% at 55% 32%, rgba(180, 204, 170, .35), transparent 70%),
        radial-gradient(36% 22% at 82% 62%, rgba(210, 226, 200, .4), transparent 70%),
        radial-gradient(55% 30% at 40% 100%, rgba(170, 196, 160, .4), transparent 70%),
        radial-gradient(32% 18% at 70% 10%, rgba(190, 210, 180, .3), transparent 70%);
    background-repeat: no-repeat;
    background-size:
        150% 120vh, 150% 120vh, 150% 120vh,
        160% 110vh, 160% 110vh, 160% 110vh, 160% 110vh, 160% 110vh;
    -webkit-mask-image:
        radial-gradient(93% 69vh at 50% 50vh, rgba(0, 0, 0, .15) 25%, #000 100%),
        linear-gradient(to bottom, #000 80vh, transparent 108vh);
    mask-image:
        radial-gradient(93% 69vh at 50% 50vh, rgba(0, 0, 0, .15) 25%, #000 100%),
        linear-gradient(to bottom, #000 80vh, transparent 108vh);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    opacity: var(--sp1093-fog);
    animation: sp1093-block-drift var(--sp1093-drift) ease-in-out -10s infinite alternate;
}

@keyframes sp1093-block-drift {
    from {
        background-position:
            32% -10vh, 32% -10vh, 32% -10vh,
            71% -5vh, 71% -5vh, 71% -5vh, 71% -5vh, 71% -5vh;
    }
    to {
        background-position:
            68% -10vh, 68% -10vh, 68% -10vh,
            29% -5vh, 29% -5vh, 29% -5vh, 29% -5vh, 29% -5vh;
    }
}


/* reduced motion: no rolling, no glow; the green and fog simply fade in */
@media (prefers-reduced-motion: reduce) {
    html:has(.spectacle-page-1093) {
        --sp1093-fx-fog-roll: 0;
        --sp1093-fx-pulse: 0;
    }
    html:has(.spectacle-page-1093) div.movie:has(> .spectacle-page-1093)::after {
        animation: none;
    }
    html:has(.spectacle-page-1093)::after {
        animation: sp1093-roll-left var(--sp1093-roll) ease-out var(--sp1093-roll-delay) both;
    }
    body:has(.spectacle-page-1093)::before {
        animation: sp1093-roll-right var(--sp1093-roll) ease-out var(--sp1093-roll-delay) both;
    }
}

/* reduced motion: the hero fog stays still */
@media (prefers-reduced-motion: reduce) {
    html:has(.spectacle-page-1093, .spectacle-plan-1093) header.header-wrapper::after {
        animation: sp1093-hero-show .01s linear -10s both;
    }
}

/* =====================================================================
   6. LOGO FLICKER (both pages)
   Now and then the green logo flickers back to its normal colours for
   a split second and returns to green. Two loops of different lengths
   (13s and 7.7s) overlap, so the flickers never fall into an obvious
   rhythm and feel random.
   Set --sp1093-fx-logo-flicker to 0 to switch it off (the logo then
   stays green, exactly as in spectacle-page-1093-dark-panel-v1.css).
   ===================================================================== */
html:has(.spectacle-page-1093, .spectacle-plan-1093) {
    --sp1093-fx-logo-flicker: 1;     /* 1 = on, 0 = off */
    --sp1093-logo-flicker-delay: 2s; /* first possible flicker after load */
}

html:has(.spectacle-page-1093, .spectacle-plan-1093) .logo-cell a::after {
    --f: var(--sp1093-fx-logo-flicker);
    opacity: 1;
    animation:
        sp1093-logo-flicker-a 13s linear var(--sp1093-logo-flicker-delay) infinite,
        sp1093-logo-flicker-b 7.7s linear var(--sp1093-logo-flicker-delay) infinite;
}

/* loop A: a nervous double flicker, and later one short drop */
@keyframes sp1093-logo-flicker-a {
    0%, 30%  { opacity: 1; }
    30.5%    { opacity: calc(1 - var(--f)); }
    31.1%    { opacity: 1; }
    31.6%    { opacity: calc(1 - var(--f)); }
    33%      { opacity: calc(1 - var(--f)); }
    33.5%    { opacity: 1; }
    77%      { opacity: 1; }
    77.4%    { opacity: calc(1 - var(--f) * .8); }
    78.4%    { opacity: 1; }
    100%     { opacity: 1; }
}

/* loop B: a single quick blink at another moment */
@keyframes sp1093-logo-flicker-b {
    0%, 61%  { background-color: rgb(127 208 106 / 1); }
    61.6%    { background-color: rgb(127 208 106 / calc(1 - var(--f))); }
    62.8%    { background-color: rgb(127 208 106 / calc(1 - var(--f))); }
    63.4%    { background-color: rgb(127 208 106 / 1); }
    100%     { background-color: rgb(127 208 106 / 1); }
}

/* reduced motion: no flicker, the logo stays green */
@media (prefers-reduced-motion: reduce) {
    html:has(.spectacle-page-1093, .spectacle-plan-1093) .logo-cell a::after {
        animation: none;
    }
}





/* =====================================================================
   SPECTACLE 1093 - seat plan on phones: clearer seats
   Add at the end of spectacle-page-1093-dark-panel.css.
   Phones only (640px and narrower), seat page of this spectacle only.

   - The seat map sits above the green and the fog, so the seats show
     their real colours, sharp and unfogged (the rest of the page keeps
     the theme).
   - Available seats are a darker grey with a thin outline, so they
     stand out from the white background; empty spots (aisles, gaps)
     become see-through, so they no longer look like seats.
   - Seats are a bit taller and rounded, easier to see and to tap.
   - The legend swatches match the new colours.
   ===================================================================== */
@media (max-width: 640px) {

    /* the seat map: above the green + fog, on a light panel */
    html:has(.spectacle-plan-1093) .auditorium-plan-table {
        position: relative;
        z-index: 99992;
        background: #f7f7f4;
        padding: 6px 0;
    }

    /* no colour correction needed any more: the seats are not under the green */
    html:has(.spectacle-plan-1093) :is([class*="plan-table-seat"], [class*="plan-info-seat"]):not(#fixedspinner *, .plan-table-seat-amea) {
        animation: none;
        filter: none;
    }

    html:has(.spectacle-plan-1093) table.plan-table {
        border-spacing: 3px;
    }

    /* every seat: taller, rounded, a clear edge */
    html:has(.spectacle-plan-1093) td.plan-table-seat {
        height: 26px;
        border-radius: 0px;
        box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18);
    }

    /* available */
    html:has(.spectacle-plan-1093) td.plan-table-seat:not(.plan-table-seat-empty, .plan-table-seat-selected, .plan-table-seat-unavailable, .plan-table-seat-amea) {
        background-color: #a9b0a6;
    }

    /* empty spots (aisles, no seat): see-through, no edge */
    html:has(.spectacle-plan-1093) td.plan-table-seat.plan-table-seat-empty {
        background-color: transparent;
        box-shadow: none;
    }

    /* selected: the site's green, a little stronger edge */
    html:has(.spectacle-plan-1093) td.plan-table-seat.plan-table-seat-selected {
        box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .25);
    }

    /* legend: the "available" swatch matches the seats */
    html:has(.spectacle-plan-1093) .plan-info-seat {
        background-color: #a9b0a6;
        border-radius: 2px;
    }
}



/* =====================================================================
   WELCOME PAGE - "AVENGERS: DOOMSDAY" VIDEO BANNER (look)
   Add this to /brand/texnopolis/css.css. It only styles the banner that
   welcome-doomsday-banner.js adds to the welcome page; the rest of the
   site is untouched.
   ===================================================================== */

/* ---------- settings ---------- */
.sp-doom-banner {
  --sp-doom-header: 120px;        /* visible logo bar above the banner (the script measures it) */
  --sp-doom-h: max(520px, calc(100vh - var(--sp-doom-header)));
  --sp-doom-green: #7fd06a;
  --sp-doom-dark: #0c160e;
  --sp-doom-open: 1.6s;           /* how long the banner takes to open */
  --sp-doom-blur: 14px;           /* how blurred the background image is */
  --sp-doom-end-gap: 34px;        /* near the end: extra space between the smaller video and the bigger button */
  --sp-doom-end-scale: .7;        /* near the end: how small the video gets (1 = full size) */
  --sp-doom-end-time: 5s;         /* near the end: how long the shrinking takes */
}

@supports (height: 100svh) {
  .sp-doom-banner {
    --sp-doom-h: max(520px, calc(100svh - var(--sp-doom-header)));
  }
}

/* ---------- the banner: opens slowly to fill the screen ---------- */
.sp-doom-banner {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 0;
  margin-top: calc(-1 * var(--sp-doom-pull, 0px));  /* start just under the logos */
  margin-bottom: 20px;
  background: var(--sp-doom-dark);
  transition: height var(--sp-doom-open) cubic-bezier(.6, .05, .25, 1);
}

.sp-doom-banner.is-open {
  height: var(--sp-doom-h);
}

/* "ΠΡΟΤΕΙΝΟΜΕΝΕΣ ΤΑΙΝΙΕΣ" normally tucks 100px up into the logo bar;
   with the banner there it would cover the button, so it sits below */
html:has(#sp-doom-banner) .movie-best {
  margin-top: 0;
}

/* ---------- the blurred Doom image behind the video ---------- */
.sp-doom-bg {
  position: absolute;
  inset: calc(-3 * var(--sp-doom-blur));   /* no light edges from the blur */
  background: var(--sp-doom-bg) center 25% / cover no-repeat;
  filter: blur(var(--sp-doom-blur)) brightness(.6) saturate(1.15);
  transform: scale(1.12);
  opacity: 0;
  transition: opacity 1.8s ease .2s, transform 6s ease-out .2s;
}

.sp-doom-banner.is-open .sp-doom-bg {
  opacity: 1;
  transform: scale(1.04);
}

/* green, dark edges, so the bright video stands out in the middle */
.sp-doom-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 50% 50%, transparent 30%, rgba(4, 12, 6, .65) 100%),
    linear-gradient(to bottom, rgba(6, 16, 8, .45), rgba(6, 16, 8, .2) 40%, rgba(6, 16, 8, .7));
}

/* ---------- soft moving fog (same as the movie hero) ---------- */
.sp-doom-fog {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(closest-side, rgba(190, 214, 180, .22), transparent),
    radial-gradient(closest-side, rgba(175, 202, 165, .18), transparent),
    radial-gradient(closest-side, rgba(205, 224, 195, .16), transparent),
    radial-gradient(closest-side, rgba(185, 208, 175, .14), transparent),
    radial-gradient(closest-side, rgba(195, 216, 185, .15), transparent);
  background-repeat: no-repeat;
  background-size: 65% 60%, 55% 50%, 70% 70%, 50% 45%, 60% 50%;
  opacity: 0;
  transition: opacity 2s ease .8s;
  animation: sp-doom-fog 9s ease-in-out infinite alternate;
}

.sp-doom-banner.is-open .sp-doom-fog {
  opacity: 1;
}

@keyframes sp-doom-fog {
  0%   { background-position: -40% 18%, 135% 45%, -20% 95%, 140% 8%, 40% 75%; }
  50%  { background-position: 50% 26%, 40% 38%, 70% 86%, 50% 18%, 110% 62%; }
  100% { background-position: 140% 20%, -35% 42%, 125% 92%, -40% 12%, -20% 70%; }
}

/* ---------- the video and the button, centred ---------- */
.sp-doom-inner {
  position: relative;
  z-index: 1;
  height: var(--sp-doom-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: calc(24px + var(--sp-doom-top, 0px)) 16px 24px;
  box-sizing: border-box;
  /* the video's height: as tall as the banner allows, leaving room for
     the button (also used to move the button at the end) */
  --sp-doom-frame-h: min(92vw * 16 / 9, var(--sp-doom-h) - var(--sp-doom-top, 0px) - 150px);
}

/* the vertical (9:16) trailer: as tall as the banner allows,
   leaving room for the button */
.sp-doom-frame {
  position: relative;
  width: calc(var(--sp-doom-frame-h) * 9 / 16);
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow:
    0 0 0 1px rgba(127, 208, 106, .35),
    0 24px 60px rgba(0, 0, 0, .65),
    0 0 90px rgba(127, 208, 106, .22);
  opacity: 0;
  transform: translateY(28px) scale(.96);
  transition: opacity 1s ease, transform 1.2s cubic-bezier(.2, .6, .3, 1);
}

/* the script adds .show-video once the intro text has gone */
.sp-doom-banner.show-video .sp-doom-frame {
  opacity: 1;
  transform: none;
}

.sp-doom-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

/* sound on/off */
.sp-doom-sound {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  cursor: pointer;
}

.sp-doom-sound:hover,
.sp-doom-sound:focus-visible {
  border-color: var(--sp-doom-green);
  color: var(--sp-doom-green);
  outline: none;
}

/* "Αγοράστε το εισιτήριό σας τώρα": styled like the site's own green
   buttons (the showtime buttons): flat #008000, white text, the site's
   PF Bague Slab font, square corners */
.sp-doom-cta,
.sp-doom-cta:visited {
  display: inline-block;
  padding: 15px 34px 14px;
  border: 0;
  border-radius: 0;
  background: #008000;
  color: #fff;
  font-family: "PFBagueSlabPro-Black", "PF Bague Slab Pro", Georgia, serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: none;
  text-align: center;
  text-decoration: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s ease, transform .8s ease, background-color .2s;
}

/* the script adds .show-cta after the video has appeared */
.sp-doom-banner.show-cta .sp-doom-cta {
  opacity: 1;
  transform: none;
}

.sp-doom-cta:hover,
.sp-doom-cta:focus-visible {
  background: #006a00;
  color: #fff;
  text-decoration: none;
  outline: none;
}

/* ---------- the intro: "Η προπώληση ξεκίνησε" + "Μάθε περισσότερα" ----------
   The text zooms in in the middle of the banner and stays; the "learn
   more" button fades in below it. When it's clicked, both fly past the
   viewer (grow and fade) as the video comes in and starts playing. */
.sp-doom-intro {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: calc(24px + var(--sp-doom-top, 0px)) 24px 24px;
  box-sizing: border-box;
  pointer-events: none;
  text-align: center;
}

.sp-doom-intro-text {
  display: block;
  font-family: "PFBagueSlabPro-Black", "PF Bague Slab Pro", Georgia, serif;
  font-size: clamp(34px, 6vw, 76px);
  line-height: 1.1;
  color: #f1f4ea;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-shadow:
    0 2px 3px rgba(0, 0, 0, .6),
    0 4px 24px rgba(0, 0, 0, .7),
    0 0 40px rgba(127, 208, 106, .45);
  opacity: 0;
  transform: scale(.4);
  filter: blur(6px);
}

/* zoom in */
.sp-doom-banner.show-intro .sp-doom-intro-text {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
  transition: opacity .9s ease-out, transform 1.3s cubic-bezier(.15, .7, .25, 1), filter .9s ease-out;
}

/* "Μάθε περισσότερα": a light outline button on the dark banner,
   filling with the site's green on hover */
.sp-doom-more {
  pointer-events: auto;
  padding: 14px 34px 13px;
  border: 1px solid rgba(241, 244, 234, .75);
  border-radius: 0;
  background: rgba(6, 12, 8, .35);
  color: #f1f4ea;
  font-family: "PFBagueSlabPro-Black", "PF Bague Slab Pro", Georgia, serif;
  font-size: 17px;
  line-height: 1.2;
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  visibility: hidden;
  transition: opacity .8s ease, transform .8s ease, visibility 0s linear .8s,
              background-color .2s, border-color .2s;
}

.sp-doom-banner.show-more .sp-doom-more {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition: opacity .8s ease, transform .8s ease, visibility 0s,
              background-color .2s, border-color .2s;
}

.sp-doom-more:hover,
.sp-doom-more:focus-visible {
  background: #008000;
  border-color: #008000;
  outline: none;
}

/* clicked: the text and the button fly past, as the video comes in */
.sp-doom-banner.hide-intro .sp-doom-intro-text,
.sp-doom-banner.hide-intro .sp-doom-more {
  opacity: 0;
  transform: scale(2.4);
  filter: blur(8px);
  visibility: hidden;
  transition: opacity .7s ease-in, transform .9s cubic-bezier(.5, 0, .9, .4), filter .7s ease-in, visibility 0s linear .9s;
}

/* ---------- near the end of the video ----------
   The video steps back (a little smaller, a little dimmer) and the green
   button grows, moves up a little and pulses, inviting the click. The
   button keeps a clear gap below the smaller video (--sp-doom-end-gap). */
.sp-doom-banner.is-ended .sp-doom-frame {
  transform: scale(var(--sp-doom-end-scale));
  opacity: .75;
  transition: transform var(--sp-doom-end-time) cubic-bezier(.45, 0, .35, 1), opacity var(--sp-doom-end-time) ease-in-out;
}

.sp-doom-banner.is-ended .sp-doom-cta {
  /* the smaller video frees part of its height below it; the button
     moves up into part of that space and keeps a balanced gap */
  transform: translateY(calc((var(--sp-doom-end-scale) - 1) / 2 * var(--sp-doom-frame-h) + var(--sp-doom-end-gap))) scale(1.35);
  transition: transform var(--sp-doom-end-time) cubic-bezier(.45, 0, .35, 1), background-color .2s;
  animation: sp-doom-cta-pulse 1.6s ease-in-out calc(var(--sp-doom-end-time) - 1.5s) infinite;
}

@keyframes sp-doom-cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 128, 0, .55), 0 0 18px rgba(127, 208, 106, .35); }
  50%      { box-shadow: 0 0 0 10px rgba(0, 128, 0, 0), 0 0 30px rgba(127, 208, 106, .6); }
}

/* =====================================================================
   LOGO OPTIONS (switched on in the script: logoInBanner, logoGreen,
   logoFlicker). They only apply on the welcome page while the banner
   is there; on every other page the logos stay as they are.
   ===================================================================== */

/* logos inside the banner: the banner reaches up behind them, and the
   logos stay on top of it */
html.sp-doom-logo-in header.header-wrapper .logo-cell a {
  position: relative;
  z-index: 2;
}

/* on the dark banner the normal (dark) logos need a light halo to be
   readable; the green logos get their own glow below */
html.sp-doom-logo-in:not(.sp-doom-logo-green) header.header-wrapper .logo-cell a {
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, .85)) drop-shadow(0 0 10px rgba(255, 255, 255, .35));
}

/* green logos, exactly as on the movie page. There the logos sit under
   the page's green filter, which turns the #7fd06a a little cooler and
   darker; #64c37b is that final colour, so both pages match. Same dark
   edge and green glow. */
html.sp-doom-logo-green header.header-wrapper .logo-cell a {
  position: relative;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, .7)) drop-shadow(0 0 14px rgba(143, 191, 106, .35));
}

html.sp-doom-logo-green header.header-wrapper .logo-cell a::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: #64c37b;
  -webkit-mask: url("/brand/texnopolis/logos/main-logo.png") 50% 0 / contain no-repeat;
          mask: url("/brand/texnopolis/logos/main-logo.png") 50% 0 / contain no-repeat;
}

/* flicker: now and then the green logos flash back to their normal
   colours for a split second; two loops of different lengths overlap,
   so it never falls into an obvious rhythm */
html.sp-doom-logo-flicker header.header-wrapper .logo-cell a::after {
  animation:
    sp-doom-logo-flicker-a 13s linear 2s infinite,
    sp-doom-logo-flicker-b 7.7s linear 2s infinite;
}

@keyframes sp-doom-logo-flicker-a {
  0%, 30%  { opacity: 1; }
  30.5%    { opacity: 0; }
  31.1%    { opacity: 1; }
  31.6%    { opacity: 0; }
  33%      { opacity: 0; }
  33.5%    { opacity: 1; }
  77%      { opacity: 1; }
  77.4%    { opacity: .2; }
  78.4%    { opacity: 1; }
  100%     { opacity: 1; }
}

@keyframes sp-doom-logo-flicker-b {
  0%, 61%  { background-color: rgb(100 195 123 / 1); }
  61.6%    { background-color: rgb(100 195 123 / 0); }
  62.8%    { background-color: rgb(100 195 123 / 0); }
  63.4%    { background-color: rgb(100 195 123 / 1); }
  100%     { background-color: rgb(100 195 123 / 1); }
}

/* ---------- phones ---------- */
@media (max-width: 640px) {
  .sp-doom-banner {
    --sp-doom-h: max(480px, calc(100vh - var(--sp-doom-header)));
  }
  @supports (height: 100svh) {
    .sp-doom-banner {
      --sp-doom-h: max(480px, calc(100svh - var(--sp-doom-header)));
    }
  }
  .sp-doom-inner {
    gap: 16px;
    padding: calc(16px + var(--sp-doom-top, 0px)) 16px 16px;
    --sp-doom-frame-h: min(86vw * 16 / 9, var(--sp-doom-h) - var(--sp-doom-top, 0px) - 120px);
  }
  .sp-doom-banner {
    --sp-doom-end-gap: 22px;
  }
  .sp-doom-cta {
    max-width: 100%;
    padding: 14px 22px 13px;
    font-size: 16px;
  }
  /* at the end, grow less on phones, so the button stays on screen */
  .sp-doom-banner.is-ended .sp-doom-cta {
    transform: translateY(calc((var(--sp-doom-end-scale) - 1) / 2 * var(--sp-doom-frame-h) + var(--sp-doom-end-gap))) scale(1.12);
  }
  .sp-doom-more {
    padding: 13px 26px 12px;
    font-size: 16px;
  }
}

/* ---------- reduced motion: everything simply appears ---------- */
@media (prefers-reduced-motion: reduce) {
  .sp-doom-banner,
  .sp-doom-bg,
  .sp-doom-fog,
  .sp-doom-frame,
  .sp-doom-cta,
  .sp-doom-intro-text,
  .sp-doom-more {
    transition: none !important;
  }
  .sp-doom-fog,
  .sp-doom-cta,
  html.sp-doom-logo-flicker header.header-wrapper .logo-cell a::after {
    animation: none;
  }
}






/* ============================================================
   Schedule (/schedule, /schedule-full-screen)
   The site's own colours are the schedule's defaults; only the category
   label needs the brand's magenta, as on the film cards.
   ============================================================ */
.schedule.schedule-theme-light,
body.schedule-theme-light {
    --sch-kind-bg:   #bd146f;
    --sch-kind-text: #fff;
    --sch-kind-pad:  3px 8px;
}
