/* ==========================================================================
   MOVIE HOME ROMA - INFINITY WAR POSTER PALETTE & DOCTOR STRANGE FIRE PORTAL
   ========================================================================== */
:root {
  --bg-abyss: #060b16;
  --bg-deep: #0e192e;
  --bg-card: rgba(12, 20, 38, 0.86);
  --poster-gold: #f3c65f;
  --poster-amber: #ff9f1c;
  --poster-fire: #ff5500;
  --poster-crimson: #d62828;
  --poster-nebula: #6ec6ff;
  --text-main: #fff8e7;
  --text-muted: #c2cadb;
  --border-gold: rgba(243, 198, 95, 0.45);
  --border-amber: rgba(255, 159, 28, 0.48);
  --glow-gold: 0 0 28px rgba(243, 198, 95, 0.36);
  --glow-amber: 0 0 36px rgba(255, 159, 28, 0.38);
  --font-display: 'Cinzel', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --ease-cinema: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background: var(--bg-abyss);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  background:
    radial-gradient(ellipse at 50% 24%, rgba(255, 159, 28, 0.16) 0%, transparent 48%),
    radial-gradient(ellipse at 20% 55%, rgba(110, 198, 255, 0.12) 0%, transparent 48%),
    radial-gradient(ellipse at 82% 55%, rgba(255, 85, 0, 0.14) 0%, transparent 48%),
    var(--bg-abyss);
  color: var(--text-main);
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  position: relative;
}

main, section, footer, header {
  max-width: 100%;
}

/* ==========================================================================
   SOLO SFONDO ANIMATO CON LOCANDINE DEI FILM AVENGERS IN MOVIMENTO
   ========================================================================== */
.avengers-posters-stage {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.cosmic-nebula-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 159, 28, 0.16) 0%, transparent 52%),
    linear-gradient(180deg, rgba(6, 11, 22, 0.78) 0%, rgba(6, 11, 22, 0.54) 50%, rgba(6, 11, 22, 0.86) 100%);
}

.poster-marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-left: 28px;
  width: max-content;
  z-index: 1;
  animation: posterReelScroll 46s linear infinite;
}

.poster-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes posterReelScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.bg-movie-reel-poster {
  position: relative;
  flex: 0 0 265px;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  background-size: cover;
  background-position: center top;
  border: 2px solid rgba(243, 198, 95, 0.34);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.72), 0 0 24px rgba(255, 159, 28, 0.16);
  opacity: 0.42;
  animation: posterKenBurns 9s ease-in-out infinite alternate;
}

.bg-movie-reel-poster:nth-child(even) {
  transform: translateY(-22px);
  animation-delay: -3.5s;
}

.bg-movie-reel-poster:nth-child(3n) {
  transform: translateY(22px);
  animation-delay: -6s;
}

@keyframes posterKenBurns {
  0% { filter: saturate(1.15) contrast(1.05) brightness(0.85); }
  100% { filter: saturate(1.38) contrast(1.12) brightness(1.05); }
}

.reel-poster-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 10px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--poster-gold);
  background: linear-gradient(0deg, rgba(6, 11, 22, 0.96) 0%, rgba(6, 11, 22, 0.45) 75%, transparent 100%);
}

/* Canvas Scintille & Cursor Aura */
#avengersSparkCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.avengers-cursor-aura {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 198, 95, 0.16) 0%, rgba(255, 120, 0, 0.09) 42%, transparent 72%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  mix-blend-mode: screen;
}

/* Barre Oro / Ambra / Nebulosa */
.cinema-letterbox-top,
.cinema-letterbox-bottom {
  position: fixed;
  left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, #0b162c, #f3c65f, #ff9f1c, #ff5500, #d62828, #6ec6ff, #f3c65f);
  background-size: 300% 100%;
  animation: posterBarFlow 9s linear infinite;
  z-index: 2000;
}
.cinema-letterbox-top { top: 0; }
.cinema-letterbox-bottom { bottom: 0; }

@keyframes posterBarFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: all 0.3s var(--ease-cinema); }

