/**
 * 3D Modern Trio Apartment Tour - Stylesheet
 * Premium Dark Glassmorphism Design System, Floating HUD, Beacons, and Drawers
 */

:root {
  --primary-accent: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.4);
  --secondary-accent: #38bdf8;
  --amber-accent: #f59e0b;
  --emerald-accent: #10b981;
  --rose-accent: #f43f5e;
  --bg-dark: #07090e;
  --glass-bg: rgba(13, 17, 27, 0.72);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: blur(16px);
}

/* Targeted Zero-Scrollbar Rules across apartment experience */
html,
body,
.object-list-scroll,
.dock-scroll,
.drawer-content,
[class*="overflow-"] {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  -webkit-overflow-scrolling: touch;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.object-list-scroll::-webkit-scrollbar,
.dock-scroll::-webkit-scrollbar,
.drawer-content::-webkit-scrollbar,
[class*="overflow-"]::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

.win-body {
  scrollbar-width: thin !important;
  scrollbar-color: rgba(99, 102, 241, 0.75) rgba(15, 23, 42, 0.65) !important;
  -webkit-overflow-scrolling: touch;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}
.win-body::-webkit-scrollbar {
  display: block !important;
  width: 7px !important;
}
.win-body::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.65) !important;
  border-radius: 6px !important;
}
.win-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6366f1, #38bdf8) !important;
  border-radius: 6px !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}
.win-body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #818cf8, #06b6d4) !important;
}

/* Glassmorphic Panels */
.glass-pane {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Floating Navigation Pills */
.glass-pill {
  background: rgba(18, 24, 38, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: #94a3b8;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.glass-pill:hover {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(99, 102, 241, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(99, 102, 241, 0.25);
}

.glass-pill.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(56, 189, 248, 0.2) 100%);
  border-color: rgba(99, 102, 241, 0.6);
  color: #ffffff;
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

/* 3D Hotspot Pins in Screen Space (High-Performance GPU Composited) */
.apartment-hotspot-pin {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: auto;
  cursor: pointer;
  z-index: 25;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(10, 14, 23, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
  color: #f1f5f9;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  /* Only transition hover colors, NEVER layout/transform properties! */
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6);
  user-select: none;
  will-change: transform;
  contain: layout style;
  transform: translate3d(0, 0, 0);
}

.apartment-hotspot-pin:hover {
  border-color: var(--primary-accent);
  box-shadow: 0 0 20px var(--primary-glow);
  background: rgba(17, 24, 39, 0.98);
}

.apartment-hotspot-pin .beacon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: relative;
}

.apartment-hotspot-pin .beacon::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  opacity: 0.8;
  animation: beaconPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes beaconPing {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  75%, 100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* Creative 3D Holographic Loading Screen */
/* ═══════════════════════════════════════════════════════════════
   NEW GENERATION HOLOGRAPHIC QUANTUM LOADING SCREEN
   ═══════════════════════════════════════════════════════════════ */
#scene-loader {
  position: absolute;
  inset: 0;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #03050a;
  background-image: 
    radial-gradient(ellipse 90% 65% at 50% 40%, rgba(30, 27, 75, 0.5) 0%, rgba(10, 15, 30, 0.85) 55%, #03050a 100%),
    radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.12) 0%, transparent 40%);
  perspective: 1200px;
  overflow: hidden;
  user-select: none;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
              filter 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.85s;
}

#scene-loader.hidden-loader {
  opacity: 0;
  transform: scale(1.12) translateZ(80px);
  filter: blur(24px) brightness(1.25);
  visibility: hidden;
  pointer-events: none;
}

/* Ambient Cyber Glow Orbs */
.loader-bg-glow-1 {
  position: absolute;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.22) 0%, rgba(56, 189, 248, 0.08) 45%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  animation: pulseAmbientGlow 6s ease-in-out infinite alternate;
  pointer-events: none;
}

.loader-bg-glow-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, rgba(6, 182, 212, 0.08) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  transform: translate(140px, 100px);
  animation: pulseAmbientGlow 7s ease-in-out infinite alternate-reverse;
  pointer-events: none;
}

@keyframes pulseAmbientGlow {
  0% { transform: scale(0.85) translate(-30px, -20px); opacity: 0.5; }
  50% { transform: scale(1.1) translate(25px, 20px); opacity: 0.85; }
  100% { transform: scale(1.25) translate(-15px, 35px); opacity: 1; }
}

/* Holographic Perspective Blueprint Grid */
.loader-blueprint-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(99, 102, 241, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(56, 189, 248, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  pointer-events: none;
}

/* Vertical Laser Scanline Sweep */
.loader-scanbeam {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(6, 182, 212, 0.3) 15%, #38bdf8 50%, rgba(99, 102, 241, 0.3) 85%, transparent 100%);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.8), 0 0 32px rgba(99, 102, 241, 0.4);
  animation: scanbeamMove 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
  opacity: 0.7;
}

@keyframes scanbeamMove {
  0% { top: -2%; opacity: 0; }
  15% { opacity: 0.85; }
  85% { opacity: 0.85; }
  100% { top: 102%; opacity: 0; }
}

/* Cyberpunk Corner HUD Brackets */
.loader-corner-bracket {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: rgba(99, 102, 241, 0.4);
  pointer-events: none;
}
.loader-corner-tl { top: 24px; left: 24px; border-top: 2px solid; border-left: 2px solid; }
.loader-corner-tr { top: 24px; right: 24px; border-top: 2px solid; border-right: 2px solid; }
.loader-corner-bl { bottom: 24px; left: 24px; border-bottom: 2px solid; border-left: 2px solid; }
.loader-corner-br { bottom: 24px; right: 24px; border-bottom: 2px solid; border-right: 2px solid; }

/* Top HUD Telemetry Header Bar */
.loader-hud-header {
  position: absolute;
  top: 28px;
  left: 36px;
  right: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.loader-hud-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #94a3b8;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.loader-led-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: ledPulse 2s ease-in-out infinite;
}

@keyframes ledPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.loader-brand-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.loader-brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.4) 0%, rgba(56, 189, 248, 0.2) 100%);
  border: 1px solid rgba(99, 102, 241, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  color: #38bdf8;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
}

