/* ===============================================
   SPACE-THEMED PORTFOLIO CSS
   Modern, Responsive Design with CSS3
   =============================================== */

/* Import Google Fonts for space-themed typography */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Exo+2:wght@300;400;500;600;700&display=swap');

/* CSS Custom Properties for Space Theme Color Palette */
:root {
  /* Primary Dark Space Colors */
  --space-black: #0a0a0a;
  --deep-space: #1a1a2e;
  --cosmic-blue: #16213e;
  --nebula-purple: #0f3460;
  
  /* Accent Colors */
  --electric-cyan: #00d9ff;
  --plasma-pink: #ff006e;
  --stellar-gold: #ffbe0b;
  --comet-white: #f8f9fa;
  
  /* Gradients */
  --nebula-gradient: linear-gradient(135deg, var(--deep-space) 0%, var(--cosmic-blue) 50%, var(--nebula-purple) 100%);
  --cosmic-gradient: radial-gradient(ellipse at center, var(--cosmic-blue) 0%, var(--deep-space) 70%, var(--space-black) 100%);
  --aurora-gradient: linear-gradient(45deg, var(--electric-cyan), var(--plasma-pink), var(--stellar-gold));
  
  /* Spacing and Sizing */
  --container-max-width: 1400px;
  --section-padding: clamp(2rem, 5vw, 4rem);
  --border-radius: 12px;
  --box-shadow: 0 8px 32px rgba(0, 217, 255, 0.1);
  
  /* Animation Durations */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
}

/* ===============================================
   RESET AND BASE STYLES
   =============================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: clamp(14px, 1.2vw, 18px);
}

body {
  font-family: 'Exo 2', sans-serif;
  line-height: 1.6;
  color: var(--comet-white);
  background: var(--space-black);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Animated Starfield Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--cosmic-gradient);
  z-index: -2;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, var(--electric-cyan), transparent),
    radial-gradient(2px 2px at 40px 70px, var(--stellar-gold), transparent),
    radial-gradient(1px 1px at 90px 40px, var(--comet-white), transparent),
    radial-gradient(1px 1px at 130px 80px, var(--plasma-pink), transparent),
    radial-gradient(2px 2px at 160px 30px, var(--comet-white), transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: sparkle 20s linear infinite;
  z-index: -1;
  opacity: 0.6;
}

@keyframes sparkle {
  from { transform: translateX(0); }
  to { transform: translateX(200px); }
}

/* ===============================================
   UTILITY CLASSES
   =============================================== */

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.text-center { text-align: center; }
.text-gradient {
  background: var(--aurora-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===============================================
   BUTTON STYLES
   =============================================== */

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  font-family: 'Orbitron', monospace;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(var(--deep-space), var(--deep-space)) padding-box,
              var(--aurora-gradient) border-box;
  color: var(--comet-white);
}

.btn-secondary {
  background: rgba(26, 26, 46, 0.8);
  border: 2px solid var(--electric-cyan);
  color: var(--electric-cyan);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 217, 255, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--aurora-gradient);
  transition: left var(--transition-medium);
  z-index: -1;
}

.btn-primary:hover::before {
  left: 0;
}

.btn-secondary:hover {
  background: var(--electric-cyan);
  color: var(--space-black);
  text-shadow: none;
}

/* ===============================================
   NAVIGATION STYLES
   =============================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 217, 255, 0.2);
  transition: all var(--transition-fast);
  padding: 1rem 0;
}

.nav-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo h2 {
  font-family: 'Orbitron', monospace;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  background: var(--aurora-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: var(--comet-white);
  font-weight: 500;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--electric-cyan);
  transition: all var(--transition-fast);
  transform: translateX(-50%);
}

.nav-link:hover::before {
  width: 100%;
}

.nav-link:hover {
  color: var(--electric-cyan);
  text-shadow: 0 0 10px var(--electric-cyan);
}

/* ===============================================
   HERO SECTION
   =============================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  width: 100%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  animation: fadeInUp 1s ease-out;
}

.hero-image {
  text-align: center;
  position: relative;
}

.hero-img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: var(--border-radius);
  border: 3px solid var(--electric-cyan);
  box-shadow: 0 0 30px rgba(0, 217, 255, 0.4);
  transition: all var(--transition-medium);
  animation: float 3s ease-in-out infinite;
}

.hero-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 50px rgba(0, 217, 255, 0.6);
}

.hero-text {
  z-index: 2;
}

.hero-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  background: var(--aurora-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  margin-bottom: 2rem;
  color: var(--electric-cyan);
  opacity: 0.9;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 3rem;
  color: var(--comet-white);
  opacity: 0.9;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ===============================================
   SECTIONS
   =============================================== */

