/* ============================================
   喻云涛 — AI产品经理个人简历
   Pure CSS (no Tailwind)
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --title-circle-d: 480px;
  --scroller-gap: -2px;
  --section-hpad: 40px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: #000;
  color: #fff;
  font-family: Inter, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Keyframes ---------- */
@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes popIn {
  0%  { opacity: 0; transform: scale(0.85); }
  70% { opacity: 1; transform: scale(1.04); }
  100%{ opacity: 1; transform: scale(1); }
}

/* ---------- Fish Canvas ---------- */
#fishCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 8;
  pointer-events: none;
}

body.cursor-net,
body.cursor-net * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='14' r='10' fill='none' stroke='%23fff' stroke-width='1.5' opacity='0.8'/%3E%3Cline x1='16' y1='24' x2='16' y2='31' stroke='%23fff' stroke-width='2' stroke-linecap='round' opacity='0.8'/%3E%3Cline x1='10' y1='8' x2='22' y2='20' stroke='%23fff' stroke-width='0.8' opacity='0.5'/%3E%3Cline x1='22' y1='8' x2='10' y2='20' stroke='%23fff' stroke-width='0.8' opacity='0.5'/%3E%3Cline x1='16' y1='5' x2='16' y2='23' stroke='%23fff' stroke-width='0.8' opacity='0.5'/%3E%3Cline x1='7' y1='14' x2='25' y2='14' stroke='%23fff' stroke-width='0.8' opacity='0.5'/%3E%3C/svg%3E") 16 16, crosshair;
}

/* ---------- Navigation ---------- */
.navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 40px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 1000;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease, backdrop-filter 0.3s ease;
}