.loader-brand-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #e2e8f0;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════
   HERO 3D SPATIAL GYROSCOPE & QUANTUM TESSERACT CORE
   ═══════════════════════════════════════════════════════════════ */
.loader-gyro-system {
  position: relative;
  width: 220px;
  height: 220px;
  margin-bottom: 2rem;
  perspective: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Outer Compass Reticle Orbit */
.loader-outer-reticle {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px dashed rgba(99, 102, 241, 0.35);
  box-shadow: 0 0 35px rgba(99, 102, 241, 0.15), inset 0 0 20px rgba(56, 189, 248, 0.08);
  animation: reticleSpinClockwise 24s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes reticleSpinClockwise {
  to { transform: rotate(360deg); }
}

.loader-reticle-pip {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}
.loader-reticle-pip.p-top { top: -3px; left: calc(50% - 2.5px); }
.loader-reticle-pip.p-right { right: -3px; top: calc(50% - 2.5px); }
.loader-reticle-pip.p-bottom { bottom: -3px; left: calc(50% - 2.5px); }
.loader-reticle-pip.p-left { left: -3px; top: calc(50% - 2.5px); }

/* Counter-Rotating 3D Gyro Ring A */
.loader-gyro-ring-a {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1.5px solid rgba(56, 189, 248, 0.65);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.35), inset 0 0 15px rgba(56, 189, 248, 0.2);
  transform-style: preserve-3d;
  animation: gyroSpinA 10s linear infinite;
}

@keyframes gyroSpinA {
  0% { transform: rotateX(68deg) rotateY(25deg) rotateZ(0deg); }
  100% { transform: rotateX(68deg) rotateY(25deg) rotateZ(360deg); }
}

/* Counter-Rotating 3D Gyro Ring B */
.loader-gyro-ring-b {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 1.5px solid rgba(168, 85, 247, 0.7);
  box-shadow: 0 0 22px rgba(168, 85, 247, 0.4), inset 0 0 14px rgba(168, 85, 247, 0.2);
  transform-style: preserve-3d;
  animation: gyroSpinB 8s linear infinite reverse;
}

@keyframes gyroSpinB {
  0% { transform: rotateX(35deg) rotateY(70deg) rotateZ(0deg); }
  100% { transform: rotateX(35deg) rotateY(70deg) rotateZ(360deg); }
}

/* Central Hologram Isometric Spatial Cube */
.loader-cube-wrap {
  position: relative;
  width: 70px;
  height: 70px;
  perspective: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.loader-iso-cube {
  width: 44px;
  height: 44px;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateIsoCube 9s linear infinite;
}

@keyframes rotateIsoCube {
  0% { transform: rotateX(55deg) rotateZ(0deg); }
  100% { transform: rotateX(55deg) rotateZ(360deg); }
}

.iso-face {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(99, 102, 241, 0.85);
  background: rgba(99, 102, 241, 0.12);
  box-shadow: inset 0 0 16px rgba(99, 102, 241, 0.3), 0 0 14px rgba(56, 189, 248, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.iso-face.front  { transform: translateZ(22px); }
.iso-face.back   { transform: rotateY(180deg) translateZ(22px); }
.iso-face.right  { transform: rotateY(90deg) translateZ(22px); border-color: rgba(56, 189, 248, 0.9); }
.iso-face.left   { transform: rotateY(-90deg) translateZ(22px); }
.iso-face.top    { transform: rotateX(90deg) translateZ(22px); background: rgba(56, 189, 248, 0.22); border-color: #38bdf8; }
.iso-face.bottom { transform: rotateX(-90deg) translateZ(22px); }

/* Glowing Quantum Core Pulsar */
.loader-core-pulsar {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, #38bdf8 45%, #6366f1 100%);
  box-shadow: 0 0 20px #38bdf8, 0 0 40px #6366f1;
  animation: pulsarBreath 2s ease-in-out infinite alternate;
}

@keyframes pulsarBreath {
  0% { transform: scale(0.85); opacity: 0.7; }
  100% { transform: scale(1.3); opacity: 1; filter: drop-shadow(0 0 12px #38bdf8); }
}

/* Floor Grid Halo */
.loader-floor-grid {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 1px dashed rgba(56, 189, 248, 0.35);
  transform: rotateX(75deg);
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.2);
  animation: spinFloorHalo 14s linear infinite;
  pointer-events: none;
}

@keyframes spinFloorHalo {
  to { transform: rotateX(75deg) rotateZ(360deg); }
}

/* ═══════════════════════════════════════════════════════════════
   TELEMETRY READOUT & MILESTONE INDICATORS
   ═══════════════════════════════════════════════════════════════ */
.loader-telemetry-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 580px;
  width: 90vw;
  z-index: 10;
}

.loader-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  border-radius: 9999px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.15) 0%, rgba(56, 189, 248, 0.18) 100%);
  border: 1px solid rgba(16, 185, 129, 0.45);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #6ee7b7;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

/* Giant Cyber Numeric Readout */
.loader-counter-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 0.75rem;
}

.loader-counter-digits {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 50%, #818cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(56, 189, 248, 0.4));
  font-variant-numeric: tabular-nums;
}

/* 4-Phase System Milestones Bar */
.loader-phases-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
  max-width: 440px;
  margin-bottom: 1rem;
}

.loader-phase-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 4px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.loader-phase-item.active {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.2);
}

.loader-phase-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.05em;
  transition: color 0.35s ease;
}

.loader-phase-item.active .loader-phase-num {
  color: #38bdf8;
}

.loader-phase-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #475569;
  text-transform: uppercase;
  transition: color 0.35s ease;
}

