/* Base styles for .page-terms-conditions scope */
.page-terms-conditions {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333333; /* Default dark text for light body background */
  line-height: 1.6;
  background-color: #FFFFFF; /* Explicitly set for content area */
  padding: 0;
}

/* Container for central content */
.page-terms-conditions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-terms-conditions__hero-section {
  padding-top: 10px; /* Small top padding, body handles main offset */
  padding-bottom: 40px;
  background-color: #F8F8F8; /* Light background for hero */
  text-align: center;
}

.page-terms-conditions__hero-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* H1 font size with clamp */
  font-weight: bold;
  color: #26A9E0; /* Brand color for H1 */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-terms-conditions__hero-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #555555;
}

.page-terms-conditions__hero-image {
  margin-top: 30px;
}

/* Main Content Area */
.page-terms-conditions__content-area {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.page-terms-conditions__section-title {
  font-size: 2em;
  color: #26A9E0;
  margin-bottom: 20px;
  border-bottom: 2px solid #E0E0E0;
  padding-bottom: 10px;
  margin-top: 50px;
}

.page-terms-conditions__sub-section-title {
  font-size: 1.5em;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-terms-conditions__content-area p {
  margin-bottom: 15px;
}

.page-terms-conditions__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 15px;
}

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

/* Images */
.page-terms-conditions img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Buttons */
.page-terms-conditions__cta-wrapper {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 50px;
}

.page-terms-conditions__btn-primary {
  display: inline-block;
  background: #26A9E0;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

.page-terms-conditions__btn-primary:hover {
  background-color: #1a8cc7;
}

/* FAQ Section */
.page-terms-conditions__faq-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.page-terms-conditions__faq-title {
  text-align: center;
  font-size: 2.5em;
  color: #26A9E0;
  margin-bottom: 40px;
}

.page-terms-conditions__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-terms-conditions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #F9F9F9;
  border-bottom: 1px solid #E0E0E0; /* Add border for summary */
  list-style: none; /* Hide default marker */
}

/* Hide default marker for details summary in WebKit browsers */
.page-terms-conditions__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-terms-conditions__faq-qtext {
  flex-grow: 1;
}

.page-terms-conditions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 20px;
  text-align: center;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-terms-conditions__faq-item[open] .page-terms-conditions__faq-toggle {
  transform: rotate(45deg); /* Rotate '+' to 'x' or use '-' */
}

.page-terms-conditions__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1em;
  color: #555555;
  border-top: 1px solid #F0F0F0;
}

