/* WOW Animations CSS - Advanced Effects */
@keyframes floating {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 5px rgba(255, 107, 107, 0.5), 0 0 10px rgba(78, 205, 196, 0.3); }
  50% { box-shadow: 0 0 20px rgba(255, 107, 107, 0.8), 0 0 30px rgba(78, 205, 196, 0.6); }
  100% { box-shadow: 0 0 5px rgba(255, 107, 107, 0.5), 0 0 10px rgba(78, 205, 196, 0.3); }
}

@keyframes rotate-3d {
  0% { transform: perspective(1000px) rotateY(0deg); }
  100% { transform: perspective(1000px) rotateY(360deg); }
}

@keyframes bounce-in {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

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

@keyframes neon-pulse {
  0% { text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #ff6b6b, 0 0 20px #ff6b6b; }
  50% { text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #ff6b6b, 0 0 40px #ff6b6b; }
  100% { text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #ff6b6b, 0 0 20px #ff6b6b; }
}

@keyframes rainbow-text {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 3D Flip Card Effect */
.flip-card {
  perspective: 1000px;
  height: 300px;
  margin-bottom: 30px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.flip-card-front {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.flip-card-back {
  background: linear-gradient(135deg, rgba(78, 205, 196, 0.8), rgba(155, 93, 229, 0.8));
  transform: rotateY(180deg);
  color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Floating Animation */
.float-animation {
  animation: floating 6s ease-in-out infinite;
}

/* Pulse Glow Effect */
.pulse-glow {
  animation: pulse-glow 3s infinite;
}

/* 3D Rotate Effect */
.rotate-3d {
  animation: rotate-3d 15s linear infinite;
}

/* Bounce In Effect */
.bounce-in {
  animation: bounce-in 1s ease forwards;
}

/* Shimmer Effect */
.shimmer-text {
  background: linear-gradient(90deg, #ffffff 0%, #ff6b6b 50%, #4ecdc4 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

/* Neon Text Effect */
.neon-text {
  animation: neon-pulse 2s infinite;
  color: #fff;
}

/* Rainbow Text Effect */
.rainbow-text {
  background: linear-gradient(90deg, #ff6b6b, #ffbe0b, #4ecdc4, #9b5de5, #ff6b6b);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow-text 5s ease infinite;
  font-weight: bold;
}

/* Particle Button Effect */
.particle-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.particle-btn:hover {
  transform: translateY(-5px);
}

.particle-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: all 0.5s ease;
}

.particle-btn:hover::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 0.3;
}

/* Animated Border */
.animated-border {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
}

.animated-border::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #9b5de5, #ffbe0b);
  background-size: 400% 400%;
  z-index: -1;
  animation: rainbow-text 5s ease infinite;
  border-radius: 17px;
}

/* Parallax Effect */
.parallax-container {
  perspective: 1px;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

.parallax-layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.parallax-layer-back {
  transform: translateZ(-1px) scale(2);
}

.parallax-layer-base {
  transform: translateZ(0);
}

/* Tilt Effect */
.tilt-effect {
  transition: transform 0.3s ease;
  transform-style: preserve-3d;
}

.tilt-effect:hover {
  transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
}

/* Typing Animation */
.typing-animation {
  overflow: hidden;
  border-right: 0.15em solid #fff;
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: 0.15em;
  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: #fff }
}

/* Zoom In Effect */
.zoom-in {
  transition: transform 0.5s ease;
}

.zoom-in:hover {
  transform: scale(1.1);
}

/* Spotlight Effect */
.spotlight {
  position: relative;
  overflow: hidden;
}

.spotlight::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.spotlight:hover::after {
  opacity: 1;
}