.loader-phase-item.active .loader-phase-label {
  color: #f1f5f9;
}

/* Next-Gen Laser Progress Track */
.loader-progress-track {
  width: 100%;
  max-width: 440px;
  height: 6px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  overflow: visible;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8), 0 0 20px rgba(99, 102, 241, 0.2);
  margin-bottom: 1rem;
}

.loader-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #6366f1 0%, #38bdf8 50%, #10b981 100%);
  border-radius: 9999px;
  transition: width 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.8), 0 0 35px rgba(16, 185, 129, 0.5);
  position: relative;
}

.loader-progress-bar::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 12px #38bdf8, 0 0 24px #10b981, 0 0 36px #ffffff;
}

/* Status Typewriter Message */
.loader-status-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 28px;
  margin-bottom: 0.75rem;
}

.loader-status-prompt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: #38bdf8;
  animation: promptPulse 1.2s infinite;
}

@keyframes promptPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

#load-status-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(11px, 2.5vw, 13px);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #cbd5e1;
  text-align: center;
  transition: all 0.25s ease;
}

/* Interactive Direct Entry Button (Illuminates when ready or clickable anytime) */
.loader-enter-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 28px;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(56, 189, 248, 0.25) 100%);
  border: 1px solid rgba(56, 189, 248, 0.45);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #f8fafc;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4), 0 0 16px rgba(56, 189, 248, 0.25);
  margin-top: 0.5rem;
}

.loader-enter-btn:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.55) 0%, rgba(56, 189, 248, 0.5) 100%);
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.5);
}

.loader-enter-btn .btn-arrow {
  transition: transform 0.2s ease;
}
.loader-enter-btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* Bottom Footer Telemetry Strip */
.loader-footer-strip {
  position: absolute;
  bottom: 24px;
  left: 36px;
  right: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #64748b;
  letter-spacing: 0.08em;
  pointer-events: none;
}

/* Slide-out Drawers */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 480px;
  background: #0b0f19;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -10px 0 50px rgba(0, 0, 0, 0.8);
  z-index: 45;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.drawer-panel.open {
  transform: translateX(0);
}

.drawer-content {
  overflow-y: auto;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.drawer-content::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Auto-Tour Floating Widget */
.autotour-badge {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(239, 68, 68, 0.2) 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fde68a;
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
  }
  50% {
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.5);
  }
}

/* Interactive Cursor */
#three-canvas {
  cursor: grab;
}

#three-canvas.hovering-interactive {
  cursor: pointer;
}

#three-canvas:active {
  cursor: grabbing;
}

/* Object Focus & Zoom Selector Styling */
#object-focus-panel {
  max-height: calc(100vh - 6.5rem);
  overflow-y: auto;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

#object-focus-panel::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.object-picker-select {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  outline: none;
}

.object-picker-select::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.object-picker-select option {
  padding: 6px 10px;
  background: #090d16;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.object-picker-select option:hover,
.object-picker-select option:focus,
.object-picker-select option:checked {
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.35) 0%, rgba(59, 130, 246, 0.25) 100%) !important;
  color: #ffffff !important;
  font-weight: 700;
}

/* Scrollable Object Cards in Sidebar */
.object-list-scroll {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.object-list-scroll::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.object-card-item {
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(15, 20, 32, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.object-card-item:hover {
  background: rgba(22, 30, 48, 0.95);
  border-color: rgba(6, 182, 212, 0.4);
  transform: translateX(2px);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.15);
}

.object-card-item.active {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.25) 0%, rgba(59, 130, 246, 0.15) 100%);
  border-color: rgba(6, 182, 212, 0.7);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.focus-tab-btn.active {
  background: rgba(6, 182, 212, 0.22) !important;
  border-color: rgba(6, 182, 212, 0.6) !important;
  color: #67e8f9 !important;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.25);
}

.zoom-mode-btn.active {
  background: rgba(6, 182, 212, 0.22) !important;
  border-color: rgba(6, 182, 212, 0.6) !important;
  color: #67e8f9 !important;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.25);
}

/* Floating Click-To-Focus Tooltip */
#floating-object-tooltip {
  background: rgba(11, 15, 25, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.8), 0 0 20px rgba(6, 182, 212, 0.2);
  animation: tooltipFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes tooltipFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -100%) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -120%) scale(1);
  }
}

/* Bottom Navigation Dock Horizontal Scroll */
.dock-scroll {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.dock-scroll::-webkit-scrollbar {
  display: none;
}

/* ═══════════════════════════════════════════════════════════════
   RAMEESHOS VIRTUAL DESKTOP SCREEN STYLES
   ═══════════════════════════════════════════════════════════════ */
.virtual-os-container {
  background-color: #050811;
}

/* ═══════════════════════════════════════════════════════════════
   RAMEESHOS CONTAINED IN-SCENE MINI OPERATING SYSTEM
   ═══════════════════════════════════════════════════════════════ */

/* Transparent Positioning Overlay */
.os-overlay-container {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.4);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.os-overlay-container.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Strictly Contained In-Scene Monitor Screen Frame */
.os-screen-frame {
  pointer-events: auto;
  position: relative;
  width: min(85vw, 1100px);
  height: min(80vh, 700px);
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 30% 20%, #232a48, transparent 55%), linear-gradient(160deg, #1b2036, #0e1122);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.8), 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(91, 124, 250, 0.15);
  overflow: hidden;
  user-select: none;
}

/* 1. Top Menubar / Status Bar */
.os-topbar {
  height: 34px;
  background: rgba(10, 14, 26, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 50;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.os-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.os-logo {
  font-size: 12px;
  letter-spacing: -0.01em;
}

.os-ver-badge {
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.35);
  margin-left: 2px;
}

.os-topbar-right {
  display: flex;
  align-items: center;
}

.os-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 1.5px 7px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.os-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.os-exit-btn {
  font-size: 10px;
  font-weight: 700;
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  padding: 2.5px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.os-exit-btn:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: #ef4444;
  color: #ffffff;
}

/* 2. Main Desktop Workspace */
.os-workspace {
  flex: 1;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: calc(100% - 70px);
  background: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.10) 0%, transparent 45%),
              radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.06) 0%, transparent 60%),
              #070a14;
}

