/* Futuristic 3D Loader Styles */
.futuristic-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(ellipse at center, #0a0a1a 0%, #000000 70%, #000000 100%);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1000px;
  transform-style: preserve-3d;
}

/* Hide scrollbar when loader is active */
body.loading {
  overflow: hidden;
}

.futuristic-loader::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 30% 30%, rgba(126, 239, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255, 56, 251, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(37, 178, 243, 0.05) 0%, transparent 50%);
  animation: loader-bg-pulse 4s ease-in-out infinite;
}

@keyframes loader-bg-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.05); }
}

.loader-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Holographic Sphere */
.holographic-sphere {
  position: relative;
  width: 200px;
  height: 200px;
  margin-bottom: 60px;
}

.sphere-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  background: 
    radial-gradient(circle at 25% 25%, 
      rgba(255, 255, 255, 1) 0%, 
      rgba(255, 255, 255, 0.95) 8%, 
      rgba(126, 239, 255, 0.9) 20%, 
      rgba(37, 178, 243, 0.7) 45%, 
      rgba(255, 56, 251, 0.5) 70%, 
      rgba(0, 0, 0, 0.4) 85%, 
      rgba(0, 0, 0, 0.8) 100%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 
    0 0 30px #7eefff,
    0 0 60px #25b2f3,
    0 0 90px #ff38fb,
    0 0 120px rgba(126, 239, 255, 0.4),
    inset 0 0 30px rgba(255, 255, 255, 0.4),
    inset 0 0 60px rgba(0, 0, 0, 0.3),
    inset 0 0 90px rgba(0, 0, 0, 0.2),
    0 8px 32px rgba(0, 0, 0, 0.6),
    0 16px 64px rgba(0, 0, 0, 0.4);
  animation: sphere-rotate 8s linear infinite;
  perspective: 1000px;
  transform-style: preserve-3d;
  filter: contrast(1.3) brightness(1.2) saturate(1.1);
  position: relative;
}

.sphere-core::before {
  content: '';
  position: absolute;
  top: 12%;
  left: 12%;
  width: 30px;
  height: 30px;
  background: radial-gradient(circle, 
    rgba(255, 255, 255, 1) 0%, 
    rgba(255, 255, 255, 0.95) 20%, 
    rgba(126, 239, 255, 0.6) 50%, 
    rgba(37, 178, 243, 0.3) 80%, 
    transparent 100%);
  border-radius: 50%;
  filter: blur(0.5px);
  animation: reflection-move 4s ease-in-out infinite;
  box-shadow: 
    0 0 20px rgba(255, 255, 255, 0.8),
    0 0 40px rgba(255, 255, 255, 0.4);
}

.sphere-core::after {
  content: '';
  position: absolute;
  top: 22%;
  left: 18%;
  width: 18px;
  height: 18px;
  background: radial-gradient(circle, 
    rgba(255, 255, 255, 0.95) 0%, 
    rgba(126, 239, 255, 0.7) 40%, 
    rgba(37, 178, 243, 0.4) 80%, 
    transparent 100%);
  border-radius: 50%;
  filter: blur(0.3px);
  animation: secondary-reflection 3s ease-in-out infinite;
  box-shadow: 
    0 0 12px rgba(255, 255, 255, 0.6),
    0 0 24px rgba(255, 255, 255, 0.3);
}

/* Third reflection for more depth */
.sphere-core .third-reflection {
  content: '';
  position: absolute;
  top: 35%;
  left: 15%;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, 
    rgba(255, 255, 255, 0.8) 0%, 
    rgba(126, 239, 255, 0.5) 60%, 
    transparent 100%);
  border-radius: 50%;
  filter: blur(0.2px);
  animation: third-reflection 5s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

/* Surface details and grooves */
.sphere-surface-details {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: 
    radial-gradient(circle at 35% 35%, transparent 0%, transparent 25%, rgba(0, 0, 0, 0.15) 26%, transparent 27%),
    radial-gradient(circle at 65% 65%, transparent 0%, transparent 20%, rgba(0, 0, 0, 0.12) 21%, transparent 22%),
    radial-gradient(circle at 75% 25%, transparent 0%, transparent 15%, rgba(0, 0, 0, 0.1) 16%, transparent 17%),
    radial-gradient(circle at 25% 75%, transparent 0%, transparent 30%, rgba(0, 0, 0, 0.08) 31%, transparent 32%),
    radial-gradient(circle at 50% 50%, transparent 0%, transparent 40%, rgba(0, 0, 0, 0.05) 41%, transparent 42%),
    radial-gradient(circle at 80% 80%, transparent 0%, transparent 10%, rgba(0, 0, 0, 0.06) 11%, transparent 12%);
  pointer-events: none;
  animation: surface-details-rotate 12s linear infinite;
  filter: contrast(1.1);
}

@keyframes surface-details-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes reflection-move {
  0%, 100% { opacity: 0.6; transform: scale(1) translateX(0px); }
  50% { opacity: 1; transform: scale(1.2) translateX(2px); }
}

@keyframes secondary-reflection {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 0.9; transform: scale(1.2); }
}

@keyframes third-reflection {
  0%, 100% { opacity: 0.3; transform: scale(0.7); }
  50% { opacity: 0.7; transform: scale(1.0); }
}

.sphere-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 2px solid transparent;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ring-rotate 6s linear infinite reverse;
}

.ring-1 {
  width: 120px;
  height: 120px;
  border-color: #7eefff;
  box-shadow: 0 0 20px #7eefff;
  animation-duration: 4s;
}

.ring-2 {
  width: 160px;
  height: 160px;
  border-color: #ff38fb;
  box-shadow: 0 0 25px #ff38fb;
  animation-duration: 6s;
  animation-direction: normal;
}

.ring-3 {
  width: 200px;
  height: 200px;
  border-color: #25b2f3;
  box-shadow: 0 0 30px #25b2f3;
  animation-duration: 8s;
}

@keyframes sphere-rotate {
  0% { 
    transform: translate(-50%, -50%) rotateY(0deg) rotateX(20deg) rotateZ(0deg) scale(1); 
    filter: hue-rotate(0deg) brightness(1);
  }
  12.5% { 
    transform: translate(-50%, -50%) rotateY(45deg) rotateX(30deg) rotateZ(45deg) scale(1.02); 
    filter: hue-rotate(45deg) brightness(1.15);
  }
  25% { 
    transform: translate(-50%, -50%) rotateY(90deg) rotateX(15deg) rotateZ(90deg) scale(0.98); 
    filter: hue-rotate(90deg) brightness(0.9);
  }
  37.5% { 
    transform: translate(-50%, -50%) rotateY(135deg) rotateX(25deg) rotateZ(135deg) scale(1.03); 
    filter: hue-rotate(135deg) brightness(1.1);
  }
  50% { 
    transform: translate(-50%, -50%) rotateY(180deg) rotateX(10deg) rotateZ(180deg) scale(0.97); 
    filter: hue-rotate(180deg) brightness(1);
  }
  62.5% { 
    transform: translate(-50%, -50%) rotateY(225deg) rotateX(35deg) rotateZ(225deg) scale(1.01); 
    filter: hue-rotate(225deg) brightness(1.12);
  }
  75% { 
    transform: translate(-50%, -50%) rotateY(270deg) rotateX(20deg) rotateZ(270deg) scale(0.99); 
    filter: hue-rotate(270deg) brightness(0.85);
  }
  87.5% { 
    transform: translate(-50%, -50%) rotateY(315deg) rotateX(30deg) rotateZ(315deg) scale(1.02); 
    filter: hue-rotate(315deg) brightness(1.08);
  }
  100% { 
    transform: translate(-50%, -50%) rotateY(360deg) rotateX(20deg) rotateZ(360deg) scale(1); 
    filter: hue-rotate(360deg) brightness(1);
  }
}

@keyframes ring-rotate {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.sphere-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.sphere-particles::before,
.sphere-particles::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: #7eefff;
  border-radius: 50%;
  box-shadow: 0 0 10px #7eefff;
  animation: particle-orbit 3s linear infinite;
  filter: blur(0.5px);
}

.sphere-particles::before {
  top: 20px;
  left: 50%;
  animation-delay: 0s;
}

.sphere-particles::after {
  bottom: 20px;
  left: 50%;
  animation-delay: 1.5s;
}

