/* ═══════════════════════════════════════════════════════════
   MARVEL STUDIOS FANFARE — DQ SHOWCASE (Cinematic Intro)
   3D page-flip with 12 unique images of Dulquer Salmaan
   ═══════════════════════════════════════════════════════════ */

/* ── Main overlay container & Hardware Acceleration (PC & Mobile) ── */
.dq-intro,
.intro-stage,
.intro-page,
.intro-logo,
.intro-face-highlight,
.face-frame {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform, opacity;
}

.dq-intro {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #060606;
  overflow: hidden;
  will-change: opacity;
  animation: introFadeOut 0.5s cubic-bezier(0.25, 1, 0.5, 1) 3.85s forwards;
}
.dq-intro.paused * {
  animation-play-state: paused !important;
}
.dq-intro.done { display: none; }

/* ── 3D stage for the page flips ── */
.intro-stage {
  position: absolute;
  inset: 0;
  perspective: 1400px;
  transform-style: preserve-3d;
}

/* ── Each "page" — 100% Full-Screen Edge-to-Edge card that flips in 3D ── */
.intro-page {
  position: absolute;
  inset: 0;
  border-radius: 0;
  overflow: hidden;
  opacity: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform, opacity;
  transform-style: preserve-3d;
}
.intro-page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.2) saturate(0.85) brightness(1.02);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ── Pages flipping from RIGHT (odd pages) ── */
.page-r {
  transform-origin: left center;
}

/* ── Pages flipping from LEFT (even pages) ── */
.page-l {
  transform-origin: right center;
}

/* Staggered smooth page-flip animations (Unhurried, majestic pace) */
.intro-page:nth-child(1)  { animation: flipFromRight 0.45s cubic-bezier(0.19, 1, 0.22, 1) 0.00s forwards; }
.intro-page:nth-child(2)  { animation: flipFromLeft  0.45s cubic-bezier(0.19, 1, 0.22, 1) 0.11s forwards; }
.intro-page:nth-child(3)  { animation: flipFromRight 0.45s cubic-bezier(0.19, 1, 0.22, 1) 0.22s forwards; }
.intro-page:nth-child(4)  { animation: flipFromLeft  0.45s cubic-bezier(0.19, 1, 0.22, 1) 0.33s forwards; }
.intro-page:nth-child(5)  { animation: flipFromRight 0.45s cubic-bezier(0.19, 1, 0.22, 1) 0.44s forwards; }
.intro-page:nth-child(6)  { animation: flipFromLeft  0.45s cubic-bezier(0.19, 1, 0.22, 1) 0.55s forwards; }
.intro-page:nth-child(7)  { animation: flipFromRight 0.45s cubic-bezier(0.19, 1, 0.22, 1) 0.66s forwards; }
.intro-page:nth-child(8)  { animation: flipFromLeft  0.45s cubic-bezier(0.19, 1, 0.22, 1) 0.77s forwards; }
.intro-page:nth-child(9)  { animation: flipFromRight 0.45s cubic-bezier(0.19, 1, 0.22, 1) 0.88s forwards; }
.intro-page:nth-child(10) { animation: flipFromLeft  0.45s cubic-bezier(0.19, 1, 0.22, 1) 0.99s forwards; }
.intro-page:nth-child(11) { animation: flipFromRight 0.45s cubic-bezier(0.19, 1, 0.22, 1) 1.10s forwards; }
.intro-page:nth-child(12) { animation: flipFromLeft  0.45s cubic-bezier(0.19, 1, 0.22, 1) 1.21s forwards; }

/* ── Red cinematic wash (pulsing) ── */
.intro-red-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(180, 15, 15, 0.3) 0%, rgba(70, 0, 0, 0.75) 100%),
    linear-gradient(135deg, rgba(200, 20, 20, 0.5) 0%, rgba(90, 10, 10, 0.45) 50%, rgba(220, 160, 40, 0.25) 100%);
  z-index: 2;
  animation: redPulse 0.35s ease-in-out 0s 6 alternate;
  pointer-events: none;
}