/* Wallpaper Grid & Glows */
.os-grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  opacity: 0.7;
}

.os-glow-bg-1 {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.14) 0%, transparent 70%);
  top: 5%;
  left: 10%;
  filter: blur(50px);
  pointer-events: none;
}

.os-glow-bg-2 {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
  bottom: 5%;
  right: 10%;
  filter: blur(60px);
  pointer-events: none;
}

/* Left Sidebar Folders */
.os-sidebar-folders {
  position: absolute;
  top: 12px;
  left: 12px;
  bottom: 12px;
  width: 180px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
  pointer-events: auto;
}

.os-folder-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(18, 24, 38, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  position: relative;
  user-select: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.os-folder-card:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(99, 102, 241, 0.45);
  transform: translateX(3px);
  box-shadow: 0 6px 18px -4px rgba(0, 0, 0, 0.5), 0 0 12px rgba(99, 102, 241, 0.2);
}

/* Active State on Sidebar Folders */
.os-folder-card.active {
  background: rgba(30, 41, 65, 0.95);
  border-color: rgba(99, 102, 241, 0.8);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateX(3px);
}

.os-folder-card.active#os-folder-about {
  border-color: #3b82f6;
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.45);
}

.os-folder-card.active#os-folder-experience {
  border-color: #10b981;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.45);
}

.os-folder-card.active#os-folder-education {
  border-color: #f59e0b;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.45);
}

.os-folder-card.active#os-folder-certifications {
  border-color: #a855f7;
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.45);
}

.os-folder-card.active#os-folder-awards {
  border-color: #eab308;
  box-shadow: 0 0 18px rgba(234, 179, 8, 0.45);
}

.os-folder-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  border: 1px solid;
  flex-shrink: 0;
}

.os-folder-text {
  flex: 1;
  min-width: 0;
}

.os-folder-title {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.os-folder-sub {
  font-size: 9px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

/* Desktop Watermark Card */
.os-desktop-watermark {
  position: absolute;
  top: 12px;
  left: 202px;
  right: 14px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

.os-watermark-card {
  width: 100%;
  max-width: 680px;
  padding: 20px 24px;
  border-radius: 14px;
  background: rgba(13, 18, 32, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7);
  pointer-events: auto;
}

.os-quick-link-btn {
  display: flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #f1f5f9;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

.os-quick-link-btn:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.6);
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

/* ═══════════════════════════════════════════════════════════════
   3. FLOATING DRAGGABLE OS WINDOWS
   ═══════════════════════════════════════════════════════════════ */
.os-window {
  position: absolute;
  width: min(560px, calc(100% - 200px));
  max-width: calc(100% - 20px);
  height: min(400px, calc(100% - 20px));
  background: rgba(11, 16, 30, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(99, 102, 241, 0.45);
  border-radius: 10px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  z-index: 20;
  pointer-events: auto;
  overflow: hidden;
  user-select: auto;
}

.os-window.hidden {
  display: none !important;
}

/* Window Focused Highlight */
.os-window.focused {
  border-color: rgba(99, 102, 241, 0.85);
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.95), 0 0 30px rgba(99, 102, 241, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Window Header Bar (Draggable Titlebar) */
.os-window-header {
  height: 36px;
  padding: 0 12px;
  background: rgba(18, 24, 42, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: grab;
  user-select: none;
  flex-shrink: 0;
  border-radius: 8px 8px 0 0;
}

.os-window-header:active {
  cursor: grabbing;
}

.os-window-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.os-ctrl-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.15s ease;
  color: transparent;
}

.os-ctrl-btn:hover {
  color: rgba(0, 0, 0, 0.85);
  transform: scale(1.1);
}

.os-ctrl-btn.close {
  background: #ff5f56;
  border: 1px solid #e0443e;
}

.os-ctrl-btn.min {
  background: #ffbd2e;
  border: 1px solid #dea123;
}

.os-ctrl-btn.max {
  background: #27c93f;
  border: 1px solid #1aab29;
}

.os-window-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
}

.os-header-close-btn {
  font-size: 10px;
  font-weight: 700;
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 2.5px 7px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.os-header-close-btn:hover {
  background: rgba(239, 68, 68, 0.35);
  border-color: #ef4444;
  color: #ffffff;
}

/* Window Body Content */
.os-window-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.os-window-body::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* ═══════════════════════════════════════════════════════════════
   4. BOTTOM WINDOWS-STYLE TASKBAR
   ═══════════════════════════════════════════════════════════════ */
.os-taskbar {
  height: 36px;
  background: rgba(10, 14, 26, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  z-index: 45;
  flex-shrink: 0;
}

.os-taskbar-items {
  display: flex;
  align-items: center;
  gap: 4px;
}

.os-taskbar-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  color: #94a3b8;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.os-taskbar-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.os-taskbar-item.active {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.4);
  color: #93c5fd;
}

.os-taskbar-icon {
  font-size: 13px;
  line-height: 1;
}

.os-taskbar-dot {
  position: absolute;
  bottom: 2px;
  transform: scale(1);
  box-shadow: 0 0 8px #38bdf8;
}

.os-dock-separator {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 4px;
}

.os-dock-exit {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.os-dock-exit:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: #ef4444;
  color: #ffffff;
}

/* Responsive adjustments for mobile/smaller screens */
@media (max-width: 768px) {
  .os-sidebar-folders {
    width: 60px;
    left: 8px;
    gap: 6px;
  }
  .os-folder-card {
    padding: 8px;
    justify-content: center;
  }
  .os-folder-text {
    display: none;
  }
  .os-desktop-watermark {
    left: 78px;
    right: 8px;
  }
  .os-window {
    width: calc(100vw - 84px) !important;
    left: 76px !important;
    top: 10px !important;
    height: calc(100vh - 120px) !important;
  }
}

/* ==========================================================================
   PROJECTS WORKSTATION SLATE MODAL (Object_99)
   Dual-Mode: Expansive 3D Holographic Workstation on Big Screens /
   Touch Drawer on Small Screens
   ========================================================================== */

.projects-station-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 3, 10, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 99990;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
}

.projects-station-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.projects-station-glow {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.28) 0%, rgba(109, 40, 217, 0.12) 50%, transparent 75%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 99991;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s;
}

.projects-station-backdrop.open ~ .projects-station-glow {
  opacity: 1;
  visibility: visible;
}

/* Base Projects Station Modal (Bigger screens: Centered Expansive Slate) */
.projects-station-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) perspective(1400px) rotateX(20deg) scale(0.6);
  width: 96%;
  max-width: 1280px;
  height: 90vh;
  max-height: 900px;
  z-index: 99999;
  background: linear-gradient(165deg, rgba(22, 16, 42, 0.97) 0%, rgba(12, 9, 26, 0.98) 55%, rgba(6, 4, 14, 0.99) 100%);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 24px;
  box-shadow: 
    0 40px 100px -20px rgba(0, 0, 0, 0.95),
    0 0 50px rgba(168, 85, 247, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.6);
  opacity: 0;
  filter: blur(10px);
  visibility: hidden;
  pointer-events: none;
  transition: 
    opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.55s cubic-bezier(0.34, 1.45, 0.64, 1),
    filter 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.45s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-style: preserve-3d;
}

.projects-station-modal.open {
  opacity: 1;
  filter: blur(0px);
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%) perspective(1400px) rotateX(0deg) scale(1);
}

