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

.page-resources-jilibet-popular-games__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero content overlay */
  color: #FFFFFF;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Minimum height for hero section */
}

.page-resources-jilibet-popular-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6; /* Slightly dim the background image for text readability */
}

.page-resources-jilibet-popular-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-resources-jilibet-popular-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-resources-jilibet-popular-games__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-jilibet-popular-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;
  font-size: 1.1em;
  text-align: center;
  cursor: pointer;
}

.page-resources-jilibet-popular-games__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-resources-jilibet-popular-games__button--register:hover {
  background-color: #E0E0E0;
  transform: translateY(-2px);
}

.page-resources-jilibet-popular-games__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-resources-jilibet-popular-games__button--login:hover {
  background-color: #E6A73D;
  transform: translateY(-2px);
}

.page-resources-jilibet-popular-games__button--claim-bonus,
.page-resources-jilibet-popular-games__button--download-app,
.page-resources-jilibet-popular-games__button--register-now,
.page-resources-jilibet-popular-games__button--explore-games {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-resources-jilibet-popular-games__button--claim-bonus:hover,
.page-resources-jilibet-popular-games__button--download-app:hover,
.page-resources-jilibet-popular-games__button--register-now:hover,
.page-resources-jilibet-popular-games__button--explore-games:hover {
  background-color: #E6A73D;
  transform: translateY(-2px);
}

.page-resources-jilibet-popular-games__button--learn-more,
.page-resources-jilibet-popular-games__button--responsible-gaming,
.page-resources-jilibet-popular-games__button--view-all-faqs {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-resources-jilibet-popular-games__button--learn-more:hover,
.page-resources-jilibet-popular-games__button--responsible-gaming:hover,
.page-resources-jilibet-popular-games__button--view-all-faqs:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-resources-jilibet-popular-games__content-area {
  max-width: 800px; /* Constrain content width for readability */
  margin: 0 auto;
  padding: 40px 20px;
}

.page-resources-jilibet-popular-games__article {
  margin-bottom: 60px;
}

.page-resources-jilibet-popular-games__article-heading {
  font-size: 2.5em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}

.page-resources-jilibet-popular-games__sub-heading {
  font-size: 1.8em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-jilibet-popular-games__article-paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-jilibet-popular-games__ordered-list,
.page-resources-jilibet-popular-games__faq-list {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-resources-jilibet-popular-games__faq-list {
  list-style-type: none;
  padding: 0;
}

.page-resources-jilibet-popular-games__list-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #333333;
}

.page-resources-jilibet-popular-games__faq-item {
  background-color: #F8F8F8;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
}

.page-resources-jilibet-popular-games__faq-question {
  font-size: 1.2em;
  color: #000000;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-resources-jilibet-popular-games__faq-answer {
  font-size: 1em;
  color: #555555;
  margin-bottom: 0;
}

.page-resources-jilibet-popular-games__article-image {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-resources-jilibet-popular-games__final-cta-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  align-items: center;
}

.page-resources-jilibet-popular-games__back-to-resources {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #E0E0E0;
}

.page-resources-jilibet-popular-games__back-link {
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
}

.page-resources-jilibet-popular-games__back-link:hover {
  text-decoration: underline;
  color: #FCBC45;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-resources-jilibet-popular-games__hero-title {
    font-size: 3em;
  }
}

@media (max-width: 768px) {
  .page-resources-jilibet-popular-games__hero-section {
    min-height: 500px;
  }

  .page-resources-jilibet-popular-games__hero-content {
    padding: 30px;
  }

  .page-resources-jilibet-popular-games__hero-title {
    font-size: 2.5em;
  }

  .page-resources-jilibet-popular-games__hero-description {
    font-size: 1em;
  }

  .page-resources-jilibet-popular-games__hero-actions {
    flex-direction: column;
  }

  .page-resources-jilibet-popular-games__button {
    width: 100%;
    padding: 12px 20px;
  }

  .page-resources-jilibet-popular-games__content-area {
    padding: 20px 15px;
  }

  .page-resources-jilibet-popular-games__article-heading {
    font-size: 2em;
  }

  .page-resources-jilibet-popular-games__sub-heading {
    font-size: 1.5em;
  }

  .page-resources-jilibet-popular-games__article-paragraph,
  .page-resources-jilibet-popular-games__list-item,
  .page-resources-jilibet-popular-games__faq-question,
  .page-resources-jilibet-popular-games__faq-answer {
    font-size: 0.95em;
  }

  .page-resources-jilibet-popular-games__article-image {
    max-width: 100%;
    height: auto;
    /* Enforce min-size for content images */
    min-width: 200px;
    min-height: 200px;
  }

  /* Critical: Ensure all images within content area are responsive and do not overflow */
  .page-resources-jilibet-popular-games img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-resources-jilibet-popular-games__hero-title {
    font-size: 2em;
  }

  .page-resources-jilibet-popular-games__hero-content {
    padding: 20px;
  }

  .page-resources-jilibet-popular-games__article-heading {
    font-size: 1.8em;
  }

  .page-resources-jilibet-popular-games__sub-heading {
    font-size: 1.3em;
  }
}