section {
  padding: var(--section-padding) 0;
  position: relative;
}

section:not(.hero) {
  background: rgba(26, 26, 46, 0.3);
  margin: 2rem 0;
  border-radius: var(--border-radius);
  backdrop-filter: blur(5px);
}

.section-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: var(--aurora-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===============================================
   GRID LAYOUTS
   =============================================== */

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ===============================================
   CARD COMPONENTS
   =============================================== */

.card {
  background: rgba(26, 26, 46, 0.6);
  border-radius: var(--border-radius);
  padding: 2rem;
  border: 1px solid rgba(0, 217, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--aurora-gradient);
  transform: scaleX(0);
  transition: transform var(--transition-medium);
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
  border-color: var(--electric-cyan);
}

.card h3 {
  font-family: 'Orbitron', monospace;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--electric-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card p {
  color: var(--comet-white);
  opacity: 0.9;
  line-height: 1.7;
}

/* ===============================================
   SPECIFIC SECTION STYLES
   =============================================== */

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

.about-image img {
  width: 100%;
  border-radius: var(--border-radius);
  border: 2px solid var(--electric-cyan);
}

.about-text h3 {
  font-family: 'Orbitron', monospace;
  color: var(--stellar-gold);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.skill-item {
  background: rgba(26, 26, 46, 0.6);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 217, 255, 0.2);
  text-align: center;
  transition: all var(--transition-medium);
}

.skill-item:hover {
  transform: translateY(-5px);
  border-color: var(--electric-cyan);
  box-shadow: 0 8px 25px rgba(0, 217, 255, 0.2);
}

.skill-item h4 {
  font-family: 'Orbitron', monospace;
  color: var(--electric-cyan);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

/* Experience and Projects */
.timeline-item,
.project-item {
  background: rgba(26, 26, 46, 0.6);
  padding: 2rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--electric-cyan);
  margin-bottom: 2rem;
  transition: all var(--transition-medium);
}

.timeline-item:hover,
.project-item:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 25px rgba(0, 217, 255, 0.2);
}

.timeline-item h4,
.project-item h4 {
  font-family: 'Orbitron', monospace;
  color: var(--stellar-gold);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.timeline-item .date,
.project-item .tech {
  color: var(--electric-cyan);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  background: rgba(26, 26, 46, 0.6);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 217, 255, 0.2);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.contact-item i {
  color: var(--electric-cyan);
  font-size: 1.5rem;
}

.contact-form {
  background: rgba(26, 26, 46, 0.6);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 217, 255, 0.2);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: var(--electric-cyan);
  margin-bottom: 0.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(26, 26, 46, 0.8);
  border: 1px solid rgba(0, 217, 255, 0.3);
  border-radius: var(--border-radius);
  color: var(--comet-white);
  font-family: 'Exo 2', sans-serif;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--electric-cyan);
  box-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */

/* Tablet Styles */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(15px);
    flex-direction: column;
    padding: 2rem 0;
    gap: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
    border-top: 1px solid rgba(0, 217, 255, 0.2);
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-image {
    order: -1;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .grid-2,
  .grid-3,
  .grid-4,
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Styles */
@media (max-width: 480px) {
  :root {
    --section-padding: 2rem;
  }
  
  .hero-title {
    font-size: 2rem;
    letter-spacing: 1px;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .card,
  .skill-item,
  .timeline-item,
  .project-item {
    padding: 1.5rem;
  }
  
  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* ===============================================
   ENHANCED ANIMATIONS AND EFFECTS
   =============================================== */

/* Advanced Keyframe Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInBottom {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-200deg);
  }
  to {
    opacity: 1;
    transform: rotate(0deg);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(-100px);
  }
  50% {
    opacity: 1;
    transform: scale(1.05) translateY(0);
  }
  70% {
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

@keyframes gradientShift {
  0%, 100% { 
    background-position: 0% 50%; 
  }
  50% { 
    background-position: 100% 50%; 
  }
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0px); 
  }
  50% { 
    transform: translateY(-20px); 
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.6), 0 0 60px rgba(255, 0, 110, 0.4);
  }
}

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

/* Nebula Movement Animation */
@keyframes nebulaMove {
  0% {
    transform: translateX(-50%) translateY(-50%) rotate(0deg);
  }
  33% {
    transform: translateX(-30%) translateY(-70%) rotate(120deg);
  }
  66% {
    transform: translateX(-70%) translateY(-30%) rotate(240deg);
  }
  100% {
    transform: translateX(-50%) translateY(-50%) rotate(360deg);
  }
}

/* Cosmic Dust Animation */
@keyframes cosmicDust {
  0% {
    transform: translateX(-100px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(calc(100vw + 100px)) rotate(360deg);
    opacity: 0;
  }
}

/* Twinkling Stars Enhanced */
@keyframes sparkleEnhanced {
  0% { 
    transform: translateX(0) rotate(0deg);
    opacity: 0.6;
  }
  25% {
    opacity: 1;
    transform: translateX(50px) rotate(90deg);
  }
  50% {
    opacity: 0.3;
    transform: translateX(100px) rotate(180deg);
  }
  75% {
    opacity: 0.8;
    transform: translateX(150px) rotate(270deg);
  }
  100% { 
    transform: translateX(200px) rotate(360deg);
    opacity: 0.6;
  }
}

/* Button Hover Animations */
@keyframes buttonGlow {
  0% {
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.2);
  }
  50% {
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.4), 0 0 30px rgba(255, 0, 110, 0.3);
  }
  100% {
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.2);
  }
}

@keyframes buttonPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Text Animation Effects */
@keyframes typewriter {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blinkCursor {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

/* Section Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.reveal-rotate {
  opacity: 0;
  transform: rotateY(90deg);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-rotate.active {
  opacity: 1;
  transform: rotateY(0deg);
}

/* Staggered Animation Classes */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* Enhanced Button Animations */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, box-shadow;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-3px);
  animation: buttonGlow 2s infinite, buttonPulse 1s ease-in-out infinite;
}

.btn:active {
  transform: translateY(-1px);
  transition: transform 0.1s;
}

/* Enhanced Card Animations */
.card {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, box-shadow;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(0, 217, 255, 0.3),
    0 0 30px rgba(255, 0, 110, 0.2);
  animation: glow 2s ease-in-out infinite;
}

/* Project Item Hover Effects */
.project-item {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.project-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(255, 0, 110, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-item:hover::after {
  opacity: 1;
}

.project-item:hover {
  transform: scale(1.05) rotateY(5deg);
  box-shadow: 0 15px 30px rgba(0, 217, 255, 0.4);
}

/* Skill Item Animations */
.skill-item {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.skill-item:hover {
  transform: translateY(-5px) rotate(2deg);
  animation: pulse 1.5s ease-in-out infinite;
}

/* Timeline Animations */
.timeline-item {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-item:hover {
  transform: translateX(10px);
  box-shadow: -5px 5px 20px rgba(0, 217, 255, 0.3);
}

/* Navigation Animations */
.nav-link {
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--aurora-gradient);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  transform: translateY(-2px);
  text-shadow: 0 0 10px var(--electric-cyan);
}

/* Animated Background Elements */
.nebula-bg {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 0, 110, 0.3) 0%, rgba(0, 217, 255, 0.2) 50%, transparent 100%);
  border-radius: 50%;
  animation: nebulaMove 20s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}

.cosmic-dust {
  position: fixed;
  width: 2px;
  height: 2px;
  background: var(--stellar-gold);
  border-radius: 50%;
  animation: cosmicDust 15s linear infinite;
  z-index: -1;
  pointer-events: none;
}

/* Multiple Cosmic Dust Particles */
.cosmic-dust:nth-child(1) { top: 20%; animation-delay: 0s; }
.cosmic-dust:nth-child(2) { top: 40%; animation-delay: 2s; }
.cosmic-dust:nth-child(3) { top: 60%; animation-delay: 4s; }
.cosmic-dust:nth-child(4) { top: 80%; animation-delay: 6s; }

/* Enhanced Starfield Animation */
body::after {
  animation: sparkleEnhanced 25s linear infinite;
}

/* Floating Action Elements */
.floating {
  animation: float 3s ease-in-out infinite;
}

.floating:nth-child(odd) {
  animation-delay: 1.5s;
}

/* Scroll-triggered Parallax Effect */
.parallax {
  transform: translateZ(0);
  will-change: transform;
  transition: transform 0.1s ease-out;
}

/* Loading Animation */
.loading-spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 217, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--electric-cyan);
  animation: spin 1s ease-in-out infinite;
}

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

/* Text Reveal Animation */
.text-reveal {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--electric-cyan);
  animation: typewriter 3s steps(30) 1s both, blinkCursor 1s step-end infinite;
}

