/* ==========================================================================
   SPIDER-VERSE COMPONENTS — CARDS, HUD, BUTTONS, MODALS, NAVBAR
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOP NAVIGATION / CINE DAILY HUD BAR
   -------------------------------------------------------------------------- */
.navbar.cine-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), height var(--transition-fast);
}

.navbar.cine-navbar.scrolled {
  height: 68px;
  background: rgba(5, 5, 5, 0.96);
  border-bottom: 1px solid rgba(225, 29, 46, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
}

.cine-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* Cine Daily Logo */
.cine-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.85rem;
  letter-spacing: 0.04em;
  line-height: 1;
  transition: transform var(--transition-fast);
}

.cine-brand:hover {
  transform: scale(1.03);
}

.cine-brand-cine,
.cine-brand-daily {
  color: #FFFFFF;
  font-weight: 900;
}

.cine-brand-cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Center Menu Links (Enlarged) */
.cine-nav-menu {
  display: flex;
  align-items: center;
}

.cine-nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
}

.cine-nav-link {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding: 0.35rem 0.2rem;
  transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

.cine-nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: var(--spider-red);
  box-shadow: 0 0 8px var(--spider-red);
  border-radius: 2px;
  transition: width 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.cine-nav-link:hover,
.cine-nav-link.active {
  color: #FFFFFF;
  text-shadow: 0 0 14px rgba(225, 29, 46, 0.75);
}

.cine-nav-link:hover::after,
.cine-nav-link.active::after {
  width: 100%;
}

.cine-nav-dot {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.65rem;
  user-select: none;
}

/* Nav Actions (Search & Menu Pill) */
.cine-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.cine-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.2px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
}

.cine-icon-btn:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.cine-menu-pill {
  background: #FFFFFF;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
}

.cine-menu-pill .menu-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: #050505;
  border-radius: 2px;
  transition: transform var(--transition-fast);
}

.cine-menu-pill:hover {
  background: #FFFFFF;
  transform: scale(1.08);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.6);
}

/* Full-Screen Mobile Drawer Menu */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
  position: relative;
  width: 90%;
  max-width: 400px;
}

.mobile-nav-close {
  position: absolute;
  top: -60px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.mobile-nav-close:hover {
  background: var(--spider-red);
  border-color: var(--spider-red);
  transform: rotate(90deg);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  width: 100%;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--spider-red);
  transform: scale(1.05);
}

@media (max-width: 1080px) {
  .cine-nav-menu {
    display: none;
  }
}

@media (max-width: 768px) {
  .cine-nav-container {
    padding: 0 1.25rem;
  }
}

/* --------------------------------------------------------------------------
   2. BUTTONS & PILLS (CHAMFERED SPIDER-MAN COMIC STYLE)
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-decoration: none;
  background: #FFFFFF; /* White outer frame / stroke */
  border: none;
  border-radius: 0;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25), 0 0 15px rgba(225, 29, 46, 0.3);
  cursor: pointer;
  z-index: 1;
  white-space: nowrap;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 1.2px; /* Decreased stroke */
  background: linear-gradient(180deg, #E61A2B 0%, #CC1122 100%); /* Spider-Red inner fill */
  clip-path: polygon(13px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 13px);
  z-index: -1;
  transition: background var(--transition-fast), filter var(--transition-fast);
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  background: #FFFFFF;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.6), 0 0 35px rgba(225, 29, 46, 0.6);
}

.btn:hover::before {
  background: linear-gradient(180deg, #FF2E40 0%, #E61A2B 100%);
}

.btn-primary {
  background: #FFFFFF;
}

.btn-primary::before {
  background: linear-gradient(180deg, #E61A2B 0%, #CC1122 100%);
}

.btn-secondary {
  background: #FFFFFF;
}

.btn-secondary::before {
  background: #0D0D14;
}

.btn-secondary:hover::before {
  background: #181824;
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   3. HERO SECTION STYLES (SPIDER-MAN MULTIVERSE THEME)
   -------------------------------------------------------------------------- */
.hero-section.cine-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  max-height: 1050px;
  background: #050505 url('../assets/images/hero-bg.png') center center / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 86px;
  padding-bottom: 30px;
  overflow: hidden;
  box-sizing: border-box;
}

/* Solid Black Layer over Background with 80% Opacity */
.hero-section.cine-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #000000;
  opacity: 0.8;
  z-index: 1;
  pointer-events: none;
}

/* Hero Left & Right Edge Box Blur Effects (Softened & Lowered) */
.cine-hero-edge-blur-left,
.cine-hero-edge-blur-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(70px, 12vw, 190px);
  z-index: 20;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cine-hero-edge-blur-left {
  left: 0;
  background: linear-gradient(to right, rgba(5, 5, 5, 0.45) 0%, rgba(5, 5, 5, 0.15) 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0) 100%);
}

.cine-hero-edge-blur-right {
  right: 0;
  background: linear-gradient(to left, rgba(5, 5, 5, 0.45) 0%, rgba(5, 5, 5, 0.15) 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0) 100%);
}

/* Top Meta Bar: Genre Tags (left), Release/Universe Tag (right) */
.cine-hero-meta-bar {
  position: relative;
  z-index: 30;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.5rem 2.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.cine-meta-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cine-genre-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.28rem 0.85rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.cine-genre-tag:hover {
  border-color: rgba(225, 29, 46, 0.6);
  background: rgba(225, 29, 46, 0.1);
  color: #FFFFFF;
}

.cine-meta-right {
  display: flex;
  align-items: center;
}

.cine-release-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
}

/* Hero Stage Graphic Area */
.cine-hero-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  overflow: hidden;
  pointer-events: none;
}

/* Background Halftone Texture Accents */
.cine-halftone-accent {
  position: absolute;
  width: clamp(200px, 25vw, 380px);
  height: clamp(180px, 22vw, 320px);
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.2px, transparent 1.2px);
  background-size: 14px 14px;
  z-index: 3;
  pointer-events: none;
}

.cine-halftone-left {
  top: 15%;
  left: 6%;
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.cine-halftone-right {
  top: 18%;
  right: 6%;
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

/* Outer Dashed Orbital Ring */
.cine-orbital-dashed-ring {
  position: absolute;
  top: calc(48% + 50px);
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(440px, 48vw, 680px);
  height: clamp(440px, 48vw, 680px);
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, 0.12);
  z-index: 4;
  pointer-events: none;
}

/* Radial Compass Web Ray Lines */
.cine-web-rays {
  position: absolute;
  top: calc(48% + 50px);
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(520px, 56vw, 820px);
  height: clamp(520px, 56vw, 820px);
  z-index: 4;
  pointer-events: none;
}

.cine-ray-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
  transform-origin: center center;
}

.cine-ray-line.ray-1 { transform: translate(-50%, -50%) rotate(45deg); }
.cine-ray-line.ray-2 { transform: translate(-50%, -50%) rotate(-45deg); }
.cine-ray-line.ray-3 { transform: translate(-50%, -50%) rotate(0deg); width: 110%; }
.cine-ray-line.ray-4 { transform: translate(-50%, -50%) rotate(90deg); width: 110%; }