.projects-station-modal.fullscreen {
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  border-radius: 0 !important;
  border: none !important;
  transform: none !important;
}

/* Subtle Animated Perimeter Glow */
.projects-station-modal::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.6), transparent 40%, rgba(139, 92, 246, 0.4) 60%, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 10;
}

/* Category Filter Pills */
.project-cat-pill {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-cat-pill.active {
  background: rgba(168, 85, 247, 0.25);
  border-color: rgba(168, 85, 247, 0.6);
  color: #f3e8ff;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

/* Scrollbar Customization */
.projects-station-body::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* In-Tour Project Detail Overlay */
.project-detail-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 18, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 50;
  overflow-y: auto;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px) scale(0.98);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-detail-overlay.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.project-detail-overlay::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Small Screens (Mobile) Breakpoint */
@media (max-width: 767px) {
  .projects-station-modal {
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
    border: none;
    transform: translateY(100%);
  }

  .projects-station-modal.open {
    transform: translateY(0);
  }

  .coverflow-section {
    padding: 1.5rem 0.5rem 2rem;
    margin-bottom: 2rem;
    border-radius: 1.25rem;
  }

  .projects-coverflow-slide {
    width: 310px;
    height: 380px;
  }
}

/* ==========================================================================
/* ==========================================================================
   UNIFIED LIQUID GLASS SPATIAL DOCK (SINGLE CONTINUOUS FLOW)
   ========================================================================== */

.spatial-dock-container {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  background: rgba(9, 13, 24, 0.82);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.22);
  max-width: 96vw;
  user-select: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* Prevent collision: Tuck spatial dock down when viewing macOS workstation */
body.station-about .spatial-dock-container,
.spatial-dock-container.station-about-dock {
  transform: translateX(-50%) translateY(72%);
  opacity: 0.28;
}

body.station-about .spatial-dock-container:hover,
.spatial-dock-container.station-about-dock:hover {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Dock Item Button */
.dock-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.62rem;
  min-width: 48px;
  height: 50px;
  border-radius: 14px;
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  cursor: pointer;
  outline: none;
  text-decoration: none;
  white-space: nowrap;
  /* Hardware-accelerated GPU transitions (0 CPU lag) */
  transform: translate3d(0, 0, 0);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
              background-color 0.2s ease, 
              border-color 0.2s ease, 
              color 0.2s ease,
              box-shadow 0.2s ease;
  will-change: transform;
}

.dock-btn:hover {
  transform: translate3d(0, -4px, 0) scale(1.08);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.5), 0 0 16px -2px var(--station-color, rgba(99, 102, 241, 0.3));
}

.dock-btn:active {
  transform: translate3d(0, 0, 0) scale(0.96);
}

.dock-btn .dock-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.dock-btn:hover .dock-icon {
  transform: scale(1.15);
  color: var(--station-color, #ffffff);
}

.dock-btn .dock-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 3px;
  transition: color 0.2s ease;
}

/* Active Glowing Indicator Dot */
.dock-indicator-dot {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

/* Active Station State */
.dock-btn.active {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
  box-shadow: 0 4px 18px -2px rgba(0, 0, 0, 0.6), 0 0 16px -2px var(--station-color, rgba(99, 102, 241, 0.3));
}

.dock-btn.active .dock-icon {
  color: var(--station-color, #ffffff);
}

.dock-btn.active .dock-indicator-dot {
  width: 16px;
  height: 3px;
  border-radius: 9999px;
  background: var(--station-color, #6366f1);
  box-shadow: 0 0 10px var(--station-color, #6366f1), 0 0 3px var(--station-color, #6366f1);
}

.dock-btn.active .dock-label {
  color: #ffffff;
  font-weight: 700;
}

/* Pure CSS Hardware-Accelerated Floating Tooltip (Zero JS overhead) */
.dock-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translate3d(-50%, 6px, 0) scale(0.95);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: rgba(12, 16, 26, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.75);
  white-space: nowrap;
  z-index: 50;
  transition: opacity 0.18s ease, transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.18s;
  will-change: opacity, transform;
}

/* Arrow pointer */
.dock-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 4px;
  border-style: solid;
  border-color: rgba(12, 16, 26, 0.94) transparent transparent transparent;
}

.dock-btn:hover .dock-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translate3d(-50%, 0, 0) scale(1);
}

.dock-tooltip-title {
  font-size: 11px;
  font-weight: 700;
  color: #f8fafc;
}

.dock-tooltip-sub {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 400;
}

.dock-tooltip-kbd {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: #38bdf8;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .dock-btn .dock-label {
    display: none;
  }
  .dock-btn {
    min-width: 40px;
    height: 44px;
    padding: 0.35rem 0.5rem;
  }
}

