.page-responsible-gaming {
  font-family: 'Arial', sans-serif;
  line-height: 1.7;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: var(--dark-bg-1); /* Inherited from shared.css, assumed dark */
  padding-top: 120px; /* Adjust for fixed header on desktop */
}

@media (max-width: 768px) {
  .page-responsible-gaming {
    padding-top: 100px; /* Adjust for fixed header on mobile */
  }
}

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

.page-responsible-gaming__section {
  padding: 60px 0;
}

.page-responsible-gaming__dark-bg {
  background-color: var(--dark-bg-2); /* A slightly different dark shade for contrast */
}

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

.page-responsible-gaming__intro-section {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); /* Using brand colors for intro */
  color: #ffffff;
}

.page-responsible-gaming__main-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-responsible-gaming__description {
  font-size: 18px;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #ffffff;
}

.page-responsible-gaming__description a {
  color: #ffd700;
  text-decoration: underline;
}

.page-responsible-gaming__description a:hover {
  color: #fff;
}

.page-responsible-gaming__image-full-width {
  width: 100%;
  height: auto;
  max-width: 1000px;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-responsible-gaming__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700; /* Primary color for titles */
}

.page-responsible-gaming__text-block {
  font-size: 17px;
  margin-bottom: 30px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-responsible-gaming__text-block a {
  color: #FFD700;
  text-decoration: underline;
}

.page-responsible-gaming__text-block a:hover {
  color: #ffffff;
}

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

.page-responsible-gaming__card {
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-responsible-gaming__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-responsible-gaming__card-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-responsible-gaming__card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #000080; /* Auxiliary color for card titles */
}

.page-responsible-gaming__card-text {
  font-size: 16px;
  color: #333333;
}

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

.page-responsible-gaming__list-item {
  background: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #FFD700;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 17px;
  color: #f0f0f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-responsible-gaming__image-content {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: 8px;
  margin: 40px auto;
  display: block;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-responsible-gaming__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  margin-top: 30px;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}

.page-responsible-gaming__button-primary {
  background: #FFD700;
  color: #000000; /* Black text for primary button */
  border: 2px solid transparent;
}

.page-responsible-gaming__button-primary:hover {
  background: #e6c200;
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
}

.page-responsible-gaming__button-secondary {
  background: #000080; /* Auxiliary color for secondary button */
  color: #ffffff;
  border: 2px solid #000080;
}

.page-responsible-gaming__button-secondary:hover {
  background: #000066;
  box-shadow: 0 6px 15px rgba(0, 0, 128, 0.4);
  transform: translateY(-2px);
}

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

.page-responsible-gaming__feature-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.page-responsible-gaming__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-responsible-gaming__feature-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD700;
}

.page-responsible-gaming__feature-description {
  font-size: 16px;
  color: #f0f0f0;
}

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

.page-responsible-gaming__resource-card {
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-responsible-gaming__resource-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-responsible-gaming__resource-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #000080;
}

.page-responsible-gaming__resource-description {
  font-size: 16px;
  color: #333333;
  flex-grow: 1;
}

.page-responsible-gaming__resource-link {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: #FFD700;
  color: #000000;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-responsible-gaming__resource-link:hover {
  background: #e6c200;
  color: #333333;
}

/* FAQ Section */
.page-responsible-gaming__faq-section {
  background-color: var(--dark-bg-2);
  padding: 60px 0;
}

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

.page-responsible-gaming__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.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 15px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.05);
  color: #f0f0f0;
}

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

.page-responsible-gaming__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  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: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.page-responsible-gaming__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

.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: #ffffff;
}

.page-responsible-gaming__faq-toggle {
  font-size: 24px;
  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: 28px;
  height: 28px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-responsible-gaming__main-title {
    font-size: 38px;
  }

  .page-responsible-gaming__section-title {
    font-size: 32px;
  }

  .page-responsible-gaming__description,
  .page-responsible-gaming__text-block,
  .page-responsible-gaming__card-text,
  .page-responsible-gaming__list-item,
  .page-responsible-gaming__feature-description,
  .page-responsible-gaming__resource-description {
    font-size: 16px;
  }

  .page-responsible-gaming__card-title,
  .page-responsible-gaming__feature-title,
  .page-responsible-gaming__resource-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .page-responsible-gaming__intro-section {
    padding: 60px 0;
  }

  .page-responsible-gaming__main-title {
    font-size: 32px;
  }

  .page-responsible-gaming__description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-responsible-gaming__section {
    padding: 40px 0;
  }

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

  .page-responsible-gaming__text-block {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .page-responsible-gaming__card-grid,
  .page-responsible-gaming__feature-grid,
  .page-responsible-gaming__resource-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-responsible-gaming__card,
  .page-responsible-gaming__feature-item,
  .page-responsible-gaming__resource-card {
    padding: 20px;
  }

  .page-responsible-gaming__card-image,
  .page-responsible-gaming__feature-icon,
  .page-responsible-gaming__resource-image {
    max-width: 200px;
    margin-bottom: 15px;
  }

  .page-responsible-gaming__card-title,
  .page-responsible-gaming__feature-title,
  .page-responsible-gaming__resource-title {
    font-size: 18px;
  }

  .page-responsible-gaming__card-text,
  .page-responsible-gaming__feature-description,
  .page-responsible-gaming__resource-description {
    font-size: 14px;
  }

  .page-responsible-gaming__list {
    margin: 20px auto;
  }

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

  .page-responsible-gaming__image-content {
    margin: 30px auto;
  }

  .page-responsible-gaming__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    margin-top: 20px;
  }

  .page-responsible-gaming__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-responsible-gaming__faq-question h3 {
    font-size: 15px;
    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;
  }
}

@media (max-width: 480px) {
  .page-responsible-gaming__main-title {
    font-size: 28px;
  }

  .page-responsible-gaming__section-title {
    font-size: 24px;
  }

  .page-responsible-gaming__cta-button {
    width: 100%;
    box-sizing: border-box;
  }
}