.navigation.nav-scrolled {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.page-loaded .navigation {
  opacity: 1;
  transform: none;
}

.nav-logo {
  height: 40px;
}

.nav-logo img {
  height: 100%;
  width: auto;
}

.nav-items {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  position: relative;
  transition: color 0.3s ease;
}

.nav-item:hover {
  color: #fff;
  transform: translateY(-2px);
}

.nav-item::after {
  background: #dc2626;
  bottom: -5px;
  content: "";
  height: 2px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  transition: all 0.3s ease;
  width: 0;
}

.nav-item:hover::after {
  width: 100%;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-icon {
  background: none;
  border: none;
  border-radius: 50%;
  color: #888;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.nav-icon:hover {
  background: rgba(220, 38, 127, 0.1);
  color: #fff;
  transform: scale(1.1);
}

/* ---------- Spiderman Hero (full section) ---------- */
.spiderman-hero {
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  font-family: Inter, sans-serif;
  min-height: 100vh;
  overflow: visible;
  padding: 72px 40px 0;
  position: relative;
  width: 100%;
}

.spiderman-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(220, 38, 38, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(220, 38, 38, 0.04) 0%, transparent 40%);
  pointer-events: none;
}

/* ---------- Genre Tags ---------- */
.genre-tags {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
  margin: 0;
  padding: 20px 0;
  position: relative;
  z-index: 10;
}

.genre-tag {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.7);
  cursor: default;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 16px;
  overflow: hidden;
  padding: 0.4rem 1.2rem;
  position: relative;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.genre-tag::before {
  content: none;
}

.genre-tag:hover {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
  color: #ccc;
  transform: none;
}

body.page-loaded .genre-tag {
  opacity: 1;
}

body.page-loaded .genre-tag:nth-child(1) { transition-delay: 0.05s; }
body.page-loaded .genre-tag:nth-child(2) { transition-delay: 0.15s; }
body.page-loaded .genre-tag:nth-child(3) { transition-delay: 0.25s; }
body.page-loaded .genre-tag:nth-child(4) { transition-delay: 0.35s; }
body.page-loaded .genre-tag:nth-child(5) { transition-delay: 0.45s; }

/* ---------- Main Title Section ---------- */
.main-title-section {
  align-items: center;
  display: flex;
  height: 45vh;
  justify-content: center;
  margin: 0;
  position: relative;
  z-index: 35;
}

/* Cast Names */
.cast-names {
  display: flex;
  gap: 2rem;
  opacity: 0;
  position: absolute;
  transform: scale(0.96);
  transform-origin: center;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 20;
}

body.page-loaded .cast-names {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.4s;
}

.cast-names.top-left {
  left: 0;
  top: 0;
}

.cast-names.top-right {
  right: 0;
  top: 0;
}

.cast-name {
  color: rgba(255, 255, 255, 0.35);
  cursor: default;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  padding-bottom: 0.3rem;
  position: relative;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.large-cast {
  font-size: 22px;
  font-weight: 300;
}

.cast-name::after {
  background: #dc2626;
  bottom: -5px;
  content: "";
  height: 2px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  transition: all 0.3s ease;
  width: 0;
}

.cast-name:hover {
  color: #fff;
  transform: translateY(-2px);
}

.cast-name:hover::after {
  width: 100%;
}

/* Hero Photo Boxes */
.hero-photo-box {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  height: 180px;
  justify-content: center;
  overflow: hidden;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 180px;
  z-index: 40;
  opacity: 0;
  transition: opacity 0.6s ease 0.5s;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

body.page-loaded .hero-photo-box {
  opacity: 1;
}

.hero-photo-box img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-photo-box-left {
  left: 40px;
}

.hero-photo-box-right {
  right: 40px;
}

.photo-box-label {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  left: 0;
  letter-spacing: 0.12em;
  padding: 16px 0 8px;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}

/* Title Container */
.title-container {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  position: relative;
  width: 100%;
  z-index: 35;
}

/* Background Shape (red circle) */
.background-shape {
  background: #dc2626;
  border-radius: 50%;
  height: var(--title-circle-d);
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  transform-origin: bottom center;
  width: var(--title-circle-d);
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

body.page-loaded .background-shape {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Main Title */
.main-title {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  margin: 0 auto;
  max-width: 1440px;
  padding: 0 80px;
  position: relative;
  width: 100%;
  z-index: 15;
}

/* Fit Text Container */
.fit-text-container {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  min-height: 160px;
  position: relative;
  width: 100%;
}

/* Title Text */
.title-text {
  color: #fff;
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  max-width: none;
  overflow: visible;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  width: 100%;
  z-index: 15;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

body.page-loaded .title-text {
  opacity: 1 !important;
  transform: none;
}

/* Hero Subtitle */
.hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-top: -8px;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.hero-subtitle-en {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-top: 4px;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease 0.45s, transform 0.6s ease 0.45s;
}

body.page-loaded .hero-subtitle,
body.page-loaded .hero-subtitle-en {
  opacity: 1;
  transform: none;
}

/* ---------- Bottom Hero Placeholder (Spider-Man image) ---------- */
.bottom-hero-placeholder {
  display: none;
}

/* ---------- Infinite Scroller (Hero) ---------- */
.infinite-scroller-container {
  align-items: center;
  background: #101010;
  box-sizing: border-box;
  display: flex;
  height: 96px;
  justify-content: center;
  left: 50%;
  margin-left: -52vw;
  max-width: none;
  opacity: 0;
  overflow: hidden;
  padding: 12px 0;
  pointer-events: none;
  position: absolute;
  top: calc(50% + var(--title-circle-d) / 2 + var(--scroller-gap) - 32px);
  transform: rotate(357deg);
  transform-origin: center;
  transition: opacity 0.4s ease;
  width: 104vw;
  z-index: 12;
}

body.page-loaded .infinite-scroller-container {
  opacity: 1;
}

.infinite-scroller {
  margin-left: -5vw;
  max-width: none;
  overflow: hidden;
  width: 110vw;
}

.scroller-track {
  align-items: center;
  animation: scroll-left 20s linear infinite;
  display: inline-flex;
  gap: 16px;
  padding: 0;
  width: max-content;
  will-change: transform;
}

.scroller-icon {
  align-items: center;
  background: rgba(220, 38, 38, 0.06);
  border: 1.5px solid rgba(220, 38, 38, 0.35);
  border-radius: 50%;
  color: rgba(220, 38, 38, 0.7);
  display: flex;
  flex: 0 0 auto;
  height: 52px;
  justify-content: center;
  overflow: hidden;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
  width: 52px;
}

.scroller-icon svg {
  height: 24px;
  width: 24px;
}

.scroller-icon:hover {
  background: rgba(220, 38, 38, 0.12);
  border-color: rgba(220, 38, 38, 0.6);
  color: rgba(220, 38, 38, 0.9);
}

/* ---------- Story Section ---------- */
.story-section {
  font-family: Inter, sans-serif;
  margin-top: auto;
  opacity: 0;
  padding: 0 0 40px;
  position: relative;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 10;
}

body.page-loaded .story-section {
  opacity: 1;
  transform: none;
}

.story-content {
  display: grid;
  grid-template-columns: 372px 1fr;
  gap: 4rem;
  align-items: end;
}

.story-text {
  flex: 1;
  max-width: 372px;
}

.story-title {
  color: #dc2626;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.story-description {
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.7;
  margin: 0;
}

.cta-container {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-self: end;
}

.cta-right-cluster {
  align-items: center;
  display: flex;
  gap: 0;
  position: relative;
}

.circle-count {
  align-items: center;
  border: 2px solid #dc2626;
  border-radius: 50%;
  display: flex;
  height: 44px;
  justify-content: center;
  transform: rotate(-21deg);
  width: 44px;
  z-index: 1;
}

.count-text {
  color: #dc2626;
  font-size: 16px;
  font-weight: 700;
}

.circle-image-placeholder {
  background-color: #111;
  background-image: url(images/avatar.jpg);
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  border: none;
  border-radius: 50%;
  height: 80px;
  margin-left: -12px;
  position: relative;
  transform: rotate(14deg);
  width: 80px;
  z-index: 2;
}

/* ---------- Book Now Button ---------- */
.book-now-btn {
  align-items: center;
  background: transparent;
  border: 1.5px solid rgba(220, 38, 38, 0.6);
  border-radius: 50px;
  box-shadow: 0 0 0 rgba(220, 38, 38, 0);
  color: #dc2626;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
  letter-spacing: 0.12em;
  overflow: hidden;
  padding: 0.7rem 1.8rem 0.7rem 1.4rem;
  position: relative;
  text-transform: uppercase;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-arrow {
  height: 16px;
  transform: rotate(318deg);
  transform-origin: center;
  width: 16px;
}

.book-now-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.book-now-btn:hover::before {
  left: 100%;
}

.book-now-btn:hover,
.book-now-btn.hovered {
  background: linear-gradient(45deg, #dc2626, #991b1b);
  border-color: #dc2626;
  box-shadow: 0 15px 40px rgba(220, 38, 38, 0.5);
  color: #fff;
  transform: translateY(-3px);
}

.btn-text {
  position: relative;
  z-index: 2;
}

.btn-glow {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  height: 0;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  width: 0;
}

.book-now-btn:hover .btn-glow,
.book-now-btn.hovered .btn-glow {
  height: 100px;
  width: 100px;
}

/* ========== CINE SECTION ========== */
.cine-section {
  --section-hpad: 40px;
  background: transparent;
  overflow: visible;
  position: relative;
  width: 100%;
}

/* ---------- Cine Top ---------- */
.cine-top {
  --top-pad: 200px;
  background: #000;
  min-height: 160px;
  padding: var(--top-pad) var(--section-hpad) 240px var(--section-hpad);
  position: relative;
}

/* Decorative circle */
.cine-top::before {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  height: 816px;
  width: 816px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* Crosshair lines */
.cine-top::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1));
  background-position: 50% 50%, 50% 50%;
  background-repeat: no-repeat;
  background-size: 1px 100%, 100% 1px;
  inset: 0;
}

.cine-top-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 24px;
  align-items: center;
}

/* Cine Top Scroller */
.cine-top-scroller-container {
  align-items: center;
  background: #9c1616;
  box-sizing: border-box;
  display: flex;
  height: 96px;
  justify-content: center;
  left: 50%;
  overflow: hidden;
  padding: 12px 0;
  pointer-events: none;
  position: absolute;
  top: 32px;
  transform: translateX(-50%) rotate(357deg);
  width: 100vw;
  z-index: 6;
}

.cine-top-scroller-container .infinite-scroller {
  overflow: hidden;
  width: 100vw;
}

.cine-top-scroller-container .scroller-track {
  align-items: center;
  animation: scroll-left 20s linear infinite;
  display: inline-flex;
  gap: 16px;
  width: max-content;
}

.cine-top-scroller-container .scroller-icon {
  background: rgba(220, 38, 38, 0.04);
  border: 2px solid rgba(220, 38, 38, 0.25);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.5);
  flex: 0 0 auto;
  height: 56px;
  width: 56px;
}

.cine-top-scroller-container .scroller-icon svg {
  height: 26px;
  width: 26px;
}

.cine-top-scroller-container .scroller-icon:hover {
  background: rgba(220, 38, 38, 0.1);
  border-color: rgba(220, 38, 38, 0.5);
  color: rgba(255, 255, 255, 0.8);
}

/* Edge Arrows */
.edge-arrow {
  background: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  color: #111;
  font-size: 0;
  height: 100px;
  line-height: 100px;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  width: 100px;
  z-index: 11;
}

.edge-arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 24px;
  border-right: 4px solid;
  border-top: 4px solid;
  border-radius: 1px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.edge-arrow.left {
  background: #dc2626;
  color: #fff;
  left: var(--section-hpad);
}

.edge-arrow.left::before {
  transform: translate(-50%, -50%) rotate(225deg);
}

.edge-arrow.right {
  background: #fff;
  color: #111;
  right: var(--section-hpad);
}

/* ---------- Cine Left Column ---------- */
.cine-subtitle {
  color: #bbb;
  font-size: 12px;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

.marvel-badge {
  align-items: center;
  background: #b91c1c;
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.1em;
  padding: 10px 14px;
}

.cine-left-meta {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.counter-circle {
  align-items: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  display: flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.stars {
  display: flex;
  gap: 4px;
}

.star {
  color: #777;
  font-size: 14px;
}

.star.filled {
  color: #dc2626;
}

/* ---------- Cine Center (Card Stack) ---------- */
.cine-center {
  align-items: center;
  display: flex;
  justify-content: center;
}

.card-stack {
  bottom: -140px;
  height: 300px;
  left: 50%;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%);
  width: 180px;
  z-index: 10;
}

.card {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 3px solid #5c2020;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.6),
    0 6px 20px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(92, 32, 32, 0.3),
    inset 0 1px 0 rgba(120, 50, 50, 0.1);
  overflow: hidden;
}

.card .card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Tarot card back (bg1 & bg2) ---- */
.tarot-back {
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, #1a0d0d, #0a0a0a 40%, #1a0d0d);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tarot-back::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1.5px solid rgba(120, 50, 50, 0.4);
  border-radius: 10px;
  background:
    repeating-conic-gradient(
      rgba(120, 50, 50, 0.06) 0deg 10deg,
      transparent 10deg 20deg
    ),
    radial-gradient(circle at 50% 50%, rgba(92, 32, 32, 0.15), transparent 70%);
}

.tarot-back-inner {
  width: 60%;
  height: 50%;
  border: 1px solid rgba(120, 50, 50, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(120, 50, 50, 0.08), transparent 70%);
  position: relative;
}

.tarot-back-inner::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(120, 50, 50, 0.15);
  border-radius: 50%;
}

.tarot-back-star {
  font-size: 28px;
  color: rgba(140, 55, 55, 0.5);
  text-shadow: 0 0 12px rgba(140, 55, 55, 0.3);
}

.card.bg1 {
  background: #0a0a0a;
  transform: rotate(-18deg) translate(-40px, 18px);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
}

.card.bg2 {
  background: #0a0a0a;
  transform: rotate(14deg) translate(34px, 12px);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
  transition-delay: 120ms;
}

/* ---- Main tarot card (front) ---- */
.card.main {
  align-items: center;
  background: linear-gradient(180deg, #1a0d0d, #0a0a0a);
  display: flex;
  justify-content: center;
  transform: rotate(0deg) scale(0.85);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
  transition-delay: 240ms;
}

.card.main .card-img {
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 56px);
  top: 12px;
  border-radius: 10px;
  object-fit: cover;
  filter: none !important;
  mix-blend-mode: normal !important;
}

/* Tarot ornate frame overlay on main card */
.tarot-frame {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.tarot-frame::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(120, 50, 50, 0.45);
  border-radius: 10px;
}

.tarot-corner {
  position: absolute;
  font-size: 10px;
  color: rgba(140, 55, 55, 0.7);
  line-height: 1;
}

.tarot-corner.tl { top: 12px; left: 14px; }
.tarot-corner.tr { top: 12px; right: 14px; }
.tarot-corner.bl { bottom: 12px; left: 14px; }
.tarot-corner.br { bottom: 12px; right: 14px; }

.tarot-label {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Georgia', serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(140, 55, 55, 0.75);
  text-shadow: 0 0 8px rgba(140, 55, 55, 0.3);
  white-space: nowrap;
}

/* Fan-in animation */
.card-stack.fan-in .card.bg1 {
  opacity: 1;
  transform: rotate(-18deg) translate(-40px, 18px);
}

.card-stack.fan-in .card.bg2 {
  opacity: 1;
  transform: rotate(14deg) translate(34px, 12px);
}

.card-stack.fan-in .card.main {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Vignette on main card */
.card.main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, transparent 50%, rgba(10, 0, 0, 0.6) 100%);
  box-shadow: inset 0 0 50px rgba(10, 0, 0, 0.4);
  pointer-events: none;
  z-index: 2;
}

/* Mystical glow on main card */
.card.main::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -30%;
  width: 160%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(140, 55, 55, 0.08) 0%,
    transparent 50%
  );
  transform: rotate(-10deg);
  pointer-events: none;
  z-index: 2;
}

/* ---------- Cine Right Column ---------- */
.cine-right {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote {
  border-left: 2px solid rgba(220, 38, 38, 0.6);
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.02em;
  line-height: 1.5;
  max-width: 260px;
  padding-left: 16px;
  position: relative;
}

.quote-mark {
  color: rgba(255, 255, 255, 0.13);
  font-size: 28px;
  left: -10px;
  position: absolute;
  top: -10px;
}

.pager-dots {
  display: flex;
  gap: 8px;
}

.dot {
  background: #666;
  border-radius: 50%;
  height: 8px;
  opacity: 0.6;
  width: 8px;
}

.dot.active {
  background: #dc2626;
  opacity: 1;
}

/* ---------- Chips ---------- */
.chips {
  display: flex;
  gap: 16px;
  left: 50%;
  position: absolute;
  top: calc(var(--top-pad));
  transform: translateX(-50%);
  will-change: transform, opacity;
  opacity: 0;
}

.chips.in {
  opacity: 1;
}

.chip {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 2px;
  height: auto;
  justify-content: center;
  padding: 20px 28px;
  min-width: 110px;
  will-change: transform, opacity;
}

.chip .chip-title {
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.chip .chip-value {
  align-items: center;
  color: #fff;
  display: flex;
  font-size: 32px;
  font-weight: 700;
  justify-content: center;
  line-height: 1.1;
  white-space: nowrap;
}

.chip.white {
  background: #fff;
  border-color: #fff;
}

.chip.white .chip-title,
.chip.white .chip-value {
  color: #111;
}

.chip.red {
  background: #dc2626;
}

.chip.dark {
  background: #2b2b2b;
}

/* Chip animations */
.chips .chip.white {
  opacity: 0;
  transform: translateX(-60px);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.42s ease;
}

.chips .chip.red {
  opacity: 0;
  transform: translateY(-60px);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.42s ease;
  transition-delay: 60ms;
}

.chips .chip.dark {
  opacity: 0;
  transform: translateX(60px);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.42s ease;
  transition-delay: 0.12s;
}

.chips.in .chip.white,
.chips.in .chip.red,
.chips.in .chip.dark {
  opacity: 1;
  transform: none;
}

/* ---------- Cine Divider ---------- */
.cine-divider {
  background: transparent;
  height: 40px;
  position: relative;
  z-index: 2;
}

/* ---------- Cine Bottom ---------- */
.cine-bottom {
  background: #fff;
  color: #111;
  padding: 80px var(--section-hpad) 40px var(--section-hpad);
  position: relative;
}

.bottom-bar {
  background: #dc2626;
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.by-overlay {
  color: #111;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(24px, 4.5vw, 60px);
  left: 50%;
  letter-spacing: 0.05em;
  pointer-events: none;
  position: absolute;
  text-transform: uppercase;
  top: 160px;
  transform: translateX(-50%);
  z-index: 1;
}

.directed-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.big-direct {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 10vw, 140px);
  letter-spacing: -0.02em;
  line-height: 0.9;
  margin: 0;
  text-align: left;
  text-transform: uppercase;
}

.release-left {
  color: #b91c1c;
  font-size: 11px;
  letter-spacing: 0.25em;
  margin-top: 12px;
  text-transform: uppercase;
}

.col-right {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
}

.release-detail {
  max-width: 374px;
  padding-top: 40px;
}

.release-copy-right {
  color: #333;
  font-size: 16px;
  line-height: 22px;
  text-align: left;
}

.big-right {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 10vw, 140px);
  letter-spacing: -0.02em;
  line-height: 0.9;
  margin-top: 24px;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ========== Scroll Animation Classes ========== */
.fade-slide-left,
.fade-slide-right,
.fade-slide-top {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.42s ease, transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-slide-left {
  transform: translateX(-40px);
}

.fade-slide-right {
  transform: translateX(40px);
  transition-delay: 80ms;
}

.fade-slide-top {
  transform: translateY(-30px);
  transition-delay: 0.12s;
}

.fade-slide-left.in,
.fade-slide-right.in,
.fade-slide-top.in {
  opacity: 1;
  transform: none;
}

.scale-reveal {
  opacity: 0;
  transform: scale(0.92);
  transform-origin: center;
  will-change: transform, opacity;
}

.scale-reveal.in {
  opacity: 1;
  transform: scale(1);
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.42s ease;
}

.pop-reveal {
  opacity: 0;
  transform: scale(0.85);
  transform-origin: center;
  will-change: transform, opacity;
}

.pop-reveal.in {
  opacity: 1;
  animation: popIn 0.56s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ========== WHITE STAGE ========== */
.white-stage {
  background: #fff;
  position: relative;
}

.white-stage-content {
  position: relative;
  z-index: 3;
}

/* ---------- White Halo ---------- */
.white-halo {
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.25s ease;
  z-index: 2;
}

.white-halo.visible {
  opacity: 1;
}

.wh-line {
  background: rgba(0, 0, 0, 0.08);
  position: absolute;
}

.wh-line.h {
  height: 1px;
  width: 100vw;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.wh-line.v {
  height: 100vh;
  width: 1px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.wh-circle {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  height: 816px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 816px;
}

/* ---------- Cine Details ---------- */
.cine-details {
  background: transparent;
  color: #111;
  overflow: visible;
  padding: 48px 0 160px;
  position: relative;
}

.details-wrap {
  --section-hpad: 40px;
  margin: 0 auto;
  max-width: 1440px;
  padding: 0 var(--section-hpad);
  position: relative;
}

.top-row {
  align-items: center;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-bottom: 16px;
}

.marker {
  color: #222;
  font-size: 16px;
  letter-spacing: 0.2em;
}

.with-avatars {
  align-items: center;
  display: flex;
  gap: 16px;
}

.avatars {
  display: flex;
  gap: 6px;
  margin-left: 8px;
}

.avatar {
  background: linear-gradient(135deg, #a00, #300);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  height: 22px;
  width: 22px;
}

.details-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 10px auto 12px;
  max-width: 640px;
  text-align: center;
}

.details-media-row {
  align-items: center;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  margin: 16px 0 24px;
}

.media-left {
  display: flex;
  justify-content: flex-start;
}

.avatar-group {
  display: flex;
  gap: 8px;
}

.avatar-lg {
  background: #111;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  height: 40px;
  overflow: hidden;
  width: 40px;
}

.avatar-lg img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.media-center {
  display: flex;
  justify-content: center;
}

.media-right {
  display: flex;
  justify-content: flex-end;
}

.right-disc {
  border: 3px solid #111;
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  height: 120px;
  object-fit: cover;
  width: 120px;
}

/* Arrow Stack */
.arrow-stack {
  display: grid;
  gap: 8px;
  grid-auto-flow: row;
  justify-items: center;
}

.v-arrow {
  background: #111;
  height: 44px;
  position: relative;
  width: 2px;
}

.v-arrow.left::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: -5px;
  width: 12px;
  height: 12px;
  border-bottom: 2px solid #111;
  border-left: 2px solid #111;
  transform: rotate(45deg);
}

.v-arrow.right {
  background: #c00;
}

.v-arrow.right::after {
  content: "";
  position: absolute;
  top: -6px;
  right: -5px;
  width: 12px;
  height: 12px;
  border-right: 2px solid #c00;
  border-top: 2px solid #c00;
  transform: rotate(45deg);
}

.h-arrow {
  background: #2b2b2b;
  height: 2px;
  position: relative;
  width: 64px;
}

.h-arrow + .h-arrow {
  margin-top: 12px;
}

.h-arrow.right {
  background: #b91c1c;
}

.h-arrow.left {
  background: #2b2b2b;
}

.h-arrow.right::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -8px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #b91c1c;
  border-top: 2px solid #b91c1c;
  transform: rotate(45deg);
}

.h-arrow.left::after {
  content: "";
  position: absolute;
  top: -3px;
  left: -8px;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid #2b2b2b;
  border-left: 2px solid #2b2b2b;
  transform: rotate(45deg);
}

/* ---------- Details Grid ---------- */
.details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.projects-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-card {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 28px 32px;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  border-color: rgba(185, 28, 28, 0.15);
  box-shadow: 0 8px 32px rgba(185, 28, 28, 0.06);
}

.project-number {
  color: rgba(185, 28, 28, 0.25);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
  position: absolute;
  right: 28px;
  top: 20px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.project-tag {
  background: rgba(185, 28, 28, 0.06);
  border: 1px solid rgba(185, 28, 28, 0.12);
  border-radius: 999px;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 4px 14px;
}

.contact-bar-wrap {
  position: relative;
  margin-bottom: 40px;
}

/* ---------- Contact Bar (horizontal) ---------- */
.contact-bar {
  background: #111;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.05);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 24px 32px;
  width: 100%;
}

.contact-bar-left {
  flex-shrink: 0;
  min-width: 120px;
}

.contact-bar-left .film-head {
  margin-bottom: 4px;
}

.contact-bar-left .film-title {
  font-size: 26px;
  margin: 0;
}

.contact-bar-tiles {
  display: flex;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.tile.bar-tile {
  align-items: center;
  background: #1a1a1a;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 10px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 14px 16px;
  flex: 1;
  min-width: 0;
  height: 80px;
}

.tile.bar-tile-lg {
  flex: 2.2;
}

.tile.bar-tile-sm {
  flex: 0.8;
}

.contact-bar .map-tile {
  background: #1a1a1a;
  background-image: url(images/map-tile.png);
  background-position: 50%;
  background-size: cover;
  position: relative;
  justify-content: flex-end;
  padding-bottom: 10px;
}

.contact-bar .map-pin {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.contact-bar .map-tile .tile-label {
  color: #ddd;
  font-size: 11px;
  letter-spacing: 0.12em;
  position: relative;
  z-index: 1;
}

.contact-bar .tile-kicker,
.contact-bar .small-label {
  color: #bbb;
  font-size: 11px;
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}

.contact-bar .tile-strong,
.contact-bar .small-value {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  white-space: nowrap;
  max-width: 100%;
}

.book-cta.bar-cta {
  flex-shrink: 0;
  width: auto;
  padding: 0 24px;
  height: 48px;
  white-space: nowrap;
}

.kicker {
  color: #b91c1c;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.copy {
  color: #555;
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  max-width: 356px;
}

/* ---------- Film Card ---------- */
.film-card {
  --card-w: 296px;
  --card-h: 416px;
  --tile-gap: 10px;
  --big-h: 132px;
  --small-h: 78px;
  background: #111;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.05);
  color: #fff;
  display: flex;
  flex-direction: column;
  height: var(--card-h);
  justify-content: flex-start;
  margin: 0 auto;
  max-width: var(--card-w);
  padding: 20px;
  width: var(--card-w);
}

.film-head {
  color: #bbb;
  font-size: 12px;
  letter-spacing: 0.24em;
  margin-bottom: 8px;
  text-align: left;
}

.film-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 2px 0 16px;
  text-align: left;
}

.tile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--tile-gap);
  margin-bottom: 14px;
}

.tile {
  align-items: flex-end;
  background: #1a1a1a;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 10px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  overflow: hidden;
  padding: 12px;
  position: relative;
}

.tile.big {
  height: var(--big-h);
}

.tile.small {
  height: var(--small-h);
}

.map-tile {
  background: radial-gradient(120px 80px at 50% 40%, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.02)), #1a1a1a;
}

.map-pin {
  border: 2px solid #fff;
  border-radius: 50%;
  height: 22px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
}

.tile-label {
  color: #ddd;
  font-size: 12px;
  letter-spacing: 0.2em;
  opacity: 0.85;
}

.cinema-tile {
  align-items: center;
  background: #1e1e1e;
  justify-content: center;
  text-align: center;
}

.tile-kicker {
  color: #bbb;
  font-size: 12px;
  letter-spacing: 0.2em;
  margin-bottom: 6px;
}

.tile-strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.film-card .tile {
  border-radius: 24px !important;
}

.film-card .map-tile {
  background: #1a1a1a !important;
  background-image: url(images/map-tile.png) !important;
  background-position: 50% !important;
  background-size: cover !important;
}

.film-card .cinema-tile,
.film-card .tile.small {
  align-items: center !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  text-align: center !important;
}

.film-card .cinema-tile {
  gap: 6px !important;
}

.film-card .tile.small {
  gap: 4px !important;
}

.film-card .tile.small .small-label,
.film-card .tile.small .small-value {
  display: block !important;
  margin: 0 !important;
  text-align: center !important;
  width: 100% !important;
}

.film-card .small-value,
.film-card .tile-strong {
  letter-spacing: 0.1em !important;
}

.small-label {
  color: #bbb;
  font-size: 12px;
  letter-spacing: 0.2em;
  margin-bottom: 6px;
}

.small-value {
  font-size: 18px;
  font-weight: 800;
}

.book-cta {
  align-items: center;
  background: #b91c1c;
  border: none;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(185, 28, 28, 0.6);
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  height: 48px;
  justify-content: space-between;
  letter-spacing: 0.06em;
  margin-top: auto;
  padding: 0 16px;
  width: 100%;
  font-weight: 800;
  text-decoration: none;
}

.book-cta .cta-arrow {
  font-weight: 800;
}

.book-cta:hover {
  filter: brightness(1.05);
}

.red-origin-anchor {
  bottom: 60px;
  height: 10px;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%);
  width: 10px;
}

/* ---------- DP Poster ---------- */
.dp-poster {
  background: transparent;
  color: #111;
  padding: 0;
}

.dp-wrap {
  margin: 0 auto;
  max-width: 1100px;
  padding: 0 40px;
  position: relative;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.dp-wrap.active {
  opacity: 1;
  transform: none;
}

.dp-kicker {
  color: #666;
  font-size: 12px;
  letter-spacing: 0.28em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.dp-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 0.9;
  margin: 0 auto;
  white-space: nowrap;
}

.dp-meta {
  margin: 0 auto;
  max-width: 1000px;
  position: relative;
}

.dp-meta .left,
.dp-meta .right {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  position: absolute;
  top: 0;
}

.dp-meta .left {
  left: 0;
}

.dp-meta .right {
  right: 0;
}

.red-mid-anchor {
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

/* ---------- Bottom Placeholder ---------- */
.bottom-placeholder {
  background: transparent;
  margin-top: 24px;
  padding: 0 0 80px;
  position: relative;
}

.bp-wrap {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 40px;
}

.img-placeholder {
  background: none;
  border: none;
  border-radius: 16px;
  box-sizing: initial;
  display: block;
  height: 426px;
  isolation: isolate;
  margin-bottom: 0;
  overflow: visible;
  position: relative;
  width: 554px;
}

.img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  position: relative;
  z-index: 1;
  animation: glitch-img 4s infinite;
}

/* Thin glitch slices — scattered small blocks */
.img-placeholder::before,
.img-placeholder::after {
  content: "";
  position: absolute;
  background: url('images/feature-image.gif') center/cover no-repeat;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}

.img-placeholder::before {
  width: 60px;
  height: 24px;
  top: 20%;
  left: 15%;
  animation: glitch-block-a 4s infinite;
}

.img-placeholder::after {
  width: 45px;
  height: 18px;
  bottom: 25%;
  right: 8%;
  animation: glitch-block-b 4s 0.6s infinite;
}

/* Noise + scanline overlay via extra elements */
.img-placeholder .glitch-noise {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: 16px;
  opacity: 0;
  animation: glitch-noise-flash 4s infinite;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Scattered glitch blocks */
.glitch-block {
  position: absolute;
  background: url('images/feature-image.gif') center/cover no-repeat;
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  overflow: visible;
}

.gb1 {
  width: 50px;
  height: 20px;
  top: 12%;
  left: 60%;
  animation: glitch-block-c 4s 0.15s infinite;
}

.gb2 {
  width: 70px;
  height: 16px;
  top: 40%;
  left: -3%;
  animation: glitch-block-d 4s 0.4s infinite;
}

.gb3 {
  width: 35px;
  height: 28px;
  top: 55%;
  right: -2%;
  animation: glitch-block-e 4s 0.1s infinite;
}

.gb4 {
  width: 55px;
  height: 14px;
  top: 75%;
  left: 30%;
  animation: glitch-block-f 4s 0.7s infinite;
}

.gb5 {
  width: 40px;
  height: 22px;
  top: 30%;
  right: 20%;
  animation: glitch-block-g 4s 0.25s infinite;
}

.gb6 {
  width: 48px;
  height: 12px;
  top: 85%;
  left: 55%;
  animation: glitch-block-h 4s 0.5s infinite;
}

/* Main image: subtle RGB split + tiny shake */
@keyframes glitch-img {
  0%, 7%, 11%, 37%, 41%, 67%, 71%, 100% {
    filter: none;
    transform: none;
  }
  8% {
    filter: drop-shadow(2px 0 0 rgba(255, 0, 0, 0.35)) drop-shadow(-2px 0 0 rgba(0, 200, 255, 0.3));
    transform: translateX(1px);
  }
  9% {
    filter: drop-shadow(-1px 0 0 rgba(255, 0, 0, 0.3)) drop-shadow(1px 0 0 rgba(0, 200, 255, 0.25));
    transform: translateX(-1px);
  }
  10% {
    filter: drop-shadow(1px 0 0 rgba(255, 0, 0, 0.2)) drop-shadow(-1px 0 0 rgba(0, 200, 255, 0.2));
  }
  38% {
    filter: drop-shadow(-2px 0 0 rgba(255, 0, 0, 0.4)) drop-shadow(2px 0 0 rgba(0, 200, 255, 0.35));
    transform: translateX(-1px) skewX(-0.3deg);
  }
  39% {
    filter: drop-shadow(1px 0 0 rgba(255, 0, 0, 0.25)) drop-shadow(-2px 0 0 rgba(0, 200, 255, 0.3));
    transform: translateX(1px);
  }
  40% {
    filter: drop-shadow(1px 0 0 rgba(255, 0, 0, 0.15));
  }
  68% {
    filter: drop-shadow(2px 0 0 rgba(255, 0, 0, 0.3)) drop-shadow(-1px 0 0 rgba(0, 200, 255, 0.35));
    transform: translateX(1px);
  }
  69% {
    filter: drop-shadow(-1px 0 0 rgba(255, 0, 0, 0.35)) drop-shadow(2px 0 0 rgba(0, 200, 255, 0.25));
    transform: translateX(-1px) skewX(0.2deg);
  }
  70% {
    filter: drop-shadow(1px 0 0 rgba(255, 0, 0, 0.15));
  }
}

/* Scattered block animations — each block pops in at different moments */
@keyframes glitch-block-a {
  0%, 7%, 11%, 37%, 41%, 100% { opacity: 0; transform: none; }
  8% { opacity: 0.85; transform: translate(6px, -2px); }
  9.5% { opacity: 0.7; transform: translate(-8px, 1px); }
  10% { opacity: 0.3; transform: translate(3px, 0); }
  38% { opacity: 0.8; transform: translate(-10px, 2px); }
  39.5% { opacity: 0.6; transform: translate(5px, -1px); }
  40% { opacity: 0.2; transform: translate(-2px, 0); }
}

@keyframes glitch-block-b {
  0%, 17%, 21%, 57%, 61%, 100% { opacity: 0; transform: none; }
  18% { opacity: 0.8; transform: translate(-7px, 3px); }
  19.5% { opacity: 0.7; transform: translate(9px, -2px); }
  20% { opacity: 0.3; transform: translate(-3px, 1px); }
  58% { opacity: 0.75; transform: translate(8px, -1px); }
  59.5% { opacity: 0.6; transform: translate(-5px, 2px); }
  60% { opacity: 0.25; transform: translate(2px, 0); }
}

@keyframes glitch-block-c {
  0%, 7%, 11%, 67%, 71%, 100% { opacity: 0; transform: none; }
  8% { opacity: 0.9; transform: translate(-12px, 1px); }
  9% { opacity: 0.7; transform: translate(6px, -3px); }
  10% { opacity: 0.3; transform: translate(-2px, 0); }
  68% { opacity: 0.8; transform: translate(10px, 2px); }
  69.5% { opacity: 0.65; transform: translate(-4px, -1px); }
  70% { opacity: 0.2; transform: translate(1px, 0); }
}

@keyframes glitch-block-d {
  0%, 12%, 16%, 47%, 51%, 100% { opacity: 0; transform: none; }
  13% { opacity: 0.85; transform: translate(14px, -1px); }
  14.5% { opacity: 0.7; transform: translate(-6px, 2px); }
  15% { opacity: 0.3; transform: translate(3px, 0); }
  48% { opacity: 0.75; transform: translate(-11px, 1px); }
  49.5% { opacity: 0.6; transform: translate(7px, -2px); }
  50% { opacity: 0.2; transform: translate(-2px, 0); }
}

@keyframes glitch-block-e {
  0%, 22%, 26%, 62%, 66%, 100% { opacity: 0; transform: none; }
  23% { opacity: 0.8; transform: translate(-8px, -2px); }
  24.5% { opacity: 0.7; transform: translate(10px, 1px); }
  25% { opacity: 0.35; transform: translate(-3px, 0); }
  63% { opacity: 0.75; transform: translate(6px, 3px); }
  64.5% { opacity: 0.6; transform: translate(-9px, -1px); }
  65% { opacity: 0.25; transform: translate(2px, 0); }
}

@keyframes glitch-block-f {
  0%, 32%, 36%, 72%, 76%, 100% { opacity: 0; transform: none; }
  33% { opacity: 0.8; transform: translate(9px, 2px); }
  34.5% { opacity: 0.65; transform: translate(-7px, -1px); }
  35% { opacity: 0.3; transform: translate(2px, 0); }
  73% { opacity: 0.7; transform: translate(-12px, 1px); }
  74.5% { opacity: 0.6; transform: translate(5px, -2px); }
  75% { opacity: 0.2; transform: translate(-1px, 0); }
}

@keyframes glitch-block-g {
  0%, 5%, 9%, 42%, 46%, 100% { opacity: 0; transform: none; }
  6% { opacity: 0.85; transform: translate(-6px, 3px); }
  7.5% { opacity: 0.7; transform: translate(11px, -1px); }
  8% { opacity: 0.3; transform: translate(-4px, 0); }
  43% { opacity: 0.8; transform: translate(8px, -2px); }
  44.5% { opacity: 0.65; transform: translate(-5px, 1px); }
  45% { opacity: 0.25; transform: translate(2px, 0); }
}

@keyframes glitch-block-h {
  0%, 27%, 31%, 52%, 56%, 100% { opacity: 0; transform: none; }
  28% { opacity: 0.75; transform: translate(7px, -3px); }
  29.5% { opacity: 0.65; transform: translate(-10px, 1px); }
  30% { opacity: 0.3; transform: translate(3px, 0); }
  53% { opacity: 0.8; transform: translate(-8px, 2px); }
  54.5% { opacity: 0.6; transform: translate(6px, -1px); }
  55% { opacity: 0.2; transform: translate(-2px, 0); }
}

/* Noise flash — synced with glitch moments */
@keyframes glitch-noise-flash {
  0%, 7%, 11%, 37%, 41%, 67%, 71%, 100% {
    opacity: 0;
  }
  8%, 10% {
    opacity: 0.6;
  }
  38%, 40% {
    opacity: 0.5;
  }
  68%, 70% {
    opacity: 0.55;
  }
}

.red-target-anchor {
  height: 10px;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
}

/* ========== Floating Red Box ========== */
.floating-red-layer {
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: 5;
}

.floating-red-box {
  background: url(images/floating-red.jpg) 50% / cover no-repeat;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  height: 380px;
  left: -9999px;
  opacity: 0;
  position: fixed;
  top: -9999px;
  transform: translateZ(0);
  width: 420px;
  will-change: left, top, width, height, border-radius, opacity;
}

/* ========== Footer ========== */
.site-footer {
  background: #0a0a0a;
  color: #fff;
  padding: 80px 40px 32px;
  position: relative;
  overflow: hidden;
}

.footer-glow {
  background: radial-gradient(ellipse at 50% 0%, rgba(220, 38, 38, 0.08) 0%, transparent 60%);
  height: 300px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
}

.footer-content {
  margin: 0 auto;
  max-width: 1100px;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}

.footer-brand {
  flex: 1;
  max-width: 360px;
}

.footer-avatar {
  border: 2px solid rgba(220, 38, 38, 0.4);
  border-radius: 50%;
  height: 56px;
  margin-bottom: 16px;
  overflow: hidden;
  width: 56px;
}

.footer-avatar img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.footer-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  color: rgba(255, 255, 255, 0.3);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.footer-link {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s ease;
}

a.footer-link:hover {
  color: #dc2626;
}

.footer-divider {
  background: rgba(255, 255, 255, 0.06);
  height: 1px;
  margin: 48px 0 24px;
}

.footer-bottom {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.25);
  font-size: 13px;
  font-weight: 300;
}

.back-to-top {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.4);
  display: inline-flex;
  font-size: 12px;
  gap: 6px;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  transition: all 0.3s ease;
}

.back-to-top:hover {
  border-color: rgba(220, 38, 38, 0.4);
  color: #dc2626;
}

/* ========== Responsive ========== */

/* --- Hamburger hidden on desktop, shown on mobile --- */
.hamburger-btn { display: none; }

@media (max-width: 1024px) {
  :root {
    --title-circle-d: 420px;
  }

  .hero-photo-box {
    height: 150px;
    width: 150px;
  }

  .cine-top-inner {
    grid-template-columns: 1fr 1fr;
  }

  .cine-right {
    align-items: flex-start;
    grid-column: span 2;
  }

  .quote {
    max-width: 100%;
  }

  .chips {
    justify-content: center;
    margin: 16px 0 0;
    position: static;
    transform: none;
  }

  .directed-grid {
    grid-template-columns: 1fr;
  }

  .col-right {
    align-items: flex-start;
  }

  .release-copy-right {
    text-align: right;
  }

  .big-right {
    text-align: left;
  }

  .details-wrap {
    --section-hpad: 32px;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }

  .contact-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
  }

  .contact-bar-tiles {
    flex-wrap: wrap;
  }

  .tile.bar-tile {
    flex: 1 1 calc(50% - 6px);
    min-width: 120px;
  }

  .book-cta.bar-cta {
    width: 100%;
  }

  .copy {
    max-width: 100%;
  }

  .footer-top {
    flex-direction: column;
    gap: 40px;
  }

  .footer-brand {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .wh-circle {
    height: 680px;
    width: 680px;
  }

  /* Decorative circle in cine-top: clamp to viewport */
  .cine-top::before {
    height: 90vw;
    width: 90vw;
  }
}

@media (max-width: 768px) {
  :root {
    --title-circle-d: 320px;
  }

  /* --- Mobile Navigation --- */
  .navigation {
    padding: 0.8rem 24px;
    flex-wrap: wrap;
  }

  .nav-items {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    order: 3;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .navigation.nav-open .nav-items {
    display: flex;
  }

  .navigation.nav-open {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .nav-item {
    padding: 12px 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
  }

  .hamburger-btn {
    display: flex;
  }

  /* --- Hero Section --- */
  .main-title-section {
    height: auto;
    min-height: auto;
    margin: 0.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cast-names {
    display: none;
  }

  .hero-photo-box {
    height: 100px;
    width: 100px;
    border-radius: 12px;
    position: static;
    transform: none;
  }

  .hero-photo-box-left {
    left: auto;
    order: -1;
    margin-bottom: 16px;
  }

  .hero-photo-box-right {
    right: auto;
    order: 1;
    margin-top: 16px;
  }

  .title-container {
    width: 100%;
  }

  .main-title {
    padding: 0 8px;
  }

  .fit-text-container {
    min-height: 60px;
  }

  .spiderman-hero {
    padding: 72px 24px 32px;
  }

  /* --- Infinite Scroller --- */
  .infinite-scroller-container {
    position: relative;
    top: auto;
    left: 50%;
    transform: rotate(357deg);
    margin-left: -50vw;
    width: 100vw;
    margin-top: 16px;
  }

  /* --- Story Section --- */
  .story-content {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .cta-container,
  .story-content {
    justify-content: center;
  }

  .story-text {
    max-width: 100%;
  }

  .story-title {
    font-size: 12px;
  }

  .story-description {
    font-size: 13px;
  }

  .book-now-btn {
    font-size: 13px;
    padding: 0.8rem 2rem;
  }

  /* --- Cine Section --- */
  .cine-section {
    --section-hpad: 24px;
  }

  .cine-top {
    --top-pad: 32px;
    padding: var(--top-pad) var(--section-hpad) 96px var(--section-hpad);
  }

  .cine-top-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cine-right {
    align-items: center;
    grid-column: span 1;
  }

  .quote {
    text-align: center;
    border-left: none;
    border-top: 2px solid rgba(220, 38, 38, 0.6);
    padding-left: 0;
    padding-top: 16px;
  }

  .card-stack {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin: 24px auto 0;
  }

  .edge-arrow {
    height: 60px;
    width: 60px;
    line-height: 60px;
  }

  .edge-arrow::before {
    width: 16px;
    height: 16px;
    border-width: 3px;
  }

  /* --- Cine Bottom --- */
  .cine-bottom {
    padding: 80px var(--section-hpad) 32px var(--section-hpad);
  }

  .big-direct {
    font-size: clamp(40px, 8vw, 100px);
  }

  .big-right {
    font-size: clamp(40px, 8vw, 100px);
    white-space: normal;
  }

  /* --- DP Section --- */
  .dp-meta .left,
  .dp-meta .right {
    font-size: 14px;
  }

  /* --- Image Placeholder --- */
  .img-placeholder {
    width: 90vw;
    height: auto;
    aspect-ratio: 554 / 426;
  }

  /* --- Footer --- */
  .site-footer {
    padding: 60px 24px 24px;
  }

  .footer-links {
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .wh-circle {
    height: 520px;
    width: 520px;
  }

  .cine-top::before {
    height: 100vw;
    width: 100vw;
  }
}

@media (max-width: 480px) {
  :root {
    --title-circle-d: 180px;
  }

  .navigation {
    padding: 0.6rem 16px;
  }

  .main-title-section {
    min-height: 160px;
    padding: 0 0 40px;
  }

  .hero-photo-box {
    height: 80px;
    width: 80px;
    border-radius: 10px;
  }

  .photo-box-label {
    font-size: 9px;
    padding: 10px 0 4px;
  }

  .hero-subtitle {
    font-size: 16px;
    letter-spacing: 0.08em;
  }

  .hero-subtitle-en {
    font-size: 11px;
  }

  .spiderman-hero {
    padding: 56px 16px 20px;
  }

  .genre-tags {
    flex-wrap: wrap;
    gap: 6px;
  }

  .genre-tag {
    font-size: 10px;
    padding: 0.3rem 0.8rem;
  }

  .story-section {
    padding: 1.5rem 0;
  }

  .story-title {
    font-size: 11px;
  }

  .story-description {
    font-size: 12px;
    line-height: 1.6;
  }

  .book-now-btn {
    font-size: 12px;
    padding: 0.6rem 1.5rem;
  }

  .cine-section {
    --section-hpad: 16px;
  }

  .cine-top {
    padding: 24px var(--section-hpad) 80px var(--section-hpad);
  }

  .cine-bottom {
    padding: 64px var(--section-hpad) 24px var(--section-hpad);
  }

  .cine-top-scroller-container {
    height: 64px;
    padding: 8px 0;
  }

  .cine-top-scroller-container .scroller-icon {
    height: 40px;
    width: 40px;
  }

  .cine-top-scroller-container .scroller-icon svg {
    height: 20px;
    width: 20px;
  }

  .card-stack {
    width: 150px;
    height: 250px;
  }

  .chip {
    padding: 14px 18px;
    min-width: 90px;
  }

  .chip .chip-value {
    font-size: 24px;
  }

  .chip .chip-title {
    font-size: 10px;
  }

  .marvel-badge {
    font-size: 12px;
    padding: 8px 10px;
  }

  .details-wrap {
    --section-hpad: 16px;
  }

  .contact-bar {
    padding: 16px;
    gap: 12px;
    border-radius: 16px;
  }

  .contact-bar-tiles {
    flex-direction: column;
  }

  .tile.bar-tile {
    flex: 1 1 100%;
    min-width: 0;
    height: auto;
    padding: 12px;
  }

  .contact-bar .tile-strong,
  .contact-bar .small-value {
    font-size: 13px;
  }

  .contact-bar-left .film-title {
    font-size: 20px;
  }

  .avatar-lg {
    height: 32px;
    width: 32px;
  }

  .right-disc {
    height: 80px;
    width: 80px;
  }

  .film-title {
    font-size: 22px;
  }

  .film-card {
    --card-w: 260px;
    --card-h: 380px;
  }

  .dp-wrap {
    padding: 0 16px;
  }

  .dp-meta .left,
  .dp-meta .right {
    font-size: 12px;
    position: static;
    display: inline;
  }

  .dp-meta {
    display: flex;
    justify-content: center;
    gap: 16px;
  }

  .bp-wrap {
    padding: 0 16px;
  }

  .project-card {
    padding: 20px;
  }

  .project-number {
    font-size: 36px;
    right: 16px;
    top: 14px;
  }

  .site-footer {
    padding: 48px 16px 20px;
  }

  .footer-links {
    flex-direction: column;
    gap: 24px;
  }

  .footer-name {
    font-size: 22px;
  }

  .infinite-scroller-container {
    height: 64px;
    padding: 8px 0;
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .fade-slide-left,
  .fade-slide-right,
  .fade-slide-top {
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }

  .scale-reveal,
  .scale-reveal.in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .pop-reveal,
  .pop-reveal.in {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .chips,
  .chips .chip {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .card .card-img,
  .card .card-img-dim {
    filter: none !important;
    mix-blend-mode: normal !important;
  }

  .floating-red-box {
    transition: none !important;
  }

  .back-to-top {
    transition: none !important;
  }
}
