.page-resources-secure-gaming {
  color: #ffffff; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-resources-secure-gaming__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-resources-secure-gaming__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-resources-secure-gaming__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 80px 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text */
  border-radius: 15px;
}

.page-resources-secure-gaming__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold primary color */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-resources-secure-gaming__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-resources-secure-gaming__hero-button,
.page-resources-secure-gaming__content-button {
  display: inline-block;
  background-color: #8B0000; /* Deep red auxiliary color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-resources-secure-gaming__hero-button:hover,
.page-resources-secure-gaming__content-button:hover {
  background-color: #FFD700; /* Gold on hover */
  color: #8B0000;
  transform: translateY(-2px);
}

.page-resources-secure-gaming__article-section {
  padding: 60px 20px;
  background-color: #333; /* Dark background for content */
}

.page-resources-secure-gaming__article-container {
  max-width: 800px;
  margin: 0 auto;
}

.page-resources-secure-gaming__article-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 40px;
  text-align: center;
}

.page-resources-secure-gaming__article-intro {
  font-size: 1.1em;
  margin-bottom: 40px;
  text-align: justify;
  color: #e0e0e0;
}

.page-resources-secure-gaming__content-block {
  margin-bottom: 50px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05); /* Slightly lighter background for blocks */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-resources-secure-gaming__content-heading {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 20px;
  border-bottom: 2px solid #8B0000;
  padding-bottom: 10px;
}

.page-resources-secure-gaming__content-block p {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

.page-resources-secure-gaming__content-image {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-resources-secure-gaming__back-link {
  text-align: center;
  margin-top: 60px;
}

.page-resources-secure-gaming__back-link a {
  color: #FFD700;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-secure-gaming__back-link a:hover {
  color: #ffffff;
  text-decoration: underline;
}

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

  .page-resources-secure-gaming__hero-description {
    font-size: 1em;
  }

  .page-resources-secure-gaming__hero-button,
  .page-resources-secure-gaming__content-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-resources-secure-gaming__article-title {
    font-size: 2em;
  }

  .page-resources-secure-gaming__content-heading {
    font-size: 1.6em;
  }

  .page-resources-secure-gaming__content-block p {
    font-size: 0.95em;
  }

  .page-resources-secure-gaming__hero-image,
  .page-resources-secure-gaming__content-image {
    max-width: 100%;
    height: auto;
  }
  /* Ensure content area images are responsive and don't overflow */
  .page-resources-secure-gaming img {
    max-width: 100%;
    height: auto;
  }
  .page-resources-secure-gaming__article-container {
    padding: 0 15px;
  }
  .page-resources-secure-gaming__hero-content {
    padding: 40px 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-secure-gaming__hero-title {
    font-size: 1.8em;
  }

  .page-resources-secure-gaming__hero-description {
    font-size: 0.9em;
  }

  .page-resources-secure-gaming__hero-button,
  .page-resources-secure-gaming__content-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-resources-secure-gaming__article-title {
    font-size: 1.8em;
  }

  .page-resources-secure-gaming__content-heading {
    font-size: 1.4em;
  }
  .page-resources-secure-gaming__content-image {
    min-width: unset; /* Allow smaller images if needed on tiny screens, but still >200px due to overall img rule */
    min-height: unset;
  }
}