/* ==========================================================================
   DEEPANKAR MAJUMDAR - OFFICIAL CINEMATIC PORTFOLIO & IMDB FILMOGRAPHY
   Exact Reference Aesthetics with Fixed Scroll-Animated Background Canvas
   ========================================================================== */

:root {
  /* Dark Mode (Default) */
  --bg-color: #000000;
  --bg-card: rgba(14, 16, 20, 0.78);
  --bg-card-hover: rgba(22, 25, 32, 0.88);
  --border-card: rgba(255, 255, 255, 0.1);
  --border-highlight: rgba(245, 197, 24, 0.45);
  --text-color: #ffffff;
  --text-secondary: #a0a6b5;
  --text-muted: #6b7280;
  --nav-link-color: #d1d5db;
  --nav-link-hover: #ffffff;
  --switch-bg: #ffffff;
  --switch-knob: #000000;
  --icon-border: rgba(255, 255, 255, 0.35);

  --imdb-gold: #f5c518;
  --imdb-gold-glow: rgba(245, 197, 24, 0.3);
  --tg-blue: #38bdf8;
  --hero-cream: #EDE3D2;
  --hero-cream-glow: rgba(237, 227, 210, 0.3);

  --font-display: 'Big Shoulders Display', 'Bebas Neue', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

[data-theme="light"] {
  /* Light Mode */
  --bg-color: #f7f7f9;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --border-card: rgba(0, 0, 0, 0.1);
  --border-highlight: rgba(201, 136, 42, 0.45);
  --text-color: #0a0a0c;
  --text-secondary: #4b5262;
  --text-muted: #838a98;
  --nav-link-color: #374151;
  --nav-link-hover: #000000;
  --switch-bg: #000000;
  --switch-knob: #ffffff;
  --icon-border: rgba(0, 0, 0, 0.3);
  --imdb-gold: #c9882a;
  --imdb-gold-glow: rgba(201, 136, 42, 0.2);
  --hero-cream: #14151a;
  --hero-cream-glow: rgba(20, 21, 26, 0.2);
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-body);
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* ==========================================================================
   MINIMAL PRELOADER
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  background-color: #000000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
  width: min(320px, 80vw);
}

.preloader-text {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 4px;
  color: #ffffff;
  margin-bottom: 14px;
}

.preloader-bar-wrap {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
  border-radius: 2px;
}

.preloader-bar {
  width: 0%;
  height: 100%;
  background: #ffffff;
  transition: width 0.15s ease-out;
}

/* ==========================================================================
   FIXED BACKGROUND CANVAS (LOCKED ACROSS THE ENTIRE PAGE TILL THE END)
   ========================================================================== */
.fixed-canvas-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

#cinema-canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.canvas-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 35%, rgba(0, 0, 0, 0.5) 70%, var(--bg-color) 100%);
  transition: background 0.3s ease;
}

[data-theme="light"] .canvas-vignette {
  background: radial-gradient(circle at center, transparent 35%, rgba(247, 247, 249, 0.5) 75%, var(--bg-color) 100%);
}

/* Dim canvas subtly when scrolling down into content sections */
.canvas-vignette.dimmed {
  background: rgba(0, 0, 0, 0.82);
}

[data-theme="light"] .canvas-vignette.dimmed {
  background: rgba(247, 247, 249, 0.88);
}

/* ==========================================================================
   STICKY NAVBAR (Exact Reference Match)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 76px;
  padding: 0 4.5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

[data-theme="light"] .navbar {
  background: linear-gradient(180deg, rgba(247, 247, 249, 0.85) 0%, rgba(247, 247, 249, 0) 100%);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 2px;
  color: var(--text-color);
  font-weight: 700;
}

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-item {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--nav-link-color);
  letter-spacing: 0.3px;
  position: relative;
  padding: 4px 0;
}

.nav-item:hover, .nav-item.active {
  color: var(--nav-link-hover);
  font-weight: 600;
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--imdb-gold);
  border-radius: 2px;
}

/* Reference Pill Theme Switch */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-contact-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 197, 24, 0.12);
  border: 1px solid var(--border-highlight);
  color: var(--text-color);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.nav-contact-btn:hover {
  background: var(--imdb-gold);
  color: #000000;
  box-shadow: 0 0 16px var(--imdb-gold-glow);
  transform: translateY(-1px);
}

.status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 8px #25D366;
  animation: pulseDot 2s infinite ease-in-out;
}