/* Background HUD Tactical Coordinates */
.cine-hud-coords-left,
.cine-hud-coords-right {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 8;
  pointer-events: none;
  text-transform: uppercase;
}

.cine-hud-coords-left {
  top: 24%;
  left: 5%;
}

.cine-hud-coords-right {
  top: 24%;
  right: 5%;
}

.hud-mini-bar {
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--spider-red);
  box-shadow: 0 0 6px var(--spider-red);
}

@media (max-width: 900px) {
  .cine-hud-coords-left,
  .cine-hud-coords-right,
  .cine-halftone-accent {
    display: none;
  }
}

/* Concentric Radar Reticle & Dial Notches */
.cine-reticle-circle {
  position: absolute;
  top: calc(48% + 50px);
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(344px, 38vw, 544px);
  height: clamp(344px, 38vw, 544px);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 5;
  pointer-events: none;
}

.reticle-notch {
  position: absolute;
  background: rgba(255, 255, 255, 0.35);
}

.notch-n  { top: -6px; left: 50%; width: 1.5px; height: 12px; transform: translateX(-50%); }
.notch-s  { bottom: -6px; left: 50%; width: 1.5px; height: 12px; transform: translateX(-50%); }
.notch-w  { left: -6px; top: 50%; height: 1.5px; width: 12px; transform: translateY(-50%); }
.notch-e  { right: -6px; top: 50%; height: 1.5px; width: 12px; transform: translateY(-50%); }
.notch-nw { top: 14%; left: 14%; width: 8px; height: 1.5px; transform: rotate(45deg); }
.notch-ne { top: 14%; right: 14%; width: 8px; height: 1.5px; transform: rotate(-45deg); }
.notch-sw { bottom: 14%; left: 14%; width: 8px; height: 1.5px; transform: rotate(-45deg); }
.notch-se { bottom: 14%; right: 14%; width: 8px; height: 1.5px; transform: rotate(45deg); }

/* Large Crimson Red Circle */
.cine-crimson-disk {
  position: absolute;
  top: calc(48% + 50px);
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(264px, 28vw, 408px);
  height: clamp(264px, 28vw, 408px);
  border-radius: 50%;
  background: #96121D;
  z-index: 6;
  box-shadow: 0 0 60px rgba(150, 18, 29, 0.4);
  pointer-events: none;
}

/* Giant Typography Layer: SPIDERMAN */
.cine-title-layer {
  position: absolute;
  top: 51%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 7;
  pointer-events: none;
  user-select: none;
  padding: 0 1rem;
  box-sizing: border-box;
}

.cine-title-word {
  font-family: var(--font-display);
  font-size: clamp(5.8rem, 15.5vw, 16.5rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  text-transform: uppercase;
  margin: 0;
  padding: 0;
  text-shadow: 0 12px 50px rgba(0, 0, 0, 0.85);
}

.cine-year-vertical {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 1.4vw, 1.25rem);
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-left: 0.4rem;
  align-self: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

/* Character Foreground Container (PC View) */
.cine-character-container {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  height: 90vh;
  max-height: 820px;
  z-index: 12;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
}

.cine-character-img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transform: scale(1.25);
  transform-origin: bottom center;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 30px rgba(225, 29, 46, 0.3));
}

/* Bottom Hero Cockpit Controls */
.cine-hero-bottom-bar {
  position: relative;
  z-index: 30;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2.5rem 0.75rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  transform: translateY(0);
  box-sizing: border-box;
}

/* Bottom Story Synopsis Block */
.cine-story-block {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 480px;
  text-align: left;
}

.cine-story-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #FFFFFF;
  text-transform: uppercase;
}

.cine-story-icon {
  display: flex;
  align-items: center;
  line-height: 1;
}

.cine-story-text {
  font-size: 0.96rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.84);
  margin: 0;
}

.cine-story-text strong {
  color: #FFFFFF;
  font-weight: 800;
  letter-spacing: 0.05em;
}

/* Hero Action Buttons */
.cine-actions-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

/* PC View Only: Elevate Hero Bottom Bar, Origin Text, Buttons & Stamp Emblem */
@media (min-width: 901px) {
  .cine-hero-bottom-bar {
    margin-bottom: 2.2rem;
    z-index: 35;
  }

  .cine-story-block {
    position: relative;
    bottom: 44px;
  }

  .cine-actions-block {
    position: relative;
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .cine-stamp-inner {
    position: relative;
    bottom: 0;
  }
}

.cine-book-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 2.2rem;
  background: #FFFFFF; /* White outer frame / stroke */
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
  border: none;
  border-radius: 0;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25), 0 0 15px rgba(225, 29, 46, 0.3);
  cursor: pointer;
  z-index: 1;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.cine-book-btn::before {
  content: '';
  position: absolute;
  inset: 1.2px; /* Decreased stroke */
  background: linear-gradient(180deg, #E61A2B 0%, #CC1122 100%); /* Spider-Red inner fill */
  clip-path: polygon(13px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 13px);
  z-index: -1;
  transition: background var(--transition-fast);
}

.cine-book-btn span {
  white-space: nowrap;
  line-height: 1;
  position: relative;
  z-index: 2;
}

.cine-book-btn:hover {
  transform: translateY(-3px) scale(1.02);
  background: #FFFFFF;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.6), 0 0 35px rgba(225, 29, 46, 0.6);
}

.cine-book-btn:hover::before {
  background: linear-gradient(180deg, #FF2E40 0%, #E61A2B 100%);
}

.cine-arrow-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  z-index: 2;
  transition: transform var(--transition-fast);
}

.cine-book-btn:hover .cine-arrow-icon {
  transform: translate(3px, -3px);
}

/* Secondary Hero Button: Black Background with White Stroke */
.cine-book-btn.cine-dark-btn {
  background: #FFFFFF; /* White outer frame / stroke */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 10px rgba(255, 255, 255, 0.12);
}

.cine-book-btn.cine-dark-btn::before {
  background: linear-gradient(180deg, #181820 0%, #08080C 100%); /* Solid black inner fill */
}

.cine-book-btn.cine-dark-btn:hover {
  background: #FFFFFF;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.3);
}

.cine-book-btn.cine-dark-btn:hover::before {
  background: linear-gradient(180deg, #242430 0%, #101018 100%);
}

/* --------------------------------------------------------------------------
   DUAL CRISS-CROSS MULTIVERSE TEXT TICKER RIBBONS
   -------------------------------------------------------------------------- */
.spidey-dual-ticker-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 2.2rem 0;
  margin: 0;
  z-index: 40;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

/* PC View Only: Move Ticker upwards to remove empty gap */
@media (min-width: 901px) {
  .spidey-dual-ticker-container {
    margin-top: -5.8rem;
    padding: 1.2rem 0 2rem 0;
    z-index: 25;
  }
}

.spidey-ticker-belt {
  position: relative;
  width: 108%;
  left: -4%;
  overflow: hidden;
  padding: 1.15rem 0;
  margin: 0;
  display: flex;
  white-space: nowrap;
  user-select: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.55);
  border: none;
}

/* White Ribbon: White Background, Red Text, Angled clockwise */
.spidey-ticker-belt.ticker-white {
  background: #FFFFFF;
  transform: rotate(2.2deg);
  z-index: 41;
}

.spidey-ticker-belt.ticker-white .ticker-content {
  color: var(--spider-red);
}

.spidey-ticker-belt.ticker-white .ticker-dot {
  background: var(--spider-red);
  box-shadow: none;
}

/* Red Ribbon: Spider-Red Background, White Text, Angled counter-clockwise & overlapping */
.spidey-ticker-belt.ticker-red {
  background: var(--spider-red);
  transform: rotate(-2.2deg);
  margin-top: -1.75rem;
  z-index: 42;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.7);
}

.spidey-ticker-belt.ticker-red .ticker-content {
  color: #FFFFFF;
}

.spidey-ticker-belt.ticker-red .ticker-dot {
  background: #FFFFFF;
  box-shadow: none;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerMarquee 28s linear infinite;
}

.ticker-track.ticker-track-reverse {
  animation: tickerMarqueeReverse 26s linear infinite;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 1.85rem;
  padding-right: 1.85rem;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ticker-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.9;
}

/* --------------------------------------------------------------------------
   MULTIVERSE SPOTLIGHT SEARCH MODAL STYLES
   -------------------------------------------------------------------------- */
.search-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.search-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.search-modal-dialog {
  background: #111114;
  border: 1px solid rgba(225, 29, 46, 0.35);
  border-radius: 20px;
  width: 90%;
  max-width: 680px;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 40px rgba(225, 29, 46, 0.2);
  display: flex;
  flex-direction: column;
  transform: scale(0.95) translateY(-10px);
  transition: transform var(--transition-fast);
}

.search-modal-backdrop.open .search-modal-dialog {
  transform: scale(1) translateY(0);
}

.search-modal-header {
  display: flex;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 1rem;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 0.85rem;
}

.search-input-icon {
  color: var(--spider-red);
  flex-shrink: 0;
}

.search-input {
  width: 100%;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 1.05rem;
  outline: none;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.95rem;
}

.search-clear-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
}

