/* ═══════════════════════════════════════════════════════════════════
   CINEMATIC PORTFOLIO DESIGN SYSTEM — RAMESHWOR CHAUDHARY
   Inspired by Cinematic Digital Experiences & Reference Video Aesthetics
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* Core Cinematic Palette */
  --c-void: #040507;
  --c-dark: #08090d;
  --c-stage: #0c0e14;
  --c-card: rgba(14, 17, 24, 0.68);
  --c-card-hover: rgba(22, 27, 38, 0.85);
  
  /* Cinematic Lighting Accents */
  --c-crimson: #ff3314;
  --c-crimson-glow: rgba(255, 51, 20, 0.35);
  --c-crimson-subtle: rgba(255, 51, 20, 0.12);
  
  --c-amber: #ff8400;
  --c-amber-glow: rgba(255, 132, 0, 0.3);
  --c-gold: #f4c068;
  
  --c-neon-green: #00f076;
  --c-neon-glow: rgba(0, 240, 118, 0.3);
  
  /* Typography Colors */
  --c-text-primary: #ffffff;
  --c-text-secondary: #d4d7e1;
  --c-text-muted: #8b92a5;
  --c-text-dim: #545b70;
  
  /* Glassmorphic Borders */
  --c-border: rgba(255, 255, 255, 0.08);
  --c-border-hover: rgba(255, 132, 0, 0.45);
  --c-border-active: rgba(255, 51, 20, 0.6);
  --c-border-green: rgba(0, 240, 118, 0.4);

  /* Fonts */
  --font-display: 'Outfit', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --max-width: 1340px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--c-void);
  color: var(--c-text-secondary);
  font-family: var(--font-body);
  overflow-x: hidden;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--c-void);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   CINEMATIC 0-100 ENTRY & 3D FANNED PHOTO DECK STYLES
   ═══════════════════════════════════════════════════════════════ */
#cinematic-intro-stage {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #030407;
  z-index: 999999;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  opacity: 1;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  contain: strict;
}

#cinematic-intro-stage.fade-out {
  opacity: 0;
  pointer-events: none;
}

.intro-radial-halo {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 132, 0, 0.14) 0%, rgba(255, 51, 20, 0.05) 45%, transparent 75%);
  pointer-events: none;
  z-index: 1;
}

.intro-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

.intro-photo-stage-wrapper {
  position: absolute;
  inset: 0;
  perspective: 1200px;
  perspective-origin: 50% 50%;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.intro-photo-cloud {
  position: absolute;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-deck-card {
  position: absolute;
  width: 135px;
  height: 175px;
  margin-left: -67px;
  margin-top: -87px;
  border-radius: 14px;
  background: #0d121c;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.75);
  overflow: hidden;
  will-change: transform;
  contain: layout style;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.intro-deck-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.deck-card-num {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  color: #ffffff;
  background: rgba(4, 7, 14, 0.92);
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid rgba(255, 132, 0, 0.45);
  pointer-events: none;
}

.intro-hud-dock {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 580px;
  padding: 0 24px;
  pointer-events: auto;
  transition: opacity 0.5s ease;
}

.intro-kicker-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--c-amber);
  background: rgba(255, 132, 0, 0.08);
  border: 1px solid rgba(255, 132, 0, 0.28);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}

.intro-kicker-beacon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-amber);
  box-shadow: 0 0 10px var(--c-amber);
  animation: pulseIntroBeacon 1.2s infinite;
}

@keyframes pulseIntroBeacon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

.intro-counter-container {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 16px;
}

.intro-counter-number {
  font-family: var(--font-display);
  font-size: clamp(68px, 14vw, 130px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #ffffff;
  text-shadow: 0 0 40px rgba(255, 132, 0, 0.45);
  font-variant-numeric: tabular-nums;
}

.intro-counter-pct {
  font-family: var(--font-display);
  font-size: clamp(26px, 5vw, 48px);
  font-weight: 800;
  color: var(--c-amber);
  line-height: 1;
}

.intro-progress-bar-track {
  width: 280px;
  max-width: 80vw;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  margin-bottom: 16px;
}

.intro-progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff3314, #ff8400, #00e5ff);
  border-radius: inherit;
  box-shadow: 0 0 12px rgba(255, 132, 0, 0.8);
  transition: width 0.08s linear;
}

.intro-status-text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  margin-bottom: 24px;
  min-height: 16px;
}

.intro-skip-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 18px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.intro-skip-btn:hover {
  color: #ffffff;
  background: rgba(255, 132, 0, 0.15);
  border-color: var(--c-amber);
  box-shadow: 0 0 16px rgba(255, 132, 0, 0.35);
  transform: translateY(-1px);
}

.intro-title-reveal {
  position: absolute;
  z-index: 20;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.92);
  transition: all 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 20px;
}

.intro-title-reveal.reveal-active {
  opacity: 1;
  transform: scale(1);
}

.intro-reveal-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--c-amber);
  margin-bottom: 8px;
}

.intro-reveal-name {
  font-family: var(--font-display);
  font-size: clamp(34px, 7vw, 68px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 0 45px rgba(255, 132, 0, 0.5);
  margin-bottom: 10px;
  line-height: 1.1;
}

.intro-reveal-role {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  .intro-deck-card {
    width: 95px;
    height: 125px;
    margin-left: -47px;
    margin-top: -62px;
  }
}

/* ── CINEMATIC CANVAS BACKGROUND & GRAIN ── */
#cinematic-webgl-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.cinematic-film-grain {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.cinematic-vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle at center, transparent 45%, rgba(4, 5, 7, 0.75) 85%, #040507 100%);
}