@keyframes particle-orbit {
  0% { transform: rotate(0deg) translateX(60px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(60px) rotate(-360deg); }
}

/* Animated Circuits */
.circuit-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.circuit-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, #7eefff, transparent);
  height: 2px;
  box-shadow: 0 0 10px #7eefff;
  animation: circuit-pulse 2s ease-in-out infinite;
}

.line-1 {
  top: 20%;
  left: 10%;
  width: 200px;
  animation-delay: 0s;
}

.line-2 {
  top: 60%;
  right: 15%;
  width: 180px;
  animation-delay: 0.5s;
}

.line-3 {
  bottom: 30%;
  left: 20%;
  width: 150px;
  animation-delay: 1s;
}

.line-4 {
  top: 40%;
  right: 25%;
  width: 120px;
  animation-delay: 1.5s;
}

@keyframes circuit-pulse {
  0%, 100% { opacity: 0.3; transform: scaleX(0.8); }
  50% { opacity: 1; transform: scaleX(1); }
}

.circuit-node {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #ff38fb;
  border-radius: 50%;
  box-shadow: 0 0 15px #ff38fb;
  animation: node-pulse 1.5s ease-in-out infinite;
}

.node-1 { top: 15%; left: 15%; animation-delay: 0s; }
.node-2 { top: 25%; right: 20%; animation-delay: 0.3s; }
.node-3 { bottom: 25%; left: 25%; animation-delay: 0.6s; }
.node-4 { bottom: 35%; right: 30%; animation-delay: 0.9s; }
.node-5 { top: 50%; left: 10%; animation-delay: 1.2s; }
.node-6 { top: 70%; right: 15%; animation-delay: 1.5s; }

@keyframes node-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.5); opacity: 1; }
}

/* Neon Light Trails */
.neon-trails {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.trail {
  position: absolute;
  width: 3px;
  height: 100px;
  background: linear-gradient(to bottom, #7eefff, transparent);
  border-radius: 2px;
  box-shadow: 0 0 20px #7eefff;
  animation: trail-move 4s linear infinite;
}

.trail-1 {
  left: 20%;
  animation-delay: 0s;
}

.trail-2 {
  left: 40%;
  animation-delay: 1s;
}

.trail-3 {
  left: 60%;
  animation-delay: 2s;
}

.trail-4 {
  left: 80%;
  animation-delay: 3s;
}

@keyframes trail-move {
  0% { transform: translateY(-100px); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0; }
}

/* Shimmering Particles */
.particle-field {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #25b2f3;
  border-radius: 50%;
  box-shadow: 0 0 8px #25b2f3;
  animation: particle-float-loader 6s ease-in-out infinite;
}

.p1 { top: 10%; left: 10%; animation-delay: 0s; }
.p2 { top: 20%; left: 80%; animation-delay: 0.4s; }
.p3 { top: 30%; left: 30%; animation-delay: 0.8s; }
.p4 { top: 40%; left: 70%; animation-delay: 1.2s; }
.p5 { top: 50%; left: 20%; animation-delay: 1.6s; }
.p6 { top: 60%; left: 60%; animation-delay: 2s; }
.p7 { top: 70%; left: 40%; animation-delay: 2.4s; }
.p8 { top: 80%; left: 80%; animation-delay: 2.8s; }
.p9 { top: 15%; left: 50%; animation-delay: 3.2s; }
.p10 { top: 25%; left: 15%; animation-delay: 3.6s; }
.p11 { top: 35%; left: 85%; animation-delay: 4s; }
.p12 { top: 45%; left: 45%; animation-delay: 4.4s; }
.p13 { top: 55%; left: 75%; animation-delay: 4.8s; }
.p14 { top: 65%; left: 25%; animation-delay: 5.2s; }
.p15 { top: 75%; left: 65%; animation-delay: 5.6s; }

@keyframes particle-float-loader {
  0%, 100% { 
    transform: translateY(0px) translateX(0px); 
    opacity: 0.3; 
  }
  25% { 
    transform: translateY(-20px) translateX(10px); 
    opacity: 1; 
  }
  50% { 
    transform: translateY(-10px) translateX(-15px); 
    opacity: 0.7; 
  }
  75% { 
    transform: translateY(-30px) translateX(5px); 
    opacity: 0.9; 
  }
}

/* Loading Text */
.loading-text {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  font-family: 'Orbitron', monospace;
  font-size: 18px;
  font-weight: 700;
  color: #7eefff;
  text-shadow: 0 0 10px #7eefff;
}

.loading-char {
  animation: char-pulse 1.5s ease-in-out infinite;
  opacity: 0.5;
}

.loading-char:nth-child(1) { animation-delay: 0s; }
.loading-char:nth-child(2) { animation-delay: 0.1s; }
.loading-char:nth-child(3) { animation-delay: 0.2s; }
.loading-char:nth-child(4) { animation-delay: 0.3s; }
.loading-char:nth-child(5) { animation-delay: 0.4s; }
.loading-char:nth-child(6) { animation-delay: 0.5s; }
.loading-char:nth-child(7) { animation-delay: 0.6s; }
.loading-char:nth-child(8) { animation-delay: 0.7s; }
.loading-char:nth-child(9) { animation-delay: 0.8s; }
.loading-char:nth-child(10) { animation-delay: 0.9s; }
.loading-char:nth-child(11) { animation-delay: 1s; }
.loading-char:nth-child(12) { animation-delay: 1.1s; }
.loading-char:nth-child(13) { animation-delay: 1.2s; }
.loading-char:nth-child(14) { animation-delay: 1.3s; }
.loading-char:nth-child(15) { animation-delay: 1.4s; }

@keyframes char-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Progress Bar */
.progress-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.progress-bar {
  width: 300px;
  height: 6px;
  background: rgba(126, 239, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #7eefff, #ff38fb, #25b2f3);
  border-radius: 3px;
  box-shadow: 0 0 10px #7eefff;
  animation: progress-fill 3s ease-in-out forwards;
}

@keyframes progress-fill {
  0% { width: 0%; }
  100% { width: 100%; }
}

.progress-text {
  font-family: 'Share Tech Mono', monospace;
  font-size: 14px;
  color: #7eefff;
  text-shadow: 0 0 5px #7eefff;
  animation: text-flicker 0.5s ease-in-out infinite;
}

@keyframes text-flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Main Content (initially hidden) */
.main-content {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.main-content.loaded {
  opacity: 1;
}

/* Minimal, sharp, modern terminal styles */
:root {
  --primary: #7eefff;
  --secondary: #ff38fb;
  --highlight: #25b2f3;
  --bg-dark: #090921;
}
body {
  font-family: 'Inter', Arial, sans-serif;
  background: linear-gradient(135deg, #0a0618 0%, #12002a 100%);
  color: #e6faff;
  margin: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: 
    radial-gradient(circle at 20% 80%, rgba(126, 239, 255, 0.13) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(255, 56, 251, 0.11) 0%, transparent 60%),
    radial-gradient(circle at 40% 40%, rgba(37, 178, 243, 0.09) 0%, transparent 60%),
    repeating-linear-gradient(90deg, rgba(126,239,255,0.04) 0 2px, transparent 2px 50px),
    repeating-linear-gradient(0deg, rgba(255,56,251,0.03) 0 2px, transparent 2px 50px);
  z-index: -1;
  animation: holographic-shift 20s ease-in-out infinite;
  filter: brightness(0.85) saturate(1.2);
}
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: 
    radial-gradient(circle at 60% 60%, rgba(126,239,255,0.08) 0%, transparent 70%),
    radial-gradient(circle at 30% 30%, rgba(255,56,251,0.07) 0%, transparent 70%),
    radial-gradient(circle at 80% 80%, rgba(37,178,243,0.05) 0%, transparent 70%);
  z-index: -2;
  opacity: 0.7;
  animation: bg-radial-move 22s ease-in-out infinite alternate;
  filter: blur(2px) brightness(0.9);
}
@keyframes holographic-shift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
  25% { transform: translate(-10px, -10px) scale(1.02); opacity: 1; }
  50% { transform: translate(10px, 10px) scale(0.98); opacity: 0.6; }
  75% { transform: translate(-5px, 5px) scale(1.01); opacity: 0.9; }
}
/* Advanced Holographic Background */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: 
    radial-gradient(circle at 20% 80%, rgba(126, 239, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 56, 251, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(37, 178, 243, 0.05) 0%, transparent 50%);
  z-index: -1;
  animation: holographic-shift 20s ease-in-out infinite;
}
@keyframes holographic-shift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
  25% { transform: translate(-10px, -10px) scale(1.02); opacity: 1; }
  50% { transform: translate(10px, 10px) scale(0.98); opacity: 0.6; }
  75% { transform: translate(-5px, 5px) scale(1.01); opacity: 0.9; }
}
/* Futuristic background elements */
#particles-bg, #neon-grid, #neon-lines {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: none;
  display: block;
}
#neon-grid {
  mix-blend-mode: lighten;
  opacity: .22;
  z-index: 0;
}
#neon-lines {
  z-index: 1;
  opacity: 0.6;
  pointer-events: none;
  mix-blend-mode: lighten;
}
/* Advanced Custom Cursor */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 22px; height: 22px;
  background: radial-gradient(circle, #7eefff 0%, #ff38fb 80%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: lighten;
  opacity: 0.9;
  z-index: 1001;
  box-shadow: 0 0 4px #7eefff44, 0 0 4px #ff38fb33;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: cursor-pulse 2s ease-in-out infinite;
}
@keyframes cursor-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
}
.cursor-hover {
  transform: translate(-50%, -50%) scale(1.25) !important;
  box-shadow: 0 0 12px #7eefff, 0 0 24px #ff38fb, 0 0 8px #25b2f3;
  opacity: 1;
}
.cursor-active {
  transform: translate(-50%, -50%) scale(0.92) !important;
  box-shadow: 0 0 18px #ff38fb, 0 0 32px #7eefff, 0 0 12px #25b2f3;
  opacity: 1;
}
/* Enhanced Navigation */
nav {
  width: 100vw;
  height: 54px;
  background: rgba(0,0,0,0.85);
  position: sticky;
  top: 0; left: 0; z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Source Code Pro', monospace;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 14px;
  border-bottom: 1px solid rgba(126, 239, 255, 0.2);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
nav .nav-link {
  color: #f8f8f2;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.2s ease;
  margin: 0 4px;
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Source Code Pro', monospace;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 14px;
  position: relative;
  overflow: hidden;
}
nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #7eefff, #ff38fb);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
nav .nav-link:hover::before,
nav .nav-link.active::before {
  width: 100%;
}
nav .nav-link:hover, nav .nav-link.active {
  color: #7eefff;
  background: rgba(126,239,255,0.1);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(126, 239, 255, 0.3);
}

/* Neon sliding effect for navigation links */
nav .nav-link::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(126, 239, 255, 0.6), 
    rgba(255, 56, 251, 0.6), 
    rgba(126, 239, 255, 0.6), 
    transparent);
  transition: left 0.6s ease;
  box-shadow: 0 0 20px rgba(126, 239, 255, 0.4);
  opacity: 0;
}

