/* Additional styles specific to the home page */

/* Hero Banner Animation */
.banner-content h1 {
  animation: fadeInDown 1s ease;
}

.banner-content p {
  animation: fadeInUp 1s ease 0.3s both;
}

.banner-content .cta-button {
  animation: fadeInUp 1s ease 0.6s both;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Game Card Hover Effects */
.game-card {
  position: relative;
  overflow: hidden;
}

.game-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover::before {
  opacity: 1;
}

.game-card h3 {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.game-card:hover h3 {
  color: #fff;
}

/* Amount Option Pulse Effect */
.amount-option.selected::after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px solid #e73323;
  border-radius: 10px;
  animation: pulse 1.5s infinite;
  pointer-events: none;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Special Offers Ribbon */
.offer-card {
  position: relative;
}

.offer-card:nth-child(1)::before {
  content: "Popular";
  position: absolute;
  top: 10px;
  right: -30px;
  background-color: #e73323;
  color: #fff;
  padding: 5px 30px;
  transform: rotate(45deg);
  z-index: 10;
  font-size: 12px;
  font-weight: bold;
}

.offer-card:nth-child(3)::before {
  content: "New";
  position: absolute;
  top: 10px;
  right: -30px;
  background-color: #4caf50;
  color: #fff;
  padding: 5px 30px;
  transform: rotate(45deg);
  z-index: 10;
  font-size: 12px;
  font-weight: bold;
}

/* Checkout Button Glow Effect */
.checkout-button {
  position: relative;
  overflow: hidden;
}

.checkout-button::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -50%;
  }
  20% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