/* Interactive Glow Effects */
.glow-on-hover {
  transition: all 0.3s ease;
}

.glow-on-hover:hover {
  text-shadow: 0 0 20px var(--electric-cyan), 0 0 30px var(--plasma-pink);
  animation: twinkle 1.5s ease-in-out infinite;
}

/* Modal Animation */
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-enter {
  animation: modalSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Smooth Scroll Behavior for All Elements */
* {
  scroll-behavior: smooth;
}

/* Advanced Transition Timings */
.smooth-transition {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bounce-transition {
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.elastic-transition {
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ===============================================
   ACCESSIBILITY
   =============================================== */

/* Focus Styles */
:focus {
  outline: 2px solid var(--electric-cyan);
  outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --comet-white: #ffffff;
    --space-black: #000000;
    --electric-cyan: #00ffff;
  }
}

/* Print Styles */
@media print {
  body {
    background: white;
    color: black;
  }
  
  .hero::after,
  body::after {
    display: none;
  }
  
  .navbar {
    position: relative;
    background: white;
    border-bottom: 1px solid black;
  }
}


/* ===============================================
   ADVANCED BACKGROUND ANIMATIONS
   =============================================== */

/* Twinkling Stars Layer System */
.stars-layer-1,
.stars-layer-2,
.stars-layer-3 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.stars-layer-1 {
  background-image:
    radial-gradient(2px 2px at 20px 30px, var(--comet-white), transparent),
    radial-gradient(2px 2px at 40px 70px, var(--electric-cyan), transparent),
    radial-gradient(1px 1px at 90px 40px, var(--stellar-gold), transparent),
    radial-gradient(1px 1px at 130px 80px, var(--plasma-pink), transparent),
    radial-gradient(2px 2px at 160px 30px, var(--comet-white), transparent);
  background-repeat: repeat;
  background-size: 250px 150px;
  animation: sparkleEnhanced 30s linear infinite;
}

.stars-layer-2 {
  background-image:
    radial-gradient(1px 1px at 50px 100px, var(--electric-cyan), transparent),
    radial-gradient(1px 1px at 120px 50px, var(--comet-white), transparent),
    radial-gradient(2px 2px at 200px 120px, var(--stellar-gold), transparent);
  background-repeat: repeat;
  background-size: 300px 200px;
  animation: sparkleEnhanced 45s linear infinite reverse;
}

.stars-layer-3 {
  background-image:
    radial-gradient(1px 1px at 80px 60px, var(--plasma-pink), transparent),
    radial-gradient(1px 1px at 180px 90px, var(--comet-white), transparent);
  background-repeat: repeat;
  background-size: 400px 250px;
  animation: sparkleEnhanced 60s linear infinite;
}

/* Shooting Stars Animation */
@keyframes shootingStar {
  0% {
    transform: translateX(-100px) translateY(-100px) rotate(45deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(calc(100vw + 100px)) translateY(calc(100vh + 100px)) rotate(45deg);
    opacity: 0;
  }
}

.shooting-star {
  position: fixed;
  width: 3px;
  height: 3px;
  background: linear-gradient(45deg, var(--comet-white), var(--electric-cyan));
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  animation: shootingStar 3s ease-out infinite;
}

.shooting-star::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--electric-cyan), transparent);
  transform: translateX(-50px) rotate(45deg);
}

.shooting-star:nth-child(1) { 
  top: 10%; 
  animation-delay: 0s; 
  animation-duration: 3s;
}
.shooting-star:nth-child(2) { 
  top: 30%; 
  animation-delay: 5s; 
  animation-duration: 4s;
}
.shooting-star:nth-child(3) { 
  top: 50%; 
  animation-delay: 10s; 
  animation-duration: 3.5s;
}
.shooting-star:nth-child(4) { 
  top: 70%; 
  animation-delay: 15s; 
  animation-duration: 4.5s;
}

/* Nebula Cloud Animation */
@keyframes nebulaFloat {
  0%, 100% {
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
    opacity: 0.3;
  }
  33% {
    transform: translate(-40%, -60%) rotate(120deg) scale(1.1);
    opacity: 0.5;
  }
  66% {
    transform: translate(-60%, -40%) rotate(240deg) scale(0.9);
    opacity: 0.4;
  }
}

.nebula-cloud {
  position: fixed;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 0, 110, 0.3) 0%,
    rgba(0, 217, 255, 0.2) 30%,
    rgba(251, 190, 11, 0.1) 60%,
    transparent 100%
  );
  border-radius: 50%;
  filter: blur(2px);
  animation: nebulaFloat 40s ease-in-out infinite;
  z-index: -2;
  pointer-events: none;
}