nav .nav-link:hover::after {
  left: 100%;
  opacity: 1;
}
/* Enhanced Header */
header {
  text-align: center;
  margin: 2.5rem 0 1.2rem 0;
  padding: 0;
  z-index: 2;
  position: relative;
}
header .glitch {
  font-size: 3.2rem;
  font-family: 'Orbitron', sans-serif;
  color: var(--primary);
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  z-index: 1;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 0 #7e3fff, 0 4px 0 #25b2f3, 0 6px 8px #000a, 0 0 2px #00fff8;
  animation: holographic-flicker 4s ease-in-out infinite;
}
@keyframes holographic-flicker {
  0%, 100% { 
    text-shadow: 0 2px 0 #7e3fff, 0 4px 0 #25b2f3, 0 6px 8px #000a, 0 0 2px #00fff8;
  }
  50% { 
    text-shadow: 0 2px 0 #7e3fff, 0 4px 0 #25b2f3, 0 6px 8px #000a, 0 0 4px #00fff8, 0 0 8px #ff38fb;
  }
}
header p {
  margin-top: 1.2rem;
  color: var(--secondary);
  font-size: 1.15em;
  font-family: 'Share Tech Mono', monospace;
  font-weight: normal;
  animation: neon-pulse 3s ease-in-out infinite;
}
@keyframes neon-pulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}
/* Main content */
main {
  max-width: 980px;
  margin: auto;
  padding: 1rem;
  position: relative;
  z-index: 2;
}
/* Real Terminal Styling - Authentic Terminal Appearance */
.terminal {
  background: #0c0c0c;
  color: #f8f8f2;
  border-radius: 6px;
  max-width: 100%;
  margin: 2rem auto;
  font-size: clamp(0.98rem, 2.8vw, 1.08em) !important;
  border: 1px solid #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Source Code Pro', monospace;
}
.terminal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.02) 50%, transparent 70%);
  animation: scan-line 4s linear infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes scan-line {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}
