/* Rwanda Premier League Match Day Experience Enhancements */

/* Additional styles for interactive map */
.rwanda-map-outline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100%" height="100%"><path d="M30,20 C35,15 45,10 55,15 C65,20 75,25 80,35 C85,45 85,55 80,65 C75,75 65,80 55,85 C45,90 35,85 25,75 C15,65 15,50 30,20 Z" fill="none" stroke="rgba(52,152,219,0.3)" stroke-width="1" /></svg>');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.5;
  z-index: 0;
}

.location-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background: transparent;
  border: 2px solid rgba(52, 152, 219, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ripple 1.5s ease-out infinite;
  pointer-events: none;
}

@keyframes ripple {
  0% {
    width: 0px;
    height: 0px;
    opacity: 0.5;
  }
  100% {
    width: 50px;
    height: 50px;
    opacity: 0;
  }
}

/* Ticket animation enhancements */
.ticket-hover {
  transform: translateY(-8px) rotate(1deg);
}

.price-emphasis {
  animation: price-pop 0.3s ease;
}

@keyframes price-pop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.ticket-decoration-circle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.ticket-hover .ticket-decoration-circle {
  background: rgba(255, 255, 255, 0.4);
}

/* Fan Experience icon animation */
.icon-bounce {
  animation: icon-bounce 0.5s ease;
}

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

.icon-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 20px rgba(52, 152, 219, 0.5);
  animation: glow-fade 1s ease-out;
  pointer-events: none;
}

@keyframes glow-fade {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

/* Button highlight animation */
.btn-highlight {
  animation: btn-pulse 0.5s ease infinite alternate;
}

@keyframes btn-pulse {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}

/* Rwanda-themed particles */
.rwanda-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  animation: float-particle 15s infinite linear;
}

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

/* Mobile responsiveness enhancements */
@media (max-width: 768px) {
  .rpl-match-experience-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .rpl-match-experience-card .card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
    top: -10px;
    right: -10px;
  }

  .ticket-card {
    padding: 1rem;
  }

  .feature-card {
    padding: 1rem;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  .fan-experience-features .col-md-4 {
    margin-bottom: 1rem;
  }
}
