/* =============================================
   AKUNEX — ANIMATIONS
   ============================================= */

/* BLOB FLOAT */
@keyframes blobFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

/* CARD FLOAT */
@keyframes cardFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* SCROLL DOT */
@keyframes scrollDot {
  0% {
    top: 0;
  }
  100% {
    top: 100%;
  }
}

/* WA PULSE */
@keyframes waPulse {
  0%,
  100% {
    box-shadow:
      0 6px 24px rgba(37, 211, 102, 0.5),
      0 0 0 0 rgba(37, 211, 102, 0.3);
  }
  50% {
    box-shadow:
      0 6px 24px rgba(37, 211, 102, 0.5),
      0 0 0 14px rgba(37, 211, 102, 0);
  }
}

/* POPUP IN */
@keyframes popupIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* FADE UP */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SHIMMER */
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* SPIN SLOW */
@keyframes spinSlow {
  to {
    transform: rotate(360deg);
  }
}

/* LOADING SCREEN */
.loading-screen {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition:
    opacity 0.5s,
    visibility 0.5s;
}
.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}
.loading-logo {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
}
.loading-logo span {
  color: var(--highlight);
}
.loading-bar {
  width: 200px;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.loading-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 2px;
  animation: loadFill 1.5s ease-in-out forwards;
}
@keyframes loadFill {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

/* HOVER GLOW */
.glass-card {
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}
.glass-card:hover {
  box-shadow:
    0 20px 60px rgba(30, 58, 95, 0.18),
    0 0 0 1.5px rgba(108, 166, 255, 0.25);
}

/* PARTICLES */
#particles-js {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* SECTION DIVIDER */
.section-divider {
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(108, 166, 255, 0.3),
    transparent
  );
  margin: 0;
}
