.page-resources-jiliace-game-guide {
  color: #333333; /* Default text color for light background */
  background-color: var(--secondary-color); /* Inherits from shared.css, assuming light */
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-resources-jiliace-game-guide__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 400px; /* Minimum height for hero section */
}

.page-resources-jiliace-game-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources-jiliace-game-guide__hero-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF; /* White text for hero content on image background */
  padding: 40px 20px;
  max-width: 900px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for text readability */
  border-radius: 8px;
}

.page-resources-jiliace-game-guide__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Golden color for main title */
}

.page-resources-jiliace-game-guide__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-resources-jiliace-game-guide__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color for CTA button */
  color: #000000; /* Black text on golden button */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-resources-jiliace-game-guide__cta-button:hover {
  background-color: #e0a53a;
}

.page-resources-jiliace-game-guide__content-area {
  max-width: 800px; /* Content width for comfortable reading */
  margin: 40px auto;
  padding: 0 20px;
  line-height: 1.7;
  font-size: 1.1em;
}

.page-resources-jiliace-game-guide__back-link,
.page-resources-jiliace-game-guide__back-link-bottom {
  display: inline-block;
  margin-bottom: 30px;
  color: #000000; /* Dark text for links on light background */
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: color 0.3s ease;
}

.page-resources-jiliace-game-guide__back-link:hover,
.page-resources-jiliace-game-guide__back-link-bottom:hover {
  color: #FCBC45;
}

.page-resources-jiliace-game-guide__article h2,
.page-resources-jiliace-game-guide__article h3 {
  color: #000000; /* Black for section titles */
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-resources-jiliace-game-guide__section-title {
  font-size: 2em;
}

.page-resources-jiliace-game-guide__sub-section-title {
  font-size: 1.6em;
}

.page-resources-jiliace-game-guide__paragraph {
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-jiliace-game-guide__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  object-fit: cover;
}

.page-resources-jiliace-game-guide__image-centered {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-resources-jiliace-game-guide__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-resources-jiliace-game-guide__list-item {
  margin-bottom: 10px;
  color: #333333;
}

.page-resources-jiliace-game-guide__responsible-gaming-link {
  display: inline-block;
  margin-top: 15px;
  color: #000000;
  text-decoration: underline;
  font-weight: bold;
}

.page-resources-jiliace-game-guide__responsible-gaming-link:hover {
  color: #FCBC45;
}

.page-resources-jiliace-game-guide__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
}

.page-resources-jiliace-game-guide__register-button,
.page-resources-jiliace-game-guide__login-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, color 0.3s ease;
}

.page-resources-jiliace-game-guide__register-button {
  background-color: #000000; /* Main color for register button */
  color: #FFFFFF; /* White text on black button */
}

.page-resources-jiliace-game-guide__register-button:hover {
  background-color: #333333;
}

.page-resources-jiliace-game-guide__login-button {
  background-color: #FCBC45; /* Login color for login button */
  color: #000000; /* Black text on golden button */
}

.page-resources-jiliace-game-guide__login-button:hover {
  background-color: #e0a53a;
}

.page-resources-jiliace-game-guide__related-resources {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-resources-jiliace-game-guide__related-item {
  margin-bottom: 10px;
}

.page-resources-jiliace-game-guide__related-item a {
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-resources-jiliace-game-guide__related-item a:hover {
  color: #FCBC45;
  text-decoration: underline;
}

.page-resources-jiliace-game-guide__return-to-resources {
  text-align: center;
  margin-top: 50px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-resources-jiliace-game-guide__hero-content {
    padding: 20px;
  }

  .page-resources-jiliace-game-guide__main-title {
    font-size: 2em;
  }

  .page-resources-jiliace-game-guide__intro-text {
    font-size: 1em;
  }

  .page-resources-jiliace-game-guide__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-resources-jiliace-game-guide__content-area {
    padding: 0 15px;
    font-size: 1em;
  }

  .page-resources-jiliace-game-guide__section-title {
    font-size: 1.6em;
  }

  .page-resources-jiliace-game-guide__sub-section-title {
    font-size: 1.3em;
  }

  .page-resources-jiliace-game-guide__image-full-width,
  .page-resources-jiliace-game-guide__image-centered {
    max-width: 100%;
    height: auto; /* Ensures images are responsive and do not cause overflow */
  }

  .page-resources-jiliace-game-guide__cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .page-resources-jiliace-game-guide__register-button,
  .page-resources-jiliace-game-guide__login-button {
    width: 100%;
    max-width: 280px; /* Limit button width on small screens */
  }
}