/* ── Darken layer (fades in before logo) ── */
.intro-darken {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.95) 100%);
  z-index: 3;
  opacity: 0;
  animation: darkenIn 0.5s cubic-bezier(0.25, 1, 0.5, 1) 1.35s forwards;
  pointer-events: none;
}

/* ── DQ SHOWCASE Logo — 3D Transform Reveal & Unclipped "Q" ── */
.intro-logo {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  z-index: 5;
  perspective: 1000px;
  transform-style: preserve-3d;
  pointer-events: none;
  animation: logoFadeToFace 0.5s ease-in 2.55s forwards;
}

.intro-logo-dq {
  margin: 0;
  padding: 0 15px;
  font: 900 clamp(95px, 20vw, 210px)/0.9 'Playfair Display', serif;
  letter-spacing: 0.04em; /* Generous spacing so Q is 100% unclipped and prominent */
  white-space: nowrap;
  color: #ffffff;
  text-align: center;
  overflow: visible;
  text-shadow:
    0 0 70px rgba(238, 55, 55, 0.95),
    0 0 160px rgba(238, 55, 55, 0.6),
    0 10px 45px rgba(0, 0, 0, 0.95);
  opacity: 0;
  will-change: transform, opacity;
  animation: logoTransformReveal 0.75s cubic-bezier(0.19, 1, 0.22, 1) 1.35s forwards;
}

.intro-logo-sub {
  margin: 4px 0 0;
  padding: 10px 26px;
  font: 800 clamp(14px, 3.2vw, 24px)/1 Manrope, 'DM Mono', sans-serif;
  letter-spacing: 0.45em;
  margin-right: -0.45em; /* Offsets trailing letter-spacing to ensure pixel-perfect horizontal centering */
  color: #0d0d0d;
  background: #d9ff3d;
  border-radius: 6px;
  box-shadow: 0 0 40px rgba(217, 255, 61, 0.9), 0 8px 30px rgba(0, 0, 0, 0.95);
  text-transform: uppercase;
  text-align: center;
  display: inline-block;
  opacity: 0;
  will-change: transform, opacity;
  animation: subTransformReveal 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.70s forwards;
}

/* ── Face Highlight Spotlight Overlay ── */
.intro-face-highlight {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  animation: faceHighlightReveal 0.75s cubic-bezier(0.16, 1, 0.3, 1) 2.55s forwards;
}
.face-frame {
  position: relative;
  width: min(290px, 60vw);
  height: min(290px, 60vw);
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--lime);
  background: #050505;
  box-shadow:
    0 0 70px rgba(238, 55, 55, 0.95),
    0 0 120px rgba(217, 255, 61, 0.7),
    0 20px 60px rgba(0, 0, 0, 0.95);
}

/* Original Clean Full-Color Image — Solo Dulquer Salmaan Portrait */
.face-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.1) brightness(1.05);
}

.face-caption {
  margin: 0;
  font: 800 13px 'DM Mono', monospace;
  letter-spacing: 0.35em;
  color: var(--lime);
  text-shadow: 0 0 20px rgba(217, 255, 61, 0.9);
  text-transform: uppercase;
}

/* ── White flash bang ── */
.intro-flash {
  position: absolute;
  inset: 0;
  background: #ffffff;
  z-index: 6;
  opacity: 0;
  animation: flashBang 0.35s ease-out 3.90s forwards;
  pointer-events: none;
}


/* ═══════════════════════════════
   KEYFRAMES — 60fps Butter Smooth
   ═══════════════════════════════ */

/* 3D Scattered Comic Collage Fly */
@keyframes cardScatterFly {
  0% {
    opacity: 0;
    transform: scale(0.35) translateZ(-450px) rotateZ(-8deg);
  }
  30% {
    opacity: 1;
    transform: scale(1) translateZ(0) rotateZ(0deg);
  }
  75% {
    opacity: 1;
    transform: scale(1.08) translateZ(50px);
  }
  100% {
    opacity: 0;
    transform: scale(1.4) translateZ(320px);
  }
}

