.page-resources-what-is-gameph-casino {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-resources-what-is-gameph-casino__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  text-align: center;
}

.page-resources-what-is-gameph-casino__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.page-resources-what-is-gameph-casino__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
}

.page-resources-what-is-gameph-casino__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-what-is-gameph-casino__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-resources-what-is-gameph-casino__hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.page-resources-what-is-gameph-casino__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-resources-what-is-gameph-casino__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-resources-what-is-gameph-casino__button--register:hover {
  background-color: #E0E0E0;
  transform: translateY(-2px);
}

.page-resources-what-is-gameph-casino__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-resources-what-is-gameph-casino__button--login:hover {
  background-color: #E6A534;
  transform: translateY(-2px);
}

.page-resources-what-is-gameph-casino__article-content {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-what-is-gameph-casino__section-title {
  font-size: 2.5em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-resources-what-is-gameph-casino__subsection-title {
  font-size: 1.8em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-what-is-gameph-casino__sub-subsection-title {
  font-size: 1.4em;
  color: #333333;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-resources-what-is-gameph-casino__paragraph {
  font-size: 1.1em;
  margin-bottom: 1.5em;
  color: #333333;
}

.page-resources-what-is-gameph-casino__image-wrapper {
  text-align: center;
  margin: 30px 0;
}

.page-resources-what-is-gameph-casino__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-resources-what-is-gameph-casino__cta-button-wrapper {
  text-align: center;
  margin: 40px 0;
}

.page-resources-what-is-gameph-casino__button--download {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-resources-what-is-gameph-casino__button--download:hover {
  background-color: #E6A534;
  transform: translateY(-2px);
}

.page-resources-what-is-gameph-casino__button--join-now {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-resources-what-is-gameph-casino__button--join-now:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-resources-what-is-gameph-casino__related-resources-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: center;
}

.page-resources-what-is-gameph-casino__related-resources-item {
  margin-bottom: 15px;
}

.page-resources-what-is-gameph-casino__related-resources-item a {
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-resources-what-is-gameph-casino__related-resources-item a:hover {
  color: #FCBC45;
  text-decoration: underline;
}

.page-resources-what-is-gameph-casino__button--back-to-home,
.page-resources-what-is-gameph-casino__button--back-to-resources {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 5px;
}

.page-resources-what-is-gameph-casino__button--back-to-home:hover,
.page-resources-what-is-gameph-casino__button--back-to-resources:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-resources-what-is-gameph-casino__hero-title {
    font-size: 2.2em;
  }

  .page-resources-what-is-gameph-casino__hero-description {
    font-size: 1em;
  }

  .page-resources-what-is-gameph-casino__hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-resources-what-is-gameph-casino__button {
    width: 80%;
    margin: 0 auto;
  }

  .page-resources-what-is-gameph-casino__section-title {
    font-size: 2em;
  }

  .page-resources-what-is-gameph-casino__subsection-title {
    font-size: 1.5em;
  }

  .page-resources-what-is-gameph-casino__paragraph {
    font-size: 1em;
  }

  .page-resources-what-is-gameph-casino__article-content {
    margin: 20px auto;
    padding: 0 15px;
  }

  .page-resources-what-is-gameph-casino__content-image {
    max-width: 100%;
    height: auto; /* Ensure images scale down */
    min-width: 200px; /* Maintain min size for content images */
    min-height: 200px; /* Maintain min size for content images */
  }
}

@media (max-width: 480px) {
  .page-resources-what-is-gameph-casino__hero-title {
    font-size: 1.8em;
  }

  .page-resources-what-is-gameph-casino__section-title {
    font-size: 1.8em;
  }

  .page-resources-what-is-gameph-casino__subsection-title {
    font-size: 1.3em;
  }
}