.terminal:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}
.terminal-header {
  background: #2d2d2d;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  border-radius: 6px 6px 0 0;
  border-bottom: 1px solid #444;
  position: relative;
  z-index: 2;
  font-size: 12px;
}
.terminal-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: header-scan 3s linear infinite;
}
@keyframes header-scan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.terminal-header .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  transition: all 0.2s ease;
  position: relative;
}
.terminal-header .dot::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: currentColor;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.2s ease;
  opacity: 0;
}
.terminal-header .dot:hover::after {
  width: 16px; height: 16px;
  opacity: 0.2;
}
.terminal-header .dot:hover {
  transform: scale(1.1);
}
.terminal-header .dot.red { background: #ff5f56; }
.terminal-header .dot.yellow { background: #ffbd2e; }
.terminal-header .dot.green { background: #27c93f; }
.terminal-header .title {
  margin-left: 8px;
  color: #ccc;
  font-size: clamp(0.95rem, 2.2vw, 1.12rem) !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 500;
  position: relative;
  z-index: 2;
}
.terminal-body {
  padding: 16px 20px 12px 20px;
  min-height: 120px;
  font-size: clamp(0.98rem, 2.5vw, 1.08em) !important;
  line-height: 1.7;
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Source Code Pro', monospace;
  color: #f8f8f2;
  background: #0c0c0c;
  border-radius: 0 0 6px 6px;
  position: relative;
  z-index: 2;
}
.terminal-body *,
.terminal-body *:hover,
.terminal-body *:focus,
.terminal-body *:active {
  text-shadow: none !important;
  filter: none !important;
  color: #f8f8f2 !important;
  background: none !important;
  box-shadow: none !important;
}
.terminal-body .prompt {
  font-weight: bold;
  margin-right: 0.5em;
  color: #66d9ef;
  letter-spacing: 0.05em;
}
.terminal-body .output {
  color: #f8f8f2;
  white-space: pre-line;
  margin-left: 1.4em;
  font-size: 14px;
  letter-spacing: 0.02em;
  margin-bottom: 0.18em;
}
.terminal-body .output .var,
.terminal-body .output .skill {
  color: #a6e22e;
  font-weight: bold;
}
.terminal-body .output span.cmd { color: #f92672; font-weight: bold;}
.terminal-body .output span.mail { color: #a6e22e;}
.terminal-body .output span.proj { color: #fd971f; font-weight: bold;}
.terminal-body .output span.link { color: #66d9ef; text-decoration: underline; cursor: pointer;}
/* Real Terminal Commands */
.commands {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* Neon sliding effect for all terminal buttons */
.commands button,
.tools-tech-commands button,
.projects-commands button,
.contact-commands button {
  position: relative;
  overflow: hidden;
}

.commands button::after,
.tools-tech-commands button::after,
.projects-commands button::after,
.contact-commands button::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(126, 239, 255, 0.8), 
    rgba(255, 56, 251, 0.8), 
    rgba(126, 239, 255, 0.8), 
    transparent);
  transition: left 0.8s ease;
  box-shadow: 0 0 25px rgba(126, 239, 255, 0.6);
  opacity: 0;
}

.commands button:hover::after,
.tools-tech-commands button:hover::after,
.projects-commands button:hover::after,
.contact-commands button:hover::after {
  left: 100%;
  opacity: 1;
}

/* Pulsing neon border effect */
.commands button:hover,
.tools-tech-commands button:hover,
.projects-commands button:hover,
.contact-commands button:hover {
  animation: neon-pulse-border 1.5s ease-in-out infinite;
}

@keyframes neon-pulse-border {
  0%, 100% { 
    border-color: #7eefff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 0 15px rgba(126, 239, 255, 0.3);
  }
  50% { 
    border-color: #ff38fb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 56, 251, 0.4);
  }
}
.commands button {
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Source Code Pro', monospace;
  font-size: 13px;
  font-weight: 500;
  background: #2d2d2d;
  color: #f8f8f2;
  border: 1px solid #444;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  position: relative;
  overflow: hidden;
}
.commands button::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(126, 239, 255, 0.6), 
    rgba(255, 56, 251, 0.6), 
    rgba(126, 239, 255, 0.6), 
    transparent);
  transition: left 0.6s ease;
  box-shadow: 0 0 20px rgba(126, 239, 255, 0.4);
}
.commands button:hover::before {
  left: 100%;
}
.commands button:hover, .commands button:focus {
  background: #3d3d3d;
  color: #ffffff;
  border-color: #7eefff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 0 15px rgba(126, 239, 255, 0.3);
}
/* Real Terminal Command Sections */
.tools-tech-commands,
.projects-commands,
.contact-commands {
  display: flex;
  gap: 0.8rem;
  margin: 1.2em 0 0.5em 0;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.tools-tech-commands button,
.projects-commands button,
.contact-commands button {
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Source Code Pro', monospace;
  font-size: 13px;
  font-weight: 500;
  background: #2d2d2d;
  color: #f8f8f2;
  border: 1px solid #444;
  border-radius: 4px;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  letter-spacing: 0.02em;
  margin-bottom: 0.2em;
  position: relative;
  overflow: hidden;
}
.tools-tech-commands button::before,
.projects-commands button::before,
.contact-commands button::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(126, 239, 255, 0.6), 
    rgba(255, 56, 251, 0.6), 
    rgba(126, 239, 255, 0.6), 
    transparent);
  transition: left 0.6s ease;
  box-shadow: 0 0 20px rgba(126, 239, 255, 0.4);
}
.tools-tech-commands button:hover::before,
.projects-commands button:hover::before,
.contact-commands button:hover::before {
  left: 100%;
}
.tools-tech-commands button:hover,
.projects-commands button:hover,
.contact-commands button:hover,
.tools-tech-commands button.active,
.projects-commands button.active,
.contact-commands button.active {
  background: #3d3d3d;
  color: #ffffff;
  border-color: #7eefff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 0 15px rgba(126, 239, 255, 0.3);
}
.tools-tech-output,
.projects-output {
  min-height: 7em;
  margin-top: 0.5em;
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Source Code Pro', monospace;
  color: #f8f8f2;
}
/* --- FUTURISTIC UI FRAMEWORK: BATCH 1 --- */

/* Animated multi-layered background gradients */
body::before, body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: -2;
  pointer-events: none;
  transition: opacity 0.7s;
}
body::before {
  background: linear-gradient(120deg, #090921 0%, #180034 100%);
  opacity: 1;
  animation: bg-gradient-move 18s ease-in-out infinite alternate;
}
body::after {
  background: radial-gradient(circle at 20% 80%, rgba(126,239,255,0.13) 0%, transparent 60%),
              radial-gradient(circle at 80% 20%, rgba(255,56,251,0.11) 0%, transparent 60%),
              radial-gradient(circle at 40% 40%, rgba(37,178,243,0.07) 0%, transparent 60%);
  opacity: 0.7;
  animation: bg-radial-move 22s ease-in-out infinite alternate;
}
@keyframes bg-gradient-move {
  0% { filter: hue-rotate(0deg) brightness(1); }
  100% { filter: hue-rotate(30deg) brightness(1.08); }
}
@keyframes bg-radial-move {
  0% { filter: blur(0px) brightness(1); }
  100% { filter: blur(2px) brightness(1.1); }
}

/* Glassmorphism panels */
.glass, .glass-panel, .glass-card {
  background: rgba(255,255,255,0.07);
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.18);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border: 1.5px solid rgba(126,239,255,0.18);
  border-top: 1.5px solid rgba(255,56,251,0.13);
  border-bottom: 1.5px solid rgba(37,178,243,0.13);
  transition: box-shadow 0.3s, border 0.3s, background 0.3s;
}
.glass-card {
  padding: 1.5rem 1.2rem;
  margin: 1.2rem 0;
  max-width: 420px;
  min-width: 220px;
  position: relative;
  z-index: 2;
}
.glass-card:hover {
  box-shadow: 0 12px 48px 0 rgba(126,239,255,0.18), 0 2px 8px 0 rgba(255,56,251,0.13);
  background: rgba(255,255,255,0.13);
  border-color: #7eefff;
}

/* Futuristic overlay grid */
.futuristic-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 1000;
}
.futuristic-overlay .scan-line[data-scan="horizontal"] {
  position: absolute;
  left: 0; right: 0; top: 40%; height: 2px;
  background: linear-gradient(90deg, transparent, #7eefff 60%, transparent);
  opacity: 0.18;
  animation: scan-animation 3.5s linear infinite;
}
.futuristic-overlay .scan-line[data-scan="vertical"] {
  position: absolute;
  top: 0; bottom: 0; left: 50%; width: 2px;
  background: linear-gradient(180deg, transparent, #ff38fb 60%, transparent);
  opacity: 0.13;
  animation: scan-animation-vertical 4.2s linear infinite;
}
@keyframes scan-animation {
  0% { top: 0; }
  100% { top: 100%; }
}
@keyframes scan-animation-vertical {
  0% { left: 0; }
  100% { left: 100%; }
}

/* Neon grid overlay */
#neon-grid {
  mix-blend-mode: lighten;
  opacity: .22;
  z-index: 0;
  pointer-events: none;
}
#neon-lines {
  z-index: 1;
  opacity: 0.6;
  pointer-events: none;
  mix-blend-mode: lighten;
}

/* Parallax effect for sections */
.parallax-section {
  position: relative;
  z-index: 2;
  will-change: transform;
  transition: transform 0.7s cubic-bezier(.4,1.4,.6,1);
}

/* Section fade-in animation */
section {
  opacity: 0;
  transform: translateY(50px) scale(0.97);
  animation: section-fadein 1.2s cubic-bezier(.4,1.4,.6,1) forwards;
  filter: blur(5px);
}
section.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
@keyframes section-fadein {
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

/* More batches coming next! */

/* Responsive */
@media (max-width: 700px) {
  .terminal { font-size: 13px; }
  .terminal-header .title { font-size: 11px; }
  .terminal-body { font-size: 13px; padding: 12px 16px 8px 16px; }
  nav { gap: 1rem; font-size: 13px; }
  nav .nav-link { font-size: 13px; padding: 6px 12px; }
  header .glitch { font-size: 2.1rem; }
}

/* --- FUTURISTIC UI FRAMEWORK: BATCH 2 --- */

/* Futuristic Button Styles */
.button, .btn, .commands button, .tools-tech-commands button, .projects-commands button, .contact-commands button {
  font-family: 'Share Tech Mono', 'JetBrains Mono', monospace;
  font-size: 1.13em;
  font-weight: bold;
  background: linear-gradient(90deg, rgba(126,239,255,0.13), rgba(255,56,251,0.13));
  color: #7eefff;
  border: 1.5px solid #23234a;
  border-radius: 8px;
  padding: 0.38em 1.2em;
  cursor: pointer;
  transition: all 0.33s cubic-bezier(.4,1.4,.6,1);
  outline: none;
  letter-spacing: 0.04em;
  margin-bottom: 0.2em;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px 0 rgba(126,239,255,0.08);
  z-index: 2;
}
.button::after, .btn::after, .commands button::after, .tools-tech-commands button::after, .projects-commands button::after, .contact-commands button::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 0; height: 0;
  background: radial-gradient(circle, #7eefff44 10%, #ff38fb22 60%, transparent 100%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: width 0.5s, height 0.5s, opacity 0.5s;
  z-index: 1;
}
.button:hover::after, .btn:hover::after, .commands button:hover::after, .tools-tech-commands button:hover::after, .projects-commands button:hover::after, .contact-commands button:hover::after {
  width: 300px;
  height: 300px;
  opacity: 0.18;
}
.button:hover, .btn:hover, .commands button:hover, .tools-tech-commands button:hover, .projects-commands button:hover, .contact-commands button:hover {
  background: linear-gradient(90deg, #7eefff22 0%, #ff38fb22 100%);
  color: #ff38fb;
  border-color: #7eefff;
  box-shadow: 0 6px 24px 0 #7eefff33, 0 2px 8px 0 #ff38fb22;
  transform: translateY(-2px) scale(1.04);
}
.button:active, .btn:active, .commands button:active, .tools-tech-commands button:active, .projects-commands button:active, .contact-commands button:active {
  filter: brightness(1.18) blur(0.2px);
  box-shadow: 0 2px 8px #ff38fb22;
}

/* Glowing Card Styles */
.card, .glass-card, .project-card {
  background: rgba(24,0,52,0.13);
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(126,239,255,0.13), 0 2px 8px 0 rgba(255,56,251,0.11);
  border: 1.5px solid rgba(126,239,255,0.18);
  transition: box-shadow 0.33s, border 0.33s, background 0.33s, transform 0.33s;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.card:hover, .glass-card:hover, .project-card:hover {
  box-shadow: 0 16px 48px 0 #7eefff33, 0 4px 16px 0 #ff38fb22;
  background: rgba(24,0,52,0.22);
  border-color: #7eefff;
  transform: translateY(-4px) scale(1.03) rotateZ(-1deg);
}

/* Animated SVG/Icon Effects */
.icon, .fab, .fa, .svg-anim {
  transition: color 0.3s, filter 0.3s, transform 0.3s;
  filter: drop-shadow(0 0 2px #7eefff) drop-shadow(0 0 4px #ff38fb);
}
.icon:hover, .fab:hover, .fa:hover, .svg-anim:hover {
  color: #ff38fb;
  filter: drop-shadow(0 0 6px #ff38fb) drop-shadow(0 0 12px #7eefff);
  transform: scale(1.18) rotate(-6deg);
}

/* Micro-interactions: ripple, shimmer, tilt */
.ripple-effect {
  position: relative;
  overflow: hidden;
}
.ripple-effect:active::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 0; height: 0;
  background: radial-gradient(circle, #7eefff44 10%, #ff38fb22 60%, transparent 100%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ripple-anim 0.7s linear;
  pointer-events: none;
  z-index: 1;
}
@keyframes ripple-anim {
  0% { width: 0; height: 0; opacity: 0.5; }
  100% { width: 200px; height: 200px; opacity: 0; }
}
.shimmer {
  background: linear-gradient(120deg, #23234a 0%, #7eefff 50%, #23234a 100%);
  background-size: 200% 100%;
  animation: shimmer-anim 2.2s linear infinite;
}
@keyframes shimmer-anim {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.tilt-effect {
  transition: transform 0.3s cubic-bezier(.4,1.4,.6,1);
  will-change: transform;
}
.tilt-effect:hover {
  transform: perspective(600px) rotateY(8deg) scale(1.04);
}

/* Futuristic Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  background: #181828;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(120deg, #7eefff 0%, #ff38fb 100%);
  border-radius: 8px;
  box-shadow: 0 0 8px #7eefff44;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(120deg, #ff38fb 0%, #7eefff 100%);
}

/* Futuristic Tooltip */
.tooltip {
  position: absolute;
  background: rgba(24,0,52,0.93);
  color: #e6faff;
  padding: 0.5em 1em;
  border-radius: 8px;
  font-size: 0.98em;
  box-shadow: 0 2px 8px #7eefff33;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 2000;
}
.tooltip.visible {
  opacity: 1;
  transform: translateY(-8px) scale(1.04);
}

/* More batches coming next! */

/* --- FUTURISTIC UI FRAMEWORK: BATCH 3 --- */

/* Glitch/Scanline Text Effects */
/* Stronger glitch effect for .glitch-text */
.glitch-text {
  position: relative;
  color: #7eefff;
  font-family: 'Orbitron', 'Share Tech Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: glitch-flicker 1.2s infinite linear alternate;
  font-weight: 700;
  font-size: 3.2rem;
  z-index: 2;
}
.glitch-text::before, .glitch-text::after {
  content: attr(data-text);
  position: absolute;
  left: 0; width: 100%;
  opacity: 0.85;
  pointer-events: none;
  mix-blend-mode: lighten;
}
.glitch-text::before {
  color: #ff38fb;
  z-index: 3;
  left: 3.5px;
  text-shadow: 2px 0 8px #ff38fb, 0 0 6px #ff38fb;
  animation: glitch-anim-1 0.19s infinite linear alternate-reverse;
}
.glitch-text::after {
  color: #7eefff;
  z-index: 3;
  left: -3.5px;
  text-shadow: -2px 0 8px #7eefff, 0 0 6px #7eefff;
  animation: glitch-anim-2 0.17s infinite linear alternate;
}
@keyframes glitch-flicker {
  0%, 100% { opacity: 1; }
  20% { opacity: 0.7; }
  22% { opacity: 1; }
  25% { opacity: 0.5; }
  30% { opacity: 1; }
  45% { opacity: 0.8; }
  50% { opacity: 0.6; }
  55% { opacity: 0.8; }
  60% { opacity: 1; }
  80% { opacity: 0.7; }
}
@keyframes glitch-anim-1 {
  0%   { clip: rect(0, 9999px, 0, 0); transform: translate(0,0) skew(0deg); }
  10%  { clip: rect(2px, 9999px, 18px, 0); transform: translate(-4px,1px) skew(-2deg); }
  20%  { clip: rect(8px, 9999px, 22px, 0); transform: translate(4px,-2px) skew(2deg); }
  30%  { clip: rect(12px, 9999px, 28px, 0); transform: translate(-2px,2px) skew(-4deg); }
  40%  { clip: rect(18px, 9999px, 32px, 0); transform: translate(2px,-2px) skew(4deg); }
  50%  { clip: rect(22px, 9999px, 38px, 0); transform: translate(-4px,1px) skew(-2deg); }
  60%  { clip: rect(28px, 9999px, 42px, 0); transform: translate(4px,-2px) skew(2deg); }
  70%  { clip: rect(32px, 9999px, 48px, 0); transform: translate(-2px,2px) skew(-4deg); }
  80%  { clip: rect(38px, 9999px, 52px, 0); transform: translate(2px,-2px) skew(4deg); }
  90%  { clip: rect(42px, 9999px, 58px, 0); transform: translate(-4px,1px) skew(-2deg); }
  100% { clip: rect(0, 9999px, 0, 0); transform: translate(0,0) skew(0deg); }
}
@keyframes glitch-anim-2 {
  0%   { clip: rect(0, 9999px, 0, 0); transform: translate(0,0) skew(0deg); }
  8%   { clip: rect(4px, 9999px, 12px, 0); transform: translate(4px,-2px) skew(2deg); }
  16%  { clip: rect(10px, 9999px, 18px, 0); transform: translate(-4px,2px) skew(-2deg); }
  24%  { clip: rect(16px, 9999px, 24px, 0); transform: translate(2px,4px) skew(4deg); }
  32%  { clip: rect(22px, 9999px, 30px, 0); transform: translate(-2px,-4px) skew(-4deg); }
  40%  { clip: rect(28px, 9999px, 36px, 0); transform: translate(4px,2px) skew(2deg); }
  48%  { clip: rect(34px, 9999px, 42px, 0); transform: translate(-4px,-2px) skew(-2deg); }
  56%  { clip: rect(40px, 9999px, 48px, 0); transform: translate(2px,4px) skew(4deg); }
  64%  { clip: rect(46px, 9999px, 54px, 0); transform: translate(-2px,-4px) skew(-4deg); }
  72%  { clip: rect(52px, 9999px, 60px, 0); transform: translate(4px,2px) skew(2deg); }
  80%  { clip: rect(58px, 9999px, 66px, 0); transform: translate(-4px,-2px) skew(-2deg); }
  88%  { clip: rect(64px, 9999px, 72px, 0); transform: translate(2px,4px) skew(4deg); }
  96%  { clip: rect(70px, 9999px, 78px, 0); transform: translate(-2px,-4px) skew(-4deg); }
  100% { clip: rect(0, 9999px, 0, 0); transform: translate(0,0) skew(0deg); }
}

.glitch-text {
  display: inline-block;
  color: #7eefff;
  font-family: 'Orbitron', 'Share Tech Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: glitch-flicker 1.2s infinite linear alternate;
  font-weight: 700;
  font-size: 3.2rem;
  z-index: 2;
}
.glitch-text:hover {
  background: rgba(126, 63, 255, 0.22);
  box-shadow: 0 0 12px #7e3fff, 0 0 18px #ff38fb33;
  border-radius: 6px;
  padding: 0.1em 0.4em;
  transition: background 0.18s, box-shadow 0.18s, border-radius 0.18s, padding 0.18s;
}

/* Scanline overlay effect */
.scanline-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 10;
  background: repeating-linear-gradient(
    to bottom,
    rgba(126,239,255,0.03) 0px,
    rgba(126,239,255,0.03) 1px,
    transparent 2px,
    transparent 6px
  );
  mix-blend-mode: lighten;
  animation: scanline-move 2.5s linear infinite;
}
@keyframes scanline-move {
  0% { background-position-y: 0; }
  100% { background-position-y: 12px; }
}

/* Animated Floating Action Button (FAB) */
.fab {
  position: fixed;
  bottom: 36px;
  right: 36px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7eefff 0%, #ff38fb 100%);
  box-shadow: 0 10px 30px #7eefff44, 0 0 40px #ff38fb22, inset 0 0 20px #fff2;
  color: #181828;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2000;
  transition: box-shadow 0.3s, transform 0.3s;
  animation: fab-shimmer 3s ease-in-out infinite;
}
.fab:hover {
  transform: scale(1.15);
  box-shadow: 0 15px 40px #7eefff66, 0 0 50px #ff38fb44, inset 0 0 30px #fff4;
}
@keyframes fab-shimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.15) drop-shadow(0 0 12px #7eefff); }
}

/* Notification Toasts */
.system-notifications {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 1.2em;
}
.notification {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(45deg, rgba(0,0,0,0.9), rgba(20,20,40,0.95));
  border: 1px solid rgba(126,239,255,0.4);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 10px;
  box-shadow: 0 0 20px #7eefff22, inset 0 0 20px #ff38fb11;
  animation: notification-slide-in 0.5s ease-out;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.3s, transform 0.3s;
}
.notification.show {
  opacity: 1;
  transform: translateX(0);
}
@keyframes notification-slide-in {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.notification-icon {
  color: #7eefff;
  font-size: 16px;
  animation: notification-pulse 2s ease-in-out infinite;
}
@keyframes notification-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}
.notification-text {
  color: #7eefff;
  font-family: 'Share Tech Mono', monospace;
  font-size: 14px;
}

/* Progress Bars & Skill Meters */
.progress-indicator {
  width: 100%;
  height: 4px;
  background: #23234a;
  border-radius: 2px;
  overflow: hidden;
  margin: 1.2em 0 0.7em 0;
  position: relative;
}
.progress-indicator .progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #7eefff 0%, #ff38fb 100%);
  border-radius: 2px;
  width: 0;
  animation: progress-bar-anim 2.2s cubic-bezier(.4,1.4,.6,1) forwards;
}
@keyframes progress-bar-anim {
  from { width: 0; }
  to { width: 100%; }
}
.skill-meter {
  display: flex;
  align-items: center;
  gap: 1em;
  margin: 0.7em 0;
}
.skill-meter .skill-label {
  min-width: 90px;
  color: #7eefff;
  font-weight: 600;
  font-family: 'Share Tech Mono', monospace;
}
.skill-meter .skill-bar {
  flex: 1;
  height: 8px;
  background: #23234a;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.skill-meter .skill-bar .skill-progress {
  height: 100%;
  background: linear-gradient(90deg, #7eefff 0%, #ff38fb 100%);
  border-radius: 4px;
  width: 0;
  animation: skill-progress-anim 2.2s cubic-bezier(.4,1.4,.6,1) forwards;
}
@keyframes skill-progress-anim {
  from { width: 0; }
  to { width: var(--skill-level, 100%); }
}

/* More batches coming next! */

/* --- FUTURISTIC UI FRAMEWORK: BATCH 4 --- */

/* Animated Modal System */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  z-index: 5000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8) rotateX(15deg);
  background: linear-gradient(135deg, rgba(24,0,52,0.95) 0%, rgba(9,9,33,0.98) 100%);
  border: 2px solid rgba(126,239,255,0.3);
  border-radius: 18px;
  padding: 2rem;
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 5001;
  opacity: 0;
  transition: all 0.4s cubic-bezier(.4,1.4,.6,1);
  box-shadow: 0 20px 60px rgba(126,239,255,0.2), inset 0 0 30px rgba(255,56,251,0.1);
}
.modal.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotateX(0deg);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(126,239,255,0.2);
}
.modal-title {
  color: #7eefff;
  font-family: 'Orbitron', monospace;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
}
.modal-close {
  background: none;
  border: none;
  color: #7eefff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s;
}
.modal-close:hover {
  background: rgba(126,239,255,0.1);
  transform: scale(1.1);
}

/* Advanced Parallax Effects */
.parallax-container {
  position: relative;
  overflow: hidden;
  perspective: 1000px;
}
.parallax-layer {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  will-change: transform;
  transition: transform 0.1s ease-out;
}
.parallax-bg {
  transform: translateZ(-100px) scale(1.5);
}
.parallax-mid {
  transform: translateZ(-50px) scale(1.25);
}
.parallax-front {
  transform: translateZ(0) scale(1);
}

/* 3D Transform Effects */
.transform-3d {
  transform-style: preserve-3d;
  perspective: 1000px;
}
.card-3d {
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(.4,1.4,.6,1);
}
.card-3d:hover {
  transform: rotateY(15deg) rotateX(10deg) translateZ(20px);
}
.flip-card {
  perspective: 1000px;
  width: 100%;
  height: 200px;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flip-card-front {
  background: linear-gradient(135deg, rgba(126,239,255,0.1) 0%, rgba(255,56,251,0.1) 100%);
  border: 1px solid rgba(126,239,255,0.3);
}
.flip-card-back {
  background: linear-gradient(135deg, rgba(255,56,251,0.1) 0%, rgba(126,239,255,0.1) 100%);
  border: 1px solid rgba(255,56,251,0.3);
  transform: rotateY(180deg);
}

/* Particle System Overlay */
.particle-system {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 0;
}
.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #7eefff;
  border-radius: 50%;
  animation: particle-float 8s linear infinite;
  opacity: 0.6;
}
.particle:nth-child(odd) {
  background: #ff38fb;
  animation-duration: 12s;
}
.particle:nth-child(3n) {
  background: #25b2f3;
  animation-duration: 10s;
}
@keyframes particle-float {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-10vh) translateX(100px);
    opacity: 0;
  }
}

/* Advanced Overlay Effects */
.cyber-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 5;
  background: 
    linear-gradient(90deg, transparent 98%, rgba(126,239,255,0.1) 100%),
    linear-gradient(0deg, transparent 98%, rgba(255,56,251,0.1) 100%);
  background-size: 50px 50px;
  animation: cyber-grid 4s linear infinite;
}
@keyframes cyber-grid {
  0% { background-position: 0 0; }
  100% { background-position: 50px 50px; }
}