/* Page flips from RIGHT side (60fps Butter Smooth) */
@keyframes flipFromRight {
  0%   { opacity: 0; transform: translate3d(38%, 0, 0) rotateY(55deg) scale(0.84); }
  35%  { opacity: 1; transform: translate3d(0, 0, 0) rotateY(0deg) scale(1.0); }
  65%  { opacity: 1; transform: translate3d(0, 0, 0) rotateY(0deg) scale(1.0); }
  100% { opacity: 0; transform: translate3d(-35%, 0, 0) rotateY(-40deg) scale(0.88); }
}

/* Page flips from LEFT side (60fps Butter Smooth) */
@keyframes flipFromLeft {
  0%   { opacity: 0; transform: translate3d(-38%, 0, 0) rotateY(-55deg) scale(0.84); }
  35%  { opacity: 1; transform: translate3d(0, 0, 0) rotateY(0deg) scale(1.0); }
  65%  { opacity: 1; transform: translate3d(0, 0, 0) rotateY(0deg) scale(1.0); }
  100% { opacity: 0; transform: translate3d(35%, 0, 0) rotateY(40deg) scale(0.88); }
}

/* Red wash pulsing */
@keyframes redPulse {
  0%   { opacity: 0.35; }
  100% { opacity: 0.9; }
}

