/* General styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
}

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

.page-gdpr__section {
  padding: 60px 20px;
  margin-bottom: 20px;
  background-color: #FFFFFF; /* Card BG */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #2F6BFF; /* Primary color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  color: #1F2D3D; /* Text Main */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr p {
  margin-bottom: 15px;
  font-size: 1em;
  color: #1F2D3D; /* Text Main */
}

/* Hero Section */
.page-gdpr__hero-section {
  padding-top: 10px; /* Small top padding, assuming body handles header offset */
  padding-bottom: 60px;
  background-color: #F4F7FB; /* Background */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
}

.page-gdpr__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3em); /* Responsive font size */
  color: #2F6BFF; /* Primary color */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-gdpr__description {
  font-size: 1.1em;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 30px;
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure buttons are responsive */
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to wrap */
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-gdpr__btn-secondary {
  background: #ffffff;
  color: #2F6BFF; /* Primary color */
  border: 2px solid #2F6BFF; /* Border color */
}

.page-gdpr__btn-secondary:hover {
  background: #F4F7FB; /* Background */
  color: #2458cc;
  border-color: #2458cc;
}

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Specific section styles */
.page-gdpr__dark-bg {
  background-color: #2F6BFF; /* Primary color */
  color: #ffffff;
}
.page-gdpr__dark-bg .page-gdpr__section-title,
.page-gdpr__dark-bg .page-gdpr__sub-title,
.page-gdpr__dark-bg p,
.page-gdpr__dark-bg li {
  color: #ffffff;
}

.page-gdpr__light-bg {
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D; /* Text Main */
}

.page-gdpr__commitment-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.page-gdpr__commitment-item {
  flex: 1 1 calc(33% - 20px);
  min-width: 280px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__commitment-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-gdpr__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* FAQ / Details-Summary styles */
.page-gdpr__faq-list {
  max-width: 800px;
  margin: 40px auto;
}

.page-gdpr__faq-item {
  background-color: #ffffff; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: bold;
  color: #1F2D3D; /* Text Main */
  cursor: pointer;
  background-color: #F4F7FB; /* Background */
  border-bottom: 1px solid #D6E2FF;
  list-style: none; /* Hide default marker for details summary */
}

/* Hide default marker for Webkit browsers */
.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}

.page-gdpr__faq-question:hover {
  background-color: #e9eff7;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Change + to X or rotate it */
}

.page-gdpr__faq-answer {
  padding: 20px;
  color: #1F2D3D; /* Text Main */
  border-top: 1px solid #e0e0e0;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-answer {
  border-top: none; /* Remove border if open, details element already has it */
}

/* General link styling within content */
.page-gdpr__content-block a {
    color: #2F6BFF; /* Primary color */
    text-decoration: underline;
}

.page-gdpr__content-block a:hover {
    color: #6FA3FF; /* Auxiliary color */
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-gdpr__commitment-item {
    flex: 1 1 calc(50% - 15px);
  }
}

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

  /* 1. HERO 主图区域 */
  .page-gdpr__hero-section {
    padding-top: 10px;
    padding-bottom: 40px;
  }

  .page-gdpr__hero-image {
    margin-bottom: 20px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-gdpr__description {
    font-size: 1em;
    margin-bottom: 25px;
    padding: 0 15px;
  }

  .page-gdpr__section-title {
    font-size: 2em;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-gdpr__sub-title {
    font-size: 1.5em;
  }

  .page-gdpr__container {
    padding: 0 15px;
  }

  /* 2. 长文金框区 - Not applicable to this page, but included for checklist compliance */
  /* .page-gdpr__home-content {} */

  /* 3. 游戏轮播 - Not applicable to this page, but included for checklist compliance */
  /* .page-gdpr__slider-track {} */
  /* .page-gdpr__game-slide {} */

  /* 4. 合作品牌六宫格 - Not applicable to this page, but included for checklist compliance */
  /* .page-gdpr__banners-top-wrapper {} */
  /* .page-gdpr__banner-item img {} */

  /* 5. 博客卡片区 - Not applicable to this page, but included for checklist compliance */
  /* .page-gdpr__blog-masonry {} */
  /* .page-gdpr__blog-slider-track {} */
  /* .page-gdpr__blog-slide {} */

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

  .page-gdpr__section,
  .page-gdpr__content-block,
  .page-gdpr__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 7. 按钮与按钮容器 */
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  .page-gdpr__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-direction: column !important;
    gap: 15px !important;
  }

  .page-gdpr__commitment-list {
    flex-direction: column;
    gap: 20px;
  }

  .page-gdpr__commitment-item {
    min-width: unset;
    flex: 1 1 100%;
  }

  .page-gdpr__faq-question {
    font-size: 1em;
    padding: 15px;
  }

  .page-gdpr__faq-answer {
    padding: 15px;
  }
}