/* Holographic Data Display */
.holographic-display {
  background: linear-gradient(135deg, rgba(126,239,255,0.05) 0%, rgba(255,56,251,0.05) 100%);
  border: 1px solid rgba(126,239,255,0.2);
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.holographic-display::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(126,239,255,0.1), transparent);
  animation: holographic-scan 3s linear infinite;
}
@keyframes holographic-scan {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Futuristic Loading Spinner */
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(126,239,255,0.2);
  border-top: 3px solid #7eefff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 2rem auto;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Advanced Button States */
.button-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.button-primary {
  background: linear-gradient(135deg, #7eefff 0%, #25b2f3 100%);
  color: #181828;
  font-weight: bold;
  border: none;
  box-shadow: 0 4px 15px rgba(126,239,255,0.3);
}
.button-secondary {
  background: linear-gradient(135deg, rgba(255,56,251,0.2) 0%, rgba(126,239,255,0.2) 100%);
  color: #7eefff;
  border: 1px solid rgba(255,56,251,0.3);
}
.button-danger {
  background: linear-gradient(135deg, #ff5f56 0%, #ff3838 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(255,95,86,0.3);
}

/* More batches coming next! */

/* --- FUTURISTIC UI FRAMEWORK: BATCH 5 --- */

/* Advanced Animation Library */
@keyframes neon-pulse {
  0%, 100% { 
    box-shadow: 0 0 5px #7eefff, 0 0 10px #7eefff, 0 0 15px #7eefff;
  }
  50% { 
    box-shadow: 0 0 10px #7eefff, 0 0 20px #7eefff, 0 0 30px #7eefff;
  }
}
@keyframes cyber-flicker {
  0%, 100% { opacity: 1; }
  10% { opacity: 0.8; }
  20% { opacity: 1; }
  30% { opacity: 0.9; }
  40% { opacity: 1; }
  50% { opacity: 0.7; }
  60% { opacity: 1; }
  70% { opacity: 0.8; }
  80% { opacity: 1; }
  90% { opacity: 0.9; }
}
@keyframes matrix-rain {
  0% { transform: translateY(-100vh); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0; }
}
@keyframes hologram-flicker {
  0%, 100% { 
    filter: hue-rotate(0deg) brightness(1) contrast(1);
  }
  25% { 
    filter: hue-rotate(30deg) brightness(1.1) contrast(1.2);
  }
  50% { 
    filter: hue-rotate(60deg) brightness(0.9) contrast(0.8);
  }
  75% { 
    filter: hue-rotate(90deg) brightness(1.05) contrast(1.1);
  }
}

/* Advanced Hover Effects */
.hover-lift {
  transition: transform 0.3s cubic-bezier(.4,1.4,.6,1), box-shadow 0.3s;
}
.hover-lift:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(126,239,255,0.2);
}
.hover-glow {
  transition: all 0.3s;
}
.hover-glow:hover {
  box-shadow: 0 0 20px #7eefff, 0 0 40px #ff38fb;
  filter: brightness(1.1);
}
.hover-rotate {
  transition: transform 0.4s cubic-bezier(.4,1.4,.6,1);
}
.hover-rotate:hover {
  transform: rotate(5deg) scale(1.05);
}
.hover-tilt {
  transition: transform 0.3s;
}
.hover-tilt:hover {
  transform: perspective(1000px) rotateX(10deg) rotateY(10deg);
}

/* Animated Background Patterns */
.animated-bg {
  position: relative;
  overflow: hidden;
}
.animated-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: 
    radial-gradient(circle at 25% 25%, rgba(126,239,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255,56,251,0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(37,178,243,0.05) 0%, transparent 50%);
  animation: bg-shift 15s ease-in-out infinite;
  z-index: -1;
}
@keyframes bg-shift {
  0%, 100% { 
    transform: scale(1) rotate(0deg);
    opacity: 0.7;
  }
  33% { 
    transform: scale(1.1) rotate(120deg);
    opacity: 1;
  }
  66% { 
    transform: scale(0.9) rotate(240deg);
    opacity: 0.5;
  }
}

/* Cyberpunk Grid System */
.cyber-grid {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: 
    linear-gradient(rgba(126,239,255,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126,239,255,0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: grid-pulse 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes grid-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.02); }
}

/* Advanced Text Effects */
.text-cyber {
  color: #7eefff;
  text-shadow: 0 0 10px #7eefff, 0 0 20px #7eefff;
  animation: text-pulse 2s ease-in-out infinite;
}
@keyframes text-pulse {
  0%, 100% { text-shadow: 0 0 10px #7eefff, 0 0 20px #7eefff; }
  50% { text-shadow: 0 0 20px #7eefff, 0 0 40px #7eefff, 0 0 60px #7eefff; }
}
.text-glitch {
  position: relative;
  animation: text-glitch 3s infinite;
}
@keyframes text-glitch {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
}

/* Advanced Card Effects */
.card-advanced {
  position: relative;
  background: linear-gradient(135deg, rgba(24,0,52,0.8) 0%, rgba(9,9,33,0.9) 100%);
  border: 1px solid rgba(126,239,255,0.3);
  border-radius: 12px;
  padding: 1.5rem;
  overflow: hidden;
  transition: all 0.4s;
}
.card-advanced::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(126,239,255,0.2), transparent);
  transition: left 0.6s;
}
.card-advanced:hover::before {
  left: 100%;
}
.card-advanced:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(126,239,255,0.3);
  border-color: #7eefff;
}

/* Futuristic Form Elements */
.input-cyber {
  background: rgba(24,0,52,0.5);
  border: 1px solid rgba(126,239,255,0.3);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: #e6faff;
  font-family: 'Share Tech Mono', monospace;
  transition: all 0.3s;
}
.input-cyber:focus {
  outline: none;
  border-color: #7eefff;
  box-shadow: 0 0 15px rgba(126,239,255,0.3);
  background: rgba(24,0,52,0.8);
}
.input-cyber::placeholder {
  color: rgba(126,239,255,0.6);
}

/* Advanced Navigation Effects */
.nav-advanced {
  position: relative;
  overflow: hidden;
}
.nav-advanced::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, #7eefff, #ff38fb, #7eefff);
  transform: translateX(-100%);
  transition: transform 0.4s;
}
.nav-advanced:hover::before {
  transform: translateX(0);
}