.container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 3;
}

/* Typography */
h1, h2, h3, h4, .font-avengers {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.18;
  overflow-wrap: break-word;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(243, 198, 95, 0.1);
  border: 1px solid var(--border-gold);
  box-shadow: 0 0 18px rgba(243, 198, 95, 0.2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--poster-gold);
  margin-bottom: 18px;
  max-width: 100%;
}

.avengers-gradient-text {
  background: linear-gradient(120deg, #fff8e7 0%, #f3c65f 38%, #ff9f1c 70%, #ff5500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 22px rgba(255, 120, 0, 0.36));
}

/* Buttons */
.btn-avengers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #090e1a;
  background: linear-gradient(135deg, #f3c65f 0%, #ff9f1c 100%);
  border: 1px solid #fff3c4;
  box-shadow: 0 0 25px rgba(243, 198, 95, 0.42);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-cinema), box-shadow 0.35s var(--ease-cinema);
}

.btn-avengers::before {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 70%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.72), transparent);
  transform: skewX(-25deg);
  transition: left 0.65s var(--ease-cinema);
}

.btn-avengers:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 38px rgba(243, 198, 95, 0.72), 0 0 55px rgba(255, 120, 0, 0.45);
  color: #090e1a;
}
.btn-avengers:hover::before { left: 150%; }

.btn-sm-poster {
  padding: 9px 18px;
  font-size: 0.74rem;
}

.btn-avengers-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-main);
  background: rgba(14, 25, 46, 0.75);
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(10px);
}

.btn-avengers-ghost:hover {
  background: rgba(243, 198, 95, 0.16);
  border-color: var(--poster-amber);
  box-shadow: var(--glow-amber);
  color: #ffffff;
}

/* Top Bar & Floating Glass Header */
.top-strip {
  background: rgba(6, 11, 22, 0.94);
  border-bottom: 1px solid rgba(243, 198, 95, 0.2);
  font-size: 0.79rem;
  color: var(--text-muted);
  padding: 10px 0 8px;
  margin-top: 6px;
  position: relative;
  z-index: 1001;
}
.top-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.top-strip-links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.top-strip-links a:hover { color: var(--poster-gold); }
.top-strip-links i { color: var(--poster-gold); margin-right: 6px; }

.site-header {
  position: sticky;
  top: 6px;
  z-index: 1000;
  background: rgba(9, 16, 32, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(243, 198, 95, 0.28);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 14px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
}

.brand-logo img {
  height: 50px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(243, 198, 95, 0.35));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-menu a {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--poster-gold), var(--poster-amber));
  box-shadow: 0 0 10px var(--poster-gold);
  transition: width 0.35s var(--ease-cinema);
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--poster-gold);
}
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.phone-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(243, 198, 95, 0.08);
  border: 1px solid var(--border-gold);
  font-size: 0.84rem;
  white-space: nowrap;
}
.phone-pill i { color: var(--poster-gold); }
.phone-pill span { display: block; font-size: 0.68rem; color: var(--text-muted); line-height: 1; }
.phone-pill strong { color: #ffffff; }

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: rgba(243, 198, 95, 0.14);
  border: 1px solid var(--border-gold);
  color: var(--poster-gold);
  font-size: 1.15rem;
  border-radius: 10px;
  cursor: pointer;
}

/* ==========================================================================
   VIDEO BATTAGLIA CON THANOS IN APERTURA
   ========================================================================== */
.thanos-battle-opening-box {
  margin-top: 24px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(6, 11, 22, 0.95);
  max-width: 560px;
}

.battle-opening-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 14px;
  background: linear-gradient(90deg, rgba(255, 85, 0, 0.25), rgba(243, 198, 95, 0.2));
  border-bottom: 1px solid rgba(243, 198, 95, 0.35);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.battle-live-tag {
  color: var(--poster-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.battle-source-link {
  color: var(--poster-nebula);
  font-size: 0.68rem;
  white-space: nowrap;
}
.battle-source-link:hover { color: var(--poster-gold); }

.thanos-battle-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #040710;
}

.thanos-battle-media iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.thanos-battle-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 14px;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e6cfa0;
  background: rgba(9, 16, 32, 0.96);
}

