/* style/resources-responsible-gaming.css */

/* Body background is #0a0a0a (dark), so default text color should be light */
.page-resources-responsible-gaming {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text on dark body background */
  background-color: transparent; /* Main content background handled by sections */
}

.page-resources-responsible-gaming__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  min-height: 500px;
  background: linear-gradient(135deg, #26A9E0, #0a0a0a);
  color: #ffffff;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-resources-responsible-gaming__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-resources-responsible-gaming__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

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

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

.page-resources-responsible-gaming__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  z-index: 0;
}

.page-resources-responsible-gaming__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-resources-responsible-gaming__btn-primary {
  display: inline-block;
  background: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #26A9E0;
}

.page-resources-responsible-gaming__btn-primary:hover {
  background-color: #1a8ecb;
  transform: translateY(-2px);
}

.page-resources-responsible-gaming__btn-secondary {
  display: inline-block;
  background: transparent;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
  border: 2px solid #ffffff;
}

.page-resources-responsible-gaming__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
  transform: translateY(-2px);
}

.page-resources-responsible-gaming__content-section {
  padding: 80px 20px;
}

.page-resources-responsible-gaming__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text on light background */
}

.page-resources-responsible-gaming__dark-bg {
  background-color: #0d0d0d; /* Slightly lighter than body for contrast, but still dark */
  color: #ffffff; /* Light text on dark background */
}

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

.page-resources-responsible-gaming__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources-responsible-gaming__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
}

.page-resources-responsible-gaming__feature-list,
.page-resources-responsible-gaming__tip-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-resources-responsible-gaming__list-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-responsible-gaming__list-item:hover {
  transform: translateY(-5px);
}

.page-resources-responsible-gaming__feature-icon,
.page-resources-responsible-gaming__tip-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px;
}

.page-resources-responsible-gaming__feature-title,
.page-resources-responsible-gaming__tip-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-resources-responsible-gaming__feature-description,
.page-resources-responsible-gaming__tip-description {
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-resources-responsible-gaming__assessment-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-resources-responsible-gaming__card-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 20px;
  text-align: center;
}

.page-resources-responsible-gaming__assessment-list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources-responsible-gaming__assessment-list li {
  margin-bottom: 10px;
  font-size: 1em;
}

.page-resources-responsible-gaming__assessment-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  object-fit: cover;
}

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

.page-resources-responsible-gaming__support-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-resources-responsible-gaming__card-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 20px;
  text-align: center;
}

.page-resources-responsible-gaming__contact-list,
.page-resources-responsible-gaming__external-support-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources-responsible-gaming__contact-list li,
.page-resources-responsible-gaming__external-support-list li {
  margin-bottom: 10px;
  font-size: 1em;
}

.page-resources-responsible-gaming__external-support-list a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-resources-responsible-gaming__external-support-list a:hover {
  text-decoration: underline;
}

.page-resources-responsible-gaming__support-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  object-fit: cover;
}

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

.page-resources-responsible-gaming__myth-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-resources-responsible-gaming__faq-section {
  padding: 80px 20px;
  background-color: #ffffff;
  color: #333333; /* Dark text on light background */
}

.page-resources-responsible-gaming__faq-list {
  margin-top: 40px;
}

.page-resources-responsible-gaming__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-responsible-gaming__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #f5f5f5;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  transition: background-color 0.3s ease;
}

.page-resources-responsible-gaming__faq-question:hover {
  background-color: #eaeaea;
}

.page-resources-responsible-gaming__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-responsible-gaming__faq-item.active .page-resources-responsible-gaming__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-responsible-gaming__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-resources-responsible-gaming__faq-item.active .page-resources-responsible-gaming__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

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

  .page-resources-responsible-gaming__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-resources-responsible-gaming {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-responsible-gaming__hero-section {
    padding: 40px 15px;
    min-height: 400px;
  }

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

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

  .page-resources-responsible-gaming__hero-buttons {
    flex-direction: column;
    gap: 15px;
 }}