.theme-switch {
  width: 48px;
  height: 24px;
  background-color: var(--switch-bg);
  border: none;
  border-radius: 24px;
  position: relative;
  cursor: pointer;
  padding: 2px;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.switch-handle {
  width: 20px;
  height: 20px;
  background-color: var(--switch-knob);
  border-radius: 50%;
  display: block;
  position: absolute;
  top: 2px;
  right: 2px;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.3s ease;
}

[data-theme="light"] .switch-handle {
  transform: translateX(-24px);
}

/* ==========================================================================
   VIEWPORT 1: EXACT REFERENCE HERO SCREEN
   ========================================================================== */
.page-content-wrapper {
  position: relative;
  z-index: 10;
}

.hero-screen {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ==========================================================================
   FOUR EDITORIAL CORNER METADATA ELEMENTS (EXACT REFERENCE AESTHETICS)
   ========================================================================== */
.hero-corner {
  position: absolute;
  z-index: 25;
  color: var(--hero-cream);
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 1.1vw, 0.95rem);
  letter-spacing: 0.3px;
  pointer-events: auto;
  text-decoration: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  user-select: none;
}

.hero-corner-tl {
  top: clamp(88px, 12vh, 115px);
  left: clamp(24px, 4.5vw, 64px);
  font-weight: 500;
  opacity: 0.88;
}

.hero-corner-tr {
  top: clamp(88px, 12vh, 115px);
  right: clamp(24px, 4.5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}

.hero-corner-tr:hover {
  transform: translateX(4px);
  opacity: 1;
}

.corner-arrow-svg {
  width: clamp(34px, 3.5vw, 44px);
  height: 16px;
  stroke: var(--hero-cream);
}

.hero-corner-bl {
  bottom: clamp(28px, 5vh, 48px);
  left: clamp(24px, 4.5vw, 64px);
  font-weight: 600;
  opacity: 0.92;
  letter-spacing: 0.5px;
}

.hero-corner-br {
  bottom: clamp(28px, 5vh, 48px);
  right: clamp(24px, 4.5vw, 64px);
  font-weight: 400;
  opacity: 0.85;
}

.hero-corner-br:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ==========================================================================
   GIANT BACKDROP TYPOGRAPHY: SOLID & OUTLINE SPLIT EFFECT
   ========================================================================== */
.hero-title-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 15;
  padding: 0 1vw;
}

.hero-typography-stage {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-headline-word {
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  user-select: none;
  white-space: nowrap;
  letter-spacing: clamp(1px, 0.4vw, 8px);
  line-height: 0.85;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-headline-word.active {
  display: flex;
  animation: headlineFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes headlineFadeIn {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* For DEEPANKAR and PORTFOLIO (9 letters) */
#mode-deepankar, #mode-portfolio {
  font-size: clamp(2.5rem, 14.5vw, 19.5rem);
}

/* For FULL NAME (DEEPANKAR MAJUMDAR - 18 letters) */
#mode-fullname {
  font-size: clamp(1.8rem, 8.2vw, 9.8rem);
  flex-wrap: nowrap;
  gap: 0.35em;
}

.word-group {
  display: inline-flex;
  align-items: center;
}

.word-spacer {
  display: inline-block;
  width: 0.3em;
}

/* Character Boxes */
.char-box {
  display: inline-block;
  position: relative;
}

/* Solid Letters (Warm Ivory / Champagne Cream) */
.char-solid {
  color: var(--hero-cream);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.65);
}

/* Hollow Outline Letters (Thin Stroke, Transparent Fill - Face & Camera Visible) */
.char-outline {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  -webkit-text-stroke: clamp(1.2px, 0.16vw, 2.2px) var(--hero-cream);
  text-stroke: clamp(1.2px, 0.16vw, 2.2px) var(--hero-cream);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

/* Split Letters (Left Solid, Right Outline - like 'T' in user reference) */
.char-split {
  position: relative;
  display: inline-block;
}

.char-split .part-solid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: var(--hero-cream);
  clip-path: polygon(0 0, 46% 0, 46% 100%, 0 100%);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.65);
}

.char-split .part-outline {
  display: inline-block;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  -webkit-text-stroke: clamp(1.2px, 0.16vw, 2.2px) var(--hero-cream);
  text-stroke: clamp(1.2px, 0.16vw, 2.2px) var(--hero-cream);
  clip-path: polygon(46% 0, 100% 0, 100% 100%, 46% 100%);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

/* Split Reverse (Left Outline, Right Solid - Exiting Subject Rig into Sky) */
.char-split.split-reverse .part-outline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: inline-block;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  -webkit-text-stroke: clamp(1.2px, 0.16vw, 2.2px) var(--hero-cream);
  text-stroke: clamp(1.2px, 0.16vw, 2.2px) var(--hero-cream);
  clip-path: polygon(0 0, 52% 0, 52% 100%, 0 100%);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.char-split.split-reverse .part-solid {
  display: inline-block;
  color: var(--hero-cream);
  clip-path: polygon(52% 0, 100% 0, 100% 100%, 52% 100%);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.65);
}

/* Style Switcher Pills */
.hero-style-pills {
  margin-top: clamp(20px, 3.5vh, 32px);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 16, 22, 0.72);
  border: 1px solid rgba(237, 227, 210, 0.22);
  padding: 4px 6px;
  border-radius: 999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  z-index: 25;
}

