:root {
  --primary-color: #FFD700;
  --secondary-color: #1A1A1A;
  --accent-color: #FF4500; /* Red for emphasis */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #0a0a0a;
  --card-bg-light: #ffffff;
  --border-light: #e0e0e0;
}

.page-responsible-gaming {
  color: var(--text-light);
  background-color: var(--bg-dark);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Fixed Nav Bar Spacing */
.page-responsible-gaming__hero-section {
  padding-top: 180px; /* Desktop: Adjust based on fixed header height */
}

.page-responsible-gaming__hero-section.page-responsible-gaming__dark-bg {
  background: var(--bg-dark);
  color: var(--text-light);
  padding-bottom: 60px;
  text-align: center;
}

.page-responsible-gaming__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-responsible-gaming__hero-image {
  margin-bottom: 30px;
  width: 100%;
}

.page-responsible-gaming__hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-responsible-gaming__hero-content {
  text-align: center;
  max-width: 800px;
}

.page-responsible-gaming__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color);
  line-height: 1.2;
}

.page-responsible-gaming__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-responsible-gaming__hero-description a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-responsible-gaming__hero-description a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.page-responsible-gaming__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, var(--primary-color), #FFA500);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-responsible-gaming__cta-button:hover {
  background: linear-gradient(135deg, #FFA500, var(--primary-color));
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  color: var(--text-dark);
}

.page-responsible-gaming__content-area {
  background-color: var(--card-bg-light);
  color: var(--text-dark);
  padding: 60px 20px;
}

.page-responsible-gaming__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.page-responsible-gaming__text-block {
  background: var(--card-bg-light);
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-light);
}

.page-responsible-gaming__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.page-responsible-gaming__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-responsible-gaming__section-title--light {
  color: var(--primary-color);
}

.page-responsible-gaming__sub-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--accent-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-responsible-gaming__text-block p {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.7;
}

.page-responsible-gaming__text-block a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-responsible-gaming__text-block a:hover {
  text-decoration: underline;
  color: var(--accent-color);
}

.page-responsible-gaming__text-block ul {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-responsible-gaming__text-block li {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.6;
}

.page-responsible-gaming__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-responsible-gaming__cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-responsible-gaming__cta-button--large {
  padding: 18px 50px;
  font-size: 22px;
}

.page-responsible-gaming__faq-section {
  background-color: var(--bg-dark);
  padding: 60px 20px;
  color: var(--text-light);
}

.page-responsible-gaming__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-responsible-gaming__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.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;
  padding: 0 15px;
  opacity: 0;
}

.page-responsible-gaming__faq-item.active .page-responsible-gaming__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #222222; /* Slightly lighter dark background for answer */
  border-radius: 0 0 5px 5px;
  color: var(--text-light);
}

.page-responsible-gaming__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--secondary-color);
  border: 1px solid #333333;
  border-radius: 5px;
  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: #282828;
  border-color: #444444;
}

.page-responsible-gaming__faq-question:active {
  background: #333333;
}

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

.page-responsible-gaming__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  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: 28px;
  height: 28px;
}

.page-responsible-gaming__faq-item.active .page-responsible-gaming__faq-toggle {
  color: var(--text-light);
  transform: rotate(45deg); /* Rotate '+' to 'x' */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-responsible-gaming__main-title {
    font-size: 42px;
  }
  .page-responsible-gaming__section-title {
    font-size: 32px;
  }
  .page-responsible-gaming__sub-title {
    font-size: 22px;
  }
  .page-responsible-gaming__text-block {
    padding: 25px 30px;
  }
}

@media (max-width: 768px) {
  /* Mobile padding-top override for fixed header */
  .page-responsible-gaming__hero-section {
    padding-top: 140px !important; /* Mobile: Adjust based on mobile fixed header height */
    padding-bottom: 40px;
  }

  /* General image responsive styles for all images in main content */
  .page-responsible-gaming img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-responsible-gaming__container,
  .page-responsible-gaming__text-block,
  .page-responsible-gaming__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-responsible-gaming__main-title {
    font-size: 36px;
    margin-bottom: 15px;
  }

  .page-responsible-gaming__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-responsible-gaming__cta-button {
    padding: 12px 30px;
    font-size: 18px;
  }

  .page-responsible-gaming__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .page-responsible-gaming__sub-title {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-responsible-gaming__text-block {
    padding: 20px 20px;
  }

  .page-responsible-gaming__text-block p,
  .page-responsible-gaming__text-block li {
    font-size: 15px;
  }

  .page-responsible-gaming__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-responsible-gaming__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-responsible-gaming__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-responsible-gaming__faq-answer {
    padding: 0 15px;
  }
  
  .page-responsible-gaming__faq-item.active .page-responsible-gaming__faq-answer {
    padding: 15px !important;
  }
}