/* ============ EFECTOS Y ANIMACIONES SUAVES ============ */

/* Partículas de Fondo Suaves */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.6;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 182, 217, 0.3), rgba(255, 201, 224, 0.2));
  animation: float-particle 20s infinite linear;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.4;
  }
  90% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* Texto con Gradiente Suave */
.gradient-text {
  background: linear-gradient(135deg, #FFB6D9, #FFC9E0, #FFE8F5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Borde Suave */
.neon-border {
  position: relative;
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, #FFB6D9, #FFC9E0) border-box;
  border-radius: 20px;
}

/* Efectos Hover Suaves */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 182, 217, 0.25);
}

/* Animación de Carga Suave */
.loading-wave {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.loading-bar {
  width: 4px;
  height: 18px;
  background: linear-gradient(135deg, #FFB6D9, #FFC9E0);
  border-radius: 4px;
  animation: loading 1s ease-in-out infinite;
}

.loading-bar:nth-child(2) { animation-delay: 0.1s; }
.loading-bar:nth-child(3) { animation-delay: 0.2s; }
.loading-bar:nth-child(4) { animation-delay: 0.3s; }

@keyframes loading {
  0%, 100% { 
    transform: scaleY(1);
    opacity: 0.5;
  }
  50% { 
    transform: scaleY(2);
    opacity: 1;
  }
}

/* Animación de Revelado de Card */
.reveal-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Efecto Brillo Suave */
.shine {
  position: relative;
  overflow: hidden;
}

.shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  transition: 0.8s;
}

.shine:hover::after {
  left: 100%;
}

/* Efecto Glitch Suave */
.glitch {
  position: relative;
  animation: glitch-soft 8s infinite;
}

@keyframes glitch-soft {
  0%, 98% { 
    transform: translate(0);
  }
  99% { 
    transform: translate(-1px, 1px);
  }
  100% { 
    transform: translate(0);
  }
}

/* Blob Suave */
.blob {
  background: linear-gradient(135deg, rgba(255, 182, 217, 0.2), rgba(255, 201, 224, 0.15));
  border-radius: 50%;
  animation: blob-animation 20s infinite;
  filter: blur(40px);
  opacity: 0.4;
}

@keyframes blob-animation {
  0%, 100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
}

/* Efecto Typewriter Suave */
.typewriter {
  overflow: hidden;
  border-right: 2px solid #FFB6D9;
  white-space: nowrap;
  animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: #FFB6D9; }
}

/* Efecto Pulso Suave */
.pulse-soft {
  animation: pulse-gentle 3s ease-in-out infinite;
}

@keyframes pulse-gentle {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.02);
    opacity: 0.95;
  }
}

/* Fade In Suave */
.fade-in {
  animation: fadeIn 0.8s ease-out;
}

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

/* Efecto Shimmer */
.shimmer {
  background: linear-gradient(
    90deg,
    #f0f0f0 25%,
    #e0e0e0 50%,
    #f0f0f0 75%
  );
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}