.page-resources-okfun-ph-responsible-gaming {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #FFFFFF;
}

.page-resources-okfun-ph-responsible-gaming__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #FFFFFF;
  padding: 0;
}

.page-resources-okfun-ph-responsible-gaming__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-resources-okfun-ph-responsible-gaming__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 900px;
  padding: 20px;
  z-index: 10;
}

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

.page-resources-okfun-ph-responsible-gaming__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  color: #FFFFFF;
}

.page-resources-okfun-ph-responsible-gaming__hero-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin: 0 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.1em;
}

.page-resources-okfun-ph-responsible-gaming__hero-button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-resources-okfun-ph-responsible-gaming__hero-button--register:hover {
  background-color: #f0f0f0;
}

.page-resources-okfun-ph-responsible-gaming__hero-button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-resources-okfun-ph-responsible-gaming__hero-button--login:hover {
  background-color: #e0a53b;
}

.page-resources-okfun-ph-responsible-gaming__content-area {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background-color: #FFFFFF;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.page-resources-okfun-ph-responsible-gaming__table-of-contents {
  background-color: #f9f9f9;
  border-left: 4px solid #FCBC45;
  padding: 20px;
  margin-bottom: 40px;
  border-radius: 4px;
}

.page-resources-okfun-ph-responsible-gaming__contents-title {
  font-size: 1.5em;
  color: #000000;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-resources-okfun-ph-responsible-gaming__contents-list {
  list-style-type: none;
  padding: 0;
}

.page-resources-okfun-ph-responsible-gaming__contents-list li a {
  text-decoration: none;
  color: #333333;
  display: block;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.page-resources-okfun-ph-responsible-gaming__contents-list li a:hover {
  color: #FCBC45;
}

.page-resources-okfun-ph-responsible-gaming__article-heading {
  font-size: 2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.page-resources-okfun-ph-responsible-gaming__article-paragraph {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #333333;
}

.page-resources-okfun-ph-responsible-gaming__article-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-okfun-ph-responsible-gaming__article-list li {
  margin-bottom: 10px;
}

.page-resources-okfun-ph-responsible-gaming__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-okfun-ph-responsible-gaming__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 40px;
  text-align: center;
  margin-top: 50px;
  border-radius: 8px;
}

.page-resources-okfun-ph-responsible-gaming__cta-text {
  font-size: 1.5em;
  margin-bottom: 25px;
  color: #FFFFFF;
}

.page-resources-okfun-ph-responsible-gaming__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin: 0 15px;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.2em;
}

.page-resources-okfun-ph-responsible-gaming__cta-button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-resources-okfun-ph-responsible-gaming__cta-button--register:hover {
  background-color: #f0f0f0;
}

.page-resources-okfun-ph-responsible-gaming__cta-button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-resources-okfun-ph-responsible-gaming__cta-button--login:hover {
  background-color: #e0a53b;
}

.page-resources-okfun-ph-responsible-gaming__return-link-wrapper {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.page-resources-okfun-ph-responsible-gaming__return-link {
  text-decoration: none;
  color: #FCBC45;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.2s ease;
}

.page-resources-okfun-ph-responsible-gaming__return-link:hover {
  color: #e0a53b;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-resources-okfun-ph-responsible-gaming__hero-title {
    font-size: 2.5em;
  }

  .page-resources-okfun-ph-responsible-gaming__hero-description {
    font-size: 1em;
  }

  .page-resources-okfun-ph-responsible-gaming__hero-button {
    padding: 10px 20px;
    font-size: 1em;
    margin: 5px;
  }

  .page-resources-okfun-ph-responsible-gaming__content-area {
    padding: 15px;
    margin: 20px auto;
  }

  .page-resources-okfun-ph-responsible-gaming__article-heading {
    font-size: 1.7em;
  }

  .page-resources-okfun-ph-responsible-gaming__article-paragraph {
    font-size: 1em;
  }

  .page-resources-okfun-ph-responsible-gaming__cta-text {
    font-size: 1.2em;
  }

  .page-resources-okfun-ph-responsible-gaming__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    margin: 5px;
  }

  .page-resources-okfun-ph-responsible-gaming__article-image {
    max-width: 100%;
    height: auto;
  }

  /* Ensure content images do not overflow on mobile */
  .page-resources-okfun-ph-responsible-gaming img {
    max-width: 100%;
    height: auto;
  }
  .page-resources-okfun-ph-responsible-gaming {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-resources-okfun-ph-responsible-gaming__hero-title {
    font-size: 2em;
  }

  .page-resources-okfun-ph-responsible-gaming__hero-description {
    font-size: 0.9em;
  }

  .page-resources-okfun-ph-responsible-gaming__hero-button {
    display: block;
    margin: 10px auto;
  }

  .page-resources-okfun-ph-responsible-gaming__cta-button {
    display: block;
    margin: 10px auto;
  }
}