/* Match Day Experience Enhancement Styles */

/* Card base styles with Rwanda-inspired design */
.rpl-match-experience-card {
  position: relative;
  border-radius: 15px;
  background: rgba(26, 82, 118, 0.7);
  backdrop-filter: blur(10px);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 2rem;
  margin-bottom: 1.5rem;
  z-index: 2;
}

.rpl-match-experience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3),
    0 0 0 2px rgba(52, 152, 219, 0.3) inset;
}

/* Card overlay with imigongo pattern */
.rpl-match-experience-card .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(0, 166, 81, 0.05) 0px,
    rgba(0, 166, 81, 0.05) 10px,
    rgba(52, 152, 219, 0.05) 10px,
    rgba(52, 152, 219, 0.05) 20px
  );
  opacity: 0.3;
  z-index: -1;
}

/* Card icon styling */
.rpl-match-experience-card .card-icon {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #3498db, #1a5276);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 10;
  transform: rotate(-10deg);
  transition: all 0.3s ease;
}

.rpl-match-experience-card:hover .card-icon {
  transform: rotate(0deg) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Card content styling */
.rpl-match-experience-card .card-content {
  position: relative;
  z-index: 2;
}

.rpl-match-experience-card .card-title {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  position: relative;
}

.rpl-match-experience-card .card-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #00a651, #fdd216, #3498db);
  transition: width 0.3s ease;
}

.rpl-match-experience-card:hover .card-title::after {
  width: 100px;
}

/* Map styling with interactive elements */
.rpl-map-container {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-height: 180px;
  background-color: rgba(10, 40, 60, 0.3);
}

.team-location {
  position: absolute;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.location-dot {
  display: block;
  width: 12px;
  height: 12px;
  background-color: #3498db;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(52, 152, 219, 0.4);
  animation: pulse-map 2s infinite;
}

@keyframes pulse-map {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
  }
}

.location-tooltip {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  min-width: 120px;
  background-color: rgba(26, 82, 118, 0.95);
  color: #fff;
  text-align: center;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.location-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: rgba(26, 82, 118, 0.95) transparent transparent transparent;
}

.team-location:hover .location-tooltip {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  top: -45px;
}

/* Enhanced ticket styling */
.ticket-card {
  position: relative;
  padding: 1.5rem;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.standard-ticket {
  background: linear-gradient(
    135deg,
    rgba(52, 152, 219, 0.2),
    rgba(26, 82, 118, 0.2)
  );
  border-left: 3px solid #3498db;
}

.vip-ticket {
  background: linear-gradient(
    135deg,
    rgba(253, 210, 22, 0.2),
    rgba(0, 166, 81, 0.2)
  );
  border-left: 3px solid #fdd216;
}

.ticket-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.ticket-type {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.ticket-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.ticket-info {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.ticket-decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-radius: 0 0 0 30px;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1));
}

.standard-ticket .ticket-decoration {
  background: linear-gradient(135deg, transparent, rgba(52, 152, 219, 0.3));
}

.vip-ticket .ticket-decoration {
  background: linear-gradient(135deg, transparent, rgba(253, 210, 22, 0.3));
}

/* Fan experience feature cards */
.fan-experience-features {
  margin-top: 1.5rem;
}

.feature-card {
  position: relative;
  padding: 1.5rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  overflow: hidden;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  border-bottom: 3px solid transparent;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.feature-card:nth-child(1) {
  border-bottom-color: #3498db;
}

.feature-card:nth-child(2) {
  border-bottom-color: #fdd216;
}

.feature-card:nth-child(3) {
  border-bottom-color: #00a651;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(26, 82, 118, 0.3);
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(10deg);
  background: rgba(52, 152, 219, 0.5);
}

.feature-card h5 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.feature-hover {
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: all 0.3s ease;
  text-align: center;
}

.feature-card:hover .feature-hover {
  bottom: 10px;
  opacity: 1;
}

.feature-link {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(52, 152, 219, 0.2);
  color: #fff;
  border-radius: 20px;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.feature-link:hover {
  background: rgba(52, 152, 219, 0.4);
  transform: scale(1.05);
}

/* Button styling */
.btn-rpl {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: linear-gradient(135deg, #3498db, #1a5276);
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-rpl::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(135deg, #1a5276, #3498db);
  transition: all 0.4s ease;
  z-index: -1;
}

.btn-rpl:hover {
  color: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
}

.btn-rpl:hover::before {
  width: 100%;
}

.btn-rpl i {
  margin-left: 5px;
  transition: all 0.3s ease;
}

.btn-rpl:hover i {
  transform: translateX(5px);
}

.btn-view-stadiums,
.btn-buy-tickets {
  margin-top: 1rem;
}