/* ── PERSISTENT HEADER NAVIGATION ── */
.cine-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cine-header.scrolled {
  background: rgba(8, 9, 13, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.cine-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.cine-brand-badge {
  background: linear-gradient(135deg, var(--c-crimson), var(--c-amber));
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.cine-nav-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cine-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  background: rgba(14, 17, 24, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--c-border);
  border-radius: 50px;
  padding: 4px 6px;
  gap: 2px;
}

.cine-nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--c-text-muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 50px;
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
}

.cine-nav-link span.num {
  font-size: 9px;
  color: var(--c-amber);
  opacity: 0.8;
}

.cine-nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.cine-nav-link.active {
  color: #fff;
  background: rgba(255, 51, 20, 0.2);
  border: 1px solid rgba(255, 51, 20, 0.4);
  box-shadow: 0 0 12px var(--c-crimson-glow);
}

.cine-actions-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Audio Synthesizer Toggle */
.cine-audio-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 17, 24, 0.7);
  border: 1px solid var(--c-border);
  border-radius: 50px;
  color: var(--c-text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 6px 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cine-audio-btn:hover {
  border-color: var(--c-amber);
  color: #fff;
}

.cine-audio-btn.playing {
  border-color: var(--c-crimson);
  color: #fff;
  box-shadow: 0 0 14px var(--c-crimson-glow);
}

.cine-audio-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.cine-audio-bars span {
  width: 2px;
  background: var(--c-amber);
  border-radius: 2px;
  height: 3px;
  transition: height 0.15s ease;
}

.cine-audio-btn.playing .cine-audio-bars span:nth-child(1) { animation: barDance 0.8s infinite alternate ease-in-out; }
.cine-audio-btn.playing .cine-audio-bars span:nth-child(2) { animation: barDance 0.5s infinite alternate ease-in-out 0.2s; }
.cine-audio-btn.playing .cine-audio-bars span:nth-child(3) { animation: barDance 0.7s infinite alternate ease-in-out 0.4s; }

@keyframes barDance {
  0% { height: 3px; }
  100% { height: 12px; }
}

.cine-resume-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(255, 51, 20, 0.15), rgba(255, 132, 0, 0.25));
  border: 1px solid rgba(255, 132, 0, 0.45);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
}

.cine-resume-btn:hover {
  background: linear-gradient(135deg, rgba(255, 51, 20, 0.4), rgba(255, 132, 0, 0.5));
  border-color: var(--c-amber);
  box-shadow: 0 0 16px var(--c-amber-glow);
  transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.cine-mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--c-border);
  color: #fff;
  font-size: 16px;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
}

/* ── COMMON SCENE CONTAINER & STYLING ── */
main.cine-main-experience {
  position: relative;
  z-index: 2;
  width: 100%;
}

.cine-scene {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 32px 80px;
  overflow: hidden;
}

.cine-scene-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

/* Scene Headers */
.cine-scene-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--c-crimson);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cine-scene-kicker .line {
  width: 28px;
  height: 2px;
  background: var(--c-crimson);
  box-shadow: 0 0 8px var(--c-crimson);
}

.cine-scene-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.cine-scene-desc {
  font-size: clamp(14px, 1.2vw, 17px);
  color: var(--c-text-muted);
  max-width: 680px;
  line-height: 1.65;
  margin-bottom: 36px;
}

/* ═══════════════════════════════════════════════════════════════════
   SCENE 01: HERO REVEAL ("WELCOME TO MY WORLD")
   ═══════════════════════════════════════════════════════════════════ */
#scene-01-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: calc(var(--header-height) + 20px);
  padding-bottom: 40px;
  background: radial-gradient(circle at center 55%, #180806 0%, #0c0506 35%, #040507 80%);
}

.hero-cinematic-stage {
  position: relative;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dramatic 3D Backlight Typography */
.hero-backlight-container {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  pointer-events: none;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-world-tagline {
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.4vw, 18px);
  font-weight: 700;
  letter-spacing: clamp(6px, 1.2vw, 14px);
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px var(--c-amber-glow);
  margin-bottom: clamp(16px, 2.4vw, 32px);
  text-transform: uppercase;
}

.hero-giant-name {
  font-family: var(--font-display);
  font-size: clamp(65px, 15vw, 190px);
  font-weight: 900;
  letter-spacing: clamp(4px, 1.8vw, 18px);
  line-height: 0.85;
  color: #ffffff;
  text-transform: uppercase;
  user-select: none;
  position: relative;
  text-shadow: 
    0 0 60px rgba(255, 51, 20, 0.85),
    0 0 120px rgba(255, 132, 0, 0.55),
    0 10px 40px rgba(0, 0, 0, 0.95);
  background: linear-gradient(180deg, #ffffff 15%, #ffb3a4 65%, #ff3b1e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Floor Spotlight Grid & Reflective Shadow */
.hero-floor-spotlight {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 240px;
  background: radial-gradient(ellipse at center, rgba(255, 51, 20, 0.35) 0%, rgba(255, 132, 0, 0.15) 45%, transparent 75%);
  filter: blur(35px);
  pointer-events: none;
  z-index: 1;
}

.hero-floor-grid {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 300px;
  background-image: 
    linear-gradient(rgba(255, 51, 20, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 51, 20, 0.12) 1px, transparent 1px);
  background-size: 60px 40px;
  transform: perspective(400px) rotateX(65deg);
  transform-origin: bottom center;
  opacity: 0.6;
  mask-image: linear-gradient(to top, rgba(0,0,0,1) 10%, transparent 80%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 10%, transparent 80%);
  pointer-events: none;
  z-index: 1;
}

/* Central Character Silhouette Figure */
.hero-figure-wrapper {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 560px;
  pointer-events: auto;
}

.hero-portrait-halo {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 110, 40, 0.45) 0%, rgba(255, 51, 20, 0.18) 45%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: -1;
  animation: heroHaloPulse 6s ease-in-out infinite alternate;
}

@keyframes heroHaloPulse {
  0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.95; }
}

.hero-figure-img {
  height: 100%;
  max-height: 540px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 35px rgba(255, 51, 20, 0.45)) drop-shadow(0 25px 35px rgba(0, 0, 0, 0.95));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero-figure-wrapper:hover .hero-figure-img {
  transform: scale(1.025) translateY(-6px);
}

/* Floating Cinematic Metadata Tags (Left & Right) */
.hero-floating-meta {
  position: absolute;
  z-index: 5;
  background: rgba(14, 17, 24, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--c-border);
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  pointer-events: auto;
  transition: all 0.3s ease;
}

.hero-floating-meta:hover {
  border-color: var(--c-amber);
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85), 0 0 16px var(--c-amber-glow);
}

