/* Techno Robot Style Animations CSS */
@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

@keyframes flicker {
  0%, 100% {
    opacity: 1;
  }
  10% {
    opacity: 0.8;
  }
  20% {
    opacity: 1;
  }
  30% {
    opacity: 0.6;
  }
  40% {
    opacity: 0.9;
  }
  50% {
    opacity: 0.5;
  }
  60% {
    opacity: 0.8;
  }
  70% {
    opacity: 0.7;
  }
  80% {
    opacity: 0.9;
  }
  90% {
    opacity: 0.8;
  }
}

@keyframes dataStream {
  0% {
    height: 0;
    opacity: 0.8;
  }
  80% {
    height: 100%;
    opacity: 0.8;
  }
  100% {
    height: 100%;
    opacity: 0;
  }
}

/* Apply the pulse animation */
.animate-pulse {
  animation: pulse 3s ease-in-out infinite;
}

/* Apply flicker animation */
.animate-flicker {
  animation: flicker 4s linear infinite;
}

/* Apply data stream animation */
.animate-data-stream {
  animation: dataStream 3s ease-in-out infinite;
}

/* Modify the blob shapes to look more techno */
.blob-shape {
  border: 2px solid rgba(255, 255, 255, 0.1);
  background-color: transparent;
  position: absolute;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.blob-1 {
  bottom: -3rem;
  left: -3rem;
  height: 16rem;
  width: 16rem;
  border-color: rgba(45, 212, 191, 0.3);
  box-shadow: 0 0 20px rgba(45, 212, 191, 0.2), inset 0 0 20px rgba(45, 212, 191, 0.1);
  background: radial-gradient(ellipse at 50% 60%, rgba(45, 212, 191, 0.55) 60%, transparent 100%);
}

.blob-2 {
  top: -1.5rem;
  right: -1.5rem;
  height: 12rem;
  width: 12rem;
  border-color: rgba(232, 121, 249, 0.3);
  box-shadow: 0 0 20px rgba(232, 121, 249, 0.2), inset 0 0 20px rgba(232, 121, 249, 0.1);
  background: radial-gradient(ellipse at 50% 40%, rgba(192, 38, 211, 0.45) 60%, transparent 100%);
}

/* Optionally, you can keep or adjust the dark mode for more intensity */
:is(.dark .blob-1) {
  background: radial-gradient(ellipse at 50% 60%, rgba(45, 212, 191, 0.7) 60%, transparent 100%);
}
:is(.dark .blob-2) {
  background: radial-gradient(ellipse at 50% 40%, rgba(192, 38, 211, 0.6) 60%, transparent 100%);
}

/* Enhanced glass card effect for skills */
.glass-card {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(45, 212, 191, 0.3);
}

.glass-card::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: 0.5s;
}

.glass-card:hover::before {
  left: 100%;
}

/* Hero container enhancement */
.hero-container {
  position: relative;
  overflow: hidden;
}

.hero-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, rgba(19, 78, 74, 0.3), transparent);
  z-index: 1;
}

:is(.dark .hero-container)::after {
  background: linear-gradient(to top, rgba(18, 18, 18, 0.5), transparent);
}

/* Add scanlines effect */
.hero-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(45, 212, 191, 0.03) 2px,
      rgba(45, 212, 191, 0.03) 4px
    );
  pointer-events: none;
  z-index: 2;
}

/* Override the z-index of the hero content to be above the scanlines */
.hero-content {
  z-index: 5;
}

/* Make hero image glow on hover */
.hero-image-container:hover img {
  filter: drop-shadow(0 0 15px rgba(45, 212, 191, 0.5));
  transition: filter 0.5s ease;
}

/* Remove border from View My Work button and add techno hover effect */
.btn-no-border {
  border: none !important;
  box-shadow: none !important;
}

/* Ensure mobile buttons overlay is properly positioned */
.mobile-buttons-overlay {
  pointer-events: auto;
}

.mobile-buttons-overlay .mobile-btn {
  pointer-events: auto;
  min-width: 180px;
  text-align: center;
}

/* Techno robot mouse-follow effect for hero section */
.techno-mouse-light {
  pointer-events: none;
  position: absolute;
  z-index: 4;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,212,191,0.18) 0%, rgba(45,212,191,0.08) 60%, transparent 100%);
  transition: opacity 0.2s;
  opacity: 0.7;
  mix-blend-mode: lighten;
}
:is(.dark .techno-mouse-light) {
  background: radial-gradient(circle, rgba(94,234,212,0.22) 0%, rgba(45,212,191,0.10) 60%, transparent 100%);
} 