.search-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.search-close-btn:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
}

.search-modal-body {
  padding: 1.25rem 1.5rem 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.search-quick-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.search-quick-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.search-quick-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.search-quick-pill:hover {
  border-color: var(--spider-red);
  color: #fff;
  background: rgba(225, 29, 46, 0.15);
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: 48vh;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.search-result-item:hover,
.search-result-item.selected {
  background: rgba(225, 29, 46, 0.12);
  border-color: rgba(225, 29, 46, 0.4);
  transform: translateX(4px);
}

.search-result-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.search-result-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.search-result-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  color: #FFFFFF;
}

.search-result-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.search-result-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  text-transform: uppercase;
}

.search-empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Circular Distressed Badge Stamp */
.cine-stamp-badge {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 68px;
  height: 68px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.cine-stamp-badge:hover {
  transform: rotate(15deg) scale(1.08);
  filter: drop-shadow(0 0 15px rgba(225, 29, 46, 0.6));
}

.cine-stamp-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stamp-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.stamp-svg {
  width: 100%;
  height: 100%;
}

/* --------------------------------------------------------------------------
   SPIDEY STRIP INFINITE IMAGE TICKER BELT
   -------------------------------------------------------------------------- */
.spidey-image-ticker-belt {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #050505;
  border-top: 2px solid rgba(255, 255, 255, 0.08);
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
  padding: 0.95rem 0;
  z-index: 30;
  display: flex;
  white-space: nowrap;
  user-select: none;
}

.image-ticker-track {
  display: flex;
  width: max-content;
  animation: tickerMarquee 24s linear infinite;
}

.image-ticker-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-right: 1.5rem;
}

.ticker-strip-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
  opacity: 0.92;
}

/* Responsive Rules for Hero */
@media (max-width: 900px) {
  .cine-hero-bottom-bar {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1.25rem !important;
    padding: 0 1.5rem 0.75rem !important;
  }
  .cine-story-block {
    text-align: center !important;
    align-items: center !important;
  }
  .cine-stamp-badge {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .cine-hero-meta-bar {
    padding: 0.5rem 1.25rem 0;
  }
  .cine-genre-tag:nth-child(3) {
    display: none;
  }
  .cine-release-tag {
    font-size: 0.62rem;
  }
  .cine-roman-numeral {
    font-size: 2.5rem;
  }
  .cine-hero-bottom-bar {
    padding: 0 1.25rem 0.75rem !important;
    justify-content: center !important;
    gap: 1rem !important;
  }
  .cine-actions-block {
    gap: 0.85rem !important;
    width: 100% !important;
    max-width: 380px !important;
    display: flex !important;
    justify-content: center !important;
  }
  .cine-stamp-badge {
    display: none !important;
  }
}

.portal-stamp-inner {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--spider-red);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--spider-red);
}

@media (max-width: 1100px) {
  .hero-floating-pill {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   4. ABOUT SECTION STYLES
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4.5rem;
  align-items: center;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.about-visual-column {
  position: relative;
}

.about-poster-frame {
  position: relative;
  border-radius: var(--radius-container);
  overflow: hidden;
  background: var(--dark-surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-main);
  aspect-ratio: 4 / 5.2;
}

.about-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-slow);
}

.about-poster-frame:hover .about-poster-img {
  transform: scale(1.05);
}

.about-web-texture {
  position: absolute;
  inset: 0;
  background: url('../assets/images/web1.png') no-repeat center center;
  background-size: 85%;
  opacity: 0.15;
  mix-blend-mode: screen;
  pointer-events: none;
}

.about-poster-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.2) 60%, transparent 100%);
  pointer-events: none;
}

.about-poster-hud {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  z-index: 5;
}

.about-poster-hud .hud-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}

.about-poster-hud .hud-sub {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--spider-red);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Hanging Upside-Down Spider Accent */
.hanging-spider-decor {
  position: absolute;
  top: -22px;
  right: -12px;
  width: 48px;
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.8));
  animation: webSwing 4.5s ease-in-out infinite alternate;
  transform-origin: top center;
}

.hanging-spider-decor .hanging-spider-img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}

/* About Narrative Content */
.about-quote-box {
  position: relative;
  padding: 1.5rem 2rem;
  background: rgba(225, 29, 46, 0.08);
  border-left: 4px solid var(--spider-red);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  margin: 1.75rem 0 2.5rem;
}

.about-quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  letter-spacing: 0.04em;
  color: #FFFFFF;
  line-height: 1.25;
}

.about-quote-author {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--spider-red);
  text-transform: uppercase;
}

