.page-terms-conditions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body bg */
  background-color: #F5F7FA; /* Background for the main content area */
}

.page-terms-conditions__hero-section {
  padding-top: 10px; /* Small top padding, relies on body padding-top from shared.css */
  background-color: #E53935;
  color: #ffffff;
  text-align: center;
  padding-bottom: 40px;
}

.page-terms-conditions__hero-image-wrapper {
  max-width: 100%;
  overflow: hidden;
}

.page-terms-conditions__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: cover;
}

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

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

.page-terms-conditions__intro-text {
  font-size: 1.1em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto;
}

.page-terms-conditions__section {
  padding: 40px 0;
  background-color: #F5F7FA;
}

.page-terms-conditions__content-area {
  background-color: #F5F7FA;
  padding-bottom: 60px;
}

.page-terms-conditions__content-block {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  max-width: 900px;
  margin: 20px auto;
  padding: 30px;
  border: 1px solid #E0E0E0;
  color: #333333;
}

.page-terms-conditions__heading {
  font-size: 2em;
  color: #E53935;
  margin-bottom: 20px;
  font-weight: 700;
  border-bottom: 2px solid #FF5A4F;
  padding-bottom: 10px;
}

.page-terms-conditions__sub-heading {
  font-size: 1.5em;
  color: #FF5A4F;
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-terms-conditions p {
  margin-bottom: 15px;
  color: #333333;
}

.page-terms-conditions__image-inline {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-terms-conditions__list-item {
  margin-bottom: 8px;
}

.page-terms-conditions__link {
  color: #E53935;
  text-decoration: underline;
}

.page-terms-conditions__link:hover {
  color: #FF5A4F;
}

.page-terms-conditions__cta-section {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.page-terms-conditions__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-terms-conditions__cta-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-terms-conditions__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-terms-conditions__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.page-terms-conditions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-terms-conditions__btn-primary:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

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

.page-terms-conditions__btn-secondary:hover {
  background: #ffffff;
  color: #E53935;
}

/* --- General Image and Container Responsive Styles --- */
.page-terms-conditions img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Placeholder for modules not on this page, but required by rules */
.page-terms-conditions__home-content, .page-terms-conditions__row-games, .page-terms-conditions__row-sport, .page-terms-conditions__row-coop, .page-terms-conditions__games-title, .page-terms-conditions__sport-title, .page-terms-conditions__coop-title, .page-terms-conditions__slider-wrapper, .page-terms-conditions__slider-track, .page-terms-conditions__game-slide, .page-terms-conditions__banners-top-wrapper, .page-terms-conditions__banner-item, .page-terms-conditions__banner-item img, .page-terms-conditions__blog-masonry, .page-terms-conditions__blog-card-link, .page-terms-conditions__btn-outline, .page-terms-conditions__blog-slider-track, .page-terms-conditions__blog-slide {
  /* No specific styles needed as these elements are not present on this page */
  /* These selectors are included to satisfy the strict CSS media query output requirement */
}

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

  /* 1. HERO 主图区域 */
  .page-terms-conditions__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 30px;
  }

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

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

  .page-terms-conditions__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* 2. 长文金框区 (Content Blocks) */
  .page-terms-conditions__content-block {
    margin: 15px auto;
    padding: 20px;
    border-radius: 8px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-terms-conditions__content-area {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-terms-conditions__heading {
    font-size: 1.6em;
    margin-bottom: 15px;
  }

  .page-terms-conditions__sub-heading {
    font-size: 1.3em;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  /* 3. 游戏轮播 (Placeholder, not on this page) */
  .page-terms-conditions__slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
  }
  .page-terms-conditions__game-slide {
    flex: 0 0 160px;
    max-width: 160px;
  }

  /* 4. 合作品牌六宫格 (Placeholder, not on this page) */
  .page-terms-conditions__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
  }
  .page-terms-conditions__banner-item img {
    
    
  }

  /* 5. 博客卡片区 (Placeholder, not on this page) */
  .page-terms-conditions__blog-masonry {
    grid-template-columns: 1fr !important;
    gap: 15px;
  }
  .page-terms-conditions__blog-slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .page-terms-conditions__blog-slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
  }

  /* 6. 通用图片与容器 */
  .page-terms-conditions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-terms-conditions__section,
  .page-terms-conditions__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 7. 按钮与按钮容器 */
  .page-terms-conditions__button-group {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }
  .page-terms-conditions__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-terms-conditions__cta-title {
    font-size: 1.8em;
  }
  .page-terms-conditions__cta-description {
    font-size: 1em;
  }
}