/* Futuristic Status Indicators */
.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-family: 'Share Tech Mono', monospace;
}
.status-online {
  background: rgba(39,201,63,0.2);
  color: #27c93f;
  border: 1px solid rgba(39,201,63,0.4);
  animation: status-pulse 2s ease-in-out infinite;
}
.status-offline {
  background: rgba(255,95,86,0.2);
  color: #ff5f56;
  border: 1px solid rgba(255,95,86,0.4);
}
@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* More batches coming next! */

/* Neon title line effect for fit-content width */
.neon-title-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  margin: 0 auto 1.5rem auto;
  position: relative;
  z-index: 2;
}
.neon-title {
  background: #181828;
  color: #7eefff;
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.35rem;
  padding: 0.18em 1.1em;
  border-radius: 4px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 12px #7eefff, 0 0 24px #7eefff44;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.neon-title-container::before,
.neon-title-container::after {
  content: '';
  display: block;
  position: absolute;
  left: 0; right: 0;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #7eefff, transparent);
  filter: blur(2px);
  z-index: 1;
}
.neon-title-container::before { top: 0; }
.neon-title-container::after { bottom: 0; }

footer {
  width: 100%;
  text-align: center;
  margin: 2.5rem 0 0 0;
  padding: 1.2rem 0 0.7rem 0;
  background: none;
  position: relative;
  z-index: 2;
}
footer p {
  display: inline-block;
  color: #7eefff;
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.08em;
  letter-spacing: 0.04em;
  position: relative;
  background: #181828;
  border-radius: 4px;
  padding: 0.3em 1.2em;
  overflow: hidden;
}
footer p::before, footer p::after {
  content: '';
  position: absolute;
  top: 0; width: 50%; height: 100%;
  opacity: 0.7;
  z-index: 1;
  pointer-events: none;
}
footer p::before {
  left: 0;
  background: linear-gradient(90deg, #7eefff, transparent);
  animation: footer-neon-slide-left 2.2s cubic-bezier(.4,1.4,.6,1) infinite;
}
footer p::after {
  right: 0;
  background: linear-gradient(270deg, #ff38fb, transparent);
  animation: footer-neon-slide-right 2.2s cubic-bezier(.4,1.4,.6,1) infinite;
}
@keyframes footer-neon-slide-left {
  0% { left: -50%; opacity: 0; }
  30% { left: 0; opacity: 0.7; }
  60% { left: 0; opacity: 0.7; }
  100% { left: 0; opacity: 0; }
}
@keyframes footer-neon-slide-right {
  0% { right: -50%; opacity: 0; }
  30% { right: 0; opacity: 0.7; }
  60% { right: 0; opacity: 0.7; }
  100% { right: 0; opacity: 0; }
}

/* Animated Neon Particles Overlay */
.particle-system {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 0;
}
.particle {
  position: absolute;
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: #7eefff;
  opacity: 0.7;
  animation: particle-float 10s linear infinite;
}
.particle:nth-child(odd) {
  background: #ff38fb;
  animation-duration: 14s;
}
.particle:nth-child(3n) {
  background: #25b2f3;
  animation-duration: 12s;
}
@keyframes particle-float {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-10vh) translateX(100px);
    opacity: 0;
  }
}

nav, header, main, footer, .terminal, .glass, .glass-panel, .glass-card {
  position: relative;
  z-index: 2;
}

/* Responsive ZEROCIPHERX glitch text */
.glitch-text {
  font-size: clamp(1.6rem, 7vw, 3.2rem);
  padding: 0.08em 0.2em;
}

/* Responsive terminal */
.terminal {
  font-size: clamp(0.95rem, 2.8vw, 1.08em);
  max-width: 98vw;
}
.terminal-header .title {
  font-size: clamp(0.85rem, 2.2vw, 1.12rem);
}
.terminal-body {
  font-size: clamp(0.93rem, 2.5vw, 1.08em);
  padding: clamp(0.7rem, 3vw, 1.2rem) clamp(0.6rem, 3vw, 1.1rem) clamp(0.3rem, 2vw, 0.5rem) clamp(0.6rem, 3vw, 1.1rem);
}

/* Responsive terminal buttons */
.commands button,
.tools-tech-commands button,
.projects-commands button,
.contact-commands button {
  font-size: clamp(0.95rem, 2.5vw, 1.13em);
  padding: clamp(0.28rem, 1.5vw, 0.38rem) clamp(0.7rem, 3vw, 1.1rem);
}

/* Responsive header and neon title */
header {
  margin: clamp(1.2rem, 6vw, 2.5rem) 0 clamp(0.7rem, 3vw, 1.2rem) 0;
}
.neon-title {
  font-size: clamp(1.05rem, 4vw, 1.35rem);
  padding: 0.18em clamp(0.7em, 3vw, 1.1em);
}

/* Responsive footer */
footer {
  margin: clamp(1.2rem, 6vw, 2.5rem) 0 0 0;
  padding: clamp(0.7rem, 3vw, 1.2rem) 0 clamp(0.3rem, 2vw, 0.7rem) 0;
}
footer p {
  font-size: clamp(0.93rem, 2.5vw, 1.08em);
  padding: 0.3em clamp(0.7em, 3vw, 1.2em);
}

@media (max-width: 700px) {
  nav { gap: 0.7rem; font-size: 13px; }
  nav .nav-link { font-size: 13px; padding: 6px 10px; }
  .neon-title { font-size: 1rem; }
  .glitch-text { font-size: 2rem; }
  .terminal { font-size: 0.93rem; }
  .terminal-header .title { font-size: 0.85rem; }
  .terminal-body { font-size: 0.93rem; padding: 0.7rem 0.6rem 0.3rem 0.6rem; }
  .commands button,
  .tools-tech-commands button,
  .projects-commands button,
  .contact-commands button { font-size: 0.95rem; padding: 0.28rem 0.7rem; }
  footer p { font-size: 0.93rem; padding: 0.3em 0.7em; }
}

#neon-loader-overlay {
  position: fixed;
  z-index: 9999;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: linear-gradient(135deg, #0a0618 0%, #12002a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s cubic-bezier(.4,1.4,.6,1);
  overflow: hidden;
}
#neon-loader-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.neon-loader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.2rem;
}
.neon-spinner {
  width: 64px;
  height: 64px;
  border: 4px solid rgba(126,239,255,0.18);
  border-top: 4px solid #7eefff;
  border-bottom: 4px solid #ff38fb;
  border-radius: 50%;
  animation: neon-spin 1.2s linear infinite, neon-glow 2.2s ease-in-out infinite alternate;
  box-shadow: 0 0 32px #7eefff44, 0 0 48px #ff38fb22;
  background: radial-gradient(circle at 60% 40%, #181828 60%, #7eefff22 100%);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 12px #7eefff) drop-shadow(0 0 8px #ff38fb);
}
.neon-powerup-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 92px; height: 92px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2.5px solid transparent;
  box-shadow: 0 0 32px #7eefff88, 0 0 48px #ff38fb44, 0 0 0 8px #12002a;
  background: conic-gradient(from 0deg, #7eefff 0 30%, #ff38fb 40% 70%, #7eefff 80% 100%, transparent 100%);
  animation: powerup-rotate 2.8s linear infinite, powerup-pulse 1.6s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}
@keyframes powerup-rotate {
  0% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
  100% { transform: translate(-50%, -50%) rotate(360deg) scale(1.04); }
}
@keyframes powerup-pulse {
  0% { box-shadow: 0 0 32px #7eefff88, 0 0 48px #ff38fb44, 0 0 0 8px #12002a; opacity: 0.85; }
  100% { box-shadow: 0 0 48px #ff38fbcc, 0 0 64px #7eefff99, 0 0 0 12px #12002a; opacity: 1; }
}
@keyframes neon-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes neon-glow {
  0% { box-shadow: 0 0 32px #7eefff44, 0 0 48px #ff38fb22; }
  100% { box-shadow: 0 0 48px #ff38fb, 0 0 64px #7eefff; }
}
.neon-loader-title {
  font-family: 'Share Tech Mono', 'Orbitron', monospace;
  font-size: clamp(2.1rem, 7vw, 3.5rem);
  color: #7eefff;
  letter-spacing: 0.18em;
  text-shadow: 0 2px 0 #181828, 0 1px 2px #000a;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  animation: loader-glitch-flicker 2.2s infinite steps(2);
}
.neon-loader-title::before {
  content: attr(data-glitch) " ";
  position: absolute;
  left: 0; top: 0; width: 100%; height: 100%;
  color: #ff38fb;
  opacity: 0.5;
  z-index: 2;
  pointer-events: none;
  clip-path: polygon(0 0, 100% 0, 100% 40%, 0 40%);
  transform: translate(-2px, -2px);
  animation: loader-glitch-top 1.2s infinite linear alternate-reverse;
}
.neon-loader-title::after {
  content: attr(data-glitch) " ";
  position: absolute;
  left: 0; top: 0; width: 100%; height: 100%;
  color: #7eefff;
  opacity: 0.5;
  z-index: 2;
  pointer-events: none;
  clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
  transform: translate(2px, 2px);
  animation: loader-glitch-bot 1.3s infinite linear alternate;
}
@keyframes loader-glitch-top {
  0% { transform: translate(-2px, -2px); opacity: 0.5; }
  20% { transform: translate(2px, 1px); opacity: 0.7; }
  40% { transform: translate(-1px, 2px); opacity: 0.4; }
  60% { transform: translate(1px, -1px); opacity: 0.6; }
  100% { transform: translate(-2px, -2px); opacity: 0.5; }
}
@keyframes loader-glitch-bot {
  0% { transform: translate(2px, 2px); opacity: 0.5; }
  25% { transform: translate(-1px, 1px); opacity: 0.7; }
  50% { transform: translate(1px, -2px); opacity: 0.4; }
  75% { transform: translate(-2px, 2px); opacity: 0.6; }
  100% { transform: translate(2px, 2px); opacity: 0.5; }
}
@keyframes loader-glitch-flicker {
  0%, 100% { opacity: 1; }
  10% { opacity: 0.7; }
  20% { opacity: 1; }
  30% { opacity: 0.8; }
  40% { opacity: 1; }
  50% { opacity: 0.6; }
  60% { opacity: 1; }
  70% { opacity: 0.9; }
  80% { opacity: 1; }
  90% { opacity: 0.7; }
}
.neon-loader-title.scanline {
  background: repeating-linear-gradient(0deg, #7eefff 0 2px, #181828 2px 4px);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  animation: scanline-move 1.6s linear infinite;
}
@keyframes scanline-move {
  0% { background-position: 0 0; }
  100% { background-position: 0 100%; }
}
.neon-loader-sub {
  font-family: 'Share Tech Mono', monospace;
  color: #fff;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  letter-spacing: 0.12em;
  text-shadow: 0 2px 0 #181828, 0 1px 2px #000a;
  margin-top: -1.2rem;
  filter: none;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  text-transform: none;
  animation: loader-typewriter 2.2s steps(30) 0.5s 1 normal both;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #7eefff;
}
@keyframes loader-typewriter {
  from { width: 0; }
  to { width: 100%; }
}
.loader-boot-sequence {
  margin-top: 1.2rem;
  width: 220px;
  max-width: 80vw;
  display: flex;
  gap: 0.4em;
  justify-content: center;
  align-items: center;
}
.loader-boot-sequence .boot-step {
  width: 22px; height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #181828 0%, #7eefff 100%);
  opacity: 0.18;
  transition: opacity 0.3s, background 0.3s;
}
.loader-boot-sequence .boot-step.active {
  opacity: 1;
  background: linear-gradient(90deg, #7eefff 0%, #ff38fb 100%);
  box-shadow: 0 0 8px #7eefff88, 0 0 12px #ff38fb44;
}

#sphere3d {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%);
  z-index: 2;
  border-radius: 50%;
  background: transparent;
  pointer-events: none;
}