/* 4 Core Narrative Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 560px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

.pillar-card {
  padding: 1.25rem 1.5rem;
  background: var(--dark-surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-card);
  transition: all var(--transition-fast);
}

.pillar-card:hover {
  border-color: rgba(225, 29, 46, 0.35);
  transform: translateY(-3px);
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--spider-red);
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
}

.pillar-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* About Section Action Buttons */
.about-actions-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  position: relative;
  z-index: 5;
}

/* Hanging Spider-Man Under VIEW VARIANTS Button */
.about-btn-with-hanging {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.about-hanging-spidey {
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  transform: translateX(-50%);
  width: clamp(110px, 12vw, 150px);
  z-index: 15;
  pointer-events: none;
  transform-origin: top center;
  animation: aboutSpideySway 6.5s ease-in-out infinite alternate;
}

.about-hanging-spidey-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.95));
}

@keyframes aboutSpideySway {
  0% {
    transform: translateX(-50%) rotate(-3deg);
  }
  50% {
    transform: translateX(-50%) rotate(3deg) translateY(4px);
  }
  100% {
    transform: translateX(-50%) rotate(-3deg);
  }
}

@media (max-width: 640px) {
  .about-actions-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding-bottom: 2rem;
  }

  /* Villains button on top */
  #about-view-villains-btn {
    order: 1;
  }

  /* Variants button down with hanging Spider-Man */
  .about-btn-with-hanging {
    width: 100%;
    order: 2;
    margin-bottom: 3.5rem;
  }

  .about-actions-row .btn {
    width: 100%;
    justify-content: center;
  }

  .about-hanging-spidey {
    width: 95px;
  }
}

/* --------------------------------------------------------------------------
   5. SPIDER-VERSE VARIANTS SECTION (HORIZONTAL CAROUSEL)
   -------------------------------------------------------------------------- */
.variants-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Filter Controls Row */
.filter-controls-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Category Filter Chips */
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.filter-tab {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border-radius: 0;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.filter-tab:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.filter-tab.active {
  border: none;
  background: #FFFFFF;
  color: #FFFFFF;
  box-shadow: none;
}

.filter-tab.active::before {
  content: '';
  position: absolute;
  inset: 0.8px; /* Ultra-thin crisp stroke */
  background: linear-gradient(180deg, #E61A2B 0%, #CC1122 100%);
  clip-path: polygon(7.6px 0, 100% 0, 100% calc(100% - 7.6px), calc(100% - 7.6px) 100%, 0 100%, 0 7.6px);
  z-index: -1;
}

/* Centered Pagination Row Below Carousel Cards Area */
.carousel-pagination-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 2rem;
  position: relative;
  z-index: 20;
}

/* Slider Prev / Next Controls */
.slider-nav-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--dark-surface);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.slider-btn:hover {
  background: var(--spider-red);
  border-color: var(--spider-red);
  transform: scale(1.12);
  box-shadow: 0 0 20px rgba(225, 29, 46, 0.6);
}

/* Active Carousel Dragging State */
body.carousel-dragging,
body.carousel-dragging * {
  cursor: grabbing !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

/* Variants Carousel Track */
.variants-carousel-wrapper {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 0;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  touch-action: pan-y;
}

.variants-carousel-wrapper:active {
  cursor: grabbing;
}

.variants-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* 3D Tilt Variant Collectible Card */
.variant-card {
  flex: 0 0 320px;
  height: 520px;
  position: relative;
  border-radius: 28px;
  background: #090B10;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
}

.variant-card *,
.series-card *,
.series-thumb-card *,
.series-spotlight-card *,
.villain-card * {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.variant-card img,
.series-card img,
.series-thumb-card img,
.series-spotlight-card img,
.villain-card img {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

@media (max-width: 640px) {
  .variant-card {
    flex: 0 0 290px;
    height: 480px;
    border-radius: 24px;
  }
}

.variant-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.9);
}

.variant-card-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  z-index: 1;
}

.variant-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter var(--transition-fast);
  filter: contrast(1.08) brightness(0.95);
}

.variant-card:hover .variant-card-img {
  transform: scale(1.06);
  filter: contrast(1.15) brightness(1.02);
}

.variant-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 35%, rgba(4, 5, 8, 0.4) 65%, rgba(4, 5, 8, 0.95) 100%);
  pointer-events: none;
}

.variant-universe-badge {
  position: absolute;
  top: 1.15rem;
  left: 1.15rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.32rem 0.8rem;
  background: rgba(10, 12, 18, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  color: #FFFFFF;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

/* Seamless Frosted Bottom Section (Matching Reference Image) */
.variant-card-blur-section {
  position: relative;
  z-index: 3;
  margin: 0;
  width: 100%;
  padding: 2.5rem 1.35rem 1.35rem;
  background: linear-gradient(180deg, rgba(8, 10, 16, 0) 0%, rgba(8, 10, 16, 0.45) 20%, rgba(6, 8, 14, 0.85) 55%, rgba(4, 5, 8, 0.98) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: none;
  border-top: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .variant-card-blur-section {
    margin: 0;
    padding: 2rem 1.15rem 1.2rem;
    gap: 0.55rem;
  }
}

.variant-blur-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.variant-name-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
}

.variant-name {
  font-family: var(--font-sans);
  font-size: 1.48rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.variant-char-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--card-accent, var(--spider-red));
  flex-shrink: 0;
}

.variant-char-icon {
  width: 14px;
  height: 14px;
}

/* Readable Subtext */
.variant-subtext {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--card-accent, var(--spider-red));
  letter-spacing: 0.01em;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.variant-desc {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.variant-blur-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.35rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.variant-meta-group {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.variant-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.variant-meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--card-accent, var(--spider-red));
  flex-shrink: 0;
}

/* Flat Clean White Pill Button (No Glow) */
.variant-view-btn {
  background: #FFFFFF;
  color: #080A10;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.25rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  box-shadow: none;
  transition: background var(--transition-fast), transform var(--transition-fast);
  flex-shrink: 0;
}

.variant-view-btn:hover {
  background: #E8EBF0;
  color: #000000;
  transform: translateY(-1px) scale(1.02);
  box-shadow: none;
}

.variant-view-btn .view-eye-icon {
  stroke: #080A10;
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   INFINITE MULTIVERSE TEXT TICKER MARQUEE
   -------------------------------------------------------------------------- */
.spider-ticker-banner {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #000000;
  border-top: 2px solid #E11D2E;
  border-bottom: 2px solid #E11D2E;
  padding: calc(1.25rem + 3.5px) 0;
  user-select: none;
  -webkit-user-select: none;
  z-index: 10;
  box-shadow: none;
}

.spider-ticker-track {
  display: flex;
  width: max-content;
  animation: spiderTickerScroll 28s linear infinite;
}

.spider-ticker-banner:hover .spider-ticker-track {
  animation-play-state: paused;
}

.spider-ticker-content {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  padding-right: 2.25rem;
  flex-shrink: 0;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FFFFFF;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes spiderTickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   5. SERIES & CINEMATIC CANON SECTION (CINEMATIC SPOTLIGHT & FILMSTRIP)
   -------------------------------------------------------------------------- */
.series-section {
  position: relative;
  background: radial-gradient(ellipse at 50% 10%, rgba(124, 58, 237, 0.1) 0%, rgba(8, 8, 12, 0.96) 60%, var(--venom-black) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  padding: 6rem 0;
}

.series-header-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 2.5rem;
}

/* Main Cinematic Spotlight Card Frame */
.series-spotlight-card {
  position: relative;
  border-radius: 20px;
  background: #09090F;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.9), 0 0 60px rgba(124, 58, 237, 0.15);
  min-height: 660px;
  display: flex;
  flex-direction: column;
  user-select: none;
  -webkit-user-select: none;
}

/* Atmospheric Dynamic Backdrop */
.series-backdrop-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.series-spotlight-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  filter: brightness(0.92) contrast(1.05);
}

.series-spotlight-overlay-left {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, 
    rgba(8, 8, 14, 0.98) 0%, 
    rgba(8, 8, 14, 0.92) 42%, 
    rgba(8, 8, 14, 0.55) 70%, 
    rgba(8, 8, 14, 0.15) 100%);
}

.series-spotlight-overlay-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, 
    rgba(8, 8, 14, 0.98) 0%, 
    rgba(8, 8, 14, 0.85) 30%, 
    rgba(8, 8, 14, 0.2) 65%, 
    transparent 100%);
}

