.page-index-featured-games {
  color: #333333; /* Dark text for light body background */
}

.page-index-featured-games__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #FFFFFF;
  padding-bottom: 60px;
}

.page-index-featured-games__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
  padding: 0 20px;
}

.page-index-featured-games__hero-title {
  font-size: 3.5em;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index-featured-games__hero-description {
  font-size: 1.3em;
  color: #333333;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-index-featured-games__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index-featured-games__btn--register {
  background-color: #FFFFFF; /* Custom color for register */
  color: #000000;
  border: 2px solid #000000;
}

.page-index-featured-games__btn--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-index-featured-games__btn--login {
  background-color: #FCBC45; /* Custom color for login */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-index-featured-games__btn--login:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

.page-index-featured-games__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain max width for hero image */
  margin-top: 40px;
}

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

.page-index-featured-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-featured-games__intro-section,
.page-index-featured-games__why-choose-us-section,
.page-index-featured-games__promotions-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-index-featured-games__intro-title,
.page-index-featured-games__categories-title,
.page-index-featured-games__why-choose-us-title,
.page-index-featured-games__promotions-title,
.page-index-featured-games__cta-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
}

.page-index-featured-games__intro-text {
  font-size: 1.1em;
  line-height: 1.7;
  color: #333333;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px auto;
}

.page-index-featured-games__categories-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-index-featured-games__category-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-featured-games__category-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-index-featured-games__card-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-index-featured-games__card-link {
  text-decoration: none;
  color: inherit;
}

.page-index-featured-games__card-link:hover {
  color: #FCBC45;
}

.page-index-featured-games__card-description {
  font-size: 1em;
  color: #555555;
  line-height: 1.5;
  margin-bottom: 25px;
  padding: 0 20px;
  flex-grow: 1;
}

.page-index-featured-games__btn--play {
  background-color: #FCBC45;
  color: #000000;
  border: none;
  padding: 12px 25px;
  font-size: 1em;
}

.page-index-featured-games__btn--play:hover {
  background-color: #e0a53a;
}

.page-index-featured-games__why-choose-us-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-index-featured-games__why-choose-us-text {
  flex: 1;
}

.page-index-featured-games__why-choose-us-title {
  text-align: left;
  font-size: 2.5em;
  margin-bottom: 30px;
}

.page-index-featured-games__why-choose-us-description {
  font-size: 1.1em;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 30px;
}

.page-index-featured-games__why-choose-us-list {
  list-style: none;
  padding: 0;
}

.page-index-featured-games__why-choose-us-list-item {
  font-size: 1.1em;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.page-index-featured-games__why-choose-us-list-item::before {
  content: '✔';
  color: #FCBC45;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-index-featured-games__why-choose-us-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-index-featured-games__why-choose-us-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.page-index-featured-games__promotions-description {
  font-size: 1.1em;
  line-height: 1.7;
  color: #333333;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-index-featured-games__btn--claim-bonus {
  background-color: #FCBC45;
  color: #000000;
  border: none;
  padding: 15px 35px;
  font-size: 1.2em;
  margin: 0 auto 50px auto;
  display: block;
  max-width: fit-content;
}

.page-index-featured-games__btn--claim-bonus:hover {
  background-color: #e0a53a;
}

.page-index-featured-games__promotions-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-index-featured-games__cta-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-index-featured-games__cta-title {
  color: #FFFFFF;
}

.page-index-featured-games__cta-description {
  font-size: 1.2em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-index-featured-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-index-featured-games__btn--download {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-index-featured-games__btn--download:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-featured-games__hero-title {
    font-size: 3em;
  }
  .page-index-featured-games__intro-title,
  .page-index-featured-games__categories-title,
  .page-index-featured-games__why-choose-us-title,
  .page-index-featured-games__promotions-title,
  .page-index-featured-games__cta-title {
    font-size: 2.4em;
  }
  .page-index-featured-games__why-choose-us-content {
    flex-direction: column;
    text-align: center;
  }
  .page-index-featured-games__why-choose-us-title {
    text-align: center;
  }
  .page-index-featured-games__why-choose-us-text {
    order: 2;
  }
  .page-index-featured-games__why-choose-us-image-wrapper {
    order: 1;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .page-index-featured-games__hero-section {
    padding: 40px 15px;
  }
  .page-index-featured-games__hero-title {
    font-size: 2.2em;
  }
  .page-index-featured-games__hero-description {
    font-size: 1.1em;
  }
  .page-index-featured-games__hero-buttons,
  .page-index-featured-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-featured-games__btn {
    width: 100%;
    max-width: 300px;
  }
  .page-index-featured-games__intro-section,
  .page-index-featured-games__categories-section,
  .page-index-featured-games__why-choose-us-section,
  .page-index-featured-games__promotions-section,
  .page-index-featured-games__cta-section {
    padding: 50px 0;
  }
  .page-index-featured-games__intro-title,
  .page-index-featured-games__categories-title,
  .page-index-featured-games__why-choose-us-title,
  .page-index-featured-games__promotions-title,
  .page-index-featured-games__cta-title {
    font-size: 2em;
  }
  .page-index-featured-games__container {
    padding: 0 15px;
  }
  .page-index-featured-games__category-grid {
    grid-template-columns: 1fr;
  }
  /* Mobile content area image protection */
  .page-index-featured-games img {
    max-width: 100%;
    height: auto;
  }
  .page-index-featured-games__category-image {
    height: auto; /* Allow height to adjust for mobile */
  }
  .page-index-featured-games__why-choose-us-image {
    max-width: 100%;
  }
  .page-index-featured-games__promotions-image {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-index-featured-games__hero-title {
    font-size: 1.8em;
  }
  .page-index-featured-games__intro-title,
  .page-index-featured-games__categories-title,
  .page-index-featured-games__why-choose-us-title,
  .page-index-featured-games__promotions-title,
  .page-index-featured-games__cta-title {
    font-size: 1.6em;
  }
  .page-index-featured-games__hero-description {
    font-size: 1em;
  }
  .page-index-featured-games__card-title {
    font-size: 1.4em;
  }
  .page-index-featured-games__why-choose-us-description,
  .page-index-featured-games__why-choose-us-list-item,
  .page-index-featured-games__promotions-description,
  .page-index-featured-games__cta-description {
    font-size: 0.95em;
  }
}