.nebula-cloud:nth-child(1) {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.nebula-cloud:nth-child(2) {
  top: 60%;
  left: 70%;
  animation-delay: 15s;
  animation-duration: 50s;
}

/* Particle System */
@keyframes particleFloat {
  0% {
    transform: translateY(100vh) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) translateX(100px) rotate(360deg);
    opacity: 0;
  }
}

.particle {
  position: fixed;
  width: 4px;
  height: 4px;
  background: var(--electric-cyan);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  animation: particleFloat 15s linear infinite;
}

.particle:nth-child(odd) {
  background: var(--stellar-gold);
  animation-duration: 20s;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 3s; }
.particle:nth-child(3) { left: 30%; animation-delay: 6s; }
.particle:nth-child(4) { left: 40%; animation-delay: 9s; }
.particle:nth-child(5) { left: 50%; animation-delay: 12s; }
.particle:nth-child(6) { left: 60%; animation-delay: 2s; }
.particle:nth-child(7) { left: 70%; animation-delay: 5s; }
.particle:nth-child(8) { left: 80%; animation-delay: 8s; }
.particle:nth-child(9) { left: 90%; animation-delay: 11s; }

/* Aurora Effect */
@keyframes aurora {
  0%, 100% {
    transform: translateX(-50%) skewX(0deg);
    opacity: 0.3;
  }
  25% {
    transform: translateX(-40%) skewX(5deg);
    opacity: 0.6;
  }
  50% {
    transform: translateX(-60%) skewX(-3deg);
    opacity: 0.4;
  }
  75% {
    transform: translateX(-45%) skewX(8deg);
    opacity: 0.7;
  }
}

