.page-resources-okplay-ph-platform-guide {
  color: #333333; /* Dark text for light background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
  padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
}

.page-resources-okplay-ph-platform-guide__hero-section {
  background-color: #000000; /* Main color for hero background */
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-resources-okplay-ph-platform-guide__hero-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-resources-okplay-ph-platform-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  max-width: 1000px; /* Ensure image doesn't overflow */
  margin-left: auto;
  margin-right: auto;
}

.page-resources-okplay-ph-platform-guide__hero-title {
  font-size: 3.2em;
  color: #FFFFFF;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-okplay-ph-platform-guide__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-resources-okplay-ph-platform-guide__hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-okplay-ph-platform-guide__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
  font-size: 1.1em;
}

.page-resources-okplay-ph-platform-guide__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-resources-okplay-ph-platform-guide__button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-resources-okplay-ph-platform-guide__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-resources-okplay-ph-platform-guide__button--login:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-resources-okplay-ph-platform-guide__button--download {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-resources-okplay-ph-platform-guide__button--download:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-resources-okplay-ph-platform-guide__content-area {
  max-width: 800px; /* Content width for readability */
  margin: 40px auto;
  padding: 0 20px;
}

.page-resources-okplay-ph-platform-guide__back-link {
  display: inline-block;
  margin-bottom: 30px;
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-okplay-ph-platform-guide__back-link:hover {
  color: #e0a53b;
}

.page-resources-okplay-ph-platform-guide__article {
  background-color: #FFFFFF;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-resources-okplay-ph-platform-guide__section-title {
  font-size: 2.2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: bold;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-resources-okplay-ph-platform-guide__sub-section-title {
  font-size: 1.8em;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-okplay-ph-platform-guide__article p {
  margin-bottom: 20px;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-resources-okplay-ph-platform-guide__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-resources-okplay-ph-platform-guide__list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-resources-okplay-ph-platform-guide__button--register-inline,
.page-resources-okplay-ph-platform-guide__button--explore-games,
.page-resources-okplay-ph-platform-guide__button--responsible-gaming,
.page-resources-okplay-ph-platform-guide__button--contact-support,
.page-resources-okplay-ph-platform-guide__button--get-started {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-top: 20px;
  margin-bottom: 30px;
  padding: 12px 25px;
  font-size: 1em;
}

.page-resources-okplay-ph-platform-guide__button--register-inline:hover,
.page-resources-okplay-ph-platform-guide__button--explore-games:hover,
.page-resources-okplay-ph-platform-guide__button--responsible-gaming:hover,
.page-resources-okplay-ph-platform-guide__button--contact-support:hover,
.page-resources-okplay-ph-platform-guide__button--get-started:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-resources-okplay-ph-platform-guide__image {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum image size */
  min-height: 200px;
}

.page-resources-okplay-ph-platform-guide__final-cta-group {
  text-align: center;
  margin-top: 50px;
}

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

  .page-resources-okplay-ph-platform-guide__hero-description {
    font-size: 1em;
  }

  .page-resources-okplay-ph-platform-guide__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-okplay-ph-platform-guide__button {
    width: 100%;
    max-width: 300px;
  }

  .page-resources-okplay-ph-platform-guide__content-area {
    padding: 0 15px;
  }

  .page-resources-okplay-ph-platform-guide__article {
    padding: 20px;
  }

  .page-resources-okplay-ph-platform-guide__section-title {
    font-size: 1.8em;
  }

  .page-resources-okplay-ph-platform-guide__sub-section-title {
    font-size: 1.5em;
  }

  .page-resources-okplay-ph-platform-guide__article p,
  .page-resources-okplay-ph-platform-guide__list li {
    font-size: 0.95em;
  }

  .page-resources-okplay-ph-platform-guide__image {
    max-width: 100%;
    height: auto;
  }
  
  /* Critical: Ensure content images are responsive and don't overflow */
  .page-resources-okplay-ph-platform-guide img {
    max-width: 100%;
    height: auto;
  }
}