.hero-meta-left {
  top: 32%;
  left: 4%;
  max-width: 260px;
}

.hero-meta-right {
  top: 38%;
  right: 4%;
  max-width: 260px;
  text-align: right;
}

.meta-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--c-amber);
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-meta-right .meta-kicker {
  justify-content: flex-end;
}

.meta-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}

.meta-sub {
  font-size: 12px;
  color: var(--c-text-muted);
  margin-top: 4px;
}

/* Hero Center Actions & Dynamic Role Cycler */
.hero-info-dock {
  position: relative;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: -30px;
}

.hero-role-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(14, 17, 24, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 132, 0, 0.4);
  padding: 8px 24px;
  border-radius: 50px;
  margin-bottom: 18px;
  box-shadow: 0 0 20px var(--c-amber-glow);
}

.hero-role-beacon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-neon-green);
  box-shadow: 0 0 10px var(--c-neon-green);
  animation: beaconPulse 2s infinite ease-in-out;
}

@keyframes beaconPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; box-shadow: 0 0 16px var(--c-neon-green); }
}

.hero-role-text {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-actions-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.btn-cine-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--c-crimson), var(--c-amber));
  color: #fff;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: 50px;
  box-shadow: 0 12px 30px var(--c-crimson-glow);
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-cine-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 40px rgba(255, 51, 20, 0.6);
}

.btn-cine-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(14, 17, 24, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--c-border);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 13px 26px;
  border-radius: 50px;
  transition: all 0.25s ease;
}

.btn-cine-secondary:hover {
  border-color: var(--c-amber);
  background: rgba(255, 132, 0, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.7);
}

/* Sub-Hero Telemetry Strip */
.hero-bottom-strip {
  width: 100%;
  max-width: 1260px;
  margin: 32px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 28px;
  background: rgba(14, 17, 24, 0.55);
  backdrop-filter: blur(16px);
  border: 1px solid var(--c-border);
  border-radius: 16px;
}

.hero-quote-box {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 580px;
}

.hero-quote-box .bar {
  width: 3px;
  height: 36px;
  background: linear-gradient(to bottom, var(--c-crimson), var(--c-amber));
  border-radius: 2px;
  flex-shrink: 0;
}

.hero-quote-box p {
  font-size: 13.5px;
  color: var(--c-text-muted);
  line-height: 1.55;
  font-style: italic;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 32px;
}

.hero-stat-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat-cell .val {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.hero-stat-cell .lbl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--c-amber);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════════
   SCENE 02: THE NEURAL UNIVERSE (ABOUT & SKILLS)
   ═══════════════════════════════════════════════════════════════════ */
#scene-02-universe {
  background: radial-gradient(ellipse at 50% 40%, #160810 0%, #09060b 45%, #040507 92%);
  position: relative;
  overflow: hidden;
}

/* About Telemetry HUD Card */
.universe-about-hud {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 32px;
  background: rgba(13, 16, 24, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--c-border);
  border-radius: 18px;
  padding: 28px 34px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 10;
}

.about-bio-col h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-bio-col p {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.about-metrics-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hud-metric-card {
  background: rgba(8, 9, 13, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hud-metric-card .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--c-amber);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hud-metric-card .val {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  color: #fff;
}

/* Skills Category Selector Filter Tabs */
.universe-filter-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  position: relative;
  z-index: 15;
  flex-wrap: wrap;
}

.u-filter-btn {
  background: rgba(14, 17, 24, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--c-border);
  color: var(--c-text-muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.5px;
}

.u-filter-btn:hover {
  color: #fff;
  border-color: var(--c-amber);
  box-shadow: 0 0 12px rgba(255, 132, 0, 0.25);
  transform: translateY(-1px);
}

.u-filter-btn.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 51, 20, 0.3), rgba(255, 132, 0, 0.3));
  border-color: var(--c-amber);
  box-shadow: 0 0 18px var(--c-amber-glow), inset 0 0 10px rgba(255, 132, 0, 0.2);
}

