/* style/responsible-gaming.css */
.page-responsible-gaming {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-responsible-gaming__hero-section {
  position: relative;
  padding-top: 0; /* Assuming shared.css handles body padding-top */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #0A2463, #0A2463, #1A3A73); /* Dark blue gradient */
  color: #ffffff;
  overflow: hidden;
}

.page-responsible-gaming__hero-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  flex-wrap: wrap;
}

.page-responsible-gaming__hero-text-container {
  flex: 1;
  min-width: 300px;
  padding-right: 40px;
}

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

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

.page-responsible-gaming__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #0A2463;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
}

.page-responsible-gaming__hero-button:hover {
  background-color: #e6c200; /* Darker gold on hover */
  transform: translateY(-2px);
}

.page-responsible-gaming__hero-image-container {
  flex: 1;
  min-width: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-responsible-gaming__hero-image-container img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-responsible-gaming__introduction-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Slightly lighter dark for contrast */
  color: #f0f0f0;
}

.page-responsible-gaming__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 30px;
  text-align: center;
}

.page-responsible-gaming__paragraph {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #e0e0e0;
}

.page-responsible-gaming__tools-section {
  padding: 80px 0;
  background-color: #0A2463; /* Main brand color for dark background */
  color: #ffffff;
}

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

.page-responsible-gaming__tool-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark blue */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-responsible-gaming__tool-icon {
  width: 100%; /* Ensure images are not small icons */
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-responsible-gaming__tool-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-responsible-gaming__tool-description {
  font-size: 15px;
  color: #e0e0e0;
}

.page-responsible-gaming__problem-gambling-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #f0f0f0;
}

.page-responsible-gaming__sub-title {
  font-size: 28px;
  font-weight: 600;
  color: #FFD700;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}

.page-responsible-gaming__warning-signs, .page-responsible-gaming__self-assessment {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  margin-top: 30px;
}

.page-responsible-gaming__list {
  list-style-type: disc;
  margin-left: 20px;
  color: #e0e0e0;
}

.page-responsible-gaming__list-item {
  margin-bottom: 10px;
  font-size: 16px;
}

.page-responsible-gaming__list-item strong {
  color: #FFD700;
}

.page-responsible-gaming__self-assessment .page-responsible-gaming__list {
  list-style-type: decimal;
}

.page-responsible-gaming__support-section {
  padding: 80px 0;
  background-color: #0A2463;
  color: #ffffff;
}

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

.page-responsible-gaming__support-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-responsible-gaming__support-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-responsible-gaming__button-link {
  display: inline-block;
  background-color: #FFD700;
  color: #0A2463;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
}

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

.page-responsible-gaming__minors-protection-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #f0f0f0;
}

.page-responsible-gaming__minors-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-responsible-gaming__minors-text {
  flex: 1;
  min-width: 300px;
}

.page-responsible-gaming__minors-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-responsible-gaming__minors-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-responsible-gaming__terms-section {
  padding: 80px 0;
  background-color: #f5f5f5; /* Light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-responsible-gaming__terms-section .page-responsible-gaming__section-title {
  color: #0A2463; /* Dark blue title on light background */
}

.page-responsible-gaming__terms-section .page-responsible-gaming__paragraph {
  color: #333333;
}

.page-responsible-gaming__terms-section .page-responsible-gaming__button-link {
  background-color: #0A2463;
  color: #ffffff;
}

.page-responsible-gaming__terms-section .page-responsible-gaming__button-link:hover {
  background-color: #081d4a;
}

.page-responsible-gaming__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #f0f0f0;
}

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

.page-responsible-gaming__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-responsible-gaming__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-responsible-gaming__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.page-responsible-gaming__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

.page-responsible-gaming__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-responsible-gaming__faq-item.active .page-responsible-gaming__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Changed from '-' to rotate for visual consistency with '+' */
}

.page-responsible-gaming__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  color: #e0e0e0;
}

.page-responsible-gaming__faq-item.active .page-responsible-gaming__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 8px 8px;
}

.page-responsible-gaming__faq-answer p {
  margin: 0;
  color: #e0e0e0;
}

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

.page-responsible-gaming__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-responsible-gaming__cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-responsible-gaming__btn-primary {
  display: inline-block;
  background-color: #FFD700;
  color: #0A2463;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
}

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

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

.page-responsible-gaming__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
  transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-responsible-gaming__hero-title {
    font-size: 38px;
  }
  .page-responsible-gaming__hero-description {
    font-size: 16px;
  }
  .page-responsible-gaming__hero-text-container {
    padding-right: 20px;
  }
  .page-responsible-gaming__hero-image-container {
    min-width: 300px;
  }
  .page-responsible-gaming__section-title {
    font-size: 32px;
  }
}