/* Sports Gallery Section */
#sports {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #161623;
  position: relative;
  padding: 5rem 2rem;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
}

.card {
  position: relative;
  width: 350px;
  height: 550px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  backdrop-filter: blur(15px);
  overflow: hidden;
  border: 1px solid rgba(255, 95, 162, 0.3);
  box-shadow: 0 15px 35px rgba(255, 95, 162, 0.2);
  transition: all 0.5s ease;
}

.card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(255, 95, 162, 0.4);
  border-color: rgba(255, 95, 162, 0.5);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  z-index: 1;
}

.card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: white;
  height: 100%;
}

.card-image {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 5px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image img {
  transform: scale(1.1);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  background: linear-gradient(90deg, #ff5fa2, #ba68c8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.card-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  text-align: center;
}

.card-stats {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.value {
  font-size: 1.3rem;
  font-weight: 600;
  background: linear-gradient(90deg, #ff5fa2, #ba68c8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.type {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-button {
  padding: 10px 30px;
  background: rgba(255, 95, 162, 0.2);
  border: 1px solid rgba(255, 95, 162, 0.4);
  border-radius: 30px;
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  align-self: center;
  backdrop-filter: blur(10px);
}

.card-button:hover {
  background: rgba(255, 95, 162, 0.4);
  box-shadow: 0 5px 15px rgba(255, 95, 162, 0.3);
  transform: translateY(-3px);
}

/* Animated Background Shapes */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.background .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: floatAnimation 8s infinite alternate ease-in-out;
}

.shape1 {
  width: 500px;
  height: 500px;
  background: linear-gradient(45deg, #ff5fa2, #ff8fcf);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.shape2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(45deg, #8e24aa, #ba68c8);
  bottom: -100px;
  left: -100px;
  animation-delay: 2s;
}

.shape3 {
  width: 300px;
  height: 300px;
  background: linear-gradient(45deg, #d81b60, #ff5fa2);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 4s;
}

@keyframes floatAnimation {
  0% {
    transform: translateY(0) translateX(0) scale(1);
  }
  100% {
    transform: translateY(-40px) translateX(20px) scale(1.1);
  }
}

/* Responsive */
@media (max-width: 768px) {
  #sports {
    padding: 3rem 1rem;
  }

  .container {
    padding: 20px;
  }

  .card {
    width: 320px;
    height: 520px;
  }
}
