.page-index-featured-games {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

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

.page-index-featured-games__hero {
  background: linear-gradient(135deg, #007bff, #0056b3); /* Darker blue for better contrast */
  color: #fff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-featured-games__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:hero:gambling,casino,games,tg88,vietnam,abstract_pattern]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-index-featured-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffc107; /* Gold for emphasis */
  position: relative;
  z-index: 1;
}

.page-index-featured-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.page-index-featured-games__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1.1em;
  position: relative;
  z-index: 1;
}

.page-index-featured-games__button--primary {
  background-color: #ffc107;
  color: #0056b3; /* Darker blue for text on gold */
}

.page-index-featured-games__button--primary:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-index-featured-games__button--secondary {
  background-color: #007bff;
  color: #fff;
  border: 2px solid #ffc107;
}

.page-index-featured-games__button--secondary:hover {
  background-color: #0056b3;
  border-color: #e0a800;
  transform: translateY(-2px);
}

.page-index-featured-games__button--tertiary {
  background-color: #f8f9fa;
  color: #007bff;
  border: 1px solid #ced4da;
  padding: 10px 20px;
  font-size: 1em;
}

.page-index-featured-games__button--tertiary:hover {
  background-color: #e2e6ea;
  color: #0056b3;
}

.page-index-featured-games__button--link {
  background: none;
  color: #007bff;
  padding: 0;
  font-size: 1em;
  text-decoration: underline;
}

.page-index-featured-games__button--link:hover {
  color: #0056b3;
  text-decoration: none;
}

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

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

.page-index-featured-games__section-subtitle {
  font-size: 1.1em;
  color: #555;
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-featured-games__section-title--light {
  color: #ffc107;
}

.page-index-featured-games__section-subtitle--light {
  color: #fff;
}

/* Why Choose Section */
.page-index-featured-games__why-choose {
  padding: 80px 0;
  background-color: #f8f9fa;
}

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

.page-index-featured-games__feature-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-featured-games__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

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

.page-index-featured-games__card-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-index-featured-games__feature-card p {
  color: #666;
  margin-bottom: 20px;
}

/* Game Categories Section */
.page-index-featured-games__game-categories {
  padding: 80px 0;
  background-color: #fff;
}

.page-index-featured-games__game-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-index-featured-games__game-card {
  display: flex;
  flex-direction: column;
  background-color: #fefefe;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-featured-games__game-card:nth-child(even) {
  flex-direction: column-reverse; /* Alternating layout for variety */
}

@media (min-width: 768px) {
  .page-index-featured-games__game-card {
    flex-direction: row;
  }
  .page-index-featured-games__game-card:nth-child(even) {
    flex-direction: row-reverse;
  }
}

.page-index-featured-games__game-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-index-featured-games__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .page-index-featured-games__game-image {
    width: 50%;
    height: auto;
  }
}

.page-index-featured-games__game-content {
  padding: 30px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .page-index-featured-games__game-content {
    width: 50%;
  }
}

.page-index-featured-games__game-content .page-index-featured-games__card-title a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-featured-games__game-content .page-index-featured-games__card-title a:hover {
  color: #0056b3;
}

.page-index-featured-games__game-content p {
  color: #444;
  margin-bottom: 15px;
}

/* Call to Action Section */
.page-index-featured-games__cta-section {
  background: linear-gradient(90deg, #007bff, #0056b3);
  padding: 80px 0;
  text-align: center;
}

.page-index-featured-games__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

/* How to Join Section */
.page-index-featured-games__how-to-join {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.page-index-featured-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-index-featured-games__step-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  text-align: center;
  position: relative;
  padding-top: 60px;
}

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

.page-index-featured-games__step-card p {
  color: #666;
  margin-bottom: 15px;
}

.page-index-featured-games__download-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-top: 60px;
}

@media (min-width: 768px) {
  .page-index-featured-games__download-app {
    flex-direction: row;
    text-align: left;
  }
}

.page-index-featured-games__app-image {
  width: 150px;
  height: auto;
  margin-bottom: 30px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .page-index-featured-games__app-image {
    margin-right: 40px;
    margin-bottom: 0;
  }
}

.page-index-featured-games__app-info {
  flex-grow: 1;
  text-align: center;
}

@media (min-width: 768px) {
  .page-index-featured-games__app-info {
    text-align: left;
  }
}

.page-index-featured-games__app-info .page-index-featured-games__card-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-index-featured-games__app-info p {
  color: #555;
  margin-bottom: 25px;
}

/* Tips Section */
.page-index-featured-games__tips {
  padding: 80px 0;
  background-color: #fff;
}

.page-index-featured-games__tip-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

.page-index-featured-games__tip-list li {
  background-color: #f8f9fa;
  margin-bottom: 15px;
  padding: 20px 25px;
  border-left: 5px solid #007bff;
  border-radius: 5px;
  font-size: 1.1em;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-index-featured-games__tip-list li strong {
  color: #0056b3;
}

/* Responsible Gambling Section */
.page-index-featured-games__responsible-gambling {
  padding: 80px 0;
  background-color: #e9f7ff; /* Lighter blue for a calming effect */
}

.page-index-featured-games__responsible-gambling p {
  max-width: 900px;
  margin: 0 auto 20px auto;
  text-align: center;
  color: #444;
  font-size: 1.1em;
}

/* Final CTA Section */
.page-index-featured-games__final-cta {
  background: linear-gradient(135deg, #0056b3, #007bff);
  padding: 80px 0;
  text-align: center;
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-index-featured-games__hero-title {
    font-size: 3em;
  }
  .page-index-featured-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-index-featured-games__hero {
    padding: 80px 0;
  }
  .page-index-featured-games__hero-title {
    font-size: 2.5em;
  }
  .page-index-featured-games__hero-description {
    font-size: 1em;
  }
  .page-index-featured-games__button--large {
    padding: 15px 25px;
    font-size: 1.1em;
  }
  .page-index-featured-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-featured-games__game-card {
    flex-direction: column;
  }
  .page-index-featured-games__game-image {
    height: 200px;
  }
  .page-index-featured-games__game-content {
    padding: 20px;
  }
  .page-index-featured-games__app-image {
    width: 120px;
  }
}

@media (max-width: 576px) {
  .page-index-featured-games__hero-title {
    font-size: 2em;
  }
  .page-index-featured-games__section-title {
    font-size: 1.8em;
  }
  .page-index-featured-games__section-subtitle {
    font-size: 0.9em;
  }
  .page-index-featured-games__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-index-featured-games__feature-card,
  .page-index-featured-games__step-card {
    padding: 25px;
    padding-top: 55px;
  }
  .page-index-featured-games__step-number {
    width: 45px;
    height: 45px;
    font-size: 1.6em;
  }
  .page-index-featured-games__download-app {
    padding: 30px;
  }
  .page-index-featured-games__app-info .page-index-featured-games__card-title {
    font-size: 1.5em;
  }
}