/* ═══════════════════════════════════════════════════════════════════
   FUTURISTIC ORBITAL UNIVERSE STAGE
   ═══════════════════════════════════════════════════════════════════ */
.universe-stage {
  position: relative;
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  min-height: clamp(620px, 78vh, 820px);
  border-radius: 24px;
  border: 1px solid rgba(255, 132, 0, 0.18);
  background: radial-gradient(ellipse at 50% 50%, rgba(26, 16, 32, 0.72) 0%, rgba(10, 12, 18, 0.94) 60%, rgba(4, 5, 8, 0.98) 100%);
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.85), 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 51, 20, 0.08);
  overflow: hidden;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transform-style: preserve-3d;
}

/* Atmospheric HUD Grid Overlay */
.universe-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center center;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 80%);
  pointer-events: none;
  z-index: 1;
}

/* Corner HUD Telemetry Markers */
.universe-hud-decorations {
  position: absolute;
  inset: 14px 18px;
  pointer-events: none;
  z-index: 4;
}

.hud-corner {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 1px;
  color: rgba(255, 132, 0, 0.45);
  text-transform: uppercase;
}
.hud-corner.top-l { top: 0; left: 0; }
.hud-corner.top-r { top: 0; right: 0; }
.hud-corner.btm-l { bottom: 0; left: 0; }
.hud-corner.btm-r { bottom: 0; right: 0; }

/* SVG Orbital Guide Tracks & Geometry */
.universe-orbital-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.orbit-path-svg {
  fill: none;
  stroke: rgba(255, 132, 0, 0.24);
  stroke-width: 1.2px;
  stroke-dasharray: 4 6;
  filter: drop-shadow(0 0 6px rgba(255, 132, 0, 0.28));
  transition: stroke 0.4s ease, filter 0.4s ease;
}

.orbit-path-svg.p-inner {
  stroke: rgba(0, 229, 255, 0.32);
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.35));
}

.orbit-path-svg.p-mid {
  stroke: rgba(255, 132, 0, 0.35);
  filter: drop-shadow(0 0 8px rgba(255, 132, 0, 0.35));
}

.orbit-path-svg.p-outer {
  stroke: rgba(255, 51, 20, 0.32);
  filter: drop-shadow(0 0 8px rgba(255, 51, 20, 0.32));
}

.orbit-axis {
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 1px;
  stroke-dasharray: 2 6;
}

.orbit-center-circle {
  fill: none;
  stroke: rgba(255, 132, 0, 0.2);
  stroke-width: 1px;
}

.orbit-center-dashed {
  fill: none;
  stroke: rgba(0, 229, 255, 0.25);
  stroke-width: 1px;
  stroke-dasharray: 3 6;
  animation: spinSvgClockwise 35s linear infinite;
  transform-origin: 600px 400px;
}

@keyframes spinSvgClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Dynamic 3D Glowing Light Trail Canvas */
#universe-light-trail-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

/* ═══════════════════════════════════════════════════════════════════
   CENTRAL FOCAL POINT: THE HOLOGRAPHIC NEURAL CORE
   ═══════════════════════════════════════════════════════════════════ */
.universe-central-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(120px, 15vw, 150px);
  height: clamp(120px, 15vw, 150px);
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.universe-central-core:hover {
  transform: translate(-50%, -50%) scale(1.05);
}

/* Concentric Spinning Reticle Rings */
.core-reticle-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.core-reticle-ring.r-outer {
  inset: -14px;
  border: 1px solid rgba(255, 132, 0, 0.35);
  border-left-color: transparent;
  border-right-color: transparent;
  animation: spinCoreClockwise 18s linear infinite;
  box-shadow: 0 0 16px rgba(255, 132, 0, 0.25);
}

.core-reticle-ring.r-inner {
  inset: -26px;
  border: 1px dashed rgba(0, 229, 255, 0.3);
  border-top-color: transparent;
  animation: spinCoreCounter 22s linear infinite;
}

.core-reticle-ring.r-dashed {
  inset: -38px;
  border: 1px dotted rgba(255, 51, 20, 0.25);
  animation: spinCoreClockwise 30s linear infinite;
}

@keyframes spinCoreClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinCoreCounter {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* Radiating Pulse Waves */
.core-pulse-wave {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 132, 0, 0.7);
  pointer-events: none;
  opacity: 0;
  animation: corePulseExpand 3.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.core-pulse-wave.w2 { animation-delay: 1.1s; border-color: rgba(255, 51, 20, 0.6); }
.core-pulse-wave.w3 { animation-delay: 2.2s; border-color: rgba(0, 229, 255, 0.5); }

@keyframes corePulseExpand {
  0% {
    transform: scale(0.85);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* Avatar Frame Pod */
.core-avatar-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at center 40%, #1e1b2e 0%, #0c0e17 75%, #05060a 100%);
  border: 2px solid rgba(255, 132, 0, 0.7);
  box-shadow:
    0 0 35px rgba(255, 132, 0, 0.45),
    inset 0 0 24px rgba(255, 51, 20, 0.4),
    0 16px 36px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.core-avatar-img {
  width: 90%;
  height: 94%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 0 16px rgba(255, 132, 0, 0.5));
  transition: transform 0.3s ease;
}

.universe-central-core:hover .core-avatar-img {
  transform: scale(1.04);
}

.core-glass-reflection {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, transparent 45%);
  pointer-events: none;
}

.core-rim-light {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 -12px 20px rgba(0, 229, 255, 0.35);
  pointer-events: none;
}

/* Central Telemetry Status Badge */
.core-telemetry-badge {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: rgba(8, 10, 16, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 132, 0, 0.35);
  border-radius: 30px;
  padding: 4px 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.75), 0 0 14px rgba(255, 132, 0, 0.2);
  white-space: nowrap;
  pointer-events: none;
}