.series-spotlight-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.8);
}

/* Spotlight Body Container */
.series-spotlight-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 4vw, 3.5rem);
  min-height: 660px;
  gap: 2.5rem;
}

/* Left Feature Details Block */
.series-feature-content {
  max-width: 650px;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.series-feature-badges {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}

.series-pill-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.series-feature-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: 0.03em;
  color: #FFFFFF;
  text-transform: uppercase;
  margin: 0.35rem 0 0.15rem;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.9);
}

.series-star-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #F59E0B;
  font-size: 1.15rem;
  margin-bottom: 0.1rem;
}

.series-star-rating .star-icon {
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.5));
}

.rating-number-text {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  margin-left: 0.5rem;
}

.series-feature-meta {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  letter-spacing: 0.04em;
}

.series-feature-meta .meta-dot {
  color: rgba(255, 255, 255, 0.35);
}

.series-feature-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 660px;
  display: block;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

/* Action Buttons */
.series-feature-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.series-watch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.75rem 2.2rem;
  border-radius: 9999px;
  background: #E11D2E;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 25px rgba(225, 29, 46, 0.55);
  transition: all var(--transition-fast);
}

.series-watch-btn:hover {
  background: #FF2E44;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(225, 29, 46, 0.75);
}

.series-watch-btn:active {
  transform: translateY(0);
}

.series-seemore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  border-radius: 9999px;
  background: rgba(10, 10, 16, 0.6);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
}

.series-seemore-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.series-seemore-btn:active {
  transform: translateY(0);
}

/* Bottom Horizontal Filmstrip Carousel Track */
.series-strip-section {
  width: 100%;
  position: relative;
  margin-top: 1.5rem;
}

.series-strip-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.series-strip-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(18, 18, 28, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  backdrop-filter: blur(12px);
  transition: all var(--transition-fast);
  z-index: 10;
}

.series-strip-nav-btn:hover {
  background: var(--spider-red);
  border-color: var(--spider-red);
  transform: scale(1.1);
  box-shadow: 0 0 16px rgba(225, 29, 46, 0.6);
}

.series-thumb-track-container {
  overflow: hidden;
  flex: 1;
  padding: 1.5rem 0 1.8rem;
  cursor: grab;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 1) 12%, rgba(0, 0, 0, 1) 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 1) 12%, rgba(0, 0, 0, 1) 88%, transparent 100%);
}

.series-thumb-track-container:active {
  cursor: grabbing;
}

.series-thumb-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  align-items: center;
  will-change: transform;
}

/* Filmstrip Card Wrapper */
.series-thumb-card-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  cursor: pointer;
  width: 110px;
}

.series-thumb-card {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: #111118;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.7);
  opacity: 0.55;
  filter: brightness(0.75);
  transform: scale(0.85);
  transform-origin: center center;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), 
              opacity 0.4s ease, 
              filter 0.4s ease, 
              border-color 0.4s ease, 
              box-shadow 0.4s ease;
  user-select: none;
  -webkit-user-select: none;
}

.series-thumb-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 0.4s ease;
}

.series-thumb-card-wrapper:hover .series-thumb-card:not(.active) {
  opacity: 0.88;
  filter: brightness(0.95);
  transform: scale(0.94);
  border-color: rgba(255, 255, 255, 0.45);
}

.series-thumb-card.active {
  opacity: 1;
  filter: brightness(1.05);
  transform: scale(1.18);
  border: 2px solid #FFFFFF;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.85);
  z-index: 10;
}

@media (max-width: 900px) {
  .series-spotlight-card {
    min-height: auto;
    border-radius: 18px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column !important;
    background: #09090F;
  }

  /* Top Landscape Rectangular Banner Image */
  .series-backdrop-wrapper {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 18px 18px 0 0 !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    inset: auto !important;
  }

  .series-spotlight-bg {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
  }

  .series-spotlight-overlay-left {
    display: none !important;
  }

  .series-spotlight-overlay-bottom {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, transparent 65%, rgba(9, 9, 15, 0.95) 100%) !important;
  }

  .series-spotlight-vignette {
    position: absolute !important;
    inset: 0 !important;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5) !important;
  }

  /* Info & Content Under Landscape Image */
  .series-spotlight-body {
    position: relative !important;
    min-height: auto;
    padding: 1.35rem 1.15rem 1.5rem;
    gap: 1.5rem;
    box-sizing: border-box;
    width: 100%;
    background: #09090F;
  }

  .series-feature-content {
    max-width: 100%;
    width: 100%;
    gap: 0.75rem;
  }

  .series-feature-title {
    font-size: clamp(1.45rem, 5.5vw, 2.1rem);
    line-height: 1.12;
    word-break: break-word;
    margin: 0.25rem 0 0.1rem;
  }

  .series-feature-desc {
    font-size: 0.88rem;
    line-height: 1.5;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .series-feature-meta {
    font-size: 0.8rem;
    gap: 0.45rem;
  }

  .series-feature-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    width: 100%;
  }

  .series-watch-btn,
  .series-seemore-btn {
    flex: 1 1 140px;
    padding: 0.7rem 1.4rem;
    font-size: 0.95rem;
    justify-content: center;
  }

  .series-strip-section {
    width: 100%;
    margin-top: 0.5rem;
  }

  .series-strip-controls {
    gap: 0.35rem;
  }

  .series-strip-nav-btn {
    width: 38px;
    height: 38px;
  }

  .series-thumb-card-wrapper {
    width: 88px;
    flex: 0 0 88px;
  }

  .series-thumb-card {
    flex: 1 1 100%;
    width: 100%;
  }

  .series-thumb-track {
    padding: 0 calc(50% - 44px);
    gap: 0.85rem;
  }
}