[data-theme="light"] .hero-style-pills {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.style-pill {
  background: transparent;
  border: none;
  color: rgba(237, 227, 210, 0.65);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}

[data-theme="light"] .style-pill {
  color: #6b7280;
}

.style-pill:hover {
  color: var(--hero-cream);
}

.style-pill.active {
  background: var(--hero-cream);
  color: #000000;
  box-shadow: 0 2px 10px rgba(237, 227, 210, 0.35);
}

[data-theme="light"] .style-pill.active {
  background: #000000;
  color: #ffffff;
}

.highlight-name {
  font-weight: 700;
}

/* Reference Bottom Left Social Icons: Instagram, Facebook, IMDb */
.bottom-socials {
  position: absolute;
  left: 4.5vw;
  bottom: 5vh;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--icon-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  transition: all 0.2s ease;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}

[data-theme="light"] .icon-circle {
  background: rgba(255, 255, 255, 0.5);
}

.icon-circle:hover {
  border-color: var(--text-color);
  transform: scale(1.1);
}

.imdb-circle {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.65rem;
  letter-spacing: 0.5px;
}

.imdb-circle:hover {
  border-color: var(--imdb-gold);
  color: var(--imdb-gold);
  box-shadow: 0 0 12px var(--imdb-gold-glow);
}

.whatsapp-circle:hover {
  border-color: #25D366;
  color: #25D366;
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.45);
}

/* Reference Bottom Right Telegram Link */
.bottom-telegram {
  position: absolute;
  right: 4.5vw;
  bottom: 5vh;
  z-index: 4;
}

.telegram-text {
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  font-weight: 600;
  color: var(--text-color);
  letter-spacing: 0.3px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  transition: opacity 0.2s ease;
}

.telegram-text:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Hero Prominent Action Buttons: Contact Me & WhatsApp */
.hero-actions-bar {
  position: absolute;
  bottom: 12vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-main-contact-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f5c518 0%, #e0aa14 100%);
  color: #000000;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 11px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 197, 24, 0.35);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-main-contact-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 25px rgba(245, 197, 24, 0.55);
}

.hero-wa-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 211, 102, 0.16);
  border: 1px solid rgba(37, 211, 102, 0.6);
  color: #25D366;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: all 0.25s ease;
}

[data-theme="light"] .hero-wa-btn {
  background: rgba(37, 211, 102, 0.2);
  color: #0e8038;
}

.hero-wa-btn:hover {
  background: #25D366;
  border-color: #25D366;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px) scale(1.04);
}

/* Scroll Cue */
.scroll-cue {
  position: absolute;
  bottom: 5vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.65;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.cue-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-color);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(0.8); opacity: 0.4; }
  50% { transform: scale(1.4); opacity: 1; }
}

.cue-label {
  font-size: 0.7rem;
  letter-spacing: 2.5px;
  font-weight: 600;
  color: var(--text-color);
}

/* ==========================================================================
   CONTENT SECTIONS (RECENT WORK, ABOUT, CONTACT)
   ========================================================================== */
.content-section {
  padding: 100px 5vw;
  position: relative;
  z-index: 10;
}

.section-container {
  max-width: 1320px;
  margin: 0 auto;
}

.section-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.badge-tag {
  font-size: 0.75rem;
  letter-spacing: 2.5px;
  font-weight: 700;
  color: var(--imdb-gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.gold-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--imdb-gold);
  box-shadow: 0 0 8px var(--imdb-gold);
}

.imdb-profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 197, 24, 0.12);
  border: 1px solid var(--border-highlight);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-color);
  font-weight: 600;
  transition: all 0.2s ease;
}

.imdb-profile-badge:hover {
  background: var(--imdb-gold);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--imdb-gold-glow);
}

.imdb-badge-gold {
  background: var(--imdb-gold);
  color: #000000;
  font-weight: 900;
  font-size: 0.72rem;
  padding: 2px 6px;
  border-radius: 4px;
}

.imdb-profile-badge:hover .imdb-badge-gold {
  background: #000000;
  color: var(--imdb-gold);
}

/* ==========================================================================
   EXACT IMDB "KNOWN FOR" SECTION STYLING (MATCHES USER SCREENSHOT)
   ========================================================================== */
.imdb-section {
  padding: 80px 5vw;
}

.imdb-verified-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.imdb-known-for-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.imdb-yellow-bar {
  width: 4px;
  height: 28px;
  background-color: #f5c518;
  border-radius: 2px;
  display: inline-block;
}

.imdb-section-title {
  font-family: var(--font-body);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-color);
  letter-spacing: -0.3px;
}

.imdb-credit-count-badge {
  background: rgba(245, 197, 24, 0.15);
  color: var(--imdb-gold);
  border: 1px solid rgba(245, 197, 24, 0.35);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
}

.imdb-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.imdb-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.imdb-tab-btn:hover, .imdb-tab-btn.active {
  background: var(--imdb-gold);
  color: #000000;
  border-color: var(--imdb-gold);
  box-shadow: 0 4px 14px var(--imdb-gold-glow);
}

/* 2-Column Exact IMDb Card Grid */
.imdb-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}


