/* style/index-hot-games.css */
.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 */
}

.page-index-hot-games__hero-section {
  background-color: #000000; /* Main color as background for hero */
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  color: #FFFFFF; /* Light text on dark background */
}

.page-index-hot-games__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-index-hot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Highlight with login button color */
  font-weight: bold;
}

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

.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: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s 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: #e0a030;
  transform: translateY(-2px);
}

.page-index-hot-games__hero-image-wrapper {
  width: 100%;
  max-width: 1000px; /* Adjust max-width as needed */
  margin-top: 40px;
}

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

.page-index-hot-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin: 60px 0 30px;
  color: #000000;
}

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

.page-index-hot-games__featured-games-section,
.page-index-hot-games__why-choose-section,
.page-index-hot-games__promotions-section,
.page-index-hot-games__responsible-gaming-section,
.page-index-hot-games__download-app-section,
.page-index-hot-games__faq-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

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

.page-index-hot-games__game-category {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-index-hot-games__game-category:hover {
  transform: translateY(-5px);
}

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

.page-index-hot-games__category-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small */
  min-width: 200px;
  min-height: 200px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.page-index-hot-games__category-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
}

.page-index-hot-games__button--play-now {
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  font-size: 1em;
}

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

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

.page-index-hot-games__benefit-card {
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-index-hot-games__benefit-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #FCBC45;
}

.page-index-hot-games__benefit-description {
  font-size: 0.95em;
  color: #cccccc;
}

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

.page-index-hot-games__promotion-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-index-hot-games__promotion-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small */
  min-width: 200px;
  min-height: 200px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-index-hot-games__promotion-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #000000;
}

.page-index-hot-games__promotion-description {
  font-size: 0.9em;
  color: #666666;
  margin-bottom: 20px;
}

.page-index-hot-games__button--view-all,
.page-index-hot-games__button--learn-more {
  background-color: #000000;
  color: #FFFFFF;
  margin-top: 40px;
  padding: 12px 25px;
  font-size: 1em;
}

.page-index-hot-games__button--view-all:hover,
.page-index-hot-games__button--learn-more:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-index-hot-games__download-app-section {
  background-color: #FCBC45;
  color: #000000;
  padding: 60px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-index-hot-games__download-app-section .page-index-hot-games__section-title {
  color: #000000;
}

.page-index-hot-games__download-app-section .page-index-hot-games__section-intro {
  color: #333333;
}

.page-index-hot-games__app-image {
  width: 100%;
  max-width: 300px; /* Portrait image for phone */
  min-width: 200px;
  min-height: 200px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-index-hot-games__button--download {
  background-color: #000000;
  color: #FFFFFF;
  padding: 15px 30px;
  font-size: 1.1em;
}

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

.page-index-hot-games__faq-list {
  margin-top: 40px;
}

.page-index-hot-games__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-index-hot-games__faq-question {
  font-size: 1.2em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-index-hot-games__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-index-hot-games__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-index-hot-games__faq-answer {
  font-size: 1em;
  color: #666666;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding-top: 0;
}

.page-index-hot-games__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  padding-top: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-index-hot-games {
    padding-top: var(--header-offset, 80px);
  }

  .page-index-hot-games__hero-title {
    font-size: 2.5em;
  }

  .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: 80%;
    max-width: 300px;
  }

  .page-index-hot-games__section-title {
    font-size: 2em;
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .page-index-hot-games__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-index-hot-games__game-category,
  .page-index-hot-games__benefit-card,
  .page-index-hot-games__promotion-card {
    padding: 20px;
  }

  .page-index-hot-games__category-title {
    font-size: 1.5em;
  }

  .page-index-hot-games__category-image,
  .page-index-hot-games__promotion-image,
  .page-index-hot-games__app-image {
    max-width: 100%;
    width: 100%; /* Ensure images don't overflow */
    height: auto; /* Maintain aspect ratio */
    min-width: 200px;
    min-height: 200px;
  }

  .page-index-hot-games__download-app-section {
    padding: 40px 20px;
  }

  .page-index-hot-games__button--download {
    width: 90%;
  }

  /* Ensure all content area images are responsive and not too small */
  .page-index-hot-games img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size even on mobile */
    min-height: 200px;
  }
}