/* Cyber-Aesthetic CSS System for Mochammad Zola Sulistia Portfolio */

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom Cyber Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #090d16;
}
::-webkit-scrollbar-thumb {
  background: #0d9488;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #14b8a6;
}

/* JENNA Template Cyber Matrix Grid Texture */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(13, 148, 136, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
}

/* Infinite Marquee Moving Accent Animation */
@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee {
  display: inline-flex;
  animation: marquee 25s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

/* Animated Gradient Text */
@keyframes gradientText {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.animate-gradient {
  background-size: 200% auto;
  animation: gradientText 6s ease infinite;
}

/* Filter Buttons Active State */
.skill-filter-btn.active,
.exp-filter-btn.active {
  background-color: #0d9488 !important;
  color: #ffffff !important;
  border-color: #14b8a6 !important;
  box-shadow: 0 0 20px rgba(13, 148, 136, 0.4) !important;
}

/* Skill & Training Card Hover Micro-animations */
.skill-card {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: #0d9488;
  box-shadow: 0 10px 30px -10px rgba(13, 148, 136, 0.3);
}

.exp-item {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.exp-item.hidden-sector {
  display: none;
}

/* Custom Modal Animations */
#lightboxModal,
#cvModal {
  transition: opacity 0.25s ease-in-out;
}

/* Custom Particle Canvas Container */
#particleCanvas {
  transition: opacity 0.5s ease;
}