@media (max-width: 640px) {
  .spatial-dock-container {
    bottom: 0.85rem;
    gap: 0.2rem;
    padding: 0.3rem 0.45rem;
    overflow-x: auto;
    max-width: 95vw;
    border-radius: 18px;
  }
  .dock-btn {
    min-width: 36px;
    height: 40px;
    padding: 0.3rem 0.4rem;
  }
  .dock-btn .dock-icon {
    font-size: 1rem;
  }
  .dock-tooltip {
    display: none !important; /* Avoid touch tooltip sticking on mobile */
  }
}

/* ═══════════════════════════════════════════════════════════════ */
/* LAPTOP SCREEN COMMAND PALETTE & DOCUMENT READER OVERLAY         */
/* ═══════════════════════════════════════════════════════════════ */
.home-command-backdrop {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(14, 165, 233, 0.14) 0%, rgba(4, 7, 16, 0.8) 60%, rgba(2, 4, 10, 0.94) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 999990;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
}

.home-command-backdrop.active,
.home-command-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.home-command-glow {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 820px;
  height: 560px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, rgba(129, 140, 248, 0.1) 40%, transparent 72%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 999991;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.home-command-backdrop.active ~ .home-command-glow,
.home-command-backdrop.open ~ .home-command-glow {
  opacity: 1;
  visibility: visible;
}

.home-command-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: 96vw;
  max-width: 1280px;
  height: 94vh;
  max-height: 94vh;
  background: rgba(7, 11, 24, 0.86);
  backdrop-filter: blur(40px) saturate(190%);
  -webkit-backdrop-filter: blur(40px) saturate(190%);
  border: none !important;
  outline: none !important;
  border-radius: 1.75rem;
  box-shadow: 
    0 40px 120px -20px rgba(0, 0, 0, 0.95),
    0 0 70px rgba(56, 189, 248, 0.08);
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 
    opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.28s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.home-window-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2rem;
  background: rgba(10, 16, 32, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: none !important;
  outline: none !important;
  flex-shrink: 0;
}

.home-window-scroll-body {
  position: relative;
  flex: 1 1 0%;
  min-height: 0;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 2.25rem 2.5rem 3rem 2.5rem;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(56, 189, 248, 0.35) rgba(15, 23, 42, 0.2) !important;
}

.home-window-scroll-body::-webkit-scrollbar {
  width: 6px;
}
.home-window-scroll-body::-webkit-scrollbar-track {
  background: rgba(8, 12, 24, 0.3);
}
.home-window-scroll-body::-webkit-scrollbar-thumb {
  background: rgba(30, 41, 59, 0.7);
  border-radius: 9999px;
}
.home-window-scroll-body::-webkit-scrollbar-thumb:hover {
  background: #38bdf8;
}

.home-window-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 2rem;
  background: rgba(8, 12, 24, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: none !important;
  outline: none !important;
  font-size: 0.75rem;
  flex-shrink: 0;
}

#home-command-modal,
#home-command-modal *,
#home-resume-scroll-container,
#home-resume-scroll-container *,
#resume-network-graph-container,
#resume-graph-inspector {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  box-sizing: border-box;
  border: none !important;
  border-width: 0 !important;
  border-color: transparent !important;
  outline: none !important;
}

.home-command-modal.open,
.home-command-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.home-command-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #27272a;
  padding: 0 1rem;
  height: 3.5rem;
  background: #000000;
  flex-shrink: 0;
}

.home-command-input {
  height: 100%;
  width: 100%;
  border: none !important;
  background: transparent !important;
  color: #ffffff !important;
  font-size: 0.9375rem !important;
  font-weight: 400 !important;
  font-family: inherit !important;
  outline: none !important;
  box-shadow: none !important;
}

.home-command-input::placeholder {
  color: #71717a !important;
}

.home-command-kbd {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.home-command-close-btn {
  padding: 0.45rem;
  border-radius: 8px;
  color: #71717a;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-command-close-btn:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.home-command-results-scroll {
  max-height: 20rem;
  overflow-y: auto !important;
  padding: 0.5rem 0.25rem;
  scrollbar-width: thin !important;
  scrollbar-color: #3f3f46 #18181b !important;
  -ms-overflow-style: auto !important;
}

.home-command-results-scroll::-webkit-scrollbar {
  display: block !important;
  width: 8px !important;
  height: 8px !important;
}
.home-command-results-scroll::-webkit-scrollbar-track {
  display: block !important;
  background: #18181b !important;
  border-radius: 4px !important;
}
.home-command-results-scroll::-webkit-scrollbar-thumb {
  display: block !important;
  background: #3f3f46 !important;
  border-radius: 4px !important;
  border: 1px solid #27272a !important;
}
.home-command-results-scroll::-webkit-scrollbar-thumb:hover {
  background: #52525b !important;
}
.home-command-results-scroll::-webkit-scrollbar-corner {
  background: #18181b !important;
}

.command-group {
  margin-bottom: 0.35rem;
}

.command-group-header {
  font-size: 0.75rem;
  font-weight: 500;
  color: #71717a;
  padding: 0.5rem 1.25rem 0.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: inherit;
}

.command-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.125rem 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
  color: #d4d4d8;
  font-size: 0.875rem;
  user-select: none;
  border: 1px solid transparent;
}