.thanos-battle-footer a {
  color: var(--poster-amber);
  font-weight: 700;
}
.thanos-battle-footer a:hover { color: var(--poster-gold); text-decoration: underline; }

/* ==========================================================================
   EFFETTO DOCTOR STRANGE: PORTALE DI FUOCO MISTICO GRANDE SU PC
   ========================================================================== */
.hero-room-portal-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  min-height: 560px;
}

.strange-fire-portal {
  position: relative;
  width: clamp(500px, 43vw, 660px);
  max-width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.strange-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.strange-ring-outer {
  inset: 0;
  border: 4px dashed rgba(255, 159, 28, 0.9);
  box-shadow:
    0 0 48px rgba(255, 115, 0, 0.85),
    0 0 110px rgba(243, 198, 95, 0.45),
    inset 0 0 42px rgba(255, 85, 0, 0.5);
  animation: strangeSpinCW 14s linear infinite;
}

.strange-ring-middle {
  inset: 24px;
  border: 3px solid transparent;
  border-top-color: #fff3b0;
  border-right-color: #ff9f1c;
  border-bottom-color: #ff5500;
  border-left-color: #f3c65f;
  box-shadow:
    0 0 38px rgba(255, 140, 0, 0.88),
    inset 0 0 32px rgba(255, 180, 50, 0.5);
  animation: strangeSpinCCW 9s linear infinite;
}

.strange-ring-runes {
  inset: 46px;
  border: 2px dotted rgba(255, 220, 120, 0.95);
  background: conic-gradient(
    from 0deg,
    rgba(255, 85, 0, 0.34),
    rgba(243, 198, 95, 0.1),
    rgba(255, 159, 28, 0.4),
    rgba(255, 85, 0, 0.08),
    rgba(255, 159, 28, 0.34)
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 20px), #000 calc(100% - 19px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 20px), #000 calc(100% - 19px));
  animation: strangeSpinCW 19s linear infinite;
}

.strange-fire-sparks {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 230, 130, 0.98) 0 5px, transparent 18px),
    radial-gradient(circle at 92% 28%, rgba(255, 120, 0, 0.95) 0 4px, transparent 16px),
    radial-gradient(circle at 85% 82%, rgba(243, 198, 95, 0.98) 0 5px, transparent 18px),
    radial-gradient(circle at 22% 90%, rgba(255, 85, 0, 0.95) 0 4px, transparent 16px),
    radial-gradient(circle at 6% 42%, rgba(255, 180, 50, 0.98) 0 5px, transparent 18px);
  filter: blur(1.2px);
  pointer-events: none;
  animation: strangeSpinCCW 7s linear infinite;
}

@keyframes strangeSpinCW {
  from { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.025); }
  to { transform: rotate(360deg) scale(1); }
}

@keyframes strangeSpinCCW {
  from { transform: rotate(360deg) scale(1.02); }
  50% { transform: rotate(180deg) scale(0.985); }
  to { transform: rotate(0deg) scale(1.02); }
}

.strange-portal-core {
  position: relative;
  z-index: 4;
  width: calc(100% - 116px);
  height: calc(100% - 116px);
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 210, 110, 0.9);
  box-shadow:
    0 0 60px rgba(255, 120, 0, 0.72),
    inset 0 0 36px rgba(0, 0, 0, 0.88);
  background: #091020;
}

.strange-portal-core img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.22) contrast(1.08);
  transition: opacity 0.35s ease, transform 0.7s var(--ease-cinema);
}

.strange-fire-portal:hover .strange-portal-core img {
  transform: scale(1.06);
}

.strange-portal-caption {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 68%, rgba(6, 11, 22, 0.92) 0%, rgba(6, 11, 22, 0.52) 55%, rgba(6, 11, 22, 0.25) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: 24px 28px 32px;
}

.strange-frame-aura {
  box-shadow:
    0 0 0 2px rgba(255, 159, 28, 0.65),
    0 0 32px rgba(255, 95, 0, 0.42),
    0 24px 55px rgba(0, 0, 0, 0.85);
}

