/* Floating Elements */
.floating-element {
  position: fixed;
  z-index: 1000;
  pointer-events: none;
  user-select: none;
  animation: float 6s ease-in-out infinite;
  font-size: 2.5rem;
  opacity: 0.7;
  filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.2));
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(5deg); }
  50% { transform: translateY(10px) rotate(-5deg); }
  75% { transform: translateY(-10px) rotate(3deg); }
}

/* Confetti Effect */
#confetti-container {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #f00;
  opacity: 0;
  animation: confetti 5s ease-in-out infinite;
}

@keyframes confetti {
  0% {
    transform: translateY(-100px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .floating-element {
    font-size: 1.8rem;
  }
}

/* Hover effects for cards */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Button hover effects */
.btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn:active {
  transform: translateY(0);
}

/* Pulse animation for call-to-action buttons */
.cta .btn {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(255, 107, 53, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
  }
}

/* Bounce animation for featured items */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(-20px);}
  60% {transform: translateY(-10px);}
}

.featured {
  animation: bounce 2s infinite;
}

/* Floating balloons */
.floating-balloon {
  position: fixed;
  z-index: 1000;
  pointer-events: none;
  font-size: 2.5rem;
  animation: float-balloon 20s linear infinite;
  opacity: 0.8;
}

@keyframes float-balloon {
  0% {
    transform: translateY(100vh) scale(0.5);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-100px) scale(1);
    opacity: 0;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .floating-element, .floating-balloon {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}