.command-item:hover,
.command-item.highlighted {
  background-color: #27272a !important;
  color: #ffffff !important;
}

.command-item-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
}

.command-item-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #a1a1aa;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.command-item:hover .command-item-icon-box,
.command-item.highlighted .command-item-icon-box {
  transform: rotate(-12deg);
  color: #ffffff;
}

.command-item-title {
  font-weight: 500;
  font-size: 0.925rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.command-badge-current {
  font-size: 0.75rem;
  color: #a1a1aa;
  font-weight: 500;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.command-item-badge {
  font-size: 0.75rem;
  font-weight: 400;
  padding: 0.125rem 0.45rem;
  border-radius: 0.375rem;
  border: 1px solid #71717a;
  color: #a1a1aa;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  flex-shrink: 0;
}

.home-command-footer {
  padding: 0.65rem 1.25rem;
  border-top: 1px solid #27272a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #000000;
  font-size: 0.75rem;
  color: #71717a;
  font-family: inherit;
}

/* Document Reader */
.doc-reader-header {
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.35);
}

.doc-reader-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  font-family: 'JetBrains Mono', monospace;
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.doc-reader-back-btn:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: rgba(56, 189, 248, 0.45);
  color: #38bdf8;
}

.doc-reader-body {
  max-height: 60vh;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  line-height: 1.75;
  scrollbar-width: thin;
  scrollbar-color: #3f3f46 transparent;
}

.doc-reader-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f8fafc;
  margin-top: 1.25rem;
  margin-bottom: 0.45rem;
}

.doc-reader-body p {
  color: #cbd5e1;
  margin-bottom: 0.85rem;
  font-size: 0.875rem;
}

.doc-reader-body ul {
  list-style-type: disc;
  padding-left: 1.25rem;
  margin-bottom: 0.85rem;
  color: #94a3b8;
  font-size: 0.85rem;
}

.doc-reader-body li {
  margin-bottom: 0.35rem;
}

.doc-reader-footer {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.35);
}

/* Quick Options & Visual Resume Styling */
.quick-opt-btn {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.625rem;
  background: rgba(24, 24, 27, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.quick-opt-btn:hover {
  background: rgba(39, 39, 42, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}
.quick-opt-icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.quick-opt-title {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
}
.quick-opt-sub {
  font-size: 0.6875rem;
  font-family: 'JetBrains Mono', monospace;
  line-height: 1.2;
}

.skill-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
  transition: all 0.15s ease;
}
.skill-pill:hover {
  transform: translateY(-1px);
}
.skill-pill-amber {
  background: rgba(245, 158, 11, 0.1);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.25);
}
.skill-pill-purple {
  background: rgba(168, 85, 247, 0.1);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.25);
}
.skill-pill-cyan {
  background: rgba(6, 182, 212, 0.1);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.25);
}
.skill-pill-emerald {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/* ═══════════════════════════════════════════════════════════════════ */
/* DYNAMIC ANIMATIONS & RICH AESTHETICS FOR HOMEPAGE WINDOW           */
/* ═══════════════════════════════════════════════════════════════════ */

@keyframes holo3DEntrance {
  0% {
    opacity: 0;
    transform: perspective(1000px) rotateX(10deg) translateY(24px) scale(0.96);
    filter: blur(5px) brightness(1.25);
  }
  65% {
    filter: blur(0px) brightness(1.06);
  }
  100% {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) translateY(0) scale(1);
    filter: brightness(1);
  }
}

@keyframes glowPulseSubtle {
  0%, 100% {
    box-shadow: 0 35px 90px -15px rgba(0, 0, 0, 0.95), 0 0 45px rgba(56, 189, 248, 0.16);
  }
  50% {
    box-shadow: 0 35px 90px -15px rgba(0, 0, 0, 0.95), 0 0 65px rgba(56, 189, 248, 0.32);
  }
}

.home-command-modal.open {
  animation: glowPulseSubtle 5s ease-in-out infinite alternate !important;
}

/* Creative Staggered 3D Entrance Animations */
.anim-home-1 { animation: holo3DEntrance 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both; }
.anim-home-2 { animation: holo3DEntrance 0.48s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both; }
.anim-home-3 { animation: holo3DEntrance 0.52s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both; }
.anim-home-4 { animation: holo3DEntrance 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both; }
.anim-home-5 { animation: holo3DEntrance 0.58s cubic-bezier(0.16, 1, 0.3, 1) 0.30s both; }
.anim-home-6 { animation: holo3DEntrance 0.62s cubic-bezier(0.16, 1, 0.3, 1) 0.36s both; }

/* Small Square Menu Items */
.home-menu-square {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.65rem 0.4rem;
  min-height: 94px;
  border-radius: 1rem;
  background: rgba(18, 24, 38, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(30, 41, 59, 0.85);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.home-menu-square::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.home-menu-square:hover::before {
  opacity: 1;
}

.home-menu-square:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(56, 189, 248, 0.5);
}

.home-menu-square:active {
  transform: translateY(-1px) scale(0.98);
}

/* Distinct square theme glow colors */
.home-square-quick {
  border-color: rgba(56, 189, 248, 0.28);
}
.home-square-quick:hover {
  border-color: rgba(56, 189, 248, 0.75);
  box-shadow: 0 10px 25px -5px rgba(56, 189, 248, 0.35);
}

.home-square-blog {
  border-color: rgba(139, 92, 246, 0.28);
}
.home-square-blog:hover {
  border-color: rgba(139, 92, 246, 0.75);
  box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.35);
}

.home-square-projects {
  border-color: rgba(168, 85, 247, 0.28);
}
.home-square-projects:hover {
  border-color: rgba(168, 85, 247, 0.75);
  box-shadow: 0 10px 25px -5px rgba(168, 85, 247, 0.35);
}

.home-square-dashboard {
  border-color: rgba(6, 182, 212, 0.28);
}
.home-square-dashboard:hover {
  border-color: rgba(6, 182, 212, 0.75);
  box-shadow: 0 10px 25px -5px rgba(6, 182, 212, 0.35);
}