/* Darken before logo */
@keyframes darkenIn {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

/* Smooth Transform reveal for DQ logo (No blur filter) */
@keyframes logoTransformReveal {
  0%   { opacity: 0; transform: scale(0.4) translateY(30px); }
  70%  { opacity: 1; transform: scale(1.04) translateY(-2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Logo dissolves & zooms into face highlight */
@keyframes logoFadeToFace {
  0%   { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.18); }
}

/* 3D Unfold bounce for SHOWCASE badge */
@keyframes subTransformReveal {
  0%   { opacity: 0; transform: translateY(-20px) scale(0.7); }
  70%  { opacity: 1; transform: translateY(2px) scale(1.04); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Face Highlight Spotlight Reveal (No blur filter) */
@keyframes faceHighlightReveal {
  0%   { opacity: 0; transform: scale(0.4) rotate(-4deg); }
  70%  { opacity: 1; transform: scale(1.04) rotate(0deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* White flash at transition */
@keyframes flashBang {
  0%   { opacity: 0; }
  45%  { opacity: 0.95; }
  100% { opacity: 0; }
}

/* Final smooth dissolve out */
@keyframes introFadeOut {
  0%   { opacity: 1; }
  100% { opacity: 0; pointer-events: none; }
}

/* Lock scroll & touch gestures during intro */
html.intro-active {
  overflow: hidden;
  height: 100%;
  touch-action: none;
}

/* ═══ END INTRO STYLES ═══ */

:root {
  --ink: #131313;
  --paper: #f3efe7;
  --lime: #d9ff3d;
  --red: #ee4b3b;
  --line: rgba(19, 19, 19, 0.18);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
}
.grain {
  position: fixed;
  inset: 0;
  opacity: 0.055;
  pointer-events: none;
  z-index: 9;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
.site-header {
  height: 78px;
  padding: 0 clamp(22px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
}
.brand {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.brand span {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -2px;
}
.brand em {
  font: 600 16px 'Playfair Display';
  letter-spacing: -0.5px;
}
nav {
  display: flex;
  gap: 30px;
}
nav a {
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
nav a:hover {
  color: var(--red);
}
.menu-button,
.text-button {
  border: 0;
  background: none;
  font: 700 12px Manrope;
  cursor: pointer;
}
.menu-button span,
.text-button span {
  font-size: 16px;
  margin-left: 5px;
}

.hero {
  min-height: 680px;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  padding: clamp(50px, 10vw, 145px) clamp(22px, 11vw, 160px);
}
.hero:before {
  content: "";
  width: 600px;
  height: 600px;
  border: 1px solid rgba(217, 255, 61, 0.22);
  border-radius: 50%;
  position: absolute;
  right: -230px;
  top: -270px;
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 575px;
}
.eyebrow {
  font: 500 11px 'DM Mono', monospace;
  letter-spacing: 0.12em;
  margin: 0 0 20px;
}
.eyebrow span {
  display: inline-block;
  width: 35px;
  border-top: 1px solid currentColor;
  vertical-align: middle;
  margin: 0 8px;
}
.hero h1,
.section-head h2,
.filmography h2 {
  font: 700 clamp(55px, 8vw, 112px)/0.88 'Playfair Display', serif;
  letter-spacing: -0.075em;
  margin: 0;
}
.hero h1 i {
  color: var(--red);
  font-weight: 600;
  font-style: italic;
}
.intro {
  max-width: 400px;
  font-size: 15px;
  line-height: 1.7;
  margin: 30px 0;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 14px 22px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid var(--ink);
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.button-light {
  background: var(--lime);
  color: var(--ink);
}
.button-light:hover {
  background: #e6ff66;
  transform: translateY(-2px);
}
.button span {
  padding-left: 10px;
  font-size: 16px;
}
.text-button {
  color: inherit;
}
.hero-image-wrap {
  position: absolute;
  width: min(34vw, 450px);
  right: 8vw;
  bottom: 0;
  height: 92%;
  overflow: hidden;
  isolation: isolate;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
}
.hero-image-wrap:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 19, 19, 0.1), rgba(19, 19, 19, 0.05) 50%, rgba(19, 19, 19, 0.85));
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: none;
  transition: transform 0.5s ease;
}
.hero-image-wrap:hover .hero-image {
  transform: scale(1.03);
}
.hero-stamp {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 20px;
  color: var(--lime);
  font: 700 11px/1.3 'DM Mono', monospace;
  letter-spacing: 0.18em;
  background: rgba(19, 19, 19, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid rgba(217, 255, 61, 0.4);
  text-shadow: 0 0 10px rgba(217, 255, 61, 0.6);
  text-transform: uppercase;
}
.image-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  font: 700 11px 'DM Mono', monospace;
  letter-spacing: 0.14em;
  color: #ffffff;
  background: rgba(19, 19, 19, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}
.hero-count {
  position: absolute;
  bottom: 47px;
  left: 5vw;
  display: flex;
  align-items: center;
  gap: 15px;
}
.hero-count strong {
  font: 700 65px/0.7 'Playfair Display';
  color: var(--lime);
}
.hero-count span {
  font: 500 10px/1.4 'DM Mono';
  letter-spacing: 0.07em;
}

.ticker {
  overflow: hidden;
  background: var(--lime);
  padding: 16px 0;
  white-space: nowrap;
}
.ticker div {
  display: flex;
  gap: 30px;
  align-items: center;
  animation: slide 25s linear infinite;
  width: max-content;
}
.ticker span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.ticker b {
  font-size: 16px;
}
@keyframes slide {
  to {
    transform: translateX(-30%);
  }
}

.featured,
.filmography {
  padding: 120px clamp(22px, 11vw, 160px);
}
.section-head {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  align-items: end;
  margin-bottom: 53px;
}
.section-head .eyebrow {
  grid-column: 1/-1;
  margin: 0;
}
.section-head h2,
.filmography h2 {
  font-size: clamp(44px, 5.8vw, 78px);
}
.section-head > p:last-child {
  font-size: 14px;
  line-height: 1.75;
  max-width: 360px;
  margin: 0;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}
.spotlight {
  min-height: 360px;
  padding: 26px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--paper);
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.spotlight:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}
.spotlight-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.45;
  transition: transform 0.5s ease, opacity 0.5s ease;
  z-index: 0;
}
.spotlight:hover .spotlight-bg {
  transform: scale(1.08);
  opacity: 0.65;
}
.spotlight-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.85) 100%);
  z-index: 0;
}
.spotlight p,
.spotlight span,
.spotlight-number {
  position: relative;
  z-index: 1;
  font: 500 10px 'DM Mono';
  letter-spacing: 0.11em;
}
.spotlight-number {
  position: absolute;
  top: 25px;
  right: 25px;
  background: rgba(0,0,0,0.4);
  padding: 4px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
}
.spotlight h3 {
  position: relative;
  z-index: 1;
  font: 700 clamp(30px, 3vw, 47px)/0.95 'Playfair Display';
  margin: 7px 0 10px;
  letter-spacing: -0.05em;
}
.spotlight-gold {
  background: #4a3014;
}
.spotlight-blue {
  background: #18283b;
}
.spotlight-red {
  background: #4d1816;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.78;
  z-index: 0;
}
.orb-gold {
  width: 280px;
  height: 280px;
  background: #ffdc72;
  right: -40px;
  top: -70px;
  box-shadow: -110px 140px 0 #6c3131;
}
.orb-blue {
  width: 265px;
  height: 265px;
  background: #a2c6d7;
  top: -90px;
  right: -75px;
  box-shadow: -130px 160px 0 #1d2942;
}
.orb-red {
  width: 270px;
  height: 270px;
  background: #ffb65d;
  right: -95px;
  top: -80px;
  box-shadow: -130px 150px 0 #571b31;
}

/* Filmography Section */
.filmography {
  background: #e8e1d6;
}
.filmography-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
}
.search {
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--ink);
  padding: 8px 12px;
  gap: 10px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 6px 6px 0 0;
  transition: background 0.2s ease;
}
.search:focus-within {
  background: rgba(255, 255, 255, 0.8);
}
.search span {
  font-size: 18px;
  opacity: 0.7;
}
.search input {
  border: 0;
  background: transparent;
  outline: 0;
  font: 600 14px Manrope;
  width: 200px;
  color: var(--ink);
}
.filter-row {
  display: flex;
  gap: 10px;
  margin: 40px 0 25px;
  flex-wrap: wrap;
}
.filter-row button {
  border: 1px solid var(--ink);
  background: transparent;
  padding: 10px 18px;
  border-radius: 24px;
  font: 700 12px Manrope;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--ink);
}
.filter-row button:hover {
  background: rgba(19, 19, 19, 0.08);
}
.filter-row .active {
  background: var(--ink);
  color: var(--paper);
}

.film-list {
  border-top: 2px solid var(--ink);
}
.film {
  display: grid;
  grid-template-columns: 72px 1fr 160px 42px;
  align-items: center;
  gap: 15px;
  padding: 20px 16px;
  border-bottom: 1px solid var(--line);
  transition: padding 0.2s, background 0.2s, transform 0.2s;
  cursor: pointer;
  user-select: none;
}
.film:hover {
  padding-left: 24px;
  background: var(--lime);
  transform: translateX(4px);
}
.film-no {
  font: 600 12px 'DM Mono';
  color: rgba(19, 19, 19, 0.6);
}
.film-title {
  font: 700 clamp(18px, 2.2vw, 28px) 'Playfair Display';
  letter-spacing: -0.03em;
}
.film-date {
  font: 500 12px 'DM Mono';
  text-align: right;
  color: rgba(19, 19, 19, 0.7);
}
.film-arrow {
  text-align: right;
  font-size: 22px;
  transition: transform 0.2s ease;
}
.film:hover .film-arrow {
  transform: translate(3px, -3px);
}

/* OTT Platform Badges & Top-Right Dialog Badge */
.dialog-ott-badge {
  position: absolute;
  top: 16px;
  right: 55px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font: 700 11px 'DM Mono', monospace;
  text-decoration: none;
  z-index: 10;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.dialog-ott-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.ott-icon {
  font-size: 11px;
}
.ott-arrow {
  font-size: 13px;
}

.ott-manoramamax {
  background: linear-gradient(135deg, #d31018 0%, #e31e24 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(227, 30, 36, 0.4);
}
.ott-netflix {
  background: #e50914 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(229, 9, 20, 0.35);
}
.ott-hotstar {
  background: linear-gradient(135deg, #001f54 0%, #002b80 100%) !important;
  color: #00e4c0 !important;
  border: 1px solid rgba(0, 228, 192, 0.5) !important;
  box-shadow: 0 2px 8px rgba(0, 43, 128, 0.35);
}
.ott-prime {
  background: #00a8e1 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 168, 225, 0.35);
}
.ott-sunnxt {
  background: #ff6a00 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(255, 106, 0, 0.35);
}
.ott-sonyliv {
  background: linear-gradient(135deg, #4c1d95 0%, #6b21a8 100%) !important;
  color: #ffaa00 !important;
  border: 1px solid rgba(255, 170, 0, 0.4) !important;
  box-shadow: 0 2px 8px rgba(107, 33, 168, 0.35);
}
.ott-zee5 {
  background: #823094 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(130, 48, 148, 0.35);
}
.ott-generic {
  background: #333333 !important;
  color: #ffffff !important;
}

.result-count {
  font: 500 10px 'DM Mono';
  letter-spacing: 0.1em;
  margin: 24px 0 0;
}

.quote {
  background: var(--red);
  color: var(--paper);
  padding: 115px clamp(22px, 17vw, 250px);
  text-align: center;
}
.quote blockquote {
  font: 600 clamp(35px, 5.2vw, 70px)/1.05 'Playfair Display';
  letter-spacing: -0.05em;
  margin: 0;
}
.quote-note {
  font: 500 11px 'DM Mono';
  letter-spacing: 0.08em;
  margin-top: 35px;
}

/* Contact Section inside About */
.contact-section {
  margin-top: 55px;
  padding-top: 45px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.contact-eyebrow {
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.contact-title {
  font: 700 clamp(24px, 3.5vw, 36px) 'Playfair Display', serif;
  margin: 0 0 30px;
  color: var(--paper);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 16px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  text-decoration: none;
  color: var(--paper);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--lime);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.contact-icon {
  font-size: 24px;
  margin-bottom: 8px;
}
.contact-name {
  font: 700 13px Manrope, sans-serif;
  margin-bottom: 4px;
}
.contact-handle {
  font: 500 11px 'DM Mono', monospace;
  opacity: 0.8;
}

footer {
  background: var(--ink);
  color: var(--paper);
  padding: 23px clamp(22px, 5vw, 76px);
  display: flex;
  justify-content: space-between;
  font: 500 10px 'DM Mono';
  letter-spacing: 0.08em;
}

/* Dialog styling */
dialog {
  border: 0;
  background: var(--paper);
  padding: 36px;
  max-width: 460px;
  width: calc(100% - 40px);
  border-radius: 12px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}
.dialog-image-wrap {
  width: 100%;
  height: 250px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #0d0d0d;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.dialog-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
dialog h2 {
  font: 700 clamp(32px, 5vw, 46px)/0.95 'Playfair Display';
  letter-spacing: -0.05em;
  margin: 10px 0;
}
dialog p {
  font: 500 12px/1.6 'DM Mono';
  margin-bottom: 8px;
}
.dialog-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.button-wiki {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.button-wiki:hover {
  background: var(--red);
  color: #ffffff;
  border-color: var(--red);
  transform: translateY(-2px);
}
.close-dialog {
  position: absolute;
  right: 15px;
  top: 10px;
  border: 0;
  background: none;
  font-size: 30px;
  cursor: pointer;
  color: var(--ink);
  z-index: 10;
}

@media (max-width: 768px) {
  /* Mobile GPU Butter-Smooth Performance Optimizations */
  .dq-intro,
  .intro-stage,
  .intro-page,
  .intro-logo,
  .intro-face-highlight,
  .face-frame {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform, opacity;
  }

  /* Disable heavy CPU/GPU blur filters during 3D animation on mobile */
  .dq-intro * {
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Mobile Intro Card Framing & GPU Performance */
  .intro-page {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
    inset: 4% 3%;
    border-radius: 6px;
  }
  .face-frame {
    box-shadow: 0 0 40px rgba(238, 55, 55, 0.9), 0 0 60px rgba(217, 255, 61, 0.6);
    width: min(195px, 50vw);
    height: min(195px, 50vw);
    border-width: 3px;
  }

  /* Mobile Intro Typography & Stage */
  .dq-intro {
    height: 100dvh;
    touch-action: none;
  }
  .intro-stage {
    perspective: 750px;
  }
  .intro-logo {
    gap: 8px;
    padding: 0 12px;
  }
  .intro-logo-dq {
    font-size: clamp(56px, 15vw, 105px);
    line-height: 0.85;
    padding: 0 6px;
    text-shadow: 0 0 40px rgba(238, 55, 55, 0.9), 0 5px 25px rgba(0,0,0,0.9);
  }
  .intro-logo-sub {
    font-size: clamp(10px, 3.2vw, 15px);
    letter-spacing: 0.3em;
    margin-right: -0.3em;
    padding: 5px 12px;
  }
  .intro-face-highlight {
    gap: 10px;
    padding: 0 10px;
  }
  .face-caption {
    font-size: 10px;
    letter-spacing: 0.22em;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: auto;
    padding: 12px 18px;
    background: rgba(244, 240, 233, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(19, 19, 19, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .brand span {
    font-size: 22px;
  }
  .brand em {
    font-size: 14px;
  }
  nav {
    display: flex !important;
    gap: 6px;
    align-items: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  nav a {
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 16px;
    background: rgba(19, 19, 19, 0.07);
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
  }
  nav a:hover,
  nav a:active {
    background: var(--ink);
    color: var(--paper);
  }
  .menu-button {
    display: none;
  }
  .hero {
    min-height: auto;
    padding: 35px 18px 50px;
    display: flex;
    flex-direction: column;
  }
  .hero-copy {
    max-width: 100%;
    position: relative;
    z-index: 2;
  }
  .hero h1 {
    font-size: clamp(40px, 11vw, 65px);
    line-height: 0.95;
    margin-bottom: 16px;
  }
  .hero-lead {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 22px;
  }
  .hero-image-wrap {
    position: relative;
    width: 100%;
    height: 320px;
    right: auto;
    top: auto;
    transform: none;
    margin: 24px 0;
    opacity: 1;
    border-radius: 8px;
    overflow: hidden;
  }
  .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .hero-stamp {
    top: 14px;
    right: 14px;
    bottom: auto;
    font-size: 9px;
    padding: 6px 10px;
  }
  .image-caption {
    bottom: 14px;
    left: 14px;
    font-size: 9.5px;
    padding: 6px 10px;
  }
  .hero-count {
    position: static;
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .hero-count strong {
    font-size: 38px;
    line-height: 1;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-actions .button,
  .hero-actions .text-button {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 14px 20px;
  }
  .featured,
  .filmography {
    padding: 50px 18px;
  }
  .section-head h2 {
    font-size: clamp(28px, 7.5vw, 38px);
  }
  .spotlight-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .spotlight {
    min-height: 230px;
    padding: 22px;
  }
  .filmography-top {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .search {
    width: 100%;
  }
  .filter-row {
    display: flex;
    overflow-x: auto;
    padding-bottom: 6px;
    gap: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .filter-row button {
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 11px;
    flex-shrink: 0;
  }
  .film {
    grid-template-columns: 32px 1fr auto 24px;
    gap: 10px;
    padding: 16px 12px;
  }
  .film:hover {
    padding-left: 14px;
    transform: none;
  }
  .film-no {
    font-size: 11px;
  }
  .film-title {
    font-size: clamp(16px, 4.2vw, 20px);
    line-height: 1.25;
  }
  .film-date {
    display: block;
    font-size: 10px;
    opacity: 0.75;
    white-space: nowrap;
  }
  .film-arrow {
    font-size: 16px;
  }
  dialog {
    padding: 24px 16px;
    width: calc(100% - 24px);
    max-width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    border-radius: 12px;
  }
  .dialog-image-wrap {
    height: 210px;
    margin-bottom: 16px;
  }
  .dialog-ott-badge {
    top: 12px;
    right: 48px;
    padding: 4px 10px;
    font-size: 10px;
  }
  .dialog-actions {
    flex-direction: column;
    gap: 8px;
  }
  .dialog-actions .button,
  .dialog-actions button {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .quote {
    padding: 55px 18px;
  }
  .quote blockquote {
    font-size: clamp(24px, 6.5vw, 36px);
  }
  footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 24px 18px;
  }
  .image-caption {
    font-size: 8px;
  }
}
