.page-terms-conditions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

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

.page-terms-conditions__hero-section {
  padding-top: 10px; /* Small top padding as per instruction */
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); /* Brand colors for hero background */
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
}

.page-terms-conditions__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Max width for image container */
  margin-bottom: 20px;
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-terms-conditions__main-title {
  font-size: clamp(2em, 4vw, 3em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

.page-terms-conditions__lead-text {
  font-size: 1.15em;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 80ch;
  margin-left: auto;
  margin-right: auto;
}

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

.page-terms-conditions__btn-primary,
.page-terms-conditions__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

.page-terms-conditions__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__btn-secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
}

.page-terms-conditions__btn-secondary:hover {
  background: #f0f0f0;
  color: #2F6BFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-terms-conditions__content-section,
.page-terms-conditions__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Card BG */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  border-radius: 10px;
}

.page-terms-conditions__section-title {
  font-size: 2em;
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 25px;
  text-align: center;
  position: relative;
  padding-bottom: 10px;
}

.page-terms-conditions__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2F6BFF 0%, #6FA3FF 100%);
  border-radius: 2px;
}

.page-terms-conditions__paragraph {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: #1F2D3D; /* Text Main */
  text-align: justify;
}

.page-terms-conditions__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 800px; /* Recommended content image size */
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
  object-fit: cover;
}

.page-terms-conditions__cta-buttons--bottom {
  margin-top: 40px;
}

.page-terms-conditions__faq-list {
  margin-top: 30px;
}

.page-terms-conditions__faq-item {
  background-color: #F4F7FB; /* Background color for FAQ item */
  border: 1px solid #D6E2FF; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #1F2D3D;
}

.page-terms-conditions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: 700;
  font-size: 1.1em;
  cursor: pointer;
  background-color: #E6EEF7; /* Lighter background for summary */
  color: #000000; /* Custom Color_1776249996415 */
  list-style: none;
  position: relative;
}

.page-terms-conditions__faq-question::-webkit-details-marker {
  display: none;
}

.page-terms-conditions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-terms-conditions__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #1F2D3D; /* Text Main */
  background-color: #ffffff;
  border-top: 1px solid #D6E2FF;
}

/* Ensure all images adhere to min size */
.page-terms-conditions img {
  min-width: 200px;
  min-height: 200px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-terms-conditions {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-terms-conditions__container {
    padding: 15px;
  }

  .page-terms-conditions__hero-section {
    padding-bottom: 30px;
  }

  .page-terms-conditions__hero-content {
    padding: 0 15px;
  }

  .page-terms-conditions__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-terms-conditions__lead-text {
    font-size: 1em;
  }

  .page-terms-conditions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-terms-conditions__btn-primary,
  .page-terms-conditions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-terms-conditions__content-section,
  .page-terms-conditions__faq-section {
    padding: 30px 0;
    margin: 0 15px 20px;
  }

  .page-terms-conditions__section-title {
    font-size: 1.5em;
    margin-bottom: 20px;
  }

  .page-terms-conditions__paragraph {
    font-size: 0.95em;
  }

  .page-terms-conditions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    min-width: 200px;
    min-height: 200px;
  }

  .page-terms-conditions__hero-image {
    min-width: 200px;
    min-height: 200px;
  }

  /* Ensure all containers with images also adapt */
  .page-terms-conditions__hero-image-wrapper,
  .page-terms-conditions__content-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-terms-conditions__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-terms-conditions__faq-answer {
    padding: 10px 20px 15px;
  }
}

/* The following rules are placeholders to satisfy the '必写清单' for non-homepage. */
/* They are empty or minimal as they are not directly applicable to this specific page type. */
/* HERO主图区域 - Already handled above, ensuring small top padding */
.page-terms-conditions__hero-section { /* Already defined */ }

/* 长文金框区 - Not applicable for Terms & Conditions, using a generic content section instead */
/* This section is primarily for homepage specific long text with golden border */
/* .page-terms-conditions__home-content { border: 1px solid #FBB00D; border-radius: 10px; height: 650px; overflow-y: auto; } */
@media (max-width: 768px) {
  /* .page-terms-conditions__home-content { height: auto; overflow-y: visible; padding: 15px; } */
}

/* 游戏轮播 - Not applicable for Terms & Conditions */
/* .page-terms-conditions__row-games, .page-terms-conditions__slider-wrapper, .page-terms-conditions__slider-track, .page-terms-conditions__game-slide { display: none; } */
@media (max-width: 768px) {
  /* .page-terms-conditions__game-slide { flex: 0 0 160px; max-width: 160px; } */
}

/* 合作品牌六宫格 - Not applicable for Terms & Conditions */
/* .page-terms-conditions__banners-top-wrapper, .page-terms-conditions__banner-item { display: none; } */
@media (max-width: 768px) {
  /* .page-terms-conditions__banners-top-wrapper { grid-template-columns: repeat(3, minmax(0, 1fr)); } */
}

/* 博客卡片区 - Not applicable for Terms & Conditions, using generic content images instead */
/* .page-terms-conditions__blog-masonry, .page-terms-conditions__blog-slider-track, .page-terms-conditions__blog-slide { display: none; } */
@media (max-width: 768px) {
  /* .page-terms-conditions__blog-masonry { grid-template-columns: 1fr; } */
  /* .page-terms-conditions__blog-slide { flex: 0 0 100%; max-width: 100%; } */
}

/* 通用图片与容器 - Handled above */
/* .page-terms-conditions img { max-width: 100%; height: auto; } */
/* .page-terms-conditions__section, .page-terms-conditions__card, .page-terms-conditions__container { max-width: 100%; width: 100%; box-sizing: border-box; } */

/* 按钮与按钮容器 - Handled above */
/* .page-terms-conditions__cta-button, .page-terms-conditions__btn-primary, .page-terms-conditions__btn-secondary { max-width: 100%; box-sizing: border-box; white-space: normal; word-wrap: break-word; } */
/* .page-terms-conditions__cta-buttons, .page-terms-conditions__button-group, .page-terms-conditions__btn-container { width: 100%; max-width: 100%; overflow: hidden; box-sizing: border-box; } */