/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== HERO FADE IN ===== */
.hero-content {
  animation: heroFadeIn 1.2s ease forwards;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RIPPLE CSS FALLBACK ===== */
.ripple-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.ripple-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(78, 205, 196, 0.15);
  transform: translate(-50%, -50%);
  animation: rippleExpand 6s ease-out infinite;
}

.ripple-circle:nth-child(1) { animation-delay: 0s; }
.ripple-circle:nth-child(2) { animation-delay: 1.5s; }
.ripple-circle:nth-child(3) { animation-delay: 3s; }
.ripple-circle:nth-child(4) { animation-delay: 4.5s; }

@keyframes rippleExpand {
  0% {
    width: 0;
    height: 0;
    opacity: 0.6;
    border-width: 2px;
  }
  100% {
    width: 120vmax;
    height: 120vmax;
    opacity: 0;
    border-width: 1px;
  }
}

/* ===== PULSE GLOW ===== */
.pulse-glow {
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(78, 205, 196, 0.1);
  }
  50% {
    box-shadow: 0 0 40px rgba(78, 205, 196, 0.2);
  }
}

/* ===== FLOAT ANIMATION ===== */
.float {
  animation: float 6s ease-in-out infinite;
}

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

/* ===== CARD SHINE EFFECT ===== */
.card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(78, 205, 196, 0.03) 50%,
    transparent 60%
  );
  transform: rotate(45deg);
  transition: var(--transition);
  pointer-events: none;
}
