/* style/privacy-policy.css */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Default body background is white */
}

.page-privacy-policy__hero-section {
  background: linear-gradient(90deg, #017439 0%, #005f2f 100%);
  color: #ffffff;
  padding: 40px 0;
  text-align: center;
  padding-top: 10px; /* Assuming body handles header offset */
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em);
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFFF00;
  line-height: 1.2;
}

.page-privacy-policy__hero-description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-privacy-policy__btn-primary {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-privacy-policy__btn-primary:hover {
  background-color: #e00b0b;
  border-color: #e00b0b;
  transform: translateY(-2px);
}

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

.page-privacy-policy__btn-secondary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-privacy-policy__content-area {
  padding: 50px 0;
}

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

.page-privacy-policy__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #017439;
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-privacy-policy__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-privacy-policy__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-privacy-policy__contact-cta {
  text-align: center;
  margin-top: 40px;
}

.page-privacy-policy a {
  color: #017439;
  text-decoration: underline;
}

.page-privacy-policy a:hover {
  color: #005f2f;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-privacy-policy__hero-section {
    padding: 30px 0;
    padding-top: 10px !important;
  }

  .page-privacy-policy__main-title {
    font-size: 2em; /* Smaller on mobile */
  }

  .page-privacy-policy__hero-description {
    font-size: 1em;
  }

  .page-privacy-policy__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-privacy-policy__content-area {
    padding: 30px 0;
  }

  .page-privacy-policy__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-privacy-policy__section-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-privacy-policy__text-block,
  .page-privacy-policy__list-item {
    font-size: 1em;
  }

  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: unset !important; /* Allow smaller on mobile */
    min-height: unset !important; /* Allow smaller on mobile */
  }

  /* Ensure all image containers are responsive */
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-area,
  .page-privacy-policy__contact-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* No specific game-grid or winner-list for privacy policy, but include placeholders as per requirement */
  /* Hero奖池区 - not applicable for privacy policy, but if it were, it would be contain, not cover */
  /* 游戏图库区 - not applicable for privacy policy */
  /* 中奖榜 - not applicable for privacy policy */
  /* 博客 - not applicable for privacy policy */
  /* FAQ - not applicable for privacy policy, but JS covers it */
}