.strange-cta-ring {
  border: 1.5px solid rgba(255, 159, 28, 0.68) !important;
  box-shadow:
    0 0 38px rgba(255, 110, 0, 0.32),
    0 0 75px rgba(243, 198, 95, 0.18),
    0 25px 60px rgba(0, 0, 0, 0.78) !important;
}

.poster-badge-live {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  background: rgba(6, 11, 22, 0.92);
  border: 1px solid var(--poster-gold);
  color: var(--poster-gold);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 0 15px rgba(255, 140, 0, 0.45);
  white-space: nowrap;
}

.poster-top-line {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--poster-gold);
  margin-bottom: 4px;
}

.poster-hero-headline {
  font-size: clamp(1.35rem, 1.8vw, 1.85rem);
  color: #fff8e7;
  margin-bottom: 4px;
}

.poster-hero-sub {
  font-size: 0.82rem;
  color: #e6cfa0;
}

/* ==========================================================================
   HERO CINEMATOGRAFICO & SUBPAGE HERO
   ========================================================================== */
.hero-avengers {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 64px 0 88px;
}

.subpage-hero {
  position: relative;
  padding: 84px 0 76px;
  overflow: hidden;
  border-bottom: 1px solid rgba(243, 198, 95, 0.24);
}

.subpage-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.34;
  filter: saturate(1.18) contrast(1.06);
}

.subpage-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.subpage-breadcrumb a:hover { color: var(--poster-gold); }
.subpage-breadcrumb strong { color: var(--poster-gold); }

.subpage-title {
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  margin-bottom: 16px;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.85);
}

.hero-slides { position: absolute; inset: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.5s var(--ease-cinema), visibility 1.5s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }

.hero-slide-bg {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: center;
  transform: scale(1.12);
  transition: transform 9s ease-out;
  filter: saturate(1.22) contrast(1.08);
}
.hero-slide.is-active .hero-slide-bg { transform: scale(1); }

.hero-avengers-grade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 35%, rgba(255, 159, 28, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 25% 75%, rgba(110, 198, 255, 0.18) 0%, transparent 50%),
    linear-gradient(100deg, rgba(6, 11, 22, 0.94) 0%, rgba(12, 20, 38, 0.78) 52%, rgba(6, 11, 22, 0.44) 100%),
    linear-gradient(0deg, var(--bg-abyss) 0%, transparent 25%);
}

.avengers-energy-streaks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    -26deg,
    rgba(243, 198, 95, 0.032) 0px,
    rgba(243, 198, 95, 0.032) 38px,
    transparent 38px,
    transparent 125px
  );
  animation: streaksDrift 16s linear infinite;
  z-index: 2;
}
@keyframes streaksDrift {
  0% { transform: translateX(-60px); }
  100% { transform: translateX(60px); }
}

.hero-grid-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.24fr);
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 4;
}

.hero-grid-layout > div {
  min-width: 0;
}

.hero-title {
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  margin-bottom: 18px;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.88);
}

.hero-lead {
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  color: #e2e8f5;
  margin-bottom: 24px;
  max-width: 580px;
}

.hero-cta-group { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hero-slider-controls {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-dot {
  width: 38px; height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.22);
  border: none;
  cursor: pointer;
  transition: all 0.35s ease;
}
.hero-dot.active {
  width: 64px;
  background: linear-gradient(90deg, var(--poster-gold), var(--poster-amber));
  box-shadow: 0 0 14px var(--poster-gold);
}

/* ==========================================================================
   SEZIONI CAMERE REALI, REGOLE DELLA CASA & CARD
   ========================================================================== */
.section-pad { padding: 100px 0; position: relative; }
.section-band-dark {
  border-top: 1px solid rgba(243, 198, 95, 0.16);
  border-bottom: 1px solid rgba(255, 159, 28, 0.2);
  background: rgba(6, 11, 22, 0.62);
}
.section-header { max-width: 760px; margin-bottom: 56px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(1.85rem, 3.5vw, 3rem); margin-bottom: 16px; }
.section-desc { color: var(--text-muted); font-size: 1.05rem; }

.about-lead-gold {
  color: var(--poster-gold);
  font-size: 1.06rem;
  margin-bottom: 16px;
}

.avengers-poster-frame {
  position: relative;
  border: 2px solid rgba(243, 198, 95, 0.5);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.88),
    0 0 26px rgba(255, 159, 28, 0.18);
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.rules-card {
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}

.rules-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(243, 198, 95, 0.24);
}