.imdb-movie-card {
  display: flex;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  min-height: 140px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .imdb-movie-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.imdb-movie-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-highlight);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.imdb-movie-card.hidden {
  display: none !important;
}

.known-for-badge {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 3;
  background: linear-gradient(135deg, #f5c518 0%, #e0aa14 100%);
  color: #000000;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Poster Wrapper & Watchlist Ribbon */
.imdb-poster-wrapper {
  width: 95px;
  min-width: 95px;
  position: relative;
  overflow: hidden;
  background: #000000;
}

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

.imdb-watchlist-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 34px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ribbon-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: rgba(18, 20, 24, 0.78);
}

.ribbon-plus-icon {
  position: relative;
  z-index: 2;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
  margin-top: -8px;
}

/* Card Info Column */
.imdb-card-info {
  padding: 16px 44px 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  position: relative;
}

.imdb-card-title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.3;
  margin-bottom: 4px;
  transition: color 0.2s ease;
}

.imdb-card-title:hover {
  color: var(--imdb-gold);
}

.imdb-rating-line {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
}

.gold-star-icon {
  color: #f5c518;
  font-size: 0.95rem;
}

.gray-star-icon {
  color: #9ca3af;
  font-size: 0.95rem;
}

.rating-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.imdb-card-role {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 2px;
}

.imdb-card-year {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Info Icon Button (Bottom Right) */
.imdb-info-circle-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

[data-theme="dark"] .imdb-info-circle-btn {
  color: #38bdf8;
}

.imdb-info-circle-btn:hover {
  transform: scale(1.15);
  color: var(--imdb-gold);
}

/* ==========================================================================
   IMDB FULL FILMOGRAPHY DEPARTMENT BREAKDOWN TABLE (ALL 16 CREDITS)
   ========================================================================== */
.imdb-full-filmography-accordion {
  margin-top: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .imdb-full-filmography-accordion {
  background: #ffffff;
  border-color: #e5e7eb;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.filmography-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-card);
}

[data-theme="light"] .filmography-header-row {
  background: #f9fafb;
}

.filmography-headline {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-color);
  letter-spacing: -0.2px;
}

.imdb-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--imdb-gold);
  text-decoration: none;
  transition: all 0.2s ease;
}

.imdb-view-all-link:hover {
  text-decoration: underline;
  transform: translateX(2px);
}

.imdb-dept-block {
  border-bottom: 1px solid var(--border-card);
}

.imdb-dept-block:last-child {
  border-bottom: none;
}

.imdb-dept-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-card);
}

.dept-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-color);
}

.dept-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dept-bullet.gold {
  background: var(--imdb-gold);
  box-shadow: 0 0 8px var(--imdb-gold);
}

.dept-bullet.blue {
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

.dept-count {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 10px;
  border-radius: 999px;
}

[data-theme="light"] .dept-count {
  background: #f3f4f6;
  color: #4b5563;
}

.imdb-dept-table {
  display: flex;
  flex-direction: column;
}

.dept-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border-card);
  transition: background 0.15s ease;
}

.dept-row:last-child {
  border-bottom: none;
}

.dept-row:hover {
  background: rgba(245, 197, 24, 0.04);
}

[data-theme="light"] .dept-row:hover {
  background: #f9fafb;
}

.dept-year {
  font-family: var(--font-mono, monospace);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--imdb-gold);
  min-width: 50px;
}

.dept-movie-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dept-movie-name {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.dept-movie-name:hover {
  color: var(--imdb-gold);
}

.dept-role-spec {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.dept-rating {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  padding: 3px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

[data-theme="light"] .dept-rating {
  background: #f3f4f6;
  border-color: #e5e7eb;
}


.card-type-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.work-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.work-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.work-year {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--imdb-gold);
  letter-spacing: 1px;
}

.imdb-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-color);
}

.gold-box {
  background: var(--imdb-gold);
  color: #000000;
  font-size: 0.65rem;
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 900;
}

.category-pill {
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: 10px;
}

.work-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.5px;
  line-height: 1.2;
  color: var(--text-color);
  margin-bottom: 6px;
}

.work-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 12px;
}

.work-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}

.work-footer {
  border-top: 1px solid var(--border-card);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.work-crew {
  color: var(--text-muted);
}

.card-imdb-link {
  color: var(--imdb-gold);
  font-weight: 600;
}

.card-imdb-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   EXPERIENCE TIMELINE BOX
   ========================================================================== */
.experience-timeline-box {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 40px;
}

.timeline-box-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 1px;
  margin-bottom: 28px;
  color: var(--text-color);
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.timeline-row {
  display: grid;
  grid-template-columns: 140px 1.4fr 1.6fr;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-card);
  align-items: baseline;
}

.timeline-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.timeline-col-year {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--imdb-gold);
}

.timeline-col-role strong {
  display: block;
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 2px;
}

.timeline-col-role span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.timeline-col-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-card-box {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: 28px;
  padding: 50px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-name {
  font-family: var(--font-display);
  font-size: 3rem;
  letter-spacing: 1.5px;
  margin-top: 8px;
  margin-bottom: 16px;
  color: var(--text-color);
}

.about-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 16px;
  font-weight: 500;
}

