/* style/responsible-gaming.css */
.page-responsible-gaming {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px);
}

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

.page-responsible-gaming__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #1A202C 0%, #3a475e 100%); /* Dark gradient background for hero text */
}

.page-responsible-gaming__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Slightly dim image to ensure text readability */
}

.page-responsible-gaming__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px; /* Ensure hero section has a decent height */
}

.page-responsible-gaming__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for title */
  line-height: 1.2;
}

.page-responsible-gaming__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
}

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

.page-responsible-gaming__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for section titles */
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
}

.page-responsible-gaming__section-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-responsible-gaming__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.1em;
  text-align: center;
}

.page-responsible-gaming__button--primary {
  background-color: #FFD700; /* Gold button */
  color: #1A202C; /* Dark text */
}

.page-responsible-gaming__button--primary:hover {
  background-color: #e5c100;
}

.page-responsible-gaming__button--secondary {
  background-color: #1A202C; /* Dark button */
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-responsible-gaming__button--secondary:hover {
  background-color: #2c3647;
  color: #e5c100;
}

.page-responsible-gaming__button--tertiary {
  background-color: transparent;
  color: #FFD700;
  border: 1px solid #FFD700;
}

.page-responsible-gaming__button--tertiary:hover {
  background-color: #FFD700;
  color: #1A202C;
}

.page-responsible-gaming__button--link {
  background-color: transparent;
  color: #FFD700;
  border: none;
  padding: 0;
  text-decoration: underline;
}

.page-responsible-gaming__button--link:hover {
  color: #e5c100;
}

.page-responsible-gaming__image-full {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px 0;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-responsible-gaming__tool-card,
.page-responsible-gaming__support-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent dark card */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-responsible-gaming__card-title {
  font-size: 1.8em;
  color: #FFD700; /* Gold for card titles */
  margin-bottom: 15px;
}

.page-responsible-gaming__card-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-responsible-gaming__card-image {
  width: 100%; /* Ensure images are not too small */
  max-width: 400px; /* Max width for consistency */
  height: auto;
  object-fit: cover;
  border-radius: 5px;
  margin-top: 20px;
}

.page-responsible-gaming__checklist {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
}

.page-responsible-gaming__checklist-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #FFD700;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  color: #f0f0f0;
  font-size: 1.05em;
}

.page-responsible-gaming__actions {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-responsible-gaming__hero-title {
    font-size: 2.8em;
  }
  .page-responsible-gaming__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-responsible-gaming__hero-section {
    padding: 60px 15px;
  }
  .page-responsible-gaming__hero-title {
    font-size: 2.2em;
  }
  .page-responsible-gaming__hero-description {
    font-size: 1em;
  }
  .page-responsible-gaming__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-responsible-gaming__button {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-responsible-gaming__section-title {
    font-size: 1.8em;
    padding-top: 30px;
  }
  .page-responsible-gaming__section-text {
    font-size: 0.95em;
  }
  .page-responsible-gaming__tools-grid,
  .page-responsible-gaming__support-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-responsible-gaming__tool-card,
  .page-responsible-gaming__support-card {
    padding: 20px;
  }
  .page-responsible-gaming__card-title {
    font-size: 1.5em;
  }
  .page-responsible-gaming__checklist-item {
    font-size: 0.9em;
  }
  /* Mobile content image constraint */
  .page-responsible-gaming img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-responsible-gaming__hero-title {
    font-size: 1.8em;
  }
  .page-responsible-gaming__section-title {
    font-size: 1.5em;
  }
  .page-responsible-gaming__button {
    padding: 12px 20px;
    font-size: 1em;
  }
}