.rules-card-head h3 {
  font-size: 1.26rem;
  color: #fff8e7;
}

.rules-icon-pill {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(243, 198, 95, 0.14);
  border: 1px solid var(--border-gold);
  color: var(--poster-gold);
  flex-shrink: 0;
}

.rules-icon-danger {
  background: rgba(214, 40, 40, 0.18);
  border-color: rgba(214, 40, 40, 0.65);
  color: #ff6b6b;
}

.rules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rules-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: #e4eaf7;
  line-height: 1.55;
}

.rules-list li i {
  color: var(--poster-gold);
  margin-top: 4px;
  flex-shrink: 0;
}

.rules-list li strong {
  color: #fff3c4;
}

.rules-list-danger li i {
  color: #ff6b6b;
}

/* Griglia fissa 3 colonne (3 box sopra + 3 box sotto su desktop) */
.posters-wall-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.movie-poster-unit {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(9, 16, 32, 0.92);
  backdrop-filter: blur(10px);
  transition: transform 0.45s var(--ease-cinema), border-color 0.45s ease, box-shadow 0.45s ease;
  display: flex;
  flex-direction: column;
}

.movie-poster-unit:hover {
  transform: translateY(-10px) scale(1.015);
  border-color: var(--poster-gold);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.92), 0 0 35px rgba(243, 198, 95, 0.34);
}

.poster-visual-frame {
  position: relative;
  height: 360px;
  overflow: hidden;
}

.poster-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-cinema), filter 0.6s ease;
  filter: saturate(1.18) contrast(1.06);
}


.movie-poster-unit:hover .poster-visual-frame img {
  transform: scale(1.08);
}

.poster-visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,11,22,0.22) 0%, rgba(9,16,32,0.45) 50%, #091020 100%);
  z-index: 1;
}

.poster-top-credits {
  position: absolute;
  top: 14px; left: 16px; right: 16px;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.poster-studio-stamp {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(6, 11, 22, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(243, 198, 95, 0.5);
  color: var(--poster-gold);
}

.poster-price-pill {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f3c65f, #d9822b);
  border: 1px solid #fff3c4;
  color: #090e1a;
  white-space: nowrap;
}

.poster-title-overlay {
  position: absolute;
  bottom: 14px; left: 22px; right: 22px;
  z-index: 5;
}

.poster-tagline {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--poster-gold);
  margin-bottom: 4px;
}

.poster-movie-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
}

.poster-billing-block {
  padding: 18px 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: linear-gradient(180deg, rgba(9, 16, 32, 0.96) 0%, rgba(12, 20, 38, 0.99) 100%);
}

.poster-credits-line {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d8c393;
  border-top: 1px solid rgba(243, 198, 95, 0.24);
  border-bottom: 1px solid rgba(243, 198, 95, 0.24);
  padding: 8px 0;
  margin-bottom: 14px;
  text-align: center;
}

.poster-synopsis {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.poster-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.link-avengers {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--poster-gold);
}
.link-avengers:hover { gap: 13px; }

/* About Section */
.about-avengers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.avengers-dual-frames {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.avengers-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}
.avengers-frame img {
  width: 100%; height: 420px;
  object-fit: cover;
  transition: transform 0.8s var(--ease-cinema);
}
.avengers-frame:hover img { transform: scale(1.07); }