.about-body {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.about-body p {
  margin-bottom: 14px;
}

.about-body p:last-child {
  margin-bottom: 0;
}

.skills-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-card);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-color);
}

.about-right-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 22px;
}

.stat-val {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--imdb-gold);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-lbl {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-color);
  display: block;
  margin-bottom: 4px;
}

.stat-box p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-box {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: 28px;
  padding: 50px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}

.contact-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1.1;
  margin-top: 8px;
  margin-bottom: 16px;
  color: var(--text-color);
}

.contact-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.contact-links-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-row-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  padding: 14px 20px;
  border-radius: 14px;
  transition: all 0.2s ease;
}

.contact-row-item:hover {
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

.contact-item-tag {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wa-tag-highlight {
  background: #25D366;
  color: #000000;
}

.mail-tag-highlight {
  background: #EA4335;
  color: #ffffff;
}

.tg-tag-highlight {
  background: #229ED9;
  color: #ffffff;
}

.ig-tag-highlight {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
}

.fb-tag-highlight {
  background: #1877F2;
  color: #ffffff;
}

.imdb-tag-highlight {
  background: var(--imdb-gold);
  color: #000000;
}

.contact-text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-item-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-color);
}

.contact-item-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.contact-item-arrow {
  font-size: 1rem;
  color: var(--text-muted);
}

.direct-badge-card {
  background: linear-gradient(135deg, rgba(245, 197, 24, 0.12) 0%, rgba(0, 0, 0, 0.4) 100%);
  border: 1px solid var(--border-highlight);
  border-radius: 20px;
  padding: 36px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.direct-badge-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: var(--text-color);
}

.direct-badge-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.direct-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.action-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-left-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-imdb-badge {
  background: #000000;
  color: #f5c518;
  font-weight: 900;
  font-size: 0.72rem;
  padding: 2px 6px;
  border-radius: 4px;
}

.wa-action {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.wa-action:hover {
  background: linear-gradient(135deg, #2ae06d 0%, #17a090 100%);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
  transform: translateY(-2px);
}

.tg-action {
  background: #229ED9;
  color: #ffffff;
}

.tg-action:hover {
  background: #38bdf8;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.45);
  transform: translateY(-2px);
}

.email-action {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-color);
  border: 1px solid var(--border-card);
}

.email-action:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.imdb-action {
  background: var(--imdb-gold);
  color: #000000;
}

.imdb-action:hover {
  background: #fcd34d;
  box-shadow: 0 4px 16px var(--imdb-gold-glow);
  transform: translateY(-2px);
}

/* ==========================================================================
   FLOATING WHATSAPP CHAT BUTTON
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  filter: drop-shadow(0 8px 24px rgba(37, 211, 102, 0.4));
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.04);
}

.whatsapp-beacon-ring {
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 2px solid #25D366;
  opacity: 0.6;
  animation: waPulseRing 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}

@keyframes waPulseRing {
  0% {
    transform: scale(0.92);
    opacity: 0.8;
  }
  65% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.whatsapp-float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  padding: 12px 20px 12px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.whatsapp-float-label {
  white-space: nowrap;
  font-family: var(--font-body);
}

/* ==========================================================================
   QUICK CONTACT & BOOKING MODAL
   ========================================================================== */
body.modal-open {
  overflow: hidden;
}

.contact-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.contact-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.contact-modal-card {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(14, 16, 22, 0.96);
  border: 1px solid var(--border-highlight);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95), 0 0 35px rgba(245, 197, 24, 0.18);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

[data-theme="light"] .contact-modal-card {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.contact-modal-overlay.active .contact-modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-card);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-color);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-card);
}

.modal-avatar-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--imdb-gold) 0%, #a67210 100%);
  color: #000000;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--imdb-gold-glow);
  flex-shrink: 0;
}

.modal-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.modal-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.5px;
  color: var(--text-color);
  line-height: 1.1;
}

.modal-online-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #25D366;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  padding: 2px 8px;
  border-radius: 999px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25D366;
  animation: pulseDot 2s infinite ease-in-out;
}

