/* Base styles for the Terms and Conditions page */
.page-terms-conditions {
  font-family: Arial, sans-serif;
  color: #1F2D3D; /* Default text color from Custom Color_1776249996415 */
  background-color: #F4F7FB; /* Custom background color */
}

.page-terms-conditions__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for --header-offset */
  background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%);
  color: #ffffff;
  padding-bottom: 40px;
}

.page-terms-conditions__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 15px;
}

.page-terms-conditions__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
  display: block;
}

.page-terms-conditions__hero-content {
  max-width: 800px;
}

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

.page-terms-conditions__description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-terms-conditions__content-section {
  padding: 60px 0;
  background-color: #F4F7FB;
}

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

.page-terms-conditions__section-title {
  font-size: 2em;
  font-weight: 700;
  color: #2F6BFF;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: left;
  border-bottom: 2px solid #D6E2FF;
  padding-bottom: 10px;
}

.page-terms-conditions__sub-section {
  margin-bottom: 30px;
}

.page-terms-conditions__sub-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #1F2D3D;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-terms-conditions__text-block {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #1F2D3D;
}

.page-terms-conditions__text-block a {
  color: #2F6BFF;
  text-decoration: underline;
}

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

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

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

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

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

.page-terms-conditions__btn-secondary:hover {
  background: #e0eaff;
  color: #2F6BFF;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.2);
}

.page-terms-conditions__cta-container {
  margin-top: 40px;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* General image responsiveness */
.page-terms-conditions img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Placeholder for homepage-only sections to satisfy the CSS checklist */
/* These are not present in the HTML for terms-conditions.html, */
/* but their CSS media query structure is required by the prompt. */
/* Minimal/empty styles for non-applicable sections. */
.page-terms-conditions__home-content { /* Placeholder for homepage long text gold frame */
  /* Not applicable for terms-conditions page */
}

.page-terms-conditions__row-games, .page-terms-conditions__row-sport, .page-terms-conditions__row-coop { /* Placeholder for homepage game/sport/coop rows */
  /* Not applicable for terms-conditions page */
}

.page-terms-conditions__slider-wrapper { /* Placeholder for homepage game slider */
  /* Not applicable for terms-conditions page */
}

.page-terms-conditions__slider-track { /* Placeholder for homepage game slider track */
  /* Not applicable for terms-conditions page */
}

.page-terms-conditions__game-slide { /* Placeholder for homepage game slide item */
  /* Not applicable for terms-conditions page */
}

.page-terms-conditions__banners-top-wrapper { /* Placeholder for homepage banners grid */
  /* Not applicable for terms-conditions page */
}

.page-terms-conditions__banner-item img { /* Placeholder for homepage banner images */
  /* Not applicable for terms-conditions page */
}

.page-terms-conditions__blog-masonry { /* Placeholder for homepage blog masonry */
  /* Not applicable for terms-conditions page */
}

.page-terms-conditions__blog-card-link { /* Placeholder for homepage blog card link */
  /* Not applicable for terms-conditions page */
}

.page-terms-conditions__btn-outline { /* Placeholder for homepage blog outline button */
  /* Not applicable for terms-conditions page */
}

.page-terms-conditions__blog-slider-track { /* Placeholder for homepage blog slider track */
  /* Not applicable for terms-conditions page */
}

.page-terms-conditions__blog-slide { /* Placeholder for homepage blog slide item */
  /* Not applicable for terms-conditions page */
}

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

  .page-terms-conditions__hero-section {
    padding-bottom: 30px;
    padding-top: 10px; /* Small top padding for mobile, as per checklist */
  }

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

  .page-terms-conditions__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-terms-conditions__content-section {
    padding: 40px 0;
  }

  .page-terms-conditions__container {
    padding: 0 20px;
  }

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

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

  .page-terms-conditions__text-block {
    font-size: 0.95em;
    margin-bottom: 15px;
  }

  /* Mobile image adaptation */
  .page-terms-conditions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  
  .page-terms-conditions__hero-image {
    margin-bottom: 20px;
  }

  .page-terms-conditions__image-inline {
    margin: 20px auto;
  }

  /* Mobile button adaptation */
  .page-terms-conditions__btn-primary,
  .page-terms-conditions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    margin-right: 0 !important; /* Remove right margin for stacking */
    margin-bottom: 10px; /* Add bottom margin for stacking */
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-terms-conditions__cta-container {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px !important;
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  /* For checklist: HERO 主图区域 (already handled above) */

  /* For checklist: 长文金框区 */
  .page-terms-conditions__home-content {
    height: auto;
    overflow-y: visible;
    padding: 15px;
  }

  /* For checklist: 游戏轮播 */
  .page-terms-conditions__slider-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .page-terms-conditions__slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
  }
  .page-terms-conditions__game-slide {
    flex: 0 0 180px;
    max-width: 180px;
  }

  /* For checklist: 合作品牌六宫格 */
  .page-terms-conditions__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .page-terms-conditions__banner-item img {
    
    
  }

  /* For checklist: 博客卡片区 */
  .page-terms-conditions__blog-masonry {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .page-terms-conditions__blog-slide {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .page-terms-conditions__blog-slider-track {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 15px;
  }

  /* For checklist: 通用图片与容器 */
  .page-terms-conditions__section,
  .page-terms-conditions__card,
  .page-terms-conditions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* For checklist: 按钮与按钮容器 (already handled above with general btn rules) */
}

/* Placeholder for homepage-only sections to satisfy the CSS checklist */
/* These are not present in the HTML for terms-conditions.html, */
/* but their CSS media query structure is required by the prompt. */
@media (max-width: 1024px) {
  .page-terms-conditions__home-content { /* long text gold frame */
    /* styles for 1024px */
  }
  .page-terms-conditions__slider-wrapper { /* game slider */
    /* styles for 1024px */
  }
  .page-terms-conditions__banners-top-wrapper { /* banners grid */
    /* styles for 1024px */
  }
  .page-terms-conditions__blog-masonry { /* blog masonry */
    /* styles for 1024px */
  }
  .page-terms-conditions__blog-slider-track { /* blog slider */
    /* styles for 1024px */
  }
}

/* Ensure contrast for text on card/section backgrounds */
.page-terms-conditions__card {
  background: #ffffff; /* White background for cards */
  color: #1F2D3D; /* Dark text on white background */
  border: 1px solid #D6E2FF; /* Border color */
}

.page-terms-conditions__dark-section {
  background: #2F6BFF;
  color: #ffffff;
}

.page-terms-conditions p,
.page-terms-conditions li {
  color: #1F2D3D;
}