.avengers-orb-badge {
  position: absolute;
  bottom: -22px; left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  background: rgba(9, 16, 32, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid var(--poster-gold);
  box-shadow: var(--glow-gold);
  padding: 14px 24px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.avengers-orb-badge strong {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--poster-gold);
  line-height: 1;
}
.avengers-orb-badge span {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Metrics Strip */
.metrics-avengers {
  background: linear-gradient(135deg, rgba(12, 22, 46, 0.88) 0%, rgba(26, 17, 36, 0.88) 100%);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-amber);
  padding: 64px 0;
  backdrop-filter: blur(12px);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.metric-card {
  padding: 24px 16px;
  border-radius: 14px;
  background: rgba(6, 11, 22, 0.62);
  border: 1px solid rgba(243, 198, 95, 0.22);
}

.metric-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3.1rem);
  color: var(--poster-gold);
  margin-bottom: 6px;
}

.metric-lbl {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

/* Sister Structures & Testimonials */
.three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.glass-avengers-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s var(--ease-cinema), border-color 0.4s ease, box-shadow 0.4s ease;
}
.glass-avengers-card:hover {
  transform: translateY(-6px);
  border-color: var(--poster-gold);
  box-shadow: var(--glow-gold);
}

.poster-card-media {
  position: relative;
  height: 255px;
  overflow: hidden;
}
.poster-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-cinema);
}
.glass-avengers-card:hover .poster-card-media img { transform: scale(1.08); }

.card-body-pad { padding: 24px; }
.card-title-lg { font-size: 1.32rem; margin-bottom: 8px; }
.card-addr-muted { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 18px; }
.card-addr-muted i { color: var(--poster-gold); margin-right: 6px; }

.review-box {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.review-stars { color: var(--poster-gold); margin-bottom: 16px; letter-spacing: 3px; }
.review-quote { color: #f2f5fc; font-style: italic; font-size: 0.95rem; margin-bottom: 24px; }
.review-user { display: flex; align-items: center; gap: 14px; }
.review-poster-thumb {
  width: 52px;
  height: 64px;
  border-radius: 6px;
  overflow: hidden;
  border: 1.5px solid var(--poster-gold);
  flex-shrink: 0;
}
.review-poster-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.review-author-name { font-family: var(--font-body); font-size: 1rem; color: #fff8e7; }
.review-date-muted { font-size: 0.8rem; color: var(--text-muted); }

/* CTA Portal Banner */
.cta-portal {
  position: relative;
  border-radius: 20px;
  padding: 58px 48px;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 140, 0, 0.24), transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(243, 198, 95, 0.2), transparent 50%),
    rgba(9, 16, 32, 0.94);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
}

/* Map */
.map-avengers {
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  filter: hue-rotate(180deg) invert(90%) contrast(92%) saturate(1.25);
}

/* Pulsanti Fluttuanti WhatsApp & TOP */
.avengers-floating-dock {
  position: fixed;
  right: 18px;
  bottom: 20px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.avengers-fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid rgba(243, 198, 95, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.35s var(--ease-cinema), box-shadow 0.35s var(--ease-cinema), opacity 0.35s var(--ease-cinema), background 0.35s ease;
}

.avengers-fab-wa {
  background: linear-gradient(135deg, rgba(243, 198, 95, 0.24) 0%, rgba(255, 159, 28, 0.28) 60%, rgba(12, 20, 38, 0.9) 100%);
  color: #fff8e7;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.68), 0 0 22px rgba(243, 198, 95, 0.4);
  animation: waPosterPulse 3.6s ease-in-out infinite;
}

.avengers-fab-wa i {
  font-size: 1.2rem;
  color: var(--poster-gold);
}

.avengers-fab-wa:hover {
  transform: translateY(-3px) scale(1.04);
  background: linear-gradient(135deg, #f3c65f 0%, #ff9f1c 100%);
  color: #090e1a;
}

.avengers-fab-wa:hover i {
  color: #090e1a;
}

@keyframes waPosterPulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.68), 0 0 18px rgba(243, 198, 95, 0.35); }
  50% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.68), 0 0 32px rgba(255, 159, 28, 0.62); }
}