.modal-role {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.modal-contact-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

[data-theme="light"] .modal-tile {
  background: rgba(0, 0, 0, 0.03);
}

.modal-tile:hover {
  border-color: var(--border-highlight);
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(3px);
}

.tile-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-box {
  background: rgba(37, 211, 102, 0.18);
  color: #25D366;
}

.email-box {
  background: rgba(234, 67, 53, 0.18);
  color: #EA4335;
}

.tg-box {
  background: rgba(34, 158, 217, 0.18);
  color: #229ED9;
}

.ig-box {
  background: rgba(225, 48, 108, 0.18);
  color: #e1306c;
}

.fb-box {
  background: rgba(24, 119, 242, 0.18);
  color: #1877F2;
}

.imdb-box {
  background: rgba(245, 197, 24, 0.2);
  color: var(--imdb-gold);
}

.imdb-tile-text {
  font-weight: 900;
  font-size: 0.72rem;
  background: #000000;
  color: var(--imdb-gold);
  padding: 2px 4px;
  border-radius: 3px;
}

.tile-info {
  flex: 1;
  min-width: 0;
}

.tile-platform {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.tile-detail {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tile-action-badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
}

.wa-badge-action {
  background: #25D366;
  color: #ffffff;
}

.email-badge-action {
  background: #EA4335;
  color: #ffffff;
}

.tg-badge-action {
  background: #229ED9;
  color: #ffffff;
}

.ig-badge-action {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
}

.fb-badge-action {
  background: #1877F2;
  color: #ffffff;
}

.imdb-badge-action {
  background: var(--imdb-gold);
  color: #000000;
}

.tile-dual-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tile-copy-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-card);
  color: var(--text-color);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tile-copy-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--text-color);
}

.modal-bottom-note {
  margin-top: 20px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.copy-feedback-toast {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #25D366;
  color: #000000;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 10;
}

.copy-feedback-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-card);
  padding: 36px 5vw;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.85);
}

