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

.page-responsible-gaming__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-responsible-gaming__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding: 0;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-responsible-gaming__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.7); /* Slightly darken image for text readability, not changing color */
}

.page-responsible-gaming__hero-overlay {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 800px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

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

.page-responsible-gaming__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-responsible-gaming__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-responsible-gaming__hero-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;
  font-size: 1.1em;
}

.page-responsible-gaming__hero-button--primary {
  background-color: #E3B505;
  color: #0A2463;
}

.page-responsible-gaming__hero-button--primary:hover {
  background-color: #ebcb50;
  transform: translateY(-2px);
}

.page-responsible-gaming__hero-button--secondary {
  background-color: transparent;
  color: #E3B505;
  border: 2px solid #E3B505;
}

.page-responsible-gaming__hero-button--secondary:hover {
  background-color: rgba(227, 181, 5, 0.2);
  transform: translateY(-2px);
}

.page-responsible-gaming__commitment-section,
.page-responsible-gaming__problem-gambling-section,
.page-responsible-gaming__prevention-section,
.page-responsible-gaming__fairness-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-responsible-gaming__section--dark {
  background-color: #0A2463;
  color: #f0f0f0;
}

.page-responsible-gaming__section--dark .page-responsible-gaming__section-title {
  color: #E3B505;
}

.page-responsible-gaming__section--dark .page-responsible-gaming__section-description {
  color: #cccccc;
}

.page-responsible-gaming__section-title {
  font-size: 2.5em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-responsible-gaming__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #E3B505;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-responsible-gaming__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: -20px auto 60px;
  color: #555555;
}

.page-responsible-gaming__section--dark .page-responsible-gaming__section-description {
  color: #cccccc;
}

.page-responsible-gaming__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-responsible-gaming__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-responsible-gaming__text-content {
  flex: 1;
  min-width: 300px;
}

.page-responsible-gaming__text-content p {
  margin-bottom: 20px;
  font-size: 1.05em;
}

.page-responsible-gaming__image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-responsible-gaming__section-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-responsible-gaming__tools-grid,
.page-responsible-gaming__resources-grid,
.page-responsible-gaming__software-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-responsible-gaming__tool-card,
.page-responsible-gaming__resource-card,
.page-responsible-gaming__software-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-responsible-gaming__tool-card:hover,
.page-responsible-gaming__resource-card:hover,
.page-responsible-gaming__software-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.2);
}

.page-responsible-gaming__tool-title,
.page-responsible-gaming__resource-title,
.page-responsible-gaming__software-title {
  font-size: 1.6em;
  color: #E3B505;
  margin-bottom: 15px;
}

.page-responsible-gaming__tool-description,
.page-responsible-gaming__resource-description,
.page-responsible-gaming__software-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-responsible-gaming__resource-link {
  display: inline-block;
  margin-top: 20px;
  color: #E3B505;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #E3B505;
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-responsible-gaming__resource-link:hover {
  color: #ebcb50;
  border-color: #ebcb50;
}

.page-responsible-gaming__checklist {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-responsible-gaming__checklist-item {
  background: #f9f9f9;
  border-left: 5px solid #E3B505;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 1.1em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-responsible-gaming__action-center {
  text-align: center;
  margin-top: 60px;
}

.page-responsible-gaming__action-button {
  display: inline-block;
  padding: 15px 40px;
  background-color: #E3B505;
  color: #0A2463;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-responsible-gaming__action-button:hover {
  background-color: #ebcb50;
  transform: translateY(-2px);
}

.page-responsible-gaming__cta-section {
  background-color: #0A2463;
  padding: 100px 0;
  text-align: center;
  color: #ffffff;
}

.page-responsible-gaming__cta-container {
  max-width: 900px;
}

.page-responsible-gaming__cta-title {
  font-size: 3em;
  color: #E3B505;
  margin-bottom: 20px;
}

.page-responsible-gaming__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-responsible-gaming__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-responsible-gaming__cta-button {
  display: inline-block;
  padding: 18px 45px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-responsible-gaming__cta-button--primary {
  background-color: #E3B505;
  color: #0A2463;
}

.page-responsible-gaming__cta-button--primary:hover {
  background-color: #ebcb50;
  transform: translateY(-2px);
}

.page-responsible-gaming__cta-button--secondary {
  background-color: transparent;
  color: #E3B505;
  border: 2px solid #E3B505;
}

.page-responsible-gaming__cta-button--secondary:hover {
  background-color: rgba(227, 181, 5, 0.2);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-responsible-gaming__hero-title {
    font-size: 2.4em;
  }
  .page-responsible-gaming__section-title {
    font-size: 2em;
  }
  .page-responsible-gaming__cta-title {
    font-size: 2.5em;
  }
  .page-responsible-gaming__content-wrapper {
    flex-direction: column;
  }
  .page-responsible-gaming__content-wrapper--reverse {
    flex-direction: column-reverse;
  }
  .page-responsible-gaming__text-content,
  .page-responsible-gaming__image-wrapper {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-responsible-gaming__hero-title {
    font-size: 2em;
  }
  .page-responsible-gaming__hero-description {
    font-size: 1em;
  }
  .page-responsible-gaming__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-responsible-gaming__hero-button {
    width: 100%;
  }
  .page-responsible-gaming__section-title {
    font-size: 1.8em;
  }
  .page-responsible-gaming__section-description {
    font-size: 0.95em;
  }
  .page-responsible-gaming__tool-card,
  .page-responsible-gaming__resource-card,
  .page-responsible-gaming__software-card {
    padding: 25px;
  }
  .page-responsible-gaming__tool-title,
  .page-responsible-gaming__resource-title,
  .page-responsible-gaming__software-title {
    font-size: 1.4em;
  }
  .page-responsible-gaming__checklist-item {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-responsible-gaming__action-button {
    width: 100%;
    padding: 12px 25px;
  }
  .page-responsible-gaming__cta-title {
    font-size: 2em;
  }
  .page-responsible-gaming__cta-description {
    font-size: 1.1em;
  }
  .page-responsible-gaming__cta-actions {
    flex-direction: column;
  }
  .page-responsible-gaming__cta-button {
    width: 100%;
  }

  /* Mobile content area images must be constrained */
  .page-responsible-gaming img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-responsible-gaming__hero-title {
    font-size: 1.6em;
  }
  .page-responsible-gaming__hero-description {
    font-size: 0.9em;
  }
  .page-responsible-gaming__section-title {
    font-size: 1.6em;
  }
  .page-responsible-gaming__cta-title {
    font-size: 1.8em;
  }
  .page-responsible-gaming__hero-overlay {
    padding: 20px 15px;
  }
}