@media (max-width: 600px) {
  .series-spotlight-card {
    border-radius: 16px;
    margin: 0;
  }

  .series-backdrop-wrapper {
    border-radius: 16px 16px 0 0 !important;
  }

  .series-spotlight-body {
    padding: 1.15rem 0.95rem 1.35rem;
    gap: 1.25rem;
  }

  .series-feature-title {
    font-size: clamp(1.3rem, 6vw, 1.7rem);
  }

  .series-feature-desc {
    font-size: 0.84rem;
    -webkit-line-clamp: 2;
    line-height: 1.45;
  }

  .series-feature-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .series-watch-btn,
  .series-seemore-btn {
    width: 100%;
    flex: 1 1 auto;
  }

  .series-thumb-card-wrapper {
    width: 78px;
    flex: 0 0 78px;
  }

  .series-thumb-track {
    padding: 0 calc(50% - 39px);
    gap: 0.75rem;
  }

  .series-thumb-track-container {
    padding: 0.6rem 0 0.8rem;
  }
}

/* --------------------------------------------------------------------------
   6. VILLAINS SECTION STYLES (HORIZONTAL ROGUES CAROUSEL)
   -------------------------------------------------------------------------- */
.villains-section {
  position: relative;
  background: radial-gradient(ellipse at center bottom, rgba(16, 185, 129, 0.04) 0%, rgba(220, 38, 38, 0.05) 40%, var(--venom-black) 80%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.villains-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.villains-carousel-wrapper {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 0 2rem;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  touch-action: pan-y;
}

.villains-carousel-wrapper:active {
  cursor: grabbing;
}

.villains-track {
  display: flex;
  gap: 1.75rem;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* ==========================================================================
   VILLAINS SECTION — FROSTED GLASS / BLUR CARDS (MATCHING DESIGN REFERENCE)
   ========================================================================== */
.villain-card {
  flex: 0 0 320px;
  height: 520px;
  position: relative;
  background: #090B10;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
}

@media (max-width: 640px) {
  .villain-card {
    flex: 0 0 290px;
    height: 480px;
    border-radius: 24px;
  }
}

.villain-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.9);
}

.villain-card-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  z-index: 1;
}

.villain-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: brightness(0.92) contrast(1.05);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter var(--transition-fast);
}

.villain-card:hover .villain-card-img {
  transform: scale(1.08);
  filter: brightness(1.02) contrast(1.08);
}

.villain-card-top-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 110px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, transparent 100%);
  pointer-events: none;
}

.threat-rating-badge {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.3rem 0.75rem;
  background: rgba(8, 10, 16, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-pill);
  border: 1px solid var(--villain-threat-color, #DC2626);
  color: var(--villain-threat-color, #DC2626);
  text-transform: uppercase;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.threat-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}

/* --- THE FROSTED GLASS / BLUR BOTTOM SECTION --- */
.villain-card-blur-section {
  position: relative;
  z-index: 3;
  width: 100%;
  background: linear-gradient(180deg, rgba(12, 14, 20, 0.55) 0%, rgba(8, 10, 15, 0.84) 30%, rgba(4, 5, 8, 0.96) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 1.25rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-sizing: border-box;
}

.villain-blur-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.villain-blur-name {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.villain-blur-bio {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Stats Row: 3 columns with vertical dividers */
.villain-blur-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.2rem;
  margin-top: 0.1rem;
}

.villain-stat-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.stat-main-val {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1;
}

.stat-star-icon {
  color: #F59E0B;
  font-size: 0.95rem;
}

.stat-sub-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

.villain-stat-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

/* Bottom Actions Row */
.villain-blur-actions {
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: 0.2rem;
}

.villain-primary-btn {
  width: 100%;
  height: 44px;
  background: #FFFFFF;
  color: #0A0A0F;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  cursor: pointer;
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
  padding: 0 1rem;
}

.villain-primary-btn:hover {
  background: #F3F4F6;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.25);
}

.villain-primary-btn:active {
  transform: translateY(0);
}

/* ==========================================================================
   6. MULTIVERSE GALLERY SECTION (HANGING SPIDER-MAN & BENTO CARDS)
   ========================================================================== */
.gallery-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, rgba(225, 29, 46, 0.08) 0%, rgba(10, 12, 18, 0.95) 50%, var(--venom-black) 100%);
  padding: 5rem 0 6rem;
}

.gallery-header-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2.5rem;
}

.gallery-header-row > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gallery-header-row .section-tag {
  margin: 0 auto 0.75rem auto;
}

.gallery-header-row .section-title {
  text-align: center;
}

.gallery-header-row .section-subtitle {
  text-align: center;
  margin: 0.5rem auto 0 auto;
  max-width: 680px;
}

.gallery-stage-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 550px;
  padding: 2.2rem 0;
  margin: 0 auto;
}

.gallery-hanging-spidey-container {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: clamp(255px, 25.5vw, 345px);
  pointer-events: none;
  animation: spidey-sway 7s ease-in-out infinite alternate;
  transform-origin: top center;
}

.gallery-hanging-spidey-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.95));
}

@keyframes spidey-sway {
  0% {
    transform: translateX(-50%) rotate(-2.5deg);
  }
  50% {
    transform: translateX(-50%) rotate(2.5deg) translateY(6px);
  }
  100% {
    transform: translateX(-50%) rotate(-2.5deg);
  }
}

/* Gallery Wings & Columns */
.gallery-wing {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  z-index: 5;
}

.gallery-wing-left {
  margin-right: clamp(128px, 13.8vw, 195px);
}

.gallery-wing-right {
  margin-left: clamp(128px, 13.8vw, 195px);
}

.gallery-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Gallery Card Items (Visual display only, non-clickable, no popup) */
.gallery-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #090B12;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  cursor: default;
  user-select: none;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.92) contrast(1.05);
  pointer-events: none;
}

/* Card Proportions (Scaled up by 5%) */
.card-tall {
  width: clamp(116px, 10.5vw, 148px);
  height: clamp(275px, 25.2vw, 358px);
}

.card-med {
  width: clamp(116px, 10.5vw, 148px);
  height: clamp(138px, 12.6vw, 180px);
}

.card-square {
  width: clamp(116px, 10.5vw, 148px);
  height: clamp(84px, 7.9vw, 112px);
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 1024px) {
  .gallery-stage-wrapper {
    flex-direction: column;
    gap: 2.5rem;
    min-height: auto;
  }

  .gallery-hanging-spidey-container {
    position: relative;
    top: 0;
    left: auto;
    transform: none;
    margin: 0 auto;
    animation: none;
    width: 232px;
  }

  .gallery-web-strand {
    display: none;
  }

  .gallery-wing-left,
  .gallery-wing-right {
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
  }

  .card-tall {
    width: 138px;
    height: 232px;
  }

  .card-med {
    width: 138px;
    height: 148px;
  }

  .card-square {
    width: 138px;
    height: 106px;
  }
}