.core-tag {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--c-amber);
}

.core-status {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.5px;
}

.core-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #00E676;
  box-shadow: 0 0 8px #00E676;
  animation: coreDotBlink 1.8s infinite;
}

@keyframes coreDotBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

/* ═══════════════════════════════════════════════════════════════════
   FLOATING SKILL BADGES CLOUD (ORBITAL LAYERS)
   ═══════════════════════════════════════════════════════════════════ */
.universe-orbital-cloud {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  z-index: 10;
  transform-style: preserve-3d;
}

.u-tech-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  /* Coordinates are dynamically calculated and updated by JS */
  transform: translate(calc(-50% + var(--bx, 0px) + var(--float-x, 0px)), calc(-50% + var(--by, 0px) + var(--float-y, 0px))) translateZ(var(--depth-z, 0px));
  background: rgba(12, 16, 25, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  padding: 7px 16px 7px 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition:
    opacity 0.4s ease,
    filter 0.4s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
  will-change: transform, opacity;
  user-select: none;
  white-space: nowrap;
}

/* Tier-specific subtle initial glow accents */
.u-tech-badge[data-tier="1"] {
  border-color: rgba(0, 229, 255, 0.25);
}
.u-tech-badge[data-tier="2"] {
  border-color: rgba(255, 132, 0, 0.28);
}
.u-tech-badge[data-tier="3"] {
  border-color: rgba(255, 51, 20, 0.25);
}

/* Inner Badge Glow Sheen */
.u-badge-glow {
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: radial-gradient(circle at center, rgba(255, 132, 0, 0.18) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.u-badge-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
}

/* Technology SVG Icon Box */
.u-badge-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(8, 10, 16, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.u-svg-icon {
  width: 19px;
  height: 19px;
  display: block;
  transition: transform 0.25s ease;
}

/* Badge Typography */
.u-badge-content {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.u-badge-name {
  font-family: var(--font-display);
  font-size: clamp(12.5px, 1.05vw, 14px);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.2px;
  transition: color 0.2s ease;
}

.u-badge-cat {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--c-amber);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Hover Interaction on Skill Badge */
.u-tech-badge:hover {
  border-color: var(--c-amber);
  background: rgba(22, 27, 40, 0.95);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.85),
    0 0 24px var(--c-amber-glow),
    inset 0 0 14px rgba(255, 132, 0, 0.16);
  z-index: 50 !important;
}

.u-tech-badge:hover .u-badge-glow {
  opacity: 1;
}

.u-tech-badge:hover .u-badge-icon-box {
  transform: scale(1.12);
  border-color: var(--c-amber);
  box-shadow: 0 0 14px rgba(255, 132, 0, 0.4);
}

.u-tech-badge:hover .u-badge-name {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Category Filter Inactive Dimming */
.u-tech-badge.dimmed {
  opacity: 0.14 !important;
  filter: grayscale(0.85) blur(1px);
  pointer-events: none;
  transform: translate(calc(-50% + var(--bx, 0px)), calc(-50% + var(--by, 0px))) scale(0.85) !important;
}

.u-tech-badge.highlighted {
  border-color: var(--c-amber) !important;
  box-shadow: 0 0 22px var(--c-amber-glow) !important;
  z-index: 30;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE LAYOUT ENGINE (FLUID & ADAPTIVE)
   ═══════════════════════════════════════════════════════════════════ */

/* Laptop & Medium Desktop Tweaks */
@media (max-width: 1200px) and (min-width: 860px) {
  .universe-stage {
    min-height: clamp(560px, 72vh, 740px);
  }
  .u-tech-badge {
    padding: 6px 13px 6px 8px;
    gap: 8px;
  }
  .u-badge-icon-box {
    width: 30px;
    height: 30px;
  }
  .u-svg-icon {
    width: 17px;
    height: 17px;
  }
  .u-badge-name {
    font-size: 12px;
  }
  .u-badge-cat {
    font-size: 8.5px;
  }
}

/* Tablet & Mobile Architecture (< 860px) */
@media (max-width: 859px) {
  .universe-about-hud {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 20px;
  }

  .universe-stage {
    min-height: auto;
    padding: 30px 14px 34px;
    flex-direction: column;
    overflow: visible;
  }

  .universe-central-core {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 0 auto 34px;
    width: 110px;
    height: 110px;
  }

  .universe-central-core:hover {
    transform: scale(1.04);
  }

  .core-telemetry-badge {
    bottom: -28px;
  }

  .universe-orbital-cloud {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .u-tech-badge {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100%;
    padding: 8px 10px;
    border-radius: 12px;
    box-sizing: border-box;
  }

  .u-tech-badge:hover {
    transform: translateY(-3px) scale(1.02) !important;
  }

  .u-tech-badge.dimmed {
    display: none !important;
  }

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

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

  .u-badge-name {
    font-size: 12px;
  }

  .u-badge-cat {
    font-size: 8.5px;
  }
}

/* Compact Mobile Screens (< 480px) */
@media (max-width: 480px) {
  .universe-about-hud {
    padding: 16px;
  }
  .about-metrics-col {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .hud-metric-card {
    padding: 10px 12px;
  }

  .universe-stage {
    padding: 24px 10px 28px;
    border-radius: 16px;
  }

  .universe-central-core {
    width: 95px;
    height: 95px;
    margin-bottom: 30px;
  }

  .universe-orbital-cloud {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .u-tech-badge {
    padding: 8px 12px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   SCENE 03: PROFESSIONAL EXPERIENCE (WORK & CONSULTING)
   ═══════════════════════════════════════════════════════════════════ */
#scene-03-experience {
  background: radial-gradient(circle at center 40%, #150906 0%, #080608 50%, #040507 90%);
}

.experience-deck-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 28px;
  margin-top: 20px;
}

.cine-exp-card {
  background: rgba(14, 17, 24, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--c-border);
  border-radius: 18px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cine-exp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--c-amber), var(--c-crimson));
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.cine-exp-card:hover {
  transform: translateY(-6px);
  border-color: var(--c-amber);
  background: rgba(20, 25, 36, 0.88);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.85), 0 0 24px var(--c-amber-glow);
}

.cine-exp-card:hover::before {
  opacity: 1;
  box-shadow: 0 0 14px var(--c-crimson);
}

.exp-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.exp-role-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.exp-badge-verified {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--c-neon-green);
  background: rgba(0, 240, 118, 0.12);
  border: 1px solid var(--c-border-green);
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.exp-badge-production {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--c-amber);
  background: rgba(255, 132, 0, 0.12);
  border: 1px solid rgba(255, 132, 0, 0.4);
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.exp-date-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-text-muted);
  font-weight: 600;
}

.exp-company-logo-text {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: var(--c-crimson);
  letter-spacing: 1.5px;
}

.exp-card-role {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 6px;
}

.exp-card-org {
  font-size: 13.5px;
  color: var(--c-gold);
  font-weight: 600;
  margin-bottom: 14px;
}

.exp-card-summary {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.exp-card-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exp-card-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--c-text-secondary);
  line-height: 1.55;
}

.exp-card-bullets .bullet-arrow {
  color: var(--c-amber);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.exp-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.exp-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--c-text-secondary);
  padding: 3px 9px;
  border-radius: 4px;
}

/* ═══════════════════════════════════════════════════════════════════
   SCENE 04: ACADEMIC EDUCATION (FOUNDATIONS & HONORS)
   ═══════════════════════════════════════════════════════════════════ */
#scene-04-education {
  background: radial-gradient(circle at center 40%, #160809 0%, #0a060a 50%, #040507 90%);
}

.education-deck-grid {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 20px;
}

.cine-edu-card {
  background: rgba(14, 17, 24, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--c-border);
  border-radius: 18px;
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cine-edu-card.featured {
  border-color: rgba(255, 132, 0, 0.4);
  background: linear-gradient(135deg, rgba(20, 24, 36, 0.85), rgba(30, 15, 20, 0.8));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 132, 0, 0.12);
}

.cine-edu-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--c-crimson), var(--c-amber));
  opacity: 0.6;
}

