/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Default background */
}

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

.page-privacy-policy__hero-section {
  padding-top: 10px; /* Rely on body padding-top for header offset */
  padding-bottom: 40px;
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-privacy-policy__hero-section .page-privacy-policy__container {
  padding-left: 15px;
  padding-right: 15px;
}

.page-privacy-policy__main-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 800px;
}

.page-privacy-policy__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 900px;
}

.page-privacy-policy__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__content-area {
  padding: 40px 0;
  background-color: #f8f8f8;
}

.page-privacy-policy__content-area .page-privacy-policy__container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-privacy-policy__text-block {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333; /* Ensure text is dark on light background */
}

.page-privacy-policy__section-title {
  font-size: 2em;
  color: #26A9E0;
  margin-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.page-privacy-policy__subsection-title {
  font-size: 1.5em;
  color: #000000;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  color: #333333;
}

.page-privacy-policy ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
  color: #333333;
}

.page-privacy-policy ul li {
  margin-bottom: 8px;
}

.page-privacy-policy__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
}

.page-privacy-policy__link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-privacy-policy__link:hover {
  text-decoration: none;
}

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

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-privacy-policy__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-privacy-policy__btn-primary:hover {
  background-color: #1a8cc7;
  border-color: #1a8cc7;
}

.page-privacy-policy__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-privacy-policy__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1a8cc7;
  border-color: #1a8cc7;
}

/* ---------------------------------------------------------------------------------------------------- */
/* Mobile responsive styles */
/* ---------------------------------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .page-privacy-policy__container {
    padding: 15px;
  }

  /* HERO 主图区域 */
  .page-privacy-policy__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
    padding-bottom: 30px;
  }

  .page-privacy-policy__main-title {
    font-size: 2em;
    margin-bottom: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 长文金框区 (Not applicable for privacy policy, but placeholder for template) */
  /* Privacy policy uses .page-privacy-policy__text-block instead of gold frame */
  .page-privacy-policy__text-block {
    padding: 20px;
    margin-left: 15px;
    margin-right: 15px;
    box-sizing: border-box;
  }

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

  .page-privacy-policy__subsection-title {
    font-size: 1.2em;
  }

  /* 游戏轮播 (Not applicable for privacy policy, but placeholder for template) */
  /* No game carousel on privacy policy page */

  /* 合作品牌六宫格 (Not applicable for privacy policy, but placeholder for template) */
  /* No partner grid on privacy policy page */

  /* 博客卡片区 (Not applicable for privacy policy, but placeholder for template) */
  /* No blog cards on privacy policy page */

  /* 通用图片与容器 */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-privacy-policy__content-area,
  .page-privacy-policy__text-block,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* 按钮与按钮容器 */
  .page-privacy-policy__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__cta-buttons,
  .page-privacy-policy__button-group,
  .page-privacy-policy__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* Placeholder for required elements if they were present */
  .page-privacy-policy__home-content { /* Placeholder for long text gold frame */
    height: auto;
    overflow-y: visible;
  }
  .page-privacy-policy__slider-track { /* Placeholder for game carousel */
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-privacy-policy__slider-wrapper { /* Placeholder for game carousel wrapper */
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
  .page-privacy-policy__game-slide { /* Placeholder for game slide */
    flex: 0 0 160px;
    max-width: 160px;
    scroll-snap-align: start;
  }
  .page-privacy-policy__banners-top-wrapper { /* Placeholder for partner grid */
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
  .page-privacy-policy__banner-item img { /* Placeholder for partner image */
    max-width: 100% !important;
    height: auto !important;
  }
  .page-privacy-policy__blog-masonry { /* Placeholder for blog masonry */
    grid-template-columns: 1fr;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
  .page-privacy-policy__blog-slider-track { /* Placeholder for blog slider */
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-privacy-policy__blog-slide { /* Placeholder for blog slide */
    flex: 0 0 calc(100% - 30px);
    max-width: calc(100% - 30px);
    scroll-snap-align: start;
    margin-left: 15px;
    margin-right: 15px;
    box-sizing: border-box;
  }
}