/* --------------------------------------------------------------------------
   7. CONTACT SECTION STYLES (QUANTUM RELAY TERMINAL)
   -------------------------------------------------------------------------- */
.contact-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, rgba(124, 58, 237, 0.12) 0%, rgba(225, 29, 46, 0.08) 50%, var(--venom-black) 100%);
}

.contact-terminal-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.quantum-terminal-card {
  position: relative;
  background: rgba(17, 17, 17, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-container);
  padding: 3rem;
  box-shadow: var(--shadow-main), 0 0 60px rgba(124, 58, 237, 0.15);
  overflow: hidden;
}

@media (max-width: 1024px) {
  .quantum-terminal-card {
    padding: 2.25rem 1.75rem;
  }
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 960px) {
  .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.contact-form-side {
  display: flex;
  flex-direction: column;
}

.contact-visual-side {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

.contact-image-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: #080A10;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  padding: 0;
}

.contact-side-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
  user-select: none;
  -webkit-user-drag: none;
}

.contact-image-card:hover .contact-side-img {
  transform: scale(1.04);
}

.terminal-web-bg {
  position: absolute;
  top: -20%;
  right: -20%;
  width: 70%;
  height: 70%;
  background: url('../assets/images/web2.png') no-repeat center center;
  background-size: contain;
  opacity: 0.06;
  mix-blend-mode: screen;
  pointer-events: none;
}

.terminal-hud-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 2.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--surface-border);
}

.terminal-hud-header .section-tag {
  margin-bottom: 1.25rem;
}

.terminal-hud-header .section-title {
  margin-bottom: 0.75rem;
}

.terminal-hud-header .section-subtitle {
  margin-bottom: 0;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  padding: 0.95rem 1.25rem;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--spider-red);
  background: rgba(225, 29, 46, 0.05);
  box-shadow: 0 0 20px rgba(225, 29, 46, 0.25);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 3.25rem;
  background-color: rgba(255, 255, 255, 0.04);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 18px 18px;
  cursor: pointer;
}