.cine-edu-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-amber);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 20px var(--c-amber-glow);
}

.edu-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.edu-date-badge {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--c-amber);
  background: rgba(255, 132, 0, 0.12);
  border: 1px solid rgba(255, 132, 0, 0.35);
  padding: 4px 12px;
  border-radius: 50px;
}

.edu-grade-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 240, 118, 0.12);
  border: 1px solid var(--c-border-green);
  padding: 4px 12px;
  border-radius: 50px;
}

.edu-grade-badge.distinction {
  background: rgba(255, 132, 0, 0.15);
  border-color: rgba(255, 132, 0, 0.45);
}

.edu-grade-badge.honors {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.grade-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--c-text-dim);
  text-transform: uppercase;
}

.grade-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: #fff;
}

.edu-degree-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 4px;
}

.edu-institution-name {
  font-size: 14px;
  color: var(--c-gold);
  font-weight: 600;
  margin-bottom: 14px;
}

.edu-degree-desc {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.edu-highlights-block {
  margin-bottom: 16px;
}

.highlights-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--c-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.edu-course-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.edu-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--c-text-secondary);
  padding: 3px 9px;
  border-radius: 4px;
}

.edu-standing-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-neon-green);
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.standing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-neon-green);
  box-shadow: 0 0 8px var(--c-neon-green);
}

/* ═══════════════════════════════════════════════════════════════════
   SCENE 05: THE CURVED 3D HOLO-THEATER (PROJECTS & CASE STUDIES)
   ═══════════════════════════════════════════════════════════════════ */
#scene-05-theater {
  background: radial-gradient(circle at center 50%, #150608 0%, #0a060a 45%, #040507 90%);
}

.theater-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.theater-filters {
  display: flex;
  align-items: center;
  gap: 8px;
}

