.page-resources-game-guides {
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Ensures consistency, though body background comes from shared.css */
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-resources-game-guides__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFFFFF;
  padding: 80px 20px;
  min-height: 500px;
  overflow: hidden;
}

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

.page-resources-game-guides__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  padding: 30px;
  border-radius: 10px;
}

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

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

.page-resources-game-guides__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color for CTA */
  color: #000000; /* Dark text for bright 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-game-guides__hero-button:hover {
  background-color: #FFD700;
}

.page-resources-game-guides__introduction-section,
.page-resources-game-guides__strategy-section,
.page-resources-game-guides__game-type-section,
.page-resources-game-guides__maximizing-wins-section,
.page-resources-game-guides__why-choose-section {
  padding: 60px 0;
  border-bottom: 1px solid #EEEEEE;
}

.page-resources-game-guides__introduction-section:last-of-type,
.page-resources-game-guides__strategy-section:last-of-type,
.page-resources-game-guides__game-type-section:last-of-type,
.page-resources-game-guides__maximizing-wins-section:last-of-type,
.page-resources-game-guides__why-choose-section:last-of-type {
    border-bottom: none;
}

.page-resources-game-guides__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
}

.page-resources-game-guides__text-content {
  font-size: 1.1em;
  margin-bottom: 30px;
  line-height: 1.7;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

.page-resources-game-guides__text-content a {
    color: #0000EE; /* Standard link color */
    text-decoration: underline;
}

.page-resources-game-guides__text-content a:hover {
    color: #551A8B; /* Visited link color */
}

.page-resources-game-guides__image-content {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum width */
  min-height: 200px; /* Enforce minimum height */
}

.page-resources-game-guides__cta-button {
  display: block;
  width: fit-content;
  margin: 40px auto 20px auto;
  background-color: #FCBC45; /* Login color */
  color: #000000;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-resources-game-guides__cta-button:hover {
  background-color: #FFD700;
}

.page-resources-game-guides__cta-button--secondary {
  background-color: #000000; /* Main color */
  color: #FFFFFF;
}

.page-resources-game-guides__cta-button--secondary:hover {
  background-color: #333333;
}

.page-resources-game-guides__back-button {
  display: block;
  width: fit-content;
  margin: 20px auto 0 auto;
  background-color: #FFFFFF; /* Register color */
  color: #000000;
  border: 1px solid #000000;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources-game-guides__back-button:hover {
  background-color: #000000;
  color: #FFFFFF;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources-game-guides__hero-title {
    font-size: 3em;
  }
}

@media (max-width: 768px) {
  .page-resources-game-guides {
    padding-top: var(--header-offset, 120px);
  }

  .page-resources-game-guides__hero-section {
    padding: 60px 15px;
    min-height: 400px;
  }

  .page-resources-game-guides__hero-title {
    font-size: 2.5em;
  }

  .page-resources-game-guides__hero-description {
    font-size: 1em;
  }

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

  .page-resources-game-guides__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-resources-game-guides__text-content {
    font-size: 1em;
    padding: 0 15px;
    text-align: left; /* More natural for mobile */
  }

  .page-resources-game-guides__image-content {
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    min-width: 200px; /* Enforce minimum width */
    min-height: 200px; /* Enforce minimum height */
  }

  .page-resources-game-guides__cta-button,
  .page-resources-game-guides__back-button {
    width: 90%;
    max-width: 300px;
  }
}

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

  .page-resources-game-guides__hero-section {
    padding: 40px 10px;
  }

  .page-resources-game-guides__section-title {
    font-size: 1.8em;
  }

  .page-resources-game-guides__text-content {
    font-size: 0.95em;
  }
}