/* ================================================================
   SUPERMAFUN — MOTION SYSTEM (2026-12-03, future-tech museum layer)
   Lawrence's direction (02:11–02:19 EST): fully animated, high-end,
   futuristic — entering a museum of the future; Las Vegas fifty
   years on; BRIGHT, WARM, POSITIVE only (Tomorrowland optimism,
   Fifth Element saturated joy, Tron clean luminous order — never
   dystopia, never decay). Grammar: ~/future-world-film-grammar.
   HARD LIMITS kept: the master painting's box is NEVER transformed
   (natural aspect, §86/G7) — only light layers around it move;
   motion is ambience/experience only — NO game mechanics, no
   chance elements, no virtual currency (legal memo separate).
   All motion is transform/opacity (GPU), pauses off-screen, and
   honours prefers-reduced-motion. Base stays §135 daytime-warm.
   ================================================================ */

/* — (e) RESPONSIVE class: exhibits light up as the visitor arrives.
   Initial states exist only when JS is on (.js on <html>), so a
   no-JS visit — and every crawler — sees the full page at rest. */
.js .rv{opacity:0;transform:translateY(16px);
  transition:opacity .7s ease,transform .7s cubic-bezier(.22,.61,.21,1)}
.js .rv.in{opacity:1;transform:none}
.js .rv-d1{transition-delay:.05s}
.js .rv-d2{transition-delay:.11s}
.js .rv-d3{transition-delay:.17s}

/* — (f) INTERFACE-IN-ENVIRONMENT: cards are light-framed exhibits.
   The frame warms when the hand approaches; the exhibit itself
   never rescales (subjects stay whole). */
.venue-card,.district-spread{transition:box-shadow .45s ease}
.venue-card:hover,.venue-card:focus-within,
.district-spread:hover,.district-spread:focus-within{
  box-shadow:0 22px 48px -20px rgba(77,20,140,.30),
             0 6px 18px -8px rgba(243,112,33,.22),
             0 0 0 1px rgba(245,200,107,.45)}
/* (d) ONE SIGNATURE LIGHT PER WORLD — the hub worlds tint their
   frames with their registered accent, and no other's. */
html[data-world="drink"] .venue-card:hover,html[data-world="drink"] .venue-card:focus-within{
  box-shadow:0 22px 48px -20px rgba(77,20,140,.45),0 0 0 1px rgba(77,20,140,.35)}
html[data-world="dine"] .venue-card:hover,html[data-world="dine"] .venue-card:focus-within{
  box-shadow:0 22px 48px -20px rgba(243,112,33,.50),0 0 0 1px rgba(243,112,33,.40)}
html[data-world="play"] .venue-card:hover,html[data-world="play"] .venue-card:focus-within{
  box-shadow:0 22px 48px -20px rgba(16,160,152,.45),0 0 0 1px rgba(16,160,152,.35)}

/* — (c) LIGHT AS ARCHITECTURE at the entrance: a warm aura field
   breathes around the master painting (gold upper light, nebula
   violet lower — the painting's own sky, continued as light).
   The painting itself is never touched. */
.wall-aura{position:absolute;inset:0;z-index:2;pointer-events:none;
  background:
    radial-gradient(58% 46% at 24% 8%,rgba(245,200,107,.34),transparent 70%),
    radial-gradient(52% 44% at 82% 96%,rgba(154,107,255,.26),transparent 70%),
    radial-gradient(36% 30% at 88% 6%,rgba(255,244,214,.30),transparent 70%);
  mix-blend-mode:screen;opacity:.6;
  animation:mt-breathe 9s ease-in-out infinite alternate;will-change:opacity}
@keyframes mt-breathe{from{opacity:.45}to{opacity:.85}}
.wall-motes{position:absolute;inset:0;z-index:2;pointer-events:none}
/* the ceremonial veil: on entry the house lights come up once —
   a warm wash that lifts and is gone (Tomorrowland's reveal). */
.wall-veil{position:absolute;inset:0;z-index:4;pointer-events:none;
  background:linear-gradient(180deg,#FDF8EE 0%,rgba(253,248,238,.72) 55%,rgba(253,248,238,.25) 100%);
  opacity:1;transition:opacity 1.5s ease .15s}
.wall-veil.lift{opacity:0}
.wall-foot{position:relative;z-index:3}

/* hero figures inside the rooms carry the same light weather —
   a slow warm sweep, far plane only, ignorable (grammar e-1). */
.city-scene,.ev-pano{position:relative}
.city-scene::after,.ev-pano::after{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:2;
  background:linear-gradient(112deg,transparent 34%,rgba(255,244,214,.14) 48%,rgba(154,107,255,.08) 53%,transparent 68%);
  background-size:280% 100%;
  animation:mt-shimmer 13s ease-in-out infinite}
@keyframes mt-shimmer{0%,20%{background-position:120% 0}60%,100%{background-position:-60% 0}}

/* — Ceremonial, once: light passes over the doorway wordmark when
   the house opens. The canonical colour asset itself is untouched;
   the light moves, the letters don't. */
.rd-name{position:relative;overflow:hidden;border-radius:7px}
.rd-name::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(105deg,transparent 32%,rgba(255,255,255,.55) 50%,transparent 68%);
  transform:translateX(-130%);
  animation:mt-sheen 1.9s ease .45s 2}
@keyframes mt-sheen{to{transform:translateX(130%)}}
/* the doorway disc breathes light, very slowly (ambient, ignorable) */
.rd-disc{animation:mt-disc 7s ease-in-out infinite alternate}
@keyframes mt-disc{from{filter:drop-shadow(0 0 0 rgba(245,200,107,0))}
  to{filter:drop-shadow(0 0 9px rgba(245,200,107,.55))}}

/* — Vega's presence: a warm aura breathes behind her portrait —
   aliveness through light and framing only (v17 pixels untouched). */
.vega-card{position:relative}
.vega-card::before{
  content:"";position:absolute;inset:-4% -3%;z-index:0;pointer-events:none;
  background:radial-gradient(closest-side at 24% 42%,rgba(245,200,107,.38),transparent 72%);
  opacity:.55;animation:mt-breathe 8s ease-in-out infinite alternate}
.vega-card>*{position:relative;z-index:1}

/* — Reduced motion: the house is still, and fully itself. */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .js .rv{opacity:1;transform:none}
  .wall-veil{display:none}
}
