.page-responsible-gaming {
  font-family: Arial, sans-serif;
  color: var(--Text-Main); /* #F3F8FF */
  background-color: var(--Deep-Navy); /* #08162B */
}

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

.page-responsible-gaming__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  overflow: hidden;
}

.page-responsible-gaming__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-responsible-gaming__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-width: 100%;
}

.page-responsible-gaming__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background-color: rgba(16, 35, 63, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  margin-top: -80px; /* Overlap slightly for visual interest, but not on image */
}

.page-responsible-gaming__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em);
  color: var(--Text-Main); /* #F3F8FF */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
}

.page-responsible-gaming__description {
  font-size: 1.1em;
  color: var(--Text-Secondary); /* #AFC4E8 */
  line-height: 1.6;
  margin-bottom: 30px;
}

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

.page-responsible-gaming__btn-primary,
.page-responsible-gaming__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-responsible-gaming__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: none;
}

.page-responsible-gaming__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
}

.page-responsible-gaming__btn-secondary {
  background-color: transparent;
  color: var(--Text-Main); /* #F3F8FF */
  border: 2px solid var(--Border); /* #244D84 */
}

.page-responsible-gaming__btn-secondary:hover {
  background-color: var(--Border); /* #244D84 */
  color: #ffffff;
  transform: translateY(-2px);
}

.page-responsible-gaming__section-title {
  font-size: 2.5em;
  color: var(--Gold); /* #F2C14E */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-responsible-gaming__text-block {
  font-size: 1.05em;
  line-height: 1.7;
  color: var(--Text-Secondary); /* #AFC4E8 */
  margin-bottom: 20px;
  text-align: justify;
}

.page-responsible-gaming__dark-section {
  background-color: var(--Card-BG); /* #10233F */
  color: var(--Text-Main); /* #F3F8FF */
}

.page-responsible-gaming__tools-section {
  padding: 60px 0;
  text-align: center;
}

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

.page-responsible-gaming__card {
  background-color: var(--Card-BG); /* #10233F */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--Text-Secondary); /* #AFC4E8 */
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-responsible-gaming__card-icon {
  width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  max-width: 100%;
  height: auto;
  display: block;
}

.page-responsible-gaming__card-title {
  font-size: 1.5em;
  color: var(--Text-Main); /* #F3F8FF */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-responsible-gaming__card-text {
  font-size: 1em;
  line-height: 1.6;
  color: var(--Text-Secondary); /* #AFC4E8 */
  flex-grow: 1;
}

.page-responsible-gaming__cta-block {
  margin-top: 60px;
  text-align: center;
}

.page-responsible-gaming__problem-gaming-section {
  padding: 60px 0;
  background-color: #0d1e3a; /* Slightly lighter dark background */
  color: var(--Text-Main); /* #F3F8FF */
}

.page-responsible-gaming__light-bg {
  background-color: #0d1e3a;
  color: var(--Text-Main);
}

.page-responsible-gaming__list {
  list-style-type: none;
  padding: 0;
  margin: 30px 0;
  text-align: left;
}

.page-responsible-gaming__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.6;
  color: var(--Text-Secondary); /* #AFC4E8 */
}

.page-responsible-gaming__list-item::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: var(--Gold); /* #F2C14E */
  font-size: 1.2em;
  line-height: 1;
}

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

.page-responsible-gaming__help-card {
  background-color: var(--Card-BG); /* #10233F */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--Text-Secondary); /* #AFC4E8 */
}

.page-responsible-gaming__text-link {
  color: var(--Glow); /* #4FA8FF */
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  display: inline-block;
}

.page-responsible-gaming__text-link:hover {
  text-decoration: underline;
}

.page-responsible-gaming__note-text {
  font-style: italic;
  margin-top: 30px;
  text-align: center;
}

.page-responsible-gaming__minor-protection-section {
  padding: 60px 0;
  text-align: center;
}

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

.page-responsible-gaming__text-content {
  flex: 1;
  text-align: left;
}

.page-responsible-gaming__image-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.page-responsible-gaming__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-responsible-gaming__faq-item {
  background-color: var(--Card-BG); /* #10233F */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--Divider); /* #1B3357 */
}

.page-responsible-gaming__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--Text-Main); /* #F3F8FF */
  background-color: #1a325a; /* Slightly lighter Card BG for summary */
  list-style: none;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently
                                   supported by Chrome, Edge, Opera and Firefox */
}

.page-responsible-gaming__faq-question::-webkit-details-marker {
  display: none;
}

.page-responsible-gaming__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--Gold); /* #F2C14E */
}

.page-responsible-gaming__faq-item[open] .page-responsible-gaming__faq-toggle {
  transform: rotate(45deg);
}

.page-responsible-gaming__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.0em;
  line-height: 1.6;
  color: var(--Text-Secondary); /* #AFC4E8 */
}

.page-responsible-gaming__contact-cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--Deep-Navy); /* #08162B */
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-responsible-gaming__hero-content {
    margin-top: -60px;
    padding: 30px;
  }

  .page-responsible-gaming__main-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
  }

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

  .page-responsible-gaming__card {
    padding: 25px;
  }

  .page-responsible-gaming__content-flex {
    flex-direction: column;
  }

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

@media (max-width: 768px) {
  .page-responsible-gaming__container {
    padding: 0 15px !important;
  }

  /* HERO 主图区域 */
  .page-responsible-gaming__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
    padding-bottom: 30px;
  }

  .page-responsible-gaming__hero-content {
    margin-top: -40px;
    padding: 20px 15px;
    border-radius: 8px;
  }

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

  .page-responsible-gaming__description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  /* 按钮与按钮容器 */
  .page-responsible-gaming__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-responsible-gaming__btn-primary,
  .page-responsible-gaming__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-responsible-gaming__cta-block .page-responsible-gaming__btn-primary,
  .page-responsible-gaming__contact-cta-section .page-responsible-gaming__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto;
  }

  /* 通用图片与容器 */
  .page-responsible-gaming img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-responsible-gaming__section,
  .page-responsible-gaming__card,
  .page-responsible-gaming__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 其他内容模块 */
  .page-responsible-gaming__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-responsible-gaming__info-section,
  .page-responsible-gaming__tools-section,
  .page-responsible-gaming__problem-gaming-section,
  .page-responsible-gaming__help-section,
  .page-responsible-gaming__minor-protection-section,
  .page-responsible-gaming__faq-section,
  .page-responsible-gaming__contact-cta-section {
    padding: 40px 0;
  }

  .page-responsible-gaming__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-responsible-gaming__list-item {
    font-size: 0.95em;
  }

  .page-responsible-gaming__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-responsible-gaming__faq-answer {
    padding: 0 20px 15px;
  }

  .page-responsible-gaming__card-icon {
    width: 150px;
    height: 100px;
  }

  .page-responsible-gaming__content-image {
    width: 100%;
    height: auto;
  }
}