[data-theme="light"] .site-footer {
  background: rgba(247, 247, 249, 0.92);
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer-links a:hover {
  color: var(--imdb-gold);
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE DESIGN SYSTEM (MOBILE & IPAD / TABLET OPTIMIZED)
   ========================================================================== */

/* --- 1. Large Tablets & iPad Landscape (max-width: 1024px) --- */
@media (max-width: 1024px) {
  .navbar {
    padding: 0 4vw;
  }

  .nav-center {
    gap: clamp(16px, 2.2vw, 28px);
  }

  .content-section {
    padding: 70px 4vw;
  }

  .imdb-section {
    padding: 60px 4vw;
  }

  .about-card-box,
  .contact-box {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 32px;
    border-radius: 22px;
  }

  .about-right-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .timeline-row {
    grid-template-columns: 120px 1.3fr 1.6fr;
    gap: 18px;
  }
}

/* --- 2. iPad Portrait & Mid-size Tablets (max-width: 850px) --- */
@media (max-width: 850px) {
  .navbar {
    height: 68px;
    padding: 0 3.5vw;
  }

  .nav-logo {
    font-size: 1.2rem;
    letter-spacing: 1.5px;
  }

  .nav-center {
    gap: 16px;
  }

  .nav-item {
    font-size: 0.86rem;
    padding: 4px 0;
  }

  .hero-corner-tl {
    top: 86px;
    left: 24px;
    max-width: 320px;
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .hero-corner-tr {
    top: 86px;
    right: 24px;
  }

  .corner-arrow-svg {
    width: 36px;
  }

  #mode-deepankar, #mode-portfolio {
    font-size: clamp(3.4rem, 13.5vw, 7.5rem);
    letter-spacing: clamp(1px, 0.3vw, 4px);
  }

  #mode-fullname {
    flex-direction: column;
    gap: 0;
    font-size: clamp(2.8rem, 11.5vw, 6rem);
  }

  .imdb-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .imdb-movie-card {
    min-height: 130px;
  }

  .imdb-poster-wrapper {
    width: 86px;
    min-width: 86px;
  }

  .imdb-card-info {
    padding: 14px 38px 14px 14px;
  }

  .imdb-card-title {
    font-size: 0.98rem;
  }

  .imdb-section-title {
    font-size: 1.5rem;
  }

  .timeline-row {
    grid-template-columns: 100px 1.2fr 1.5fr;
    gap: 14px;
  }

  .about-card-box,
  .contact-box {
    padding: 32px 24px;
  }

  .about-name {
    font-size: 2.5rem;
  }

  .contact-title {
    font-size: 2.1rem;
  }
}

/* --- 3. Mobile Phones (max-width: 650px) --- */
@media (max-width: 650px) {
  /* Minimal Top Header */
  .navbar {
    height: 58px;
    padding: 0 16px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.4) 100%);
  }

  [data-theme="light"] .navbar {
    background: linear-gradient(180deg, rgba(247, 247, 249, 0.95) 0%, rgba(247, 247, 249, 0.5) 100%);
  }

  .nav-logo {
    font-size: 1.05rem;
    letter-spacing: 1px;
  }

  /* Floating Bottom Navigation Dock (iOS / Luxury Native App Experience) */
  .nav-center {
    position: fixed;
    top: auto;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: calc(100vw - 24px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: rgba(12, 14, 20, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 4px 6px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.7), 0 0 1px rgba(255, 255, 255, 0.25);
    z-index: 9998;
  }

  [data-theme="light"] .nav-center {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  }

  .nav-item {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--nav-link-color);
    padding: 7px 11px;
    border-radius: 999px;
    white-space: nowrap;
    text-align: center;
    letter-spacing: 0.2px;
  }

  .nav-item:hover {
    color: #ffffff;
  }

  [data-theme="light"] .nav-item:hover {
    color: #000000;
  }

  .nav-item.active {
    background: rgba(245, 197, 24, 0.2);
    color: var(--imdb-gold);
    font-weight: 700;
  }

  [data-theme="light"] .nav-item.active {
    background: rgba(201, 136, 42, 0.16);
    color: #8c550c;
  }

  .nav-item.active::after {
    display: none;
  }

  /* Hero Section Mobile */
  .hero-corner-tl {
    top: 70px;
    left: 16px;
    max-width: 66vw;
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .hero-corner-tr {
    top: 70px;
    right: 16px;
  }

  .corner-arrow-svg {
    width: 32px;
    height: 14px;
  }

  .hero-title-container {
    padding: 0 8px;
  }

  #mode-deepankar, #mode-portfolio {
    font-size: clamp(2.6rem, 12.8vw, 4.6rem);
    letter-spacing: clamp(0.5px, 0.2vw, 2px);
  }

  #mode-fullname {
    font-size: clamp(2.1rem, 10.2vw, 3.8rem);
    letter-spacing: clamp(0.5px, 0.2vw, 2px);
  }

  .hero-style-pills {
    margin-top: 16px;
    gap: 4px;
    padding: 3px 5px;
  }

  .style-pill {
    font-size: 0.65rem;
    padding: 5px 9px;
    letter-spacing: 0.5px;
  }

  .scroll-cue {
    bottom: calc(66px + env(safe-area-inset-bottom, 0px));
  }

  .cue-label {
    font-size: 0.6rem;
    letter-spacing: 1.5px;
  }

  /* Floating WhatsApp Button on Mobile */
  .floating-whatsapp {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    right: 14px;
    filter: drop-shadow(0 6px 18px rgba(37, 211, 102, 0.45));
  }

  .whatsapp-float-btn {
    padding: 9px 13px;
    gap: 7px;
    font-size: 0.8rem;
    border-radius: 999px;
  }

  .whatsapp-float-btn svg {
    width: 22px;
    height: 22px;
  }

  /* Content Sections Mobile */
  .content-section {
    padding: 48px 14px;
  }

  .imdb-section {
    padding: 44px 14px;
  }

  .imdb-verified-header-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
  }

  .badge-tag {
    font-size: 0.68rem;
    letter-spacing: 1.6px;
  }

  .imdb-profile-badge {
    font-size: 0.78rem;
    padding: 5px 12px;
  }

  .imdb-known-for-header {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
  }

  .imdb-yellow-bar {
    height: 22px;
  }

  .imdb-section-title {
    font-size: 1.35rem;
  }

  .imdb-credit-count-badge {
    font-size: 0.72rem;
    padding: 2px 9px;
  }

  /* Swipeable IMDb Filter Bar */
  .imdb-filter-bar {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 6px;
    margin-bottom: 22px;
    scrollbar-width: none;
  }

  .imdb-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .imdb-tab-btn {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.78rem;
    padding: 7px 13px;
  }

  /* Single Column Movie Cards on Mobile */
  .imdb-cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 30px;
  }

  .imdb-movie-card {
    min-height: 125px;
    border-radius: 12px;
  }

  .imdb-poster-wrapper {
    width: 82px;
    min-width: 82px;
  }

  .imdb-card-info {
    padding: 12px 36px 12px 12px;
  }

  .imdb-card-title {
    font-size: 0.94rem;
    line-height: 1.25;
    margin-bottom: 3px;
  }

  .imdb-card-role,
  .imdb-card-year {
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .rating-value {
    font-size: 0.8rem;
  }

  .imdb-info-circle-btn {
    bottom: 12px;
    right: 12px;
  }

  .imdb-info-circle-btn svg {
    width: 20px;
    height: 20px;
  }

  /* IMDb Full Filmography Table Mobile Grid */
  .imdb-full-filmography-accordion {
    margin-top: 30px;
    border-radius: 12px;
  }

  .filmography-header-row {
    padding: 14px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .filmography-headline {
    font-size: 1rem;
    line-height: 1.3;
  }

  .imdb-view-all-link {
    font-size: 0.78rem;
  }

  .imdb-dept-header {
    padding: 12px 14px;
  }

  .dept-title {
    font-size: 0.85rem;
    gap: 8px;
  }

  .dept-count {
    font-size: 0.7rem;
    padding: 2px 7px;
  }

  .dept-row {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
  }

  .dept-year {
    font-size: 0.8rem;
    min-width: unset;
  }

  .dept-movie-name {
    font-size: 0.88rem;
    line-height: 1.25;
  }

  .dept-role-spec {
    font-size: 0.74rem;
    line-height: 1.3;
  }

  .dept-rating {
    font-size: 0.72rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 0;
  }

  /* Career Timeline Box Mobile */
  .experience-timeline-box {
    padding: 20px 14px;
    border-radius: 16px;
    margin-top: 24px;
  }

  .timeline-box-title {
    font-size: 1.35rem;
    margin-bottom: 18px;
    line-height: 1.25;
  }

  .timeline-list {
    gap: 16px;
  }

  .timeline-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 14px;
  }

  .timeline-col-year {
    font-size: 0.78rem;
  }

  .timeline-col-role strong {
    font-size: 0.94rem;
    line-height: 1.3;
  }

  .timeline-col-role span {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .timeline-col-desc {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  /* About Box Mobile */
  .about-card-box {
    padding: 22px 14px;
    border-radius: 16px;
    gap: 24px;
  }

  .about-name {
    font-size: 2.1rem;
    margin-bottom: 12px;
  }

  .about-lead {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 14px;
  }

  .about-body {
    font-size: 0.86rem;
    line-height: 1.55;
    margin-bottom: 18px;
  }

  .skills-pill-group {
    gap: 6px;
  }

  .skill-pill {
    font-size: 0.72rem;
    padding: 5px 10px;
  }

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

  .stat-box {
    padding: 14px 16px;
    border-radius: 12px;
  }

  .stat-val {
    font-size: 1.75rem;
  }

  .stat-lbl {
    font-size: 0.82rem;
  }

  .stat-box p {
    font-size: 0.74rem;
  }

  /* Contact Box Mobile */
  .contact-box {
    padding: 22px 14px;
    border-radius: 16px;
    gap: 24px;
  }

  .contact-title {
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .contact-desc {
    font-size: 0.84rem;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .contact-links-stack {
    gap: 8px;
  }

  .contact-row-item {
    padding: 11px 12px;
    gap: 10px;
    border-radius: 11px;
  }

  .contact-item-tag {
    font-size: 0.64rem;
    padding: 2px 6px;
  }

  .contact-item-title {
    font-size: 0.84rem;
  }

  .contact-item-sub {
    font-size: 0.72rem;
  }

  .direct-badge-card {
    padding: 20px 14px;
    border-radius: 14px;
  }

  .direct-badge-card h3 {
    font-size: 1.4rem;
  }

  .direct-badge-card p {
    font-size: 0.8rem;
    margin-bottom: 18px;
  }

  .direct-actions {
    gap: 9px;
  }

  .action-btn {
    padding: 10px 14px;
    font-size: 0.84rem;
    border-radius: 10px;
  }

  /* Contact Modal Mobile */
  .contact-modal-overlay {
    padding: 10px;
  }

  .contact-modal-card {
    padding: 18px 14px;
    max-height: 86vh;
    border-radius: 16px;
  }

  .modal-close-btn {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }

  .modal-header {
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
  }

  .modal-avatar-badge {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .modal-name {
    font-size: 1.25rem;
  }

  .modal-online-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
  }

  .modal-role {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .modal-contact-grid {
    gap: 7px;
  }

  .modal-tile {
    padding: 9px 10px;
    gap: 9px;
    border-radius: 10px;
  }

  .tile-icon-box {
    width: 32px;
    height: 32px;
  }

  .tile-icon-box svg {
    width: 17px;
    height: 17px;
  }

  .tile-platform {
    font-size: 0.65rem;
  }

  .tile-detail {
    font-size: 0.75rem;
  }

  .tile-action-badge {
    font-size: 0.7rem;
    padding: 5px 8px;
  }

  .tile-copy-btn {
    font-size: 0.68rem;
    padding: 5px 7px;
  }

  .modal-bottom-note {
    font-size: 0.68rem;
    margin-top: 12px;
  }

  /* Site Footer Mobile */
  .site-footer {
    padding: 24px 16px calc(80px + env(safe-area-inset-bottom, 0px));
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.78rem;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 0.78rem;
  }
}

/* --- 4. Extra Compact Phones (iPhone SE / <= 380px) --- */
@media (max-width: 380px) {
  .nav-logo {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
  }

  .nav-center {
    gap: 2px;
    padding: 3px 5px;
    max-width: calc(100vw - 16px);
  }

  .nav-item {
    font-size: 0.68rem;
    padding: 6px 8px;
  }

  #mode-deepankar, #mode-portfolio {
    font-size: clamp(2.3rem, 12.2vw, 3.2rem);
    letter-spacing: 0.5px;
  }

  #mode-fullname {
    font-size: clamp(1.8rem, 10vw, 2.6rem);
    letter-spacing: 0.5px;
  }

  .hero-corner-tl {
    font-size: 0.66rem;
    max-width: 62vw;
  }

  .whatsapp-float-label {
    display: none;
  }

  .whatsapp-float-btn {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .whatsapp-float-btn svg {
    width: 22px;
    height: 22px;
  }

  .imdb-poster-wrapper {
    width: 72px;
    min-width: 72px;
  }

  .imdb-card-title {
    font-size: 0.88rem;
  }

  .dept-row {
    grid-template-columns: 38px 1fr auto;
    gap: 6px;
    padding: 9px 10px;
  }

  .dept-year {
    font-size: 0.74rem;
  }

  .dept-movie-name {
    font-size: 0.82rem;
  }

  .dept-role-spec {
    font-size: 0.68rem;
  }
}