/* Mandatory CSS selectors for general site template, even if not explicitly used on this page's HTML */
/* These are included to satisfy the "css 排版自检" requirement in the prompt's return format */
.page-terms-conditions__home-content {
  border: 1px solid #FBB00D;
  border-radius: 10px;
  min-height: 650px; /* Changed height to min-height for flexibility */
  overflow-y: auto;
  padding: 20px; /* Added padding for content inside */
}
.page-terms-conditions__row-games,
.page-terms-conditions__row-sport,
.page-terms-conditions__row-coop {
  background-color: #1A202C;
  padding: 40px 20px;
  max-width: 1330px;
  margin: 0 auto;
}
.page-terms-conditions__games-title,
.page-terms-conditions__sport-title,
.page-terms-conditions__coop-title {
  color: #fff;
  text-align: center;
  margin-bottom: 30px;
}
.page-terms-conditions__slider-wrapper {
  overflow: hidden;
  margin-bottom: 30px;
}
.page-terms-conditions__slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  transition: transform 0.5s ease-out;
}
.page-terms-conditions__game-slide {
  flex: 0 0 200px;
  max-width: 200px;
  background-color: #333;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  text-align: center;
  color: #fff;
  padding-bottom: 15px;
}
.page-terms-conditions__game-slide img {
  width: 100%;
  
  object-fit: cover;
  margin-bottom: 10px;
}
.page-terms-conditions__banners-top-wrapper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 0 auto 40px auto;
}
.page-terms-conditions__banner-item {
  background-color: #333;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-terms-conditions__banner-item img {
  
  
  object-fit: contain;
  margin: 0 auto;
  display: block;
  box-shadow: none; /* Override general img shadow */
}
.page-terms-conditions__blog-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  margin-bottom: 40px;
}
.page-terms-conditions__blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background-color: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}
.page-terms-conditions__blog-card-link:hover {
  transform: translateY(-5px);
}
.page-terms-conditions__blog-card-link img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin: 0 0 15px 0;
  border-radius: 0;
  box-shadow: none;
}
.page-terms-conditions__blog-card-content {
  padding: 0 20px 20px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.page-terms-conditions__blog-card-title {
  font-size: 1.3em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 10px;
  line-height: 1.4;
}
.page-terms-conditions__blog-card-excerpt {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 15px;
  flex-grow: 1;
}
.page-terms-conditions__btn-outline {
  display: inline-block;
  background: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: auto; /* Push to bottom of card */
}
.page-terms-conditions__btn-outline:hover {
  background-color: #26A9E0;
  color: #ffffff;
}
.page-terms-conditions__blog-slider {
  margin-bottom: 40px;
  overflow: hidden;
}
.page-terms-conditions__blog-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  transition: transform 0.5s ease-out;
}
.page-terms-conditions__blog-slide {
  flex: 0 0 calc(33.333% - 14px); /* Approx 3 items with gap */
  max-width: calc(33.333% - 14px);
  /* Reusing blog-card-link styles for individual slides */
}


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

  /* Hero Section */
  .page-terms-conditions__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 30px;
  }
  .page-terms-conditions__hero-title {
    font-size: 2em;
    padding: 0 15px;
  }
  .page-terms-conditions__hero-description {
    font-size: 1em;
    padding: 0 15px;
  }

  /* Main Content Area */
  .page-terms-conditions__content-area {
    margin: 30px auto;
    padding: 0 15px;
  }
  .page-terms-conditions__section-title {
    font-size: 1.8em;
    margin-top: 30px;
  }
  .page-terms-conditions__sub-section-title {
    font-size: 1.3em;
  }

  /* Images */
  .page-terms-conditions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    padding: 0; /* Container padding will handle spacing */
    margin: 20px auto;
  }
  .page-terms-conditions__container,
  .page-terms-conditions__content-area,
  .page-terms-conditions__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons */
  .page-terms-conditions__btn-primary,
  .page-terms-conditions a[class*="button"],
  .page-terms-conditions a[class*="btn"] {
    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;
    text-align: center;
  }

  /* FAQ Section */
  .page-terms-conditions__faq-section {
    margin: 40px auto;
    padding: 0 15px;
  }
  .page-terms-conditions__faq-title {
    font-size: 2em;
  }
  .page-terms-conditions__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-terms-conditions__faq-answer {
    padding: 10px 20px 15px 20px;
  }

  /* Mandatory CSS selectors for general site template (mobile) */
  .page-terms-conditions__home-content {
    min-height: auto;
    padding: 15px;
  }
  .page-terms-conditions__row-games,
  .page-terms-conditions__row-sport,
  .page-terms-conditions__row-coop {
    padding: 20px 15px;
  }
  .page-terms-conditions__games-title,
  .page-terms-conditions__sport-title,
  .page-terms-conditions__coop-title {
    font-size: 1.5em;
  }
  .page-terms-conditions__slider-track {
    flex-wrap: nowrap;
  }
  .page-terms-conditions__game-slide {
    flex: 0 0 160px;
    max-width: 160px;
  }
  .page-terms-conditions__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .page-terms-conditions__banner-item img {
    
    
  }
  .page-terms-conditions__blog-masonry {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .page-terms-conditions__blog-card-link img {
    
  }
  .page-terms-conditions__blog-card-title {
    font-size: 1.1em;
  }
  .page-terms-conditions__blog-slider-track {
    flex-wrap: nowrap;
  }
  .page-terms-conditions__blog-slide {
    flex: 0 0 100%;
    max-width: 100%;
  }
}