.page-resources-pub777-game-guide {
  color: #ffffff; /* Light text for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-resources-pub777-game-guide__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
  text-align: center;
}

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

.page-resources-pub777-game-guide__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-resources-pub777-game-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
  line-height: 1.6;
}

.page-resources-pub777-game-guide__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin: 0 10px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources-pub777-game-guide__hero-button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-resources-pub777-game-guide__hero-button--register:hover {
  background-color: #e0e0e0;
  transform: translateY(-3px);
}

.page-resources-pub777-game-guide__hero-button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-resources-pub777-game-guide__hero-button--login:hover {
  background-color: #e6a73c;
  transform: translateY(-3px);
}

.page-resources-pub777-game-guide__content-area {
  max-width: 800px; /* Fluid layout for long articles */
  margin: 40px auto;
  padding: 0 20px;
  line-height: 1.8;
  font-size: 1.1em;
}

.page-resources-pub777-game-guide__section-title {
  font-size: 2.8em;
  color: #FCBC45;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-resources-pub777-game-guide__article-section {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-pub777-game-guide__article-heading {
  font-size: 2em;
  color: #FFFFFF;
  margin-bottom: 20px;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-resources-pub777-game-guide__article-image {
  width: 100%;
  height: auto;
  min-width: 200px; /* Minimum size for content images */
  min-height: 200px; /* Minimum size for content images */
  display: block;
  margin: 25px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-resources-pub777-game-guide__paragraph {
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

.page-resources-pub777-game-guide__button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.page-resources-pub777-game-guide__button:hover {
  background-color: #e6a73c;
}

.page-resources-pub777-game-guide__return-link-container {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.page-resources-pub777-game-guide__return-link {
  font-size: 1.2em;
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-pub777-game-guide__return-link:hover {
  color: #FFFFFF;
}

.page-resources-pub777-game-guide__cta-section {
  background: linear-gradient(135deg, rgba(252, 188, 69, 0.1), rgba(0, 0, 0, 0.7));
  padding: 50px 30px;
  border-radius: 15px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-resources-pub777-game-guide__cta-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-pub777-game-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-resources-pub777-game-guide__cta-button {
  display: inline-block;
  padding: 18px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-resources-pub777-game-guide__cta-button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-resources-pub777-game-guide__cta-button--register:hover {
  background-color: #e0e0e0;
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
}

.page-resources-pub777-game-guide__cta-button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-resources-pub777-game-guide__cta-button--login:hover {
  background-color: #e6a73c;
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-resources-pub777-game-guide__hero-title {
    font-size: 2.5em;
  }

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

  .page-resources-pub777-game-guide__hero-button {
    padding: 12px 20px;
    font-size: 1em;
    margin: 0 5px;
  }

  .page-resources-pub777-game-guide__hero-content {
    padding: 30px 15px;
  }

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

  .page-resources-pub777-game-guide__article-heading {
    font-size: 1.5em;
  }

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

  .page-resources-pub777-game-guide__article-image {
    max-width: 100%;
    height: auto;
  }

  .page-resources-pub777-game-guide__cta-title {
    font-size: 2em;
  }

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

  .page-resources-pub777-game-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-pub777-game-guide__cta-button {
    width: 100%;
    max-width: 300px; /* Constrain button width on small screens */
    margin: 0 auto;
    font-size: 1.1em;
  }
}