.avengers-fab-top {
  background: rgba(9, 16, 32, 0.92);
  border-color: rgba(243, 198, 95, 0.55);
  color: var(--poster-gold);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.68), 0 0 18px rgba(243, 198, 95, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.avengers-fab-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.avengers-fab-top.is-visible:hover {
  transform: translateY(-3px) scale(1.04);
  background: linear-gradient(135deg, #ff9f1c 0%, #f3c65f 100%);
  color: #090e1a;
  border-color: #ffffff;
}

/* Footer */
.site-footer {
  background: #040710;
  padding: 80px 0 36px;
  border-top: 1px solid rgba(243, 198, 95, 0.22);
  position: relative;
  z-index: 3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 52px;
}

.footer-brand-img {
  height: 56px;
  margin-bottom: 20px;
}

.footer-about-copy {
  color: var(--text-muted);
  max-width: 420px;
  font-size: 0.94rem;
}

.footer-title {
  font-size: 1.12rem;
  color: var(--poster-gold);
  margin-bottom: 18px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--text-muted); font-size: 0.92rem; }
.footer-links a:hover { color: var(--poster-gold); }
.footer-links a i { color: var(--poster-gold); margin-right: 8px; }

.footer-housekeeping-box {
  margin-top: 20px;
  padding: 14px;
  background: rgba(243, 198, 95, 0.06);
  border-left: 2px solid var(--poster-gold);
  font-size: 0.84rem;
  color: var(--text-muted);
}
.footer-housekeeping-box strong { color: #fff8e7; display: block; margin-bottom: 4px; }

.social-row { display: flex; gap: 14px; margin-top: 20px; }
.social-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--poster-gold);
}
.social-btn:hover {
  background: var(--poster-gold);
  color: #090e1a;
}

.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
  color: var(--text-muted);
}
.footer-bottom-links { display: flex; gap: 18px; }

/* Scroll Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-cinema), transform 0.9s var(--ease-cinema);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1200px) {
  .strange-fire-portal {
    width: clamp(420px, 44vw, 540px);
  }
}

@media (max-width: 1060px) {
  .hero-grid-layout, .about-avengers-grid { grid-template-columns: 1fr; }
  .posters-wall-grid, .three-col-grid, .rules-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-room-portal-showcase { min-height: auto; }
  .strange-fire-portal { width: min(460px, 92vw); }
}

@media (max-width: 860px) {
  .mobile-toggle { display: inline-flex; }
  .phone-pill { display: none; }
  .header-inner { height: 70px; gap: 8px; }
  .brand-logo img { height: 40px; max-width: 112px; }
  .header-book-btn {
    padding: 9px 13px;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }
  .bg-movie-reel-poster { flex: 0 0 210px; height: 320px; }
  .avengers-floating-dock { right: 14px; bottom: 16px; }
  .avengers-fab { height: 44px; padding: 0 13px; font-size: 0.68rem; }
  .strange-fire-portal { width: min(320px, 86vw); }
  .strange-ring-middle { inset: 16px; }
  .strange-ring-runes { inset: 30px; }
  .strange-portal-core {
    width: calc(100% - 76px);
    height: calc(100% - 76px);
  }
  .nav-menu {
    position: fixed;
    top: 76px; left: 0; right: 0;
    width: 100%;
    background: rgba(6, 11, 22, 0.98);
    backdrop-filter: blur(22px);
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 28px 24px;
    border-bottom: 1px solid var(--border-gold);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s var(--ease-cinema);
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .posters-wall-grid, .three-col-grid, .rules-grid, .footer-grid { grid-template-columns: 1fr; }
  .cta-portal { padding: 36px 22px; }
  .hero-avengers { padding: 44px 0 72px; min-height: auto; }
  .section-pad { padding: 72px 0; }
}

@media (max-width: 390px) {
  .container { padding: 0 14px; }
  .brand-logo img { height: 34px; max-width: 92px; }
  .header-book-btn { padding: 8px 10px; font-size: 0.66rem; }
  .mobile-toggle { width: 36px; height: 36px; font-size: 1rem; }
  .avengers-fab-label { display: none; }
  .avengers-fab { width: 44px; padding: 0; }
}