:root {
    --bg: #090d32;
    --bg-deep: #050722;
    --panel: rgba(34, 38, 93, .76);
    --panel-edge: #484a83;
    --ink: #f5eeff;
    --muted: #beb8df;
    --phosphor: #b9a6ff;
    --amber: #ff9fce;
    --rust: #ff83aa;
    --neon-cyan: #a9eaff;
    --neon-magenta: #ff9fce;
    --neon-green: #9bf3d0;
    --neon-yellow: #ffe2a4;
    --neon-red: #ff83aa;
    --accent: var(--neon-magenta);
    --green: var(--neon-green);
    --red: var(--neon-red);
    --cyan: var(--neon-cyan);
    --motion-time: 180ms;
    --motion-bounce: cubic-bezier(.2, .85, .35, 1.25);
    --motion-hover: translateY(-2px) scale(1.025);
    --motion-press: translateY(1px) scale(.97);
}

@media (max-width: 420px) {
    nav a { padding: 6px 9px; font-size: 16px; }
    .home-hero { min-height: 410px; }
    .hero-perks { max-width: 300px; }
    .hero-perks span + span::before { content: ""; padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

* { box-sizing: border-box; }
html { background: var(--bg-deep); }

body {
    position: relative;
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    font-family: "VT323", "Courier New", monospace;
    font-size: 20px;
    line-height: 1.35;
    background:
        radial-gradient(1px 1px at 8% 12%, rgba(235, 231, 255, .9) 50%, transparent 100%),
        radial-gradient(1px 1px at 19% 39%, rgba(121, 223, 255, .8) 50%, transparent 100%),
        radial-gradient(2px 2px at 31% 18%, rgba(235, 231, 255, .7) 50%, transparent 100%),
        radial-gradient(1px 1px at 47% 54%, rgba(255, 114, 173, .65) 50%, transparent 100%),
        radial-gradient(1px 1px at 58% 21%, rgba(235, 231, 255, .8) 50%, transparent 100%),
        radial-gradient(2px 2px at 73% 43%, rgba(121, 223, 255, .75) 50%, transparent 100%),
        radial-gradient(1px 1px at 86% 16%, rgba(235, 231, 255, .75) 50%, transparent 100%),
        radial-gradient(1px 1px at 94% 61%, rgba(255, 114, 173, .7) 50%, transparent 100%),
        radial-gradient(1px 1px at 13% 73%, rgba(235, 231, 255, .6) 50%, transparent 100%),
        radial-gradient(1px 1px at 27% 87%, rgba(121, 223, 255, .7) 50%, transparent 100%),
        radial-gradient(1px 1px at 39% 34%, rgba(235, 231, 255, .68) 50%, transparent 100%),
        radial-gradient(1px 1px at 64% 78%, rgba(255, 114, 173, .55) 50%, transparent 100%),
        radial-gradient(1px 1px at 81% 91%, rgba(235, 231, 255, .7) 50%, transparent 100%),
        radial-gradient(1px 1px at 96% 32%, rgba(121, 223, 255, .55) 50%, transparent 100%),
        radial-gradient(ellipse at 78% 8%, rgba(90, 54, 185, .3), transparent 38%),
        radial-gradient(ellipse at 18% 68%, rgba(56, 74, 177, .22), transparent 40%),
        radial-gradient(ellipse at 50% 105%, rgba(190, 75, 174, .16), transparent 48%),
        linear-gradient(180deg, #080b2d 0%, #111541 58%, #211b53 100%);
}

body::before,
body::after {
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
    content: "";
}

body::before {
    opacity: .045;
    background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(0, 0, 0, .34) 4px);
}

body::after {
    z-index: 998;
    opacity: .11;
    background: linear-gradient(180deg, transparent 58%, rgba(138, 105, 255, .12), transparent 88%);
}

a { color: var(--neon-cyan); text-decoration: none; }
a:hover { color: var(--neon-magenta); }

h1 {
    margin: 26px 4px 6px;
    color: #f5eaff;
    font-family: "Press Start 2P", "Courier New", monospace;
    font-size: 16px;
    line-height: 1.7;
    text-shadow: 3px 3px 0 #542c9a, 0 0 18px rgba(255, 114, 173, .35);
}

h2 {
    color: var(--neon-magenta);
    font-family: "Press Start 2P", "Courier New", monospace;
    font-size: 10px;
    line-height: 1.8;
}

.muted { color: var(--muted); }

main {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 14px 60px;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 500;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: rgba(7, 9, 37, .72);
    box-shadow: 0 8px 30px rgba(4, 5, 26, .14);
    backdrop-filter: blur(14px);
}

.logo {
    position: relative;
    color: var(--neon-magenta);
    font-family: "Press Start 2P", "Courier New", monospace;
    font-size: 12px;
    line-height: 1.8;
    text-decoration: none;
    text-shadow: 2px 2px 0 #542c9a, 0 0 14px rgba(255, 114, 173, .35);
}

nav { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
nav a { padding: 7px 13px; color: var(--ink); border-radius: 999px; font-size: 18px; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; transition: color .16s, background-color .16s; }
nav a:hover { color: #11143f; background: rgba(255, 156, 205, .88); }
form.inline { display: inline; margin: 0; }

.panel, .card, .badge, .flash {
    background: var(--panel);
    border: 0;
    border-radius: 22px;
    box-shadow: 0 14px 36px rgba(4, 5, 26, .22);
}

.panel {
    margin: 22px 4px;
    padding: 18px 20px;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(31, 37, 93, .86), rgba(18, 23, 68, .9));
}

.narrow { max-width: 440px; }
.narrow label { display: block; margin-bottom: 16px; }

textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 11px;
    color: var(--ink);
    background: rgba(9, 12, 45, .72);
    border: 1px solid rgba(143, 151, 255, .22);
    border-radius: 18px;
    font: inherit;
    resize: vertical;
}

label {
    color: var(--muted);
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

input, select {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 9px 11px;
    color: var(--ink);
    background: rgba(9, 12, 45, .72);
    border: 1px solid rgba(143, 151, 255, .22);
    border-radius: 999px;
    outline: none;
    font: inherit;
}

input:focus, select:focus {
    border-color: rgba(255, 156, 205, .6);
    box-shadow: 0 0 0 4px rgba(255, 114, 173, .1);
}

input::placeholder { color: #8586b5; }

.btn {
    position: relative;
    display: inline-block;
    margin: 4px;
    padding: 10px 20px;
    color: #16133f;
    background: linear-gradient(135deg, #f6eaff, #ffc0df);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 7px 20px rgba(198, 145, 255, .2);
    cursor: pointer;
    font: inherit;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform .12s, background-color .12s;
}

.btn:hover { color: #16133f; background: linear-gradient(135deg, #fff8ff, #ffabd4); box-shadow: 0 9px 24px rgba(255, 114, 173, .24); transform: translateY(-2px); }
.btn:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(198, 145, 255, .16); }
.btn.small { padding: 4px 9px; font-size: 16px; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    align-items: start;
    gap: 18px;
    margin: 24px 4px;
}

.grid.small { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.movie-browser { margin: 14px 4px 46px; }

.browse-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 18px;
}

.browse-heading .eyebrow { margin: 0 0 5px; }
.browse-heading h2 { margin: 0; color: var(--ink); font-size: 13px; }
.browse-count { margin: 0; color: var(--muted); font-size: 17px; }

.eyebrow {
    color: var(--neon-cyan);
    font-family: "Press Start 2P", "Courier New", monospace;
    font-size: 8px;
    letter-spacing: .08em;
}

.browse-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 7px 0;
    background: transparent;
    border: 0;
}

.movie-search {
    display: flex;
    width: min(100%, 380px);
    align-items: center;
    gap: 10px;
    padding: 0 17px;
    color: var(--neon-cyan);
    background: rgba(13, 17, 58, .76);
    border: 1px solid rgba(177, 169, 255, .13);
    border-radius: 999px;
    font-size: 24px;
}

.movie-search:focus-within {
    border-color: rgba(255, 156, 205, .5);
    box-shadow: none;
    outline: 0;
}

.movie-search input {
    min-width: 0;
    margin: 0;
    padding: 9px 0;
    color: var(--ink);
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: 19px;
}

.movie-search input:focus,
.movie-search input:focus-visible { border: 0; box-shadow: none; outline: 0; }
.movie-search input::placeholder { color: #898bb8; }

.movie-sort {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 16px;
    text-transform: none;
}

.movie-sort select {
    width: auto;
    min-width: 126px;
    margin: 0;
    padding: 7px 28px 7px 9px;
    border: 1px solid rgba(177, 169, 255, .13);
    border-radius: 999px;
    font-size: 17px;
}

.genre-list {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 13px 1px 15px;
    scrollbar-width: thin;
}

.genre-chip {
    flex: 0 0 auto;
    padding: 6px 13px;
    color: #c6c6e5;
    background: rgba(41, 47, 105, .58);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-size: 17px;
    line-height: 1.1;
    transition: color .15s, background-color .15s, border-color .15s;
}

.genre-chip:hover,
.genre-chip.is-active {
    color: #17143f;
    background: #a9eaff;
}

.genre-chip:focus-visible,
.movie-sort select:focus-visible {
    outline: 2px solid var(--neon-magenta);
    outline-offset: 3px;
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    align-items: start;
    gap: 17px;
}

.movie-card {
    display: block;
    overflow: hidden;
    color: var(--ink);
    background: linear-gradient(155deg, rgba(35, 39, 96, .86), rgba(20, 24, 70, .9));
    border: 0;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(2, 4, 27, .22);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.movie-card:hover {
    color: var(--ink);
    box-shadow: 0 18px 38px rgba(2, 4, 27, .34), 0 0 28px rgba(255, 156, 205, .11);
    transform: translateY(-5px) scale(1.015);
}

.movie-card:focus-visible {
    outline: 3px solid var(--neon-cyan);
    outline-offset: 3px;
}

.movie-card[hidden] { display: none; }

.movie-card .poster {
    aspect-ratio: 4 / 3;
    font-size: 54px;
}

.poster-monogram { position: relative; z-index: 1; }

.poster-tag {
    position: absolute;
    z-index: 1;
    top: 10px;
    left: 10px;
    padding: 4px 6px;
    color: #fff;
    background: rgba(7, 9, 37, .72);
    border: 0;
    border-radius: 999px;
    font-family: "VT323", "Courier New", monospace;
    font-size: 15px;
    letter-spacing: .08em;
}

.poster-play {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 1;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #10133d;
    background: rgba(245, 238, 255, .94);
    border-radius: 50%;
    font-family: Arial, sans-serif;
    font-size: 13px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .18s, transform .18s;
}

.movie-card:hover .poster-play,
.movie-card:focus-visible .poster-play { opacity: 1; transform: translateY(0); }

.movie-card-info { padding: 10px 11px 11px; }
.movie-card h3 { overflow: hidden; margin: 0; color: #f4eaff; font-size: 22px; font-weight: 700; line-height: 1.05; text-overflow: ellipsis; white-space: nowrap; }
.movie-meta { overflow: hidden; margin: 5px 0 9px; color: var(--muted); font-size: 16px; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.movie-meta span { padding: 0 3px; color: var(--neon-magenta); }

.movie-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 7px;
    padding-top: 7px;
    font-size: 16px;
}

.movie-rating { color: #ffcf7a; white-space: nowrap; }
.showing-status { color: #b8b8d8; text-align: right; }
.showing-status.available { color: var(--neon-green); }

.empty-results {
    margin: 20px 0;
    padding: 24px;
    color: var(--muted);
    background: rgba(35, 39, 96, .65);
    border: 0;
    border-radius: 24px;
    text-align: center;
}

.card {
    position: relative;
    display: block;
    overflow: hidden;
    padding: 0 0 12px;
    color: var(--ink);
    background: linear-gradient(155deg, rgba(35, 39, 96, .86), rgba(20, 24, 70, .9));
    border: 0;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(2, 4, 27, .22);
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.card:hover {
    color: var(--ink);
    box-shadow: 0 18px 38px rgba(2, 4, 27, .34), 0 0 28px rgba(255, 156, 205, .11);
    transform: translateY(-5px) scale(1.015);
}

.card:focus-visible {
    outline: 3px solid var(--neon-cyan);
    outline-offset: 4px;
}

.card h2,
.card p {
    margin-right: 15px;
    margin-left: 15px;
}

.card h2 {
    margin-top: 13px;
    margin-bottom: 4px;
    color: #f4eaff;
    font-family: "VT323", "Courier New", monospace;
    font-size: 25px;
    line-height: 1.1;
}

.card p {
    margin-top: 5px;
    margin-bottom: 0;
    font-size: 18px;
    line-height: 1.2;
}

.card p:last-child {
    margin-top: 11px;
    color: var(--neon-cyan);
    font-size: 17px;
}

.poster {
    position: relative;
    display: flex;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    align-items: center;
    justify-content: center;
    color: #fff0fa;
    background-color: hsl(var(--hue), 42%, 27%);
    background-image:
        radial-gradient(ellipse at 50% 38%, hsla(var(--hue), 74%, 65%, .45), transparent 34%),
        linear-gradient(155deg, hsla(var(--hue), 55%, 42%, .75), rgba(13, 16, 58, .94) 72%),
        repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 2px, transparent 2px 5px);
    font-family: "Press Start 2P", "Courier New", monospace;
    font-size: 64px;
    text-shadow: 4px 4px 0 rgba(11, 13, 49, .85), 0 0 22px rgba(240, 220, 255, .48);
    image-rendering: pixelated;
}

.poster::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: .45;
    background:
        radial-gradient(2px 2px at 18% 22%, #fff 50%, transparent 60%),
        radial-gradient(1px 1px at 76% 16%, #c9eaff 50%, transparent 60%),
        radial-gradient(2px 2px at 84% 45%, #fff 50%, transparent 60%),
        radial-gradient(1px 1px at 24% 58%, #ffc1e0 50%, transparent 60%),
        linear-gradient(0deg, rgba(8, 10, 43, .85), transparent 62%);
    pointer-events: none;
}

.xpbar {
    display: block;
    height: 18px;
    padding: 3px;
    background: rgba(7, 9, 37, .72);
    border: 0;
    border-radius: 999px;
}

.xpbar.small { display: inline-block; width: 90px; height: 12px; padding: 2px; }
.xpbar span { display: block; height: 100%; background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta)); border-radius: inherit; }

.flash {
    margin: 14px 4px;
    padding: 12px 16px;
    border-left: 0;
    border-radius: 18px;
    animation: flash-in .25s ease-out;
}

.flash.xp { color: var(--neon-cyan); }
.flash.levelup { color: var(--neon-yellow); animation: flash-in .25s ease-out, blink .5s steps(2) 5; }
.flash.achievement { color: var(--neon-magenta); }
.flash.success { color: var(--neon-green); }
.flash.error { color: var(--rust); }
@keyframes blink { 50% { opacity: .45; } }
@keyframes flash-in { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: translateX(0); } }

.badge { padding: 12px; }
.badge.on { background: rgba(50, 92, 113, .56); }
.badge.off { background: rgba(35, 39, 77, .68); opacity: .68; filter: grayscale(.25); }

table { width: 100%; border-collapse: collapse; }
td { padding: 9px 10px; border-bottom: 1px solid rgba(177, 169, 255, .12); }
tr:hover td { background: rgba(177, 169, 255, .05); }

.screen {
    max-width: 560px;
    margin: 24px auto;
    padding: 10px;
    color: #090d32;
    background: linear-gradient(90deg, var(--neon-cyan), #bba5ff, var(--neon-magenta));
    border: 0;
    border-radius: 50%;
    text-align: center;
    text-transform: uppercase;
    font-family: "Press Start 2P", "Courier New", monospace;
    font-size: 11px;
    letter-spacing: 2px;
    box-shadow: 0 10px 30px rgba(121, 223, 255, .14);
}

.seats { overflow-x: auto; padding-bottom: 10px; }
.seatrow { display: flex; gap: 6px; justify-content: center; margin-bottom: 6px; }
.rowlabel { width: 20px; color: var(--muted); align-self: center; }
.seat input { position: absolute; width: 0; height: 0; opacity: 0; }

.seat span {
    display: block;
    width: 30px;
    height: 30px;
    color: #090d32;
    background: #75d9ec;
    border: 0;
    border-radius: 9px;
    cursor: pointer;
    line-height: 26px;
    text-align: center;
    font-size: 16px;
}

.seat input:checked + span { color: #17143f; background: #ff9fce; }
.seat input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.seat.taken span { color: #9a8ab2; background: #30284c; cursor: not-allowed; }

.footer {
    padding: 24px;
    color: var(--muted);
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 1px;
}

@media (max-width: 600px) {
    .topbar { position: relative; padding: 12px 14px; }
    nav { gap: 10px; }
    .logo { font-size: 10px; }
    h1 { font-size: 13px; }
    .panel { padding: 14px; }
}

.home-hero {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 0;
    min-height: 500px;
    margin: 0 4px 26px;
    padding: 44px 18px 24px;
    background:
        radial-gradient(ellipse at 50% 65%, rgba(148, 105, 255, .18), transparent 35%),
        radial-gradient(ellipse at 50% 100%, rgba(255, 114, 173, .11), transparent 52%);
    text-align: center;
}

.home-hero-copy { display: contents; }
.home-hero .eyebrow { grid-row: 1; margin: 0 0 12px; }
.home-hero h1 { grid-row: 2; margin: 0 0 8px; font-size: clamp(18px, 3vw, 28px); }
.home-hero-copy > p:not(.eyebrow) { grid-row: 3; margin: 0; font-size: 23px; }

.hero-perks { grid-row: 5; display: flex; flex-wrap: wrap; justify-content: center; gap: 9px 18px; margin-top: 15px; }
.hero-perks span { padding: 0; color: #cfcaef; background: transparent; border: 0; font-size: 15px; letter-spacing: .07em; }
.hero-perks span + span::before { padding-right: 18px; color: var(--neon-magenta); content: "✦"; }

.hero-cta {
    grid-row: 6;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 19px;
    padding: 9px 20px;
    color: #4d398d;
    background: linear-gradient(135deg, #fff7ff, #e5d4ff);
    border-radius: 999px;
    box-shadow: 0 7px 22px rgba(164, 131, 255, .24);
    font-size: 19px;
    transition: transform .16s ease, box-shadow .16s ease;
}

.hero-cta::before { color: #ff76b4; content: "✦"; }
.hero-cta:hover { color: #4d398d; box-shadow: 0 10px 28px rgba(255, 114, 173, .25); transform: translateY(-2px); }

.mascot {
    grid-row: 4;
    display: block;
    flex: 0 0 auto;
    width: 188px;
    height: 212px;
    margin: 13px 0 0;
    image-rendering: pixelated;
    filter: drop-shadow(0 12px 18px rgba(4, 5, 26, .38));
    animation: mascot-bob 3s ease-in-out infinite;
}

@keyframes mascot-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@media (prefers-reduced-motion: reduce) {
    .mascot { animation: none; }
}

@media (max-width: 600px) {
    .home-hero { min-height: 440px; margin-right: 0; margin-left: 0; padding: 37px 12px 20px; }
    .home-hero h1 { max-width: 340px; font-size: 16px; }
    .home-hero-copy > p:not(.eyebrow) { max-width: 330px; font-size: 21px; }
    .hero-perks { gap: 7px 12px; margin-top: 12px; }
    .hero-perks span { font-size: 13px; }
    .hero-perks span + span::before { padding-right: 12px; }
    .mascot { width: 158px; height: 178px; margin-top: 12px; }
    .hero-cta { margin-top: 15px; }
    .browse-toolbar { align-items: stretch; flex-direction: column; }
    .movie-search { width: 100%; }
    .movie-sort { justify-content: space-between; }
    .movie-sort select { flex: 1; }
    .movie-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
    .movie-card .poster { font-size: 42px; }
    .movie-card-info { padding: 8px; }
    .movie-card h3 { font-size: 19px; }
    .movie-meta, .movie-card-bottom { font-size: 14px; }
    .poster-tag { top: 6px; left: 6px; font-size: 12px; }
    .poster-play { width: 29px; height: 29px; }
}

.film-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px 24px; margin: 10px 4px 22px; }
.film-heading h1 { margin: 0; }
.film-heading p { margin: 0; }
.showtimes-panel h2, .cast-panel h2 { margin-top: 0; margin-bottom: 15px; }
.cast-panel ul { display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0; list-style: none; }
.cast-panel li { padding: 6px 13px; background: rgba(8, 11, 45, .42); border: 0; border-radius: 999px; }
.showtimes-table { overflow-x: auto; }
.showtimes-table table { min-width: 620px; }
.showtimes-table th { padding: 8px 10px; color: var(--muted); border-bottom: 1px solid rgba(143, 151, 255, .32); font-size: 15px; font-weight: 400; text-align: left; text-transform: uppercase; }
.showtimes-table td { border-bottom-style: solid; border-bottom-color: rgba(143, 151, 255, .16); }

.booking-intro { max-width: 700px; margin: 0 4px 22px; }
.booking-intro h1 { margin-top: 0; }
.booking-intro p { margin: 5px 0; }
.booking-panel { max-width: 760px; margin: 18px auto; }
.booking-panel .screen { margin-top: 6px; }
.seat-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 18px 0; color: var(--muted); font-size: 16px; }
.seat-legend span { display: inline-flex; align-items: center; gap: 6px; }
.seat-key { width: 14px; height: 14px; background: #5ec8dc; border: 1px solid #a3efff; border-radius: 3px; }
.seat-key.selected { background: var(--neon-magenta); border-color: transparent; border-radius: 50%; }
.seat-key.taken { background: #655b7f; border-color: transparent; border-radius: 50%; }
.booking-submit { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 20px; padding-top: 14px; }
.booking-submit p { margin: 0; color: var(--muted); }
.booking-submit strong { color: var(--ink); }
.pay-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 18px; max-width: 900px; margin: 18px auto; }
.pay-summary h2, .pay-form h2 { margin-top: 0; }
.pay-summary dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 14px; margin: 0; }
.pay-summary dt { color: var(--muted); }
.pay-summary dd { margin: 0; color: var(--ink); }
.pay-total { margin: 18px 0 0; padding-top: 12px; border-top: 1px dashed rgba(169, 234, 255, .35); color: var(--muted); font-size: 20px; }
.pay-total strong { color: var(--neon-yellow); font-weight: 400; }
.pay-form label { display: block; margin-bottom: 12px; color: var(--muted); font-size: 17px; }
.pay-form input { display: block; width: 100%; min-height: 44px; margin-top: 4px; box-sizing: border-box; }
.pay-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; }
.pay-note { margin: 12px 0 0; font-size: 15px; }
@media (max-width: 760px) {
    .pay-layout { grid-template-columns: minmax(0, 1fr); }
}

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }

@media (max-width: 480px) {
    .browse-heading h2 { font-size: 11px; }
    .movie-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .showing-status { max-width: 60px; }
}

.ticket-page-heading { margin: 12px 4px 22px; }
.ticket-page-heading > .eyebrow { margin-bottom: 8px; }
.ticket-user { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.ticket-user h1 { margin: 0; }
.ticket-level { padding: 5px 12px; color: #11143f; background: var(--neon-cyan); border-radius: 999px; font-size: 16px; }
.my-tickets-panel { margin-top: 0; }
.my-tickets-panel h2 { margin-top: 0; margin-bottom: 17px; }
.ticket-list { display: grid; gap: 10px; }
.cinema-ticket {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 16px;
    padding: 13px 15px;
    background: linear-gradient(110deg, rgba(45, 43, 105, .72), rgba(29, 34, 86, .7));
    border: 0;
    border-radius: 20px;
    box-shadow: 0 9px 24px rgba(3, 5, 29, .16);
}
.cinema-ticket.is-newest { background: linear-gradient(110deg, rgba(83, 47, 116, .72), rgba(39, 43, 101, .75)); box-shadow: 0 10px 28px rgba(255, 114, 173, .09); }
.newest-ticket-label { display: inline-block; margin-bottom: 4px; padding: 3px 9px; color: #58366e; background: #ffc0df; border-radius: 999px; font-size: 12px; letter-spacing: .08em; }
.cinema-ticket-main h3 { margin: 0; color: var(--ink); font-size: 23px; line-height: 1.1; }
.cinema-ticket-main p { margin: 3px 0; color: var(--muted); font-size: 17px; }
.cinema-ticket-main time { color: var(--neon-cyan); font-size: 18px; }
.cinema-ticket-seat { display: grid; justify-items: center; gap: 1px; padding: 0 15px; }
.cinema-ticket-seat span { color: var(--muted); font-size: 12px; letter-spacing: .08em; }
.cinema-ticket-seat strong { color: var(--neon-yellow); font-family: "Press Start 2P", "Courier New", monospace; font-size: 15px; }
.cinema-ticket-price { min-width: 62px; color: var(--ink); text-align: right; font-size: 18px; }
.showtimes-table th { border-bottom-color: rgba(177, 169, 255, .13); }
.showtimes-table td { border-bottom-color: rgba(177, 169, 255, .09); }
.seat-key { border: 0; border-radius: 50%; }
.seat-legend { padding: 8px 14px; background: rgba(36, 40, 93, .5); border-radius: 999px; }
.seat span { border-radius: 9px; transition: transform .15s, filter .15s; }
.seat:not(.taken):hover span { transform: translateY(-2px) scale(1.08); filter: brightness(1.1); }
.seat input:checked + span { border-radius: 50%; }
.panel + .panel { margin-top: 18px; }
.footer { color: rgba(190, 184, 223, .75); }

.content-heading { margin: 10px 4px 22px; }
.content-heading h1 { margin: 0; }
.content-heading > p:last-child { max-width: 680px; }
.content-list { display: grid; gap: 16px; }
.content-card { margin: 0; }
.content-card h2 { margin: 0 0 10px; }
.content-card p:last-child { margin-bottom: 0; }
.contact-page { max-width: 760px; margin: 0 auto; }
.contact-page .content-heading { margin-bottom: 18px; text-align: center; }
.contact-page .content-heading .muted { max-width: 580px; margin-right: auto; margin-left: auto; }
.contact-page .contact-form { width: 100%; max-width: 640px; margin: 0 auto; padding: 24px 28px; }
.contact-message { white-space: pre-wrap; }
.topbar .xpbar.small { overflow: hidden; }

.home-hero-showcase {
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
    justify-items: stretch;
    align-items: center;
    gap: 18px;
    min-height: 470px;
    margin: 8px 4px 42px;
    padding: 34px 32px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 78% 45%, rgba(255, 156, 205, .2), transparent 34%),
        radial-gradient(ellipse at 20% 92%, rgba(151, 124, 255, .2), transparent 44%),
        linear-gradient(125deg, rgba(21, 26, 75, .94), rgba(57, 39, 108, .84) 58%, rgba(38, 37, 100, .92));
    border: 1px solid rgba(204, 184, 255, .14);
    border-radius: 38px;
    text-align: left;
}

.home-hero-showcase .home-hero-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.home-hero-showcase .eyebrow,
.home-hero-showcase h1,
.home-hero-showcase .hero-perks,
.home-hero-showcase .hero-cta { grid-row: auto; }
.home-hero-showcase .eyebrow { margin: 0 0 19px; line-height: 1.8; }
.home-hero-showcase h1 { max-width: 520px; margin: 0; font-size: clamp(22px, 3.4vw, 32px); line-height: 1.65; }
.home-hero-description { max-width: 440px; margin: 12px 0 0; color: #d7d1f1; font-size: 24px; }
.home-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin-top: 18px; }
.home-hero-showcase .hero-cta { margin: 0; }
.hero-secondary-link { padding: 7px 2px; color: #e6dcff; font-size: 18px; }
.hero-secondary-link:hover { color: #ffc0df; }
.home-hero-showcase .hero-perks { justify-content: flex-start; gap: 7px 13px; margin-top: 24px; }
.home-hero-showcase .hero-perks span { font-size: 13px; }
.home-hero-showcase .hero-perks span + span::before { padding-right: 13px; }

.home-hero-art {
    position: relative;
    display: flex;
    min-height: 365px;
    align-items: center;
    justify-content: center;
}

.home-hero-art::before {
    position: absolute;
    width: min(82%, 310px);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(255, 191, 225, .22), rgba(178, 148, 255, .1) 52%, transparent 72%);
    border-radius: 50%;
    content: "";
}

.home-hero-showcase .mascot {
    position: relative;
    z-index: 1;
    grid-row: auto;
    width: 245px;
    height: 258px;
    margin: -42px 0 0;
    filter: drop-shadow(0 16px 20px rgba(4, 5, 26, .42));
}

.hero-sparkle { position: absolute; z-index: 1; color: #ffe2a4; text-shadow: 0 0 17px rgba(255, 226, 164, .45); }
.hero-sparkle-one { top: 33px; right: 17%; font-size: 24px; }
.hero-sparkle-two { top: 100px; left: 8%; color: #ffc0df; font-size: 18px; }

.hero-featured-film {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: grid;
    gap: 2px;
    min-width: 220px;
    padding: 12px 16px;
    color: var(--ink);
    background: rgba(15, 18, 62, .78);
    border: 1px solid rgba(221, 207, 255, .14);
    border-radius: 22px;
    box-shadow: 0 13px 30px rgba(4, 5, 26, .2);
    backdrop-filter: blur(12px);
}

.hero-featured-film:hover { color: var(--ink); background: rgba(25, 29, 84, .9); }
.featured-film-label { color: var(--neon-cyan); font-size: 12px; letter-spacing: .1em; }
.featured-film-title { font-size: 24px; line-height: 1.1; }
.featured-film-meta { color: var(--muted); font-size: 16px; }
.featured-film-link { margin-top: 4px; color: #ffc0df; font-size: 16px; }

.home-genres,
.home-picks { margin: 0 4px 42px; }

.home-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 15px;
}

.home-section-heading .eyebrow { margin: 0 0 6px; }
.home-section-heading h2 { margin: 0; color: var(--ink); font-size: 11px; }
.home-section-heading > a { flex: 0 0 auto; color: #ffc0df; font-size: 17px; }
.home-section-heading > a:hover { color: #fff; }

.home-genre-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.home-genre-link {
    display: grid;
    min-height: 116px;
    align-content: space-between;
    padding: 14px 16px;
    color: var(--ink);
    background:
        radial-gradient(circle at 90% 0, rgba(255, 255, 255, .08), transparent 48%),
        linear-gradient(145deg, rgba(38, 44, 105, .8), rgba(25, 28, 78, .9));
    border-radius: 24px;
    box-shadow: 0 10px 24px rgba(3, 5, 29, .16);
    transition: transform .16s ease, background-color .16s ease;
}

.home-genre-link:hover { color: var(--ink); transform: translateY(-3px); }
.home-genre-icon { color: #ffc0df; font-size: 25px; line-height: 1; }
.home-genre-name { margin-top: 9px; font-size: 23px; line-height: 1; }
.home-genre-count { color: var(--muted); font-size: 15px; }
.home-genre-link[data-genre-tone="action"] .home-genre-icon { color: #ffe2a4; }
.home-genre-link[data-genre-tone="sci-fi"] .home-genre-icon { color: #a9eaff; }
.home-genre-link[data-genre-tone="horror"] .home-genre-icon { color: #d7baff; }

.home-picks-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.movies-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 170px;
    align-items: center;
    gap: 22px;
    min-height: 240px;
    margin: 8px 4px 30px;
    padding: 31px 34px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 88% 35%, rgba(169, 234, 255, .17), transparent 28%),
        radial-gradient(ellipse at 72% 100%, rgba(255, 159, 206, .16), transparent 46%),
        linear-gradient(115deg, rgba(33, 38, 100, .94), rgba(27, 24, 77, .92));
    border-radius: 32px;
}

.movies-hero-copy { position: relative; z-index: 1; max-width: 620px; }
.movies-hero .eyebrow { margin: 0 0 12px; }
.movies-hero h1 { margin: 0; font-size: clamp(20px, 3vw, 27px); line-height: 1.7; }
.movies-hero h1 span { color: #ffc0df; }
.movies-hero-copy > p:last-child { max-width: 560px; margin: 12px 0 0; color: #d1cdec; font-size: 22px; }
.movies-hero-side { position: relative; display: grid; min-height: 170px; place-items: center; }
.movies-hero-side::before { position: absolute; width: 150px; aspect-ratio: 1; background: rgba(177, 169, 255, .13); border-radius: 50%; content: ""; }
.movies-hero-star { position: absolute; top: 6px; right: 20px; color: #ffe2a4; font-size: 26px; }
.movies-hero-film { position: relative; display: grid; width: 104px; height: 124px; place-content: center; color: #f9ecff; background: linear-gradient(145deg, rgba(255, 159, 206, .82), rgba(151, 124, 255, .72)); border-radius: 21px; box-shadow: 0 14px 32px rgba(5, 7, 34, .3); font-family: "Press Start 2P", "Courier New", monospace; font-size: 10px; line-height: 2; text-align: center; transform: rotate(5deg); }
.movies-hero-dots { position: absolute; bottom: 8px; left: 17px; color: #a9eaff; font-size: 27px; letter-spacing: 7px; }

.genre-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
    gap: 10px;
    margin: 18px 0 20px;
}

.genre-tile {
    --genre-accent: #ffc0df;
    display: grid;
    min-height: 113px;
    justify-items: start;
    align-content: space-between;
    padding: 12px 14px;
    color: var(--ink);
    background: linear-gradient(145deg, rgba(40, 45, 105, .78), rgba(23, 27, 75, .86));
    border: 0;
    border-radius: 22px;
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.genre-tile[data-genre="Action"] { --genre-accent: #ffe2a4; }
.genre-tile[data-genre="Sci-Fi"] { --genre-accent: #a9eaff; }
.genre-tile[data-genre="Horror"] { --genre-accent: #d7baff; }
.genre-tile[data-genre="Romance"] { --genre-accent: #ffc0df; }
.genre-tile[data-genre="Comedy"] { --genre-accent: #9bf3d0; }
.genre-tile[data-genre="Drama"] { --genre-accent: #ffb7a5; }
.genre-tile:hover { color: var(--ink); background: rgba(54, 59, 125, .9); transform: translateY(-2px); }
.genre-tile.is-active { box-shadow: inset 0 0 0 2px var(--genre-accent); }
.genre-tile-icon { display: grid; width: 29px; height: 29px; place-items: center; color: var(--genre-accent); background: rgba(255, 255, 255, .07); border-radius: 50%; font-size: 18px; }
.genre-tile-name { margin-top: 8px; font-size: 20px; line-height: 1; }
.genre-tile-count { color: var(--muted); font-size: 14px; }

.catalog-controls { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 0 0 16px; }
.catalog-controls .movie-search { width: min(100%, 430px); }
.catalog-controls .movie-sort { justify-content: flex-end; }
.movie-browser { margin-top: 0; }

.faq-list { max-width: 780px; margin: 20px 4px; padding: 5px 18px; }
.faq-item + .faq-item { border-top: 1px solid rgba(177, 169, 255, .13); }
.faq-item summary {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--ink);
    cursor: pointer;
    font-size: 20px;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { flex: 0 0 auto; color: var(--neon-magenta); content: "+"; font-size: 23px; }
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:focus-visible { outline: 2px solid var(--neon-magenta); outline-offset: 2px; border-radius: 8px; }
.faq-item p { margin: 0; padding: 0 28px 15px 0; color: var(--muted); font-size: 18px; }

.newsroom { max-width: 900px; margin: 4px auto 26px; }
.news-masthead { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 0 4px 20px; padding: 5px 0 17px; border-bottom: 1px solid rgba(177, 169, 255, .16); }
.news-masthead .eyebrow { margin: 0 0 9px; }
.news-masthead h1 { margin: 0; font-size: clamp(17px, 2.5vw, 22px); }
.news-masthead p:last-child { margin: 7px 0 0; font-size: 19px; }
.news-masthead-stamp { display: grid; width: 66px; height: 66px; flex: 0 0 auto; place-items: center; color: #503871; background: linear-gradient(145deg, #ffe2a4, #ffc0df); border-radius: 50%; font-family: "Press Start 2P", "Courier New", monospace; font-size: 9px; line-height: 1.8; text-align: center; transform: rotate(8deg); }
.news-lead { display: grid; grid-template-columns: minmax(0, 1fr) 265px; min-height: 255px; overflow: hidden; background: linear-gradient(120deg, rgba(39, 43, 105, .92), rgba(36, 31, 89, .94)); border-radius: 30px; }
.news-lead-copy { align-self: center; padding: 27px 30px; }
.news-kicker, .news-story-meta { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 13px; color: var(--neon-cyan); font-size: 13px; letter-spacing: .08em; }
.news-kicker span { color: var(--neon-magenta); }
.news-lead h2 { max-width: 460px; margin: 0 0 9px; color: var(--ink); font-size: 15px; line-height: 1.8; }
.news-lead-copy > p:not(.news-kicker) { max-width: 520px; margin: 0; color: var(--muted); font-size: 20px; }
.news-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: #ffc0df; font-size: 18px; }
.news-link:hover { color: #fff; }
.news-lead-art { position: relative; display: grid; min-height: 255px; place-items: center; overflow: hidden; background: radial-gradient(ellipse at center, rgba(255, 159, 206, .2), transparent 65%); }
.news-arcade-art { position: relative; z-index: 1; display: grid; width: 178px; height: 200px; align-content: start; gap: 9px; padding: 13px; background: linear-gradient(150deg, #b56bba, #6556b6 75%); border: 1px solid rgba(255, 255, 255, .2); border-radius: 23px; box-shadow: 0 18px 35px rgba(4, 5, 26, .3); transform: rotate(5deg); }
.news-arcade-screen { display: grid; min-height: 112px; align-content: space-between; padding: 10px; color: #f9efff; background: linear-gradient(145deg, #282155, #171841); border-radius: 14px; text-align: center; }
.news-arcade-screen span { color: #a9eaff; font-size: 10px; letter-spacing: .08em; }
.news-arcade-screen strong { color: #ffc0df; font-family: "Press Start 2P", "Courier New", monospace; font-size: 10px; line-height: 2; text-shadow: 2px 2px #58469f; }
.news-arcade-controls { display: flex; align-items: center; justify-content: space-between; padding: 0 12px; color: #ffe2a4; }
.news-arcade-dpad { font-size: 32px; line-height: 1; }
.news-arcade-buttons { color: #ffc0df; font-size: 18px; line-height: .8; transform: rotate(-30deg); }
.news-art-star { position: absolute; color: #ffe2a4; text-shadow: 0 0 16px rgba(255, 226, 164, .4); }
.news-art-star-one { top: 28px; right: 24px; font-size: 23px; }
.news-art-star-two { bottom: 24px; left: 24px; color: #a9eaff; font-size: 20px; }
.news-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 14px; margin: 28px 4px 13px; }
.news-section-heading .eyebrow { margin: 0 0 5px; }
.news-section-heading h2 { margin: 0; color: var(--ink); font-size: 11px; }
.news-section-heading > span { color: var(--muted); font-size: 14px; letter-spacing: .07em; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.news-story { display: flex; min-height: 210px; flex-direction: column; align-items: flex-start; padding: 17px 19px; background: linear-gradient(145deg, rgba(35, 39, 96, .82), rgba(20, 24, 70, .9)); border-radius: 24px; }
.news-story-meta { width: 100%; margin-bottom: 13px; color: var(--neon-cyan); font-size: 12px; }
.news-story-meta span + span { color: var(--muted); }
.news-story h3 { margin: 0 0 6px; color: #f4eaff; font-size: 24px; line-height: 1.1; }
.news-story p { margin: 0; color: var(--muted); font-size: 18px; }
.news-story .news-link { margin-top: auto; padding-top: 10px; font-size: 16px; }

.mascot-trail { display: flex; min-height: 126px; align-items: flex-end; gap: 12px; margin: 20px 0 -22px; padding: 0 12px; pointer-events: none; }
.mascot-trail img { display: block; width: 120px; max-width: 28vw; height: auto; image-rendering: pixelated; filter: drop-shadow(0 10px 14px rgba(4, 5, 26, .32)); object-fit: contain; }
.mascot-trail--movies { justify-content: flex-end; padding-right: 12%; }
.mascot-trail--movies img { width: 126px; }
.mascot-trail--news { justify-content: flex-end; gap: 0; padding-right: 13%; }
.mascot-trail--news img:first-child { width: 112px; transform: rotate(-7deg); }
.mascot-trail--news img:last-child { width: 148px; margin-left: -20px; transform: translateY(-9px) rotate(5deg); }
.mascot-trail--faq { justify-content: flex-start; padding-left: 15%; }
.mascot-trail--faq img { width: 112px; }
.mascot-trail--contact { justify-content: center; gap: 0; }
.mascot-trail--contact img:first-child { width: 94px; transform: rotate(-8deg); }
.mascot-trail--contact img:last-child { width: 132px; margin-left: -9px; }
.mascot-trail--contact_messages { justify-content: flex-start; gap: 0; padding-left: 11%; }
.mascot-trail--contact_messages img { width: 104px; }
.mascot-trail--contact_messages img:nth-child(2) { width: 132px; transform: translateY(-8px); }
.mascot-trail--contact_messages img:nth-child(3) { width: 92px; }
.mascot-trail--movie { justify-content: center; }
.mascot-trail--movie img:first-child { width: 152px; }
.mascot-trail--movie img:last-child { width: 98px; transform: translateY(-5px) rotate(6deg); }
.mascot-trail--book { justify-content: flex-end; gap: 0; padding-right: 17%; }
.mascot-trail--book img:first-child { width: 94px; transform: rotate(-6deg); }
.mascot-trail--book img:nth-child(2) { width: 128px; margin-left: -12px; }
.mascot-trail--book img:last-child { width: 82px; margin-left: -13px; transform: translateY(-4px) rotate(7deg); }
.mascot-trail--profile { justify-content: center; }
.mascot-trail--profile img:first-child { width: 138px; }
.mascot-trail--profile img:last-child { width: 104px; transform: translateY(-6px) rotate(-5deg); }
.mascot-trail--tickets { justify-content: flex-start; padding-left: 22%; }
.mascot-trail--tickets img { width: 168px; }
.mascot-trail--login { justify-content: flex-start; padding-left: 20%; }
.mascot-trail--login img { width: 112px; }
.mascot-trail--register { justify-content: flex-end; gap: 0; padding-right: 20%; }
.mascot-trail--register img:first-child { width: 82px; transform: rotate(-7deg); }
.mascot-trail--register img:last-child { width: 128px; margin-left: -11px; }
.mascot-trail--leaderboard { justify-content: center; gap: 4px; }
.mascot-trail--leaderboard img:first-child { width: 96px; transform: rotate(-6deg); }
.mascot-trail--leaderboard img:nth-child(2) { width: 146px; }
.mascot-trail--leaderboard img:last-child { width: 104px; transform: rotate(6deg); }
.mascot-trail--admin { justify-content: flex-end; padding-right: 15%; }
.mascot-trail--admin img { width: 92px; }
.mascot-trail--admin_user { justify-content: flex-start; padding-left: 14%; }
.mascot-trail--admin_user img:first-child { width: 102px; transform: rotate(-5deg); }
.mascot-trail--admin_user img:last-child { width: 138px; }

/* Shared, gently bouncy feedback keeps controls consistent across pages. */
a,
button,
select,
summary,
nav a,
.btn,
.hero-cta,
.hero-secondary-link,
.genre-chip,
.genre-tile,
.movie-card,
.card,
.badge,
.cinema-ticket,
.news-lead,
.news-story,
.page-profile .panel,
.page-tickets .my-tickets-panel,
.home-genre-link,
.hero-featured-film,
.poster-play,
.seat:not(.taken) span {
    transition:
        transform var(--motion-time) var(--motion-bounce),
        box-shadow var(--motion-time) var(--motion-bounce),
        color var(--motion-time) ease,
        background-color var(--motion-time) ease,
        border-color var(--motion-time) ease,
        filter var(--motion-time) ease;
}

input:not([type="checkbox"]),
textarea {
    transition: border-color var(--motion-time) ease, box-shadow var(--motion-time) ease;
}

.movie-search { transition: border-color var(--motion-time) ease; }
.movie-search:hover { border-color: rgba(255, 156, 205, .36); }
.logo:hover { text-shadow: 0 0 16px rgba(255, 159, 206, .5); }

button:not(:disabled):hover,
input[type="submit"]:hover,
select:not(:disabled):hover,
summary:hover,
nav a:hover,
.btn:hover,
.hero-cta:hover,
.home-genre-link:hover,
.genre-chip:hover,
.genre-tile:hover,
.movie-card:hover,
.card:hover,
.badge:hover,
.cinema-ticket:hover,
.news-lead:hover,
.news-story:hover,
.page-profile .panel:hover,
.page-tickets .my-tickets-panel:hover,
.hero-featured-film:hover,
.seat:not(.taken):hover span {
    transform: var(--motion-hover);
    box-shadow: 0 9px 22px rgba(255, 159, 206, .18);
}

.hero-secondary-link:hover { transform: var(--motion-hover); }
.genre-tile.is-active:hover { box-shadow: inset 0 0 0 2px var(--genre-accent), 0 9px 22px rgba(255, 159, 206, .18); }

.badge:hover,
.cinema-ticket:hover,
.news-lead:hover,
.news-story:hover,
.page-profile .panel:hover,
.page-tickets .my-tickets-panel:hover {
    transform: translateY(-2px);
}

button:not(:disabled):active,
input[type="submit"]:active,
select:not(:disabled):active,
summary:active,
a:active,
nav a:active,
.logo:active,
.btn:active,
.hero-cta:active,
.hero-secondary-link:active,
.home-genre-link:active,
.genre-chip:active,
.genre-tile:active,
.movie-card:active,
.card:active,
.hero-featured-film:active,
.seat:not(.taken):active span {
    transform: var(--motion-press);
    box-shadow: 0 3px 9px rgba(255, 159, 206, .16);
    transition-duration: 90ms;
}

.logo:active,
.hero-secondary-link:active { box-shadow: none; }

button:focus-visible,
input[type="submit"]:focus-visible,
select:focus-visible,
summary:focus-visible,
a:focus-visible,
.movie-card:focus-visible,
.card:focus-visible,
.genre-chip:focus-visible,
.movie-sort select:focus-visible,
.faq-item summary:focus-visible {
    outline: 2px solid var(--neon-magenta);
    outline-offset: 3px;
}

.seat input:focus-visible + span { outline: 2px solid var(--neon-magenta); outline-offset: 3px; }
.poster-play { transition: opacity var(--motion-time) ease, transform var(--motion-time) var(--motion-bounce); }
td { transition: background-color var(--motion-time) ease; }
.mascot { animation: mascot-bob 3.6s ease-in-out infinite; }
.mascot-trail { animation: mascot-bob 3.6s ease-in-out infinite; }

@media (max-width: 600px) {
    .cinema-ticket { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 11px; }
    .cinema-ticket-seat { grid-column: 2; grid-row: 1; padding: 0 0 0 12px; }
    .cinema-ticket-price { grid-column: 2; grid-row: 2; }
    .cinema-ticket-main { grid-column: 1; grid-row: 1 / span 2; }
    .home-hero-showcase { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 2px; margin: 0 0 32px; padding: 31px 20px 20px; border-radius: 30px; text-align: center; }
    .home-hero-showcase .home-hero-copy { align-items: center; }
    .home-hero-showcase .eyebrow { max-width: 280px; margin-bottom: 12px; }
    .home-hero-showcase h1 { font-size: clamp(19px, 6vw, 25px); }
    .home-hero-description { max-width: 340px; font-size: 21px; }
    .home-hero-actions { justify-content: center; margin-top: 14px; }
    .home-hero-showcase .hero-perks { justify-content: center; margin-top: 15px; }
    .home-hero-showcase .hero-perks span { font-size: 11px; }
    .home-hero-showcase .hero-perks span + span::before { padding-right: 8px; }
    .home-hero-art { min-height: 260px; }
    .home-hero-showcase .mascot { width: 205px; height: 215px; margin: -22px 0 0; }
    .hero-featured-film { right: 0; bottom: 0; min-width: 200px; padding: 9px 13px; text-align: left; }
    .home-genres, .home-picks { margin-bottom: 32px; }
    .home-genre-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .home-genre-link { min-height: 100px; padding: 11px 13px; border-radius: 20px; }
    .home-genre-name { font-size: 21px; }
    .home-section-heading { align-items: end; gap: 8px; }
    .home-section-heading h2 { font-size: 9px; }
    .home-section-heading > a { font-size: 15px; }
    .home-picks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
    .movies-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; margin: 0 0 24px; padding: 26px 21px; border-radius: 27px; }
    .movies-hero h1 { font-size: 20px; }
    .movies-hero-copy > p:last-child { font-size: 20px; }
    .movies-hero-side { display: none; }
    .genre-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
    .genre-tile { min-height: 96px; padding: 10px 12px; border-radius: 19px; }
    .catalog-controls { align-items: stretch; flex-direction: column; }
    .catalog-controls .movie-search { width: 100%; }
    .catalog-controls .movie-sort { justify-content: space-between; }
    .catalog-controls .movie-sort select { flex: 1; }
    .faq-list { margin-right: 0; margin-left: 0; padding: 4px 13px; }
    .faq-item summary { min-height: 48px; font-size: 19px; }
    .contact-page .content-heading { margin: 4px 0 16px; }
    .contact-page .contact-form { padding: 16px 14px; }
    .news-masthead { margin-right: 0; margin-left: 0; }
    .news-masthead-stamp { width: 54px; height: 54px; font-size: 7px; }
    .news-masthead p:last-child { max-width: 270px; font-size: 17px; }
    .news-lead { grid-template-columns: minmax(0, 1fr); border-radius: 25px; }
    .news-lead-copy { padding: 21px 19px 18px; }
    .news-lead h2 { font-size: 13px; }
    .news-lead-art { grid-row: 1; min-height: 150px; }
    .news-arcade-art { width: 142px; height: 151px; gap: 6px; padding: 10px; border-radius: 19px; }
    .news-arcade-screen { min-height: 84px; padding: 8px; }
    .news-arcade-screen span { font-size: 8px; }
    .news-arcade-screen strong { font-size: 8px; }
    .news-arcade-dpad { font-size: 25px; }
    .news-arcade-buttons { font-size: 15px; }
    .news-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .news-story { min-height: 0; padding: 15px 16px; }
    .news-section-heading { margin-top: 22px; }
    .mascot-trail { min-height: 96px; margin-top: 16px; padding-right: 8px; padding-left: 8px; }
    .mascot-trail--news { padding-right: 9%; }
    .mascot-trail--contact { justify-content: flex-end; padding-right: 12%; }
    .mascot-trail--contact_messages { padding-left: 4%; }
    .mascot-trail--book { padding-right: 7%; }
    .mascot-trail--tickets { padding-left: 12%; }
    .mascot-trail--leaderboard { gap: 0; }
    .mascot-trail--leaderboard img:nth-child(2) { width: 118px; }
}

    .showtime-heading { margin-bottom: 16px; }
    .showtime-heading h1 { margin-top: 0; }
    .showtime-layout {
        display: grid;
        grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
        gap: 0 12px;
        align-items: start;
    }
    .showtime-side { min-width: 0; }
    .datepicker { padding: 18px 16px 16px; }
    .datepicker-header { display: flex; gap: 8px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
    .datepicker-nav {
        display: grid;
        flex: none;
        width: 40px;
        height: 40px;
        place-items: center;
        color: #16133f;
        background: linear-gradient(135deg, #f6eaff, #ffc0df);
        border-radius: 50%;
        box-shadow: 0 7px 20px rgba(198, 145, 255, .2);
        font-size: 28px;
        line-height: 1;
        transition: transform .12s;
    }
    .datepicker-nav:hover { color: #16133f; transform: translateY(-2px); }
    .datepicker-jump { display: flex; flex: 1; gap: 8px; justify-content: center; margin: 0; }
    .datepicker-jump select {
        width: auto;
        min-width: 0;
        margin: 0;
        padding: 6px 12px;
        border-radius: 14px;
        cursor: pointer;
        font-size: 21px;
    }
    .datepicker-weekdays,
    .datepicker-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
    .datepicker-weekdays { margin-bottom: 8px; color: var(--muted); text-align: center; text-transform: uppercase; }
    .datepicker-day {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 2px;
        align-items: center;
        justify-content: center;
        min-height: 50px;
        padding: 4px 0;
        color: var(--ink);
        background: rgba(9, 12, 45, .55);
        border: 1px solid rgba(143, 151, 255, .14);
        border-radius: 12px;
        cursor: pointer;
        font: inherit;
        font-size: 21px;
        line-height: 1;
        transition: transform .12s, background-color .12s, border-color .12s;
    }
    .datepicker-day:hover { background: rgba(169, 234, 255, .16); border-color: rgba(169, 234, 255, .5); transform: translateY(-2px); }
    .datepicker-day:focus-visible { outline: 2px solid var(--neon-cyan); outline-offset: 2px; }
    .datepicker-day.is-outside { color: rgba(190, 184, 223, .38); background: transparent; border-color: transparent; }
    .datepicker-day.is-today { border-color: var(--neon-magenta); box-shadow: inset 0 0 0 1px rgba(255, 159, 206, .5); }
    .datepicker-day.is-selected,
    .datepicker-day.is-selected:hover {
        color: #16133f;
        background: linear-gradient(135deg, #f6eaff, #ffabd4);
        border-color: transparent;
        box-shadow: 0 8px 20px rgba(255, 114, 173, .3);
        transform: none;
    }
    .datepicker-dots { display: flex; gap: 3px; height: 6px; }
    .datepicker-dots i {
        width: 6px;
        height: 6px;
        background: hsl(var(--event-hue), 85%, 68%);
        border-radius: 50%;
    }
    .datepicker-day.is-selected .datepicker-dots i { background: hsl(var(--event-hue), 70%, 38%); }
    .datepicker-footer { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-top: 14px; font-size: 17px; }
    .datepicker-footer .btn { margin: 0; }
    .datepicker-legend {
        display: inline-block;
        width: 8px;
        height: 8px;
        margin-right: 4px;
        background: var(--neon-cyan);
        border-radius: 50%;
    }
    .day-panel { margin-bottom: 0; }
    .day-detail .eyebrow { margin: 0 0 2px; color: var(--neon-cyan); font-size: 16px; }
    .day-detail h2 { margin: 0 0 14px; }
    .day-detail-summary {
        display: flex;
        gap: 12px;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        list-style: none;
    }
    .day-detail-summary::-webkit-details-marker { display: none; }
    .day-detail-summary:focus-visible { outline: 2px solid var(--neon-cyan); outline-offset: 4px; border-radius: 4px; }
    .day-detail-summary > div:first-child { min-width: 0; }
    .day-detail-summary h2 { margin-bottom: 0; }
    .day-detail-summary::after { flex: none; color: var(--neon-cyan); content: "+"; font-size: 24px; }
    .day-detail[open] > .day-detail-summary::after { content: "\2212"; }
    .day-detail-count { color: var(--muted); font-size: 16px; white-space: nowrap; }
    .day-detail[open] > .day-list,
    .day-detail[open] > .day-empty { margin-top: 14px; }
    .day-empty { margin: 8px 0 4px; padding: 16px; color: var(--muted); text-align: center; border: 1px dashed rgba(169, 234, 255, .3); border-radius: 14px; }
    .day-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
    .day-show {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 12px;
        align-items: center;
        padding: 10px 12px;
        background: linear-gradient(140deg, hsla(var(--event-hue), 61%, 44%, .5), rgba(11, 16, 52, .8));
        border: 1px solid hsla(var(--event-hue), 78%, 76%, .4);
        border-left: 4px solid hsl(var(--event-hue), 85%, 74%);
        border-radius: 14px;
    }
    .day-show time { color: hsl(var(--event-hue), 92%, 88%); font-size: 26px; line-height: 1; }
    .day-show strong { display: block; font-size: 21px; line-height: 1.1; overflow-wrap: anywhere; }
    .day-show div span { color: var(--muted); font-size: 17px; }
    .day-show-meta { color: var(--neon-cyan); font-size: 17px; line-height: 1.1; text-align: right; }
    .showtime-form-panel { margin-top: 12px; margin-bottom: 0; padding: 22px; }
    .showtime-form-heading { display: flex; gap: 13px; align-items: center; margin-bottom: 20px; }
    .showtime-form-heading h2 { margin: 0; }
    .showtime-form-heading .eyebrow { margin: 0 0 4px; color: var(--neon-cyan); font-size: 15px; }
    .showtime-form-icon {
        display: grid;
        width: 46px;
        height: 46px;
        place-items: center;
        color: #17123e;
        background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
        border-radius: 15px;
        font-size: 28px;
    }
    .showtime-form {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        align-items: start;
    }
    .showtime-form label { display: block; }
    .showtime-form input,
    .showtime-form select { min-height: 46px; border-radius: 13px; }
    .showtime-form-date { color: var(--muted); font-size: 17px; text-transform: uppercase; letter-spacing: .5px; }
    .showtime-form-date strong {
        display: block;
        margin-top: 6px;
        padding: 9px 11px;
        color: #16133f;
        background: linear-gradient(135deg, #f6eaff, #ffc0df);
        border-radius: 13px;
        font-size: 21px;
        font-weight: 400;
        text-transform: none;
    }
    .time-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
    .time-chip {
        padding: 2px 12px;
        color: var(--neon-cyan);
        background: rgba(169, 234, 255, .08);
        border: 1px solid rgba(169, 234, 255, .32);
        border-radius: 999px;
        cursor: pointer;
        font: inherit;
        font-size: 17px;
    }
    .time-chip:hover { color: var(--ink); background: rgba(169, 234, 255, .2); }
    .showtime-submit { grid-column: 1 / -1; min-height: 46px; margin: 0; }
    @media (max-width: 820px) {
        .showtime-layout { grid-template-columns: minmax(0, 1fr); }
        .datepicker { max-width: 460px; margin-right: auto; margin-left: auto; }
    }
    @media (max-width: 460px) {
        .showtime-form { grid-template-columns: minmax(0, 1fr); }
        .datepicker-jump select { font-size: 18px; }
        .datepicker-day { min-height: 44px; font-size: 19px; }
        .day-show { grid-template-columns: auto minmax(0, 1fr); }
        .day-show-meta { grid-column: 2; text-align: left; }
    }