.home-square-contact {
  border-color: rgba(245, 158, 11, 0.28);
}
.home-square-contact:hover {
  border-color: rgba(245, 158, 11, 0.75);
  box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.35);
}

.home-square-resume {
  border-color: rgba(16, 185, 129, 0.28);
}
.home-square-resume:hover {
  border-color: rgba(16, 185, 129, 0.75);
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.35);
}

.home-square-icon-box {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-square-title {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 0.25rem;
  transition: color 0.2s ease;
}

.home-square-badge {
  font-size: 0.625rem;
  font-family: 'JetBrains Mono', monospace;
  padding: 0.1rem 0.4rem;
  border-radius: 0.25rem;
  line-height: 1.2;
}

/* Card hover enhancements */
.resume-card-glow {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.resume-card-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(56, 189, 248, 0.12);
}

/* ═══════════════════════════════════════════════════════════════════ */
/* ADVANCED DESIGN SYSTEM: MORPHIC GLASS & HIGH-FIDELITY TELEMETRY    */
/* ═══════════════════════════════════════════════════════════════════ */

/* Ambient Caustic Glow Orbs (Sub-surface Glass Lighting) */
.morphic-glow-orb-cyan {
  position: absolute;
  top: -60px;
  left: -50px;
  width: 420px;
  height: 420px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.16) 0%, rgba(14, 165, 233, 0.04) 55%, transparent 70%);
  filter: blur(65px);
  pointer-events: none;
  z-index: 0;
  animation: orbDrift1 12s ease-in-out infinite alternate;
}

.morphic-glow-orb-violet {
  position: absolute;
  bottom: -60px;
  right: -50px;
  width: 440px;
  height: 440px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.14) 0%, rgba(99, 102, 241, 0.03) 55%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
  animation: orbDrift2 14s ease-in-out infinite alternate;
}

@keyframes orbDrift1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.1); }
}

@keyframes orbDrift2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-35px, -30px) scale(1.12); }
}

/* Executive Hero Container - Borderless Pure Frosted Glass */
.deck-hero-container {
  position: relative;
  border-radius: 1.6rem;
  background: linear-gradient(135deg, rgba(16, 24, 48, 0.58) 0%, rgba(10, 16, 34, 0.72) 50%, rgba(6, 10, 22, 0.85) 100%);
  border: none !important;
  outline: none !important;
  box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  z-index: 1;
}

/* Executive Monogram Badge */
.quantum-core-badge {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quantum-ring-outer {
  position: absolute;
  inset: 0;
  border-radius: 1.15rem;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.4) 0%, rgba(129, 140, 248, 0.25) 100%);
  animation: glowPulseSubtle 4s ease-in-out infinite alternate;
  filter: blur(1px);
}

.quantum-ring-inner {
  position: absolute;
  inset: 3px;
  border-radius: 1rem;
  background: rgba(10, 16, 32, 0.85);
}

.quantum-core-center {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none !important;
  outline: none !important;
  z-index: 2;
}

/* KPI Cards - Borderless Frosted Glass Tiles */
.executive-kpi-card,
.telemetry-kpi-card {
  position: relative;
  padding: 1.4rem 1.5rem;
  border-radius: 1.35rem;
  background: linear-gradient(145deg, rgba(17, 26, 48, 0.52) 0%, rgba(10, 16, 32, 0.68) 100%);
  border: none !important;
  outline: none !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 14px 34px -8px rgba(0, 0, 0, 0.55);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  z-index: 1;
}

.executive-kpi-card::after,
.telemetry-kpi-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12), transparent 70%);
  pointer-events: none;
}

.executive-kpi-card:hover,
.telemetry-kpi-card:hover {
  transform: translateY(-3px) scale(1.015);
  background: linear-gradient(145deg, rgba(22, 34, 62, 0.65) 0%, rgba(13, 20, 40, 0.78) 100%);
  box-shadow: 0 20px 42px -6px rgba(0, 0, 0, 0.75), 0 0 25px rgba(56, 189, 248, 0.12);
  border: none !important;
  outline: none !important;
}

/* Bento Modules - Borderless Advanced Frosted Glass */
.bento-module {
  position: relative;
  border-radius: 1.45rem;
  background: linear-gradient(155deg, rgba(14, 21, 40, 0.52) 0%, rgba(8, 12, 26, 0.7) 100%);
  border: none !important;
  outline: none !important;
  box-shadow: 0 16px 42px -8px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  z-index: 1;
}

.bento-module:hover {
  box-shadow: 0 22px 50px -6px rgba(0, 0, 0, 0.75), 0 0 30px rgba(56, 189, 248, 0.1);
  border: none !important;
  outline: none !important;
}

/* Skill Badge - Borderless Soft Glass Capsule */
.skill-matrix-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none !important;
  outline: none !important;
  color: #cbd5e1;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.skill-matrix-chip:hover {
  transform: translateY(-1px) scale(1.03);
  background: rgba(56, 189, 248, 0.2);
  color: #ffffff;
  border: none !important;
  outline: none !important;
}

/* Showcase Project Card - Borderless Pure Glass */
.project-case-card {
  position: relative;
  border-radius: 1.45rem;
  background: linear-gradient(145deg, rgba(18, 24, 48, 0.5) 0%, rgba(9, 13, 28, 0.7) 100%);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: none !important;
  outline: none !important;
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.6);
  padding: 1.5rem;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  z-index: 1;
}

.project-case-card:hover {
  transform: translateY(-3px) scale(1.01);
  background: linear-gradient(145deg, rgba(25, 34, 64, 0.62) 0%, rgba(12, 17, 36, 0.8) 100%);
  box-shadow: 0 20px 44px -8px rgba(0, 0, 0, 0.75), 0 0 30px rgba(168, 85, 247, 0.16);
  border: none !important;
  outline: none !important;
}






