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

.page-index-hot-games__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero content */
  color: #FFFFFF;
  padding: 0;
  margin-bottom: 40px;
}

.page-index-hot-games__hero-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index-hot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly dim the image to make text pop */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.page-index-hot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-index-hot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.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;
  border: none;
  cursor: pointer;
}

.page-index-hot-games__button--register {
  background-color: #FFFFFF;
  color: #000000;
}

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

.page-index-hot-games__button--login {
  background-color: #FCBC45;
  color: #000000;
}

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

.page-index-hot-games__featured-games-section,
.page-index-hot-games__why-eeejl-section,
.page-index-hot-games__cta-section {
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 20px;
  text-align: center;
}

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

.page-index-hot-games__section-intro {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 40px;
}

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

.page-index-hot-games__game-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  min-height: 450px; /* Ensure cards have consistent height */
}

.page-index-hot-games__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.page-index-hot-games__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistent image display */
  object-fit: cover;
  display: block;
}

.page-index-hot-games__game-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-hot-games__game-card-title {
  font-size: 1.8em;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index-hot-games__game-card-title a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-index-hot-games__game-card-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-hot-games__button--play {
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 6px;
  text-align: center;
}

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

.page-index-hot-games__why-eeejl-section {
  background-color: #f0f0f0;
  padding: 60px 20px;
  border-radius: 15px;
  margin-bottom: 60px;
}

.page-index-hot-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-hot-games__feature-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 450px; /* Consistent height for feature items */
}

.page-index-hot-games__feature-icon {
  width: 250px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-index-hot-games__feature-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-hot-games__feature-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-hot-games__button--download,
.page-index-hot-games__button--promo,
.page-index-hot-games__button--contact,
.page-index-hot-games__button--responsible {
  background-color: #000000;
  color: #FFFFFF;
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 6px;
  text-align: center;
  margin-top: auto; /* Push button to bottom */
}

.page-index-hot-games__button--download:hover,
.page-index-hot-games__button--promo:hover,
.page-index-hot-games__button--contact:hover,
.page-index-hot-games__button--responsible:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-index-hot-games__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
  border-radius: 15px;
  margin-bottom: 60px;
}

.page-index-hot-games__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FCBC45;
  font-weight: bold;
}

.page-index-hot-games__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-hot-games__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index-hot-games__button--register-large {
  background-color: #FFFFFF;
  color: #000000;
  padding: 18px 35px;
  font-size: 1.2em;
}

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

.page-index-hot-games__button--explore-large {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-index-hot-games__button--explore-large:hover {
  background-color: #e0a53a;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-hot-games__hero-title {
    font-size: 2.8em;
  }
  .page-index-hot-games__section-title {
    font-size: 2.2em;
  }
  .page-index-hot-games__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-index-hot-games__hero-content {
    padding: 60px 15px;
  }
  .page-index-hot-games__hero-title {
    font-size: 2.2em;
  }
  .page-index-hot-games__hero-description {
    font-size: 1.1em;
  }
  .page-index-hot-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-hot-games__button {
    width: 80%;
  }
  .page-index-hot-games__section-title {
    font-size: 2em;
  }
  .page-index-hot-games__game-grid,
  .page-index-hot-games__features-grid {
    grid-template-columns: 1fr;
  }
  .page-index-hot-games__game-card-image,
  .page-index-hot-games__feature-icon {
    max-width: 100%;
    height: auto;
  }
  .page-index-hot-games__cta-title {
    font-size: 2em;
  }
  .page-index-hot-games__button--register-large,
  .page-index-hot-games__button--explore-large {
    width: 80%;
    padding: 15px 25px;
    font-size: 1.1em;
  }
  /* Ensure content images do not overflow */
  .page-index-hot-games img {
    max-width: 100%;
    height: auto;
  }
  .page-index-hot-games {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-index-hot-games__hero-title {
    font-size: 1.8em;
  }
  .page-index-hot-games__section-title {
    font-size: 1.8em;
  }
  .page-index-hot-games__cta-title {
    font-size: 1.8em;
  }
  .page-index-hot-games__hero-content {
    padding: 40px 10px;
  }
}