.th-filter-btn {
  background: rgba(14, 17, 24, 0.7);
  border: 1px solid var(--c-border);
  color: var(--c-text-muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.th-filter-btn:hover {
  color: #fff;
  border-color: var(--c-amber);
}

.th-filter-btn.active {
  color: #fff;
  background: rgba(255, 51, 20, 0.25);
  border-color: var(--c-crimson);
  box-shadow: 0 0 14px var(--c-crimson-glow);
}

.theater-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.theater-view-toggle {
  display: flex;
  align-items: center;
  background: rgba(14, 17, 24, 0.85);
  border: 1px solid var(--c-border);
  border-radius: 50px;
  padding: 4px;
  gap: 4px;
}

.th-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: 50px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--c-text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.th-view-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.th-view-btn.active {
  color: #fff;
  background: rgba(255, 132, 0, 0.2);
  border-color: var(--c-amber);
  box-shadow: 0 0 14px var(--c-amber-glow);
}

.theater-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.theater-nav-actions.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.th-nav-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(14, 17, 24, 0.8);
  border: 1px solid var(--c-border);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.2s ease;
}

.th-nav-arrow:hover {
  border-color: var(--c-amber);
  background: rgba(255, 132, 0, 0.2);
  transform: scale(1.08);
}

/* Panoramic Curved 3D Theater Stage */
.theater-stage-container {
  position: relative;
  width: 100%;
  min-height: 580px;
  perspective: 1200px;
  perspective-origin: 50% 50%;
  overflow: hidden;
  padding: 24px 0 32px;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: min-height 0.3s ease;
}

.theater-screens-track {
  position: relative;
  width: 100%;
  height: 520px;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theater-screens-track:active {
  cursor: grabbing;
}

.theater-screen-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(310px, 46vw, 540px);
  margin-left: calc(-1 * clamp(310px, 46vw, 540px) / 2);
  margin-top: -260px;
  background: rgba(14, 17, 24, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  padding: 30px;
  transform-style: preserve-3d;
  will-change: transform, opacity, box-shadow, filter;
  backface-visibility: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  cursor: pointer;
}

/* GRID MODE (When User Toggles to Show All 7 Projects in a Grid) */
.theater-stage-container.grid-mode {
  min-height: auto;
  overflow: visible;
  perspective: none;
  display: block;
  padding: 10px 0 30px;
}

.theater-stage-container.grid-mode .theater-screens-track {
  position: static;
  height: auto;
  transform: none !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 24px !important;
  width: 100%;
}

.theater-stage-container.grid-mode .theater-screen-card {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  transform: none !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  cursor: default;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.theater-stage-container.grid-mode .theater-screen-card:hover {
  transform: translateY(-6px) !important;
  border-color: var(--c-amber);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.9), 0 0 25px var(--c-amber-glow);
}

/* Holographic Optical Glass Sheen Layer */
.theater-screen-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.08) 46%,
    rgba(255, 132, 0, 0.16) 50%,
    rgba(255, 51, 20, 0.12) 54%,
    transparent 65%
  );
  pointer-events: none;
  opacity: var(--card-sheen-opacity, 0.4);
  transform: translateX(var(--card-sheen-pos, -100%));
  transition: opacity 0.25s ease;
}

.theater-screen-card.active {
  border-color: var(--c-amber);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.92), 0 0 45px var(--c-amber-glow);
  z-index: 10;
}

.th-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.th-card-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  color: var(--c-amber);
}

.th-card-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
}

.th-card-badge.status-completed {
  background: rgba(0, 240, 118, 0.12);
  color: var(--c-neon-green);
  border: 1px solid var(--c-border-green);
}

.th-card-badge.status-inprogress {
  background: rgba(255, 132, 0, 0.12);
  color: var(--c-amber);
  border: 1px solid rgba(255, 132, 0, 0.4);
}

/* Holo Theater Card Visual Preview Banners */
.th-card-preview {
  width: 100%;
  height: 125px;
  border-radius: 12px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 14px;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.65);
}

.th-card-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 13, 20, 0.35) 0%, rgba(10, 13, 20, 0.85) 100%);
  pointer-events: none;
  z-index: 1;
}

.preview-padhaihub {
  background: radial-gradient(circle at 80% 20%, rgba(255, 51, 20, 0.4), transparent 60%), #0c111c;
}
.preview-nexshop {
  background: radial-gradient(circle at 80% 20%, rgba(255, 132, 0, 0.4), transparent 60%), #140d18;
}
.preview-resume {
  background: radial-gradient(circle at 80% 20%, rgba(0, 240, 118, 0.35), transparent 60%), #0d1815;
}
.preview-gesture {
  background: radial-gradient(circle at 80% 20%, rgba(0, 195, 255, 0.4), transparent 60%), #0b1522;
}
.preview-voice {
  background: radial-gradient(circle at 80% 20%, rgba(180, 80, 255, 0.4), transparent 60%), #150d22;
}
.preview-regression {
  background: radial-gradient(circle at 80% 20%, rgba(255, 180, 40, 0.4), transparent 60%), #18150c;
}
.preview-cardio {
  background: radial-gradient(circle at 80% 20%, rgba(255, 40, 90, 0.4), transparent 60%), #1a0a10;
}

.th-preview-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preview-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2px 7px;
  border-radius: 4px;
}

.preview-domain {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-amber);
  font-weight: 600;
}

.th-preview-screen {
  position: relative;
  z-index: 2;
}

.th-screen-dots {
  display: flex;
  gap: 5px;
  margin-bottom: 5px;
}

.th-screen-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.th-screen-title {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.8px;
}

.th-screen-sub {
  font-size: 11px;
  color: var(--c-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.th-card-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 12px;
}

.th-card-desc {
  font-size: 14.5px;
  color: var(--c-text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  min-height: 72px;
}

.th-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.th-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--c-text-secondary);
  padding: 4px 10px;
  border-radius: 6px;
}

.th-card-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.th-btn-demo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--c-crimson), var(--c-amber));
  color: #fff;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 50px;
  transition: all 0.2s ease;
}