.form-select:focus {
  border-color: var(--spider-red);
  background-color: rgba(225, 29, 46, 0.05);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23E11D2E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  box-shadow: 0 0 20px rgba(225, 29, 46, 0.25);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-select option {
  background: var(--dark-surface);
  color: #FFFFFF;
  padding: 0.6rem 1rem;
}

.shoot-web-submit-btn {
  width: 100%;
  padding: 1.15rem 2rem;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

/* --------------------------------------------------------------------------
   8. FOOTER STYLES (CINEMATIC REDESIGN)
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, rgba(18, 18, 24, 0.9) 0%, #030305 70%, #000000 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4.5rem 0 3.5rem;
  z-index: 20;
}

.footer-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  gap: 1.75rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand-link {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.footer-brand-link:hover {
  transform: scale(1.04);
}

/* Spider-Verse Logo: Enlarged (+10%), Crisp, No Red Blur Glow */
.footer-logo-img {
  height: 76px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: none !important;
  transition: transform var(--transition-fast);
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  margin-top: 0.35rem;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer-link {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

.footer-link:hover {
  color: #FFFFFF;
  text-shadow: 0 0 12px rgba(225, 29, 46, 0.8);
}

.footer-dot {
  color: rgba(255, 255, 255, 0.22);
  font-size: 0.6rem;
  user-select: none;
}

.footer-social-coords {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.25rem;
}

.social-coord-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.social-coord-btn:hover {
  background: var(--spider-red);
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 25px rgba(225, 29, 46, 0.55);
}

.social-coord-btn:active {
  transform: translateY(-1px) scale(1);
}

.footer-divider {
  width: 100%;
  max-width: 720px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.12) 25%, rgba(255, 255, 255, 0.12) 75%, transparent 100%);
  margin: 0.35rem 0;
}

.footer-bottom-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-copyright {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   STICKY CIRCULAR BACK-TO-TOP BUTTON
   -------------------------------------------------------------------------- */
.sticky-back-to-top {
  position: fixed;
  bottom: 2.25rem;
  right: 2.25rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(14, 16, 22, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 18px rgba(225, 29, 46, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.85);
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.sticky-back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.sticky-back-to-top:hover {
  background: var(--spider-red);
  border-color: #FFFFFF;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.9), 0 0 25px rgba(225, 29, 46, 0.7);
}

.sticky-back-to-top:active {
  transform: translateY(0) scale(0.95);
}

/* --------------------------------------------------------------------------
   9. GLOBAL DOSSIER MODAL
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  position: relative;
  background: var(--dark-surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-container);
  width: 100%;
  max-width: 880px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95);
  transform: translateY(30px) scale(0.95);
  transition: transform var(--transition-normal);
}

.modal-backdrop.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--surface-border);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--spider-red);
  border-color: var(--spider-red);
  transform: rotate(90deg);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
}

@media (max-width: 768px) {
  .modal-grid {
    grid-template-columns: 1fr;
  }
}

.modal-media-side {
  position: relative;
  background: #000;
  min-height: 380px;
}

.modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.modal-media-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--dark-surface) 0%, transparent 60%);
}

.modal-info-side {
  padding: 2.5rem;
}

.modal-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.modal-name {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: #FFFFFF;
  margin-bottom: 0.35rem;
}

.modal-alias {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--spider-red);
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.modal-bio {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

/* Radar / Linear Stat Bars */
.stat-bars-container {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.stat-bar-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-label-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.stat-fill {
  height: 100%;
  background: var(--spider-red);
  border-radius: 4px;
  width: 0%;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px var(--spider-red);
}

/* Transmission Success Toast */
.transmission-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--dark-surface);
  border: 1px solid var(--spider-red);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.75rem;
  box-shadow: var(--shadow-main), 0 0 30px rgba(225, 29, 46, 0.35);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateY(150%);
  transition: transform var(--transition-normal);
}

.transmission-toast.active {
  transform: translateY(0);
}

/* ==========================================================================
   10. MOBILE VIEW SPECIFIC OPTIMIZATIONS & OVERRIDES
   ========================================================================== */

@media (max-width: 900px) {
  /* 1. Remove Gallery Section and Gallery Ticker on Mobile */
  #gallery,
  .gallery-section,
  .gallery-ticker-banner {
    display: none !important;
  }
  
  .mobile-nav-gallery-item,
  .footer-gallery-item,
  .cine-nav-link[href="#gallery"],
  .mobile-nav-link[href="#gallery"],
  .footer-link[href="#gallery"] {
    display: none !important;
  }

  /* 2. Remove Spidey-Tracker Map Box Area on Mobile */
  .contact-visual-side {
    display: none !important;
  }

  .contact-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .contact-form-side {
    width: 100% !important;
    max-width: 100% !important;
  }

  .quantum-terminal-card {
    padding: 2.25rem 1.5rem !important;
  }

  .terminal-hud-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
  }
}

@media (max-width: 768px) {
  /* Hero Character for Mobile — responsive elevation to eliminate excessive top gap on taller screens */
  .cine-character-container {
    bottom: clamp(45px, 8vh, 105px) !important;
    height: clamp(540px, 78vh, 730px) !important;
    max-height: clamp(600px, 80vh, 750px) !important;
  }
  .cine-character-img {
    transform: scale(1.68) !important;
    transform-origin: bottom center !important;
  }

  /* Hero Stage Circles and Spiderman Text — positioned dynamically to maintain consistent spacing */
  .cine-orbital-dashed-ring,
  .cine-web-rays,
  .cine-reticle-circle,
  .cine-crimson-disk {
    top: clamp(295px, 38vh, 345px) !important;
  }

  .cine-title-layer {
    top: clamp(265px, 35vh, 315px) !important;
  }

  /* SPIDERMAN Background Title 15% Bigger for Mobile View */
  .cine-title-word {
    font-size: clamp(6.67rem, 17.8vw, 19rem) !important;
  }

  /* Hero Section for Mobile: zero bottom padding so the cockpit gradient seamlessly meets the ticker */
  .hero-section.cine-hero {
    padding-bottom: 0 !important;
  }

  /* Hero Bottom Cockpit Bar: Smooth low-intensity gradient fade from top down to the ticker belt */
  .cine-hero-bottom-bar {
    transform: translateY(0) !important;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0) 0%, rgba(5, 5, 5, 0.03) 10%, rgba(5, 5, 5, 0.14) 24%, rgba(5, 5, 5, 0.38) 42%, rgba(5, 5, 5, 0.72) 64%, rgba(5, 5, 5, 0.92) 84%, #050505 100%) !important;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    padding: 2.25rem 1.25rem 2rem 1.25rem !important;
    margin-bottom: 0 !important;
    border-radius: 0 !important;
    gap: 1.25rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .cine-story-block {
    margin-bottom: 0.25rem !important;
  }

  .cine-story-text {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.9) !important;
  }

  .cine-story-header {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95) !important;
  }

  .cine-actions-block {
    transform: none !important;
    margin-top: 0.25rem !important;
    margin-bottom: 0 !important;
  }

  /* Dual Criss-Cross Ticker Belt on Mobile */
  .spidey-dual-ticker-container {
    padding: 1.5rem 0 !important;
    margin-top: 0 !important;
  }

  .spidey-ticker-belt {
    width: 114% !important;
    left: -7% !important;
    padding: 0.85rem 0 !important;
  }

  .spidey-ticker-belt.ticker-white {
    transform: rotate(2.2deg) !important;
  }

  .spidey-ticker-belt.ticker-red {
    transform: rotate(-2.2deg) !important;
    margin-top: -1.35rem !important;
  }

  .ticker-content {
    font-size: 0.86rem !important;
    gap: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
}

/* Tall Mobile Devices (Android 19:9, 20:9, 21:9 aspect ratios, height >= 740px) */
@media (max-width: 768px) and (min-height: 740px) {
  .cine-character-container {
    bottom: clamp(145px, calc(10vh + 80px), 200px) !important;
    height: clamp(600px, 78vh, 750px) !important;
    max-height: 770px !important;
  }
  .cine-orbital-dashed-ring,
  .cine-web-rays,
  .cine-reticle-circle,
  .cine-crimson-disk {
    top: clamp(365px, calc(38vh + 50px), 410px) !important;
  }
  .cine-title-layer {
    top: clamp(335px, calc(35vh + 50px), 380px) !important;
  }
}

@media (max-width: 640px) {
  .hero-section.cine-hero {
    padding-bottom: 0 !important;
  }

  /* Hero Cockpit Controls for Mobile */
  .cine-actions-block {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.85rem !important;
    width: 100% !important;
    transform: none !important;
    margin-bottom: 0 !important;
  }

  .cine-book-btn {
    padding: 0.75rem 1.35rem !important;
    font-size: 1rem !important;
    flex: 1 1 135px !important;
    max-width: 175px !important;
    justify-content: center !important;
  }

  /* Variants and Villains Cards Mobile Optimization */
  .variant-card,
  .villain-card {
    flex: 0 0 280px !important;
    height: 470px !important;
  }

  /* Form Spacing for Mobile */
  .contact-form {
    gap: 1.25rem !important;
  }

  .form-row {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* About Section Spider Decor Size on Mobile */
  .hanging-spider-decor {
    top: -16px !important;
    right: -8px !important;
    width: 36px !important;
  }

  /* Centered Pagination Row for Mobile */
  .carousel-pagination-row {
    margin-top: 1.5rem !important;
  }

  .slider-btn {
    width: 44px !important;
    height: 44px !important;
  }

  /* Footer Layout for Mobile */
  .footer {
    padding: 3.5rem 0 2.5rem !important;
  }

  .footer-logo-img {
    height: 62px !important;
  }

  .footer-content-wrapper {
    gap: 1.35rem !important;
  }

  .footer-links {
    gap: 0.85rem !important;
  }

  .footer-link {
    font-size: 0.78rem !important;
  }

  .footer-social-coords {
    gap: 0.85rem !important;
  }

  .social-coord-btn {
    width: 42px !important;
    height: 42px !important;
  }

  .sticky-back-to-top {
    bottom: 1.5rem !important;
    right: 1.5rem !important;
    width: 46px !important;
    height: 46px !important;
  }
}

/* ==========================================================================
   11. CINEMATIC SPIDER-VERSE GSAP PRELOADER (PURE RED & BLACK THEME)
   ========================================================================== */
.spider-preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #000000;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.preloader-ambient-glow {
  position: absolute;
  width: clamp(320px, 40vw, 520px);
  height: clamp(320px, 40vw, 520px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 29, 46, 0.12) 0%, rgba(153, 27, 27, 0.05) 45%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.preloader-quantum-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  opacity: 0.8;
}

.preloader-content {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Spider-Man Face Emblem & Cybernetic Web Rings */
.preloader-emblem-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.preloader-ring-outer {
  inset: -18px;
  border: 1px solid rgba(225, 29, 46, 0.25);
}

.preloader-ring-dashed {
  inset: -8px;
  border: 1.5px dashed rgba(225, 29, 46, 0.35);
}

.preloader-ring-inner {
  inset: 4px;
  border: 1px solid rgba(225, 29, 46, 0.45);
}

.preloader-pulse-glow {
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  background: rgba(225, 29, 46, 0.12);
  filter: blur(15px);
  animation: portalPulse 3s ease-in-out infinite alternate;
}

.preloader-spider-icon {
  position: relative;
  z-index: 5;
  width: 86px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(225, 29, 46, 0.45));
}
