/* 
  Animations & Effects 
*/

/* Background Aurora Gradient */
.aurora-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.aurora-blob {
  position: absolute;
  filter: blur(100px);
  opacity: 0.4;
  animation: float 20s infinite ease-in-out alternate;
}

.aurora-blob:nth-child(1) {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: var(--accent-electric);
  animation-delay: 0s;
}

.aurora-blob:nth-child(2) {
  bottom: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: var(--accent-purple);
  animation-delay: -5s;
}

@keyframes float {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(5%, 10%) rotate(180deg); }
  100% { transform: translate(-5%, -10%) rotate(360deg); }
}

/* Button Shimmer Effect */
.btn-shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-20deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  100% { left: 200%; }
}

/* Infinite Marquee */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  display: flex;
  align-items: center;
  padding: 4rem 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
  display: flex;
  gap: 4rem;
  animation: marquee 30s linear infinite;
}

.marquee-content img {
  height: 40px;
  filter: grayscale(1) brightness(2);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.marquee-content img:hover {
  filter: grayscale(0) brightness(1);
  opacity: 1;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Card Hover Glow & Tilt Prep */
.card-hover {
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo), border-color 0.4s ease;
}

.card-hover:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 240, 255, 0.1);
}

/* Reveal Utilities */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-text {
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
}

/* Moving Gradient Mesh Border */
.glow-border {
  position: relative;
  border-radius: inherit;
  z-index: 1;
}

.glow-border::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: var(--gradient-glow);
  background-size: 200% auto;
  z-index: -1;
  animation: border-glow 3s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glow-border:hover::before {
  opacity: 1;
}

@keyframes border-glow {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* SVG Line Animations */
.path-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}