.th-btn-demo:hover {
  box-shadow: 0 0 16px var(--c-crimson-glow);
  transform: translateY(-2px);
}

.th-btn-code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--c-border);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  transition: all 0.2s ease;
}

.th-btn-code:hover {
  border-color: var(--c-amber);
  color: #fff;
}

.th-btn-details {
  background: transparent;
  border: none;
  color: var(--c-amber);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px;
  transition: color 0.2s ease;
}

.th-btn-details:hover {
  color: #fff;
  text-decoration: underline;
}

/* Navigation Cue & Bottom Thumbnail Navigator Dock */
.theater-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--c-text-dim);
  text-transform: uppercase;
}

.theater-scroll-hint .hint-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-amber);
  box-shadow: 0 0 8px var(--c-amber);
  animation: beaconPulse 1.8s infinite ease-in-out;
}

.theater-dock-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.th-dock-pill {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.25s ease;
}

.th-dock-pill:hover {
  background: rgba(255, 255, 255, 0.5);
}

.th-dock-pill.active {
  width: 28px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--c-crimson), var(--c-amber));
  box-shadow: 0 0 12px var(--c-crimson-glow);
}

/* ═══════════════════════════════════════════════════════════════════
   SCENE 05: THE FINAL SCENE (TRANSMISSION & CONTACT)
   ═══════════════════════════════════════════════════════════════════ */
#scene-05-contact {
  background: radial-gradient(circle at center bottom, #1f0804 0%, #0d0608 40%, #040507 85%);
  padding-bottom: 40px;
}

.contact-cinematic-deck {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 36px;
  margin-top: 20px;
}

.contact-dossier-card {
  background: rgba(14, 17, 24, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.dossier-desc {
  font-size: 15px;
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.dossier-channels {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dossier-channel-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 9, 13, 0.6);
  border: 1px solid var(--c-border);
  padding: 14px 18px;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 13px;
  transition: all 0.25s ease;
}

.dossier-channel-item:hover {
  border-color: var(--c-amber);
  background: rgba(255, 132, 0, 0.1);
  transform: translateX(4px);
}

.dossier-channel-item .channel-label {
  color: var(--c-amber);
  font-size: 11px;
  text-transform: uppercase;
}

.dossier-channel-item .channel-val {
  font-weight: 600;
}

.dossier-location-badge {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--c-border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Contact Command Form */
.contact-form-terminal {
  background: rgba(14, 17, 24, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75);
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--c-border);
}

.terminal-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--c-amber);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.form-cine-group {
  margin-bottom: 20px;
}

.form-cine-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--c-text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-cine-input, .form-cine-textarea {
  width: 100%;
  background: rgba(8, 9, 13, 0.75);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 13px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14.5px;
  outline: none;
  transition: all 0.25s ease;
}

.form-cine-input:focus, .form-cine-textarea:focus {
  border-color: var(--c-amber);
  background: rgba(16, 20, 28, 0.9);
  box-shadow: 0 0 16px var(--c-amber-glow);
}

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

.btn-cine-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--c-crimson), var(--c-amber));
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 15px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 12px 30px var(--c-crimson-glow);
}

.btn-cine-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(255, 51, 20, 0.6);
}

.btn-cine-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ── CINEMATIC FOOTER ── */
.cine-footer {
  width: 100%;
  border-top: 1px solid var(--c-border);
  padding: 32px 36px;
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-text-dim);
}

.cine-footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cine-footer-link {
  color: var(--c-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cine-footer-link:hover {
  color: #fff;
}

/* ── MODAL & TOAST ── */
#cine-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 7, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#cine-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cine-modal-box {
  background: rgba(14, 17, 24, 0.95);
  border: 1px solid var(--c-amber);
  border-radius: 20px;
  max-width: 620px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 40px var(--c-amber-glow);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#cine-modal-overlay.active .cine-modal-box {
  transform: scale(1);
}

.cine-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s ease;
}

.cine-modal-close:hover {
  background: var(--c-crimson);
}

#cine-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(14, 17, 24, 0.95);
  border: 1px solid var(--c-amber);
  backdrop-filter: blur(16px);
  padding: 14px 28px;
  border-radius: 50px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 13px;
  z-index: 10001;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 20px var(--c-amber-glow);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  opacity: 0;
  pointer-events: none;
}

#cine-toast.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ── RESPONSIVE STYLES ── */
@media (max-width: 1024px) {
  .hero-meta-left, .hero-meta-right {
    position: static;
    margin-top: 14px;
    max-width: 100%;
    text-align: center;
  }
  
  .hero-floating-meta {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
  }

  .universe-about-hud {
    grid-template-columns: 1fr;
  }

  .contact-cinematic-deck {
    grid-template-columns: 1fr;
  }

  .cine-nav-list {
    display: none;
  }

  .cine-mobile-toggle {
    display: block;
  }
  
  .hero-bottom-strip {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-quote-box {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .cine-header {
    padding: 0 20px;
  }

  .cine-scene {
    padding: 80px 18px 60px;
  }

  .hero-figure-wrapper {
    height: 420px;
  }

  .hero-figure-img {
    max-height: 400px;
  }

  .theater-screen-card {
    width: min(92vw, 420px);
    margin-left: calc(-1 * min(92vw, 420px) / 2);
    padding: 22px;
  }

  .hero-actions-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-cine-primary, .btn-cine-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-stats-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .about-metrics-col {
    grid-template-columns: 1fr;
  }
}
