/* style/index-featured-games.css */
.page-index-featured-games {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa; /* Light background */
}

.page-index-featured-games__hero {
  background: linear-gradient(135deg, #007bff, #0056b3); /* Darker blue gradient */
  color: #fff;
  padding: 80px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  text-align: center;
}

.page-index-featured-games__hero-content {
  max-width: 700px;
}

.page-index-featured-games__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #fff;
}

.page-index-featured-games__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-index-featured-games__hero-image-wrapper {
  max-width: 500px;
}

.page-index-featured-games__hero-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-index-featured-games__hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index-featured-games__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-index-featured-games__section-title {
  font-size: 2.2em;
  color: #007bff;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index-featured-games__section-description {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-featured-games__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

.page-index-featured-games__btn--primary {
  background-color: #ffc107; /* Secondary color */
  color: #212529; /* Dark text for contrast */
}

.page-index-featured-games__btn--primary:hover {
  background-color: #e0a800; /* Darker secondary */
  transform: translateY(-2px);
}

.page-index-featured-games__btn--secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.page-index-featured-games__btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-index-featured-games__btn--small {
  padding: 8px 18px;
  font-size: 0.9em;
  background-color: #007bff;
  color: #fff;
}

.page-index-featured-games__btn--small:hover {
  background-color: #0056b3;
}

.page-index-featured-games__btn--large {
  padding: 15px 35px;
  font-size: 1.2em;
}

.page-index-featured-games__category-grid,
.page-index-featured-games__feature-grid,
.page-index-featured-games__steps-grid,
.page-index-featured-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-featured-games__category-card,
.page-index-featured-games__feature-item,
.page-index-featured-games__step-card,
.page-index-featured-games__promo-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-index-featured-games__category-card:hover,
.page-index-featured-games__feature-item:hover,
.page-index-featured-games__step-card:hover,
.page-index-featured-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-index-featured-games__category-icon,
.page-index-featured-games__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-index-featured-games__category-title,
.page-index-featured-games__feature-title,
.page-index-featured-games__step-title,
.page-index-featured-games__promo-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-featured-games__category-text,
.page-index-featured-games__feature-text,
.page-index-featured-games__step-text,
.page-index-featured-games__promo-text {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1; /* Allows text to take available space */
}

.page-index-featured-games__step-card {
  position: relative;
  padding-top: 50px;
}

.page-index-featured-games__step-number {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffc107;
  color: #212529;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4em;
  font-weight: bold;
  border: 3px solid #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.page-index-featured-games__promo-image {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-featured-games__promotions-footer-text {
  margin-top: 40px;
  font-size: 1em;
  color: #555;
}

.page-index-featured-games__center-cta {
  margin-top: 40px;
  text-align: center;
}

.highlight-text {
  color: #ffc107;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-featured-games__hero {
    padding: 60px 20px;
    flex-direction: column;
  }

  .page-index-featured-games__hero-title {
    font-size: 2.2em;
  }

  .page-index-featured-games__section-title {
    font-size: 1.8em;
  }

  .page-index-featured-games__category-grid,
  .page-index-featured-games__feature-grid,
  .page-index-featured-games__steps-grid,
  .page-index-featured-games__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index-featured-games__hero-title {
    font-size: 1.8em;
  }

  .page-index-featured-games__hero-description {
    font-size: 1em;
  }

  .page-index-featured-games__section {
    padding: 40px 15px;
  }

  .page-index-featured-games__section-title {
    font-size: 1.6em;
  }

  .page-index-featured-games__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-featured-games__btn--large {
    padding: 12px 25px;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-index-featured-games__hero {
    padding: 30px 15px;
  }

  .page-index-featured-games__hero-title {
    font-size: 1.5em;
  }

  .page-index-featured-games__section-title {
    font-size: 1.4em;
  }

  .page-index-featured-games__btn {
    width: 100%;
  }

  .page-index-featured-games__category-grid,
  .page-index-featured-games__feature-grid,
  .page-index-featured-games__steps-grid,
  .page-index-featured-games__promo-grid {
    grid-template-columns: 1fr;
  }
}