/* style/responsible-gambling.css */
.page-responsible-gambling {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #e5dfd3; /* Light text for dark background, contrast ratio > 4.5:1 with #1A202C */
  background-color: #1A202C; /* Main dark background */
}

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

.page-responsible-gambling__hero {
  background: linear-gradient(135deg, #1A202C 0%, #303d52 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-responsible-gambling__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold for main title, contrast ratio > 4.5:1 with #1A202C */
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-responsible-gambling__hero-description {
  font-size: 1.2em;
  color: #e5dfd3;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-responsible-gambling__hero-image {
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  margin-top: 30px;
}

.page-responsible-gambling__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-responsible-gambling__section:last-of-type {
  border-bottom: none;
}

.page-responsible-gambling__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for section titles, contrast ratio > 4.5:1 with #1A202C */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-responsible-gambling__text {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #e5dfd3;
  text-align: justify;
}

.page-responsible-gambling__text--note {
  font-style: italic;
  text-align: center;
  margin-top: 30px;
  color: #FFD700;
}

.page-responsible-gambling__image {
  display: block;
  max-width: 80%;
  height: auto;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-responsible-gambling__card {
  background-color: #2a3447; /* Slightly lighter dark blue, contrast ratio > 4.5:1 for text */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-responsible-gambling__card:hover {
  transform: translateY(-5px);
}

.page-responsible-gambling__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 20px;
  text-align: center;
}

.page-responsible-gambling__list {
  list-style: disc inside;
  padding-left: 20px;
  color: #e5dfd3;
}

.page-responsible-gambling__list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-responsible-gambling__tool-item {
  background-color: #2a3447;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-responsible-gambling__tool-title {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 15px;
  text-align: center;
}

.page-responsible-gambling__link {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-responsible-gambling__link:hover {
  color: #ffd700cc;
  text-decoration: underline;
}

.page-responsible-gambling__strong {
  color: #FFD700;
  font-weight: bold;
}

.page-responsible-gambling__parental-control, .page-responsible-gambling__help-resources {
  margin-top: 40px;
  background-color: #2a3447;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-responsible-gambling__faq-item {
  background-color: #2a3447;
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-responsible-gambling__faq-question {
  font-size: 1.5em;
  color: #FFD700;
  padding: 20px 30px;
  cursor: pointer;
  position: relative;
  margin: 0;
  background-color: #303d52; /* Slightly darker than card for contrast */
  transition: background-color 0.3s ease;
}

.page-responsible-gambling__faq-question:hover {
  background-color: #3d4a61;
}

.page-responsible-gambling__faq-question::after {
  content: '+';
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-responsible-gambling__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(0deg);
}

.page-responsible-gambling__faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-responsible-gambling__faq-answer p {
  padding-bottom: 20px;
  margin-bottom: 0;
}

.page-responsible-gambling__faq-item.active .page-responsible-gambling__faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding-top: 20px;
  padding-bottom: 20px;
}

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

.page-responsible-gambling__detail-card {
  background-color: #2a3447;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.page-responsible-gambling__detail-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-responsible-gambling__detail-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-responsible-gambling__detail-title a:hover {
  text-decoration: underline;
}

.page-responsible-gambling__detail-description {
  font-size: 1.05em;
  color: #e5dfd3;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-responsible-gambling__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-responsible-gambling__btn--primary {
  background-color: #FFD700;
  color: #1A202C;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-responsible-gambling__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-responsible-gambling__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-responsible-gambling__btn--secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
  transform: translateY(-2px);
}

.page-responsible-gambling__call-to-action {
  background-color: #303d52;
  padding: 80px 0;
  text-align: center;
}

.page-responsible-gambling__call-to-action-content {
  max-width: 800px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-responsible-gambling__hero-title {
    font-size: 2.5em;
  }

  .page-responsible-gambling__hero-description,
  .page-responsible-gambling__text {
    font-size: 1em;
  }

  .page-responsible-gambling__section-title {
    font-size: 2em;
  }

  .page-responsible-gambling__grid,
  .page-responsible-gambling__detail-pages-list {
    grid-template-columns: 1fr;
  }

  .page-responsible-gambling__card,
  .page-responsible-gambling__tool-item,
  .page-responsible-gambling__parental-control,
  .page-responsible-gambling__help-resources,
  .page-responsible-gambling__faq-item,
  .page-responsible-gambling__detail-card {
    padding: 20px;
  }

  .page-responsible-gambling__faq-question {
    font-size: 1.2em;
    padding: 15px 25px;
  }

  .page-responsible-gambling__faq-question::after {
    right: 20px;
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  .page-responsible-gambling__hero-title {
    font-size: 2em;
  }

  .page-responsible-gambling__hero-description {
    font-size: 0.9em;
  }

  .page-responsible-gambling__section-title {
    font-size: 1.8em;
  }

  .page-responsible-gambling__btn {
    padding: 10px 20px;
    font-size: 1em;
  }
}