.aurora-effect {
  position: fixed;
  top: 0;
  left: 50%;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 217, 255, 0.1) 0%,
    rgba(255, 0, 110, 0.05) 30%,
    transparent 60%
  );
  animation: aurora 25s ease-in-out infinite;
  z-index: -3;
  pointer-events: none;
  filter: blur(1px);
}

/* Constellation Lines */
@keyframes constellationGlow {
  0%, 100% {
    opacity: 0.2;
    stroke-width: 1;
  }
  50% {
    opacity: 0.6;
    stroke-width: 2;
  }
}

.constellation {
  position: fixed;
  top: 20%;
  right: 20%;
  z-index: -1;
  pointer-events: none;
}

.constellation svg {
  width: 200px;
  height: 200px;
}

.constellation line {
  stroke: var(--electric-cyan);
  stroke-width: 1;
  animation: constellationGlow 4s ease-in-out infinite;
}

.constellation circle {
  fill: var(--comet-white);
  animation: twinkle 2s ease-in-out infinite;
}

/* Cosmic Wind Effect */
@keyframes cosmicWind {
  0% {
    transform: translateX(-100%) rotate(0deg);
    opacity: 0;
  }
  10%, 90% {
    opacity: 0.3;
  }
  100% {
    transform: translateX(100vw) rotate(720deg);
    opacity: 0;
  }
}

.cosmic-wind {
  position: fixed;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--electric-cyan), transparent);
  animation: cosmicWind 8s linear infinite;
  z-index: -1;
  pointer-events: none;
}

.cosmic-wind:nth-child(1) { top: 25%; animation-delay: 0s; }
.cosmic-wind:nth-child(2) { top: 45%; animation-delay: 3s; }
.cosmic-wind:nth-child(3) { top: 65%; animation-delay: 6s; }


/* ===============================================
   RESPONSIVE ANIMATION ADJUSTMENTS
   =============================================== */

/* Tablet and smaller devices */
@media (max-width: 1024px) {
  /* Reduce animation complexity for performance */
  .nebula-cloud,
  .cosmic-dust,
  .particle {
    display: none;
  }
  
  /* Simplify button animations */
  .btn:hover {
    animation: none;
    transform: translateY(-2px);
  }
  
  /* Reduce parallax effects */
  .parallax {
    transform: none !important;
  }
  
  /* Lighter glow effects */
  .card:hover {
    animation: none;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 217, 255, 0.2);
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  /* Disable complex animations */
  .stars-layer-2,
  .stars-layer-3,
  .shooting-star,
  .aurora-effect,
  .constellation,
  .cosmic-wind {
    display: none;
  }
  
  /* Simplified hover effects */
  .project-item:hover,
  .skill-item:hover,
  .timeline-item:hover {
    transform: none;
    animation: none;
  }
  
  /* Keep only essential animations */
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    transition-duration: 0.4s;
  }
  
  /* Reduce typewriter effect speed */
  .text-reveal {
    animation-duration: 2s;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  /* Minimal animations for performance */
  body::after {
    animation-duration: 30s;
    opacity: 0.3;
  }
  
  /* Simple button effects only */
  .btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 217, 255, 0.2);
  }
  
  /* Disable floating animations */
  .floating {
    animation: none;
  }
}

/* ===============================================
   PERFORMANCE OPTIMIZATIONS
   =============================================== */

/* Use hardware acceleration for key animations */
.card,
.btn,
.project-item,
.skill-item,
.timeline-item,
.nav-link {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Optimize background animations */
.stars-layer-1,
.stars-layer-2,
.stars-layer-3,
body::after {
  will-change: transform;
  transform: translateZ(0);
}

/* Reduce animations on battery save mode */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  /* Keep only essential hover effects */
  .btn:hover {
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 217, 255, 0.2);
  }
}

/* Dark mode optimizations */
@media (prefers-color-scheme: dark) {
  /* Enhance glow effects in dark mode */
  .glow-on-hover:hover {
    text-shadow: 0 0 25px var(--electric-cyan), 0 0 35px var(--plasma-pink);
  }
  
  .card:hover {
    box-shadow: 
      0 25px 50px rgba(0, 217, 255, 0.4),
      0 0 40px rgba(255, 0, 110, 0.3);
  }
}

/* High refresh rate display optimizations */
@media (min-resolution: 120dpi) {
  /* Smoother animations for high-DPI displays */
  .smooth-transition {
    transition-duration: 0.2s;
  }
  
  .reveal {
    transition-duration: 0.6s;
  }
}

/* ===============================================
   ACCESSIBILITY ENHANCEMENTS
   =============================================== */

/* Focus-visible for better keyboard navigation */
.btn:focus-visible,
.nav-link:focus-visible {
  outline: 3px solid var(--electric-cyan);
  outline-offset: 3px;
  animation: glow 1s ease-in-out;
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: no-preference) {
  /* Only apply complex animations when user hasn't requested reduced motion */
  .enhanced-animation {
    animation: bounceIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .btn:hover {
    background: var(--comet-white);
    color: var(--space-black);
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.5);
  }
  
  .card:hover {
    border: 2px solid var(--comet-white);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.3);
  }
}

/* Print optimizations */
@media print {
  /* Remove all animations and transitions for print */
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  /* Hide decorative background elements */
  .stars-layer-1,
  .stars-layer-2,
  .stars-layer-3,
  .nebula-cloud,
  .cosmic-dust,
  .particle,
  .shooting-star,
  .aurora-effect,
  .constellation,
  .cosmic-wind {
    display: none !important;
  }
}


/* ===============================================
   UTILITY ANIMATION CLASSES
   =============================================== */

/* Entrance Animations */
.animate-fadeIn {
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.animate-slideInLeft {
  animation: fadeInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.animate-slideInRight {
  animation: fadeInRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.animate-scaleIn {
  animation: fadeInScale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.animate-rotateIn {
  animation: rotateIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.animate-bounceIn {
  animation: bounceIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* Continuous Animations */
.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-glow {
  animation: glow 2s ease-in-out infinite;
}

.animate-twinkle {
  animation: twinkle 1.5s ease-in-out infinite;
}

/* Hover-triggered Animations */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hover-lift:hover {
  transform: translateY(-8px);
}

.hover-scale {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hover-scale:hover {
  transform: scale(1.05);
}

.hover-rotate {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hover-rotate:hover {
  transform: rotate(5deg);
}

.hover-glow {
  transition: all 0.3s ease;
}

.hover-glow:hover {
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
  text-shadow: 0 0 10px var(--electric-cyan);
}

/* Loading States */
.loading-pulse {
  animation: pulse 1.5s ease-in-out infinite;
}

.loading-dots::after {
  content: '...';
  animation: loadingDots 1.5s steps(4) infinite;
}

@keyframes loadingDots {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60%, 100% { content: '...'; }
}

/* Interactive Elements */
.interactive {
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.interactive::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.3) 0%, transparent 70%);
  transition: all 0.4s ease;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: -1;
}

.interactive:hover::before {
  width: 300px;
  height: 300px;
}

/* Text Effects */
.text-shimmer {
  background: linear-gradient(
    90deg,
    var(--comet-white) 0%,
    var(--electric-cyan) 50%,
    var(--comet-white) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.text-bounce {
  display: inline-block;
  animation: textBounce 0.6s ease-in-out;
}

@keyframes textBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Scroll-triggered Classes */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.scroll-slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-slide-left.in-view {
  opacity: 1;
  transform: translateX(0);
}

.scroll-slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-slide-right.in-view {
  opacity: 1;
  transform: translateX(0);
}

/* Animation Delay Classes */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }
.delay-900 { animation-delay: 0.9s; }
.delay-1000 { animation-delay: 1s; }

/* Animation Duration Classes */
.duration-fast { animation-duration: 0.3s; transition-duration: 0.3s; }
.duration-normal { animation-duration: 0.5s; transition-duration: 0.5s; }
.duration-slow { animation-duration: 0.8s; transition-duration: 0.8s; }
.duration-slower { animation-duration: 1.2s; transition-duration: 1.2s; }

/* Special Effects */
.neon-border {
  border: 2px solid var(--electric-cyan);
  box-shadow: 
    0 0 10px var(--electric-cyan),
    inset 0 0 10px rgba(0, 217, 255, 0.1);
  animation: neonPulse 2s ease-in-out infinite alternate;
}

@keyframes neonPulse {
  from {
    box-shadow: 
      0 0 10px var(--electric-cyan),
      inset 0 0 10px rgba(0, 217, 255, 0.1);
  }
  to {
    box-shadow: 
      0 0 20px var(--electric-cyan),
      0 0 30px var(--plasma-pink),
      inset 0 0 20px rgba(0, 217, 255, 0.2);
  }
}

.hologram-effect {
  position: relative;
  background: rgba(0, 217, 255, 0.05);
  border: 1px solid rgba(0, 217, 255, 0.3);
  backdrop-filter: blur(10px);
}

.hologram-effect::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 217, 255, 0.2),
    transparent
  );
  animation: hologramScan 3s linear infinite;
}

@keyframes hologramScan {
  0% { left: -100%; }
  100% { left: 100%; }
}

