.page-index-hot-games {
  color: #000000; /* Dark text for light background */
  background-color: #FFFFFF; /* White background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
}

.page-index-hot-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  gap: 30px;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF; /* Light text for dark background */
  position: relative;
  overflow: hidden;
}

.page-index-hot-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
}

.page-index-hot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-index-hot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-index-hot-games__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFFFF;
}

.page-index-hot-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

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

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

.page-index-hot-games__button--register {
  background-color: #000000; /* Black button background */
  color: #FFFFFF; /* White text */
  border: 2px solid #FFFFFF;
}

.page-index-hot-games__button--register:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-index-hot-games__button--login {
  background-color: #FCBC45; /* Gold button background */
  color: #000000; /* Black text */
  border: 2px solid #FCBC45;
}

.page-index-hot-games__button--login:hover {
  background-color: #E0A030;
  transform: translateY(-2px);
}

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

.page-index-hot-games__section-subtitle {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #333333;
}

.page-index-hot-games__featured-games,
.page-index-hot-games__why-tg77-slot,
.page-index-hot-games__get-started,
.page-index-hot-games__new-trending,
.page-index-hot-games__responsible-gaming,
.page-index-hot-games__faq-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.page-index-hot-games__game-grid,
.page-index-hot-games__benefits-grid,
.page-index-hot-games__steps-grid,
.page-index-hot-games__trending-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index-hot-games__game-card,
.page-index-hot-games__benefit-item,
.page-index-hot-games__step-item,
.page-index-hot-games__trending-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #E0E0E0;
}

.page-index-hot-games__game-card:hover,
.page-index-hot-games__benefit-item:hover,
.page-index-hot-games__step-item:hover,
.page-index-hot-games__trending-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.page-index-hot-games__game-card-image,
.page-index-hot-games__benefit-image,
.page-index-hot-games__step-image,
.page-index-hot-games__trending-image {
  width: 100%;
  height: 250px; /* Consistent height for card images */
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #E0E0E0;
}

.page-index-hot-games__game-card-title,
.page-index-hot-games__benefit-title,
.page-index-hot-games__step-title,
.page-index-hot-games__trending-title {
  font-size: 1.5em;
  margin: 20px 15px 10px;
  color: #000000;
  font-weight: bold;
}

.page-index-hot-games__game-card-link {
  text-decoration: none;
  color: #000000;
}

.page-index-hot-games__game-card-link:hover {
  color: #FCBC45;
}

.page-index-hot-games__game-card-description,
.page-index-hot-games__benefit-description,
.page-index-hot-games__step-description,
.page-index-hot-games__trending-description {
  font-size: 1em;
  color: #555555;
  padding: 0 20px;
  margin-bottom: 20px;
}

.page-index-hot-games__button--play,
.page-index-hot-games__button--action,
.page-index-hot-games__button--info {
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  border-radius: 6px;
  margin-bottom: 20px;
  border: none;
}

.page-index-hot-games__button--play:hover,
.page-index-hot-games__button--action:hover,
.page-index-hot-games__button--info:hover {
  background-color: #E0A030;
  transform: translateY(-2px);
}

.page-index-hot-games__responsible-gaming {
  text-align: center;
  margin-top: 100px;
  padding: 50px 20px;
  background-color: #F8F8F8;
  border-radius: 12px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

.page-index-hot-games__responsible-gaming .page-index-hot-games__section-title {
  color: #000000;
}

.page-index-hot-games__responsible-gaming .page-index-hot-games__section-subtitle {
  color: #333333;
  margin-bottom: 30px;
}

.page-index-hot-games__faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-index-hot-games__faq-item {
  background-color: #F9F9F9;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 20px;
  text-align: left;
}

.page-index-hot-games__faq-question {
  font-size: 1.2em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index-hot-games__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-index-hot-games__faq-link {
  color: #000000;
  text-decoration: underline;
}

.page-index-hot-games__faq-link:hover {
  color: #FCBC45;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-index-hot-games__hero-title {
    font-size: 2.2em;
  }
  .page-index-hot-games__hero-description {
    font-size: 1em;
  }
  .page-index-hot-games__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-hot-games__button {
    width: 100%;
    padding: 12px 20px;
  }
  .page-index-hot-games__section-title {
    font-size: 2em;
  }
  .page-index-hot-games__section-subtitle {
    font-size: 0.9em;
  }
  .page-index-hot-games__game-grid,
  .page-index-hot-games__benefits-grid,
  .page-index-hot-games__steps-grid,
  .page-index-hot-games__trending-grid {
    grid-template-columns: 1fr;
  }
  .page-index-hot-games__game-card-image,
  .page-index-hot-games__benefit-image,
  .page-index-hot-games__step-image,
  .page-index-hot-games__trending-image {
    height: 200px; /* Adjust height for smaller screens */
  }
  /* Mobile content area images must not overflow */
  .page-index-hot-games img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-index-hot-games__hero-title {
    font-size: 1.8em;
  }
  .page-index-hot-games__hero-description {
    font-size: 0.9em;
  }
  .page-index-hot-games__section-title {
    font-size: 1.8em;
  }
  .page-index-hot-games__section-subtitle {
    font-size: 0.85em;
  }
}