.page-sitemap__hero-section { padding-top: 10px; display: flex; flex-direction: column; align-items: center; text-align: center; background-color: #FFFFFF; color: #333333; padding-bottom: 40px; }
.page-sitemap__hero-image { width: 100%; max-width: 1200px; height: auto; object-fit: cover; margin-bottom: 20px; border-radius: 8px; }
.page-sitemap__hero-content { max-width: 900px; padding: 0 20px; }
.page-sitemap__main-title { font-weight: bold; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 15px; color: #017439; }
.page-sitemap__description { font-size: 1.1em; line-height: 1.6; margin-bottom: 30px; }
.page-sitemap__btn-primary { background-color: #C30808; color: #FFFF00; padding: 12px 25px; border-radius: 5px; text-decoration: none; font-weight: bold; display: inline-block; transition: background-color 0.3s ease; border: none; }
.page-sitemap__btn-primary:hover { background-color: #a00606; }

.page-sitemap__content-area { padding: 40px 20px; max-width: 1200px; margin: 0 auto; background-color: #FFFFFF; color: #333333; }
.page-sitemap__section-title { text-align: center; font-size: 2.2em; color: #017439; margin-bottom: 30px; font-weight: bold; }
.page-sitemap__text-block { font-size: 1.05em; line-height: 1.7; margin-bottom: 25px; text-align: justify; }

.page-sitemap__grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-bottom: 40px; }
.page-sitemap__category-card { background-color: #f9f9f9; border: 1px solid #e0e0e0; border-radius: 10px; padding: 25px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); display: flex; flex-direction: column; height: 100%; }
.page-sitemap__card-title { font-size: 1.5em; color: #017439; margin-bottom: 15px; border-bottom: 2px solid #e0e0e0; padding-bottom: 10px; }
.page-sitemap__link-list { list-style: none; padding: 0; margin: 0; flex-grow: 1; }
.page-sitemap__link-list li { margin-bottom: 8px; }
.page-sitemap__link-list a { color: #333333; text-decoration: none; transition: color 0.3s ease; display: block; padding: 5px 0; }
.page-sitemap__link-list a:hover { color: #017439; text-decoration: underline; }

.page-sitemap__summary-text { margin-top: 30px; font-style: italic; color: #555555; }

.page-sitemap__cta-section { background-color: #017439; padding: 50px 30px; border-radius: 10px; text-align: center; color: #ffffff; margin-top: 50px; }
.page-sitemap__cta-title { font-size: 2em; margin-bottom: 15px; font-weight: bold; }
.page-sitemap__cta-description { font-size: 1.1em; line-height: 1.6; margin-bottom: 30px; }
.page-sitemap__cta-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.page-sitemap__btn-secondary { background-color: #ffffff; color: #017439; padding: 12px 25px; border-radius: 5px; text-decoration: none; font-weight: bold; display: inline-block; transition: background-color 0.3s ease, color 0.3s ease; border: 2px solid #017439; }
.page-sitemap__btn-secondary:hover { background-color: #f0f0f0; color: #005f2e; }

/* Placeholder for FAQ, if present */
.page-sitemap__faq-item { margin-bottom: 15px; border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; }
.page-sitemap__faq-question { background-color: #f0f0f0; padding: 15px 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: bold; color: #333333; }
.page-sitemap__faq-question:hover { background-color: #e5e5e5; }
.page-sitemap__faq-qtext { flex-grow: 1; }
.page-sitemap__faq-toggle { font-size: 1.5em; line-height: 1; margin-left: 10px; }
.page-sitemap__faq-answer { padding: 15px 20px; background-color: #ffffff; color: #555555; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.page-sitemap__faq-item.active .page-sitemap__faq-answer { max-height: 2000px; /* Sufficiently large */ }
.page-sitemap__faq-item.active .page-sitemap__faq-toggle { transform: rotate(45deg); }

/* General image styling for content areas */
.page-sitemap img { max-width: 100%; height: auto; display: block; }

/* Placeholder for home-content / long text */
.page-sitemap__home-content { border: 1px solid #FBB00D; border-radius: 10px; height: 650px; overflow-y: auto; padding: 20px; margin: 20px auto; max-width: 900px; }
.page-sitemap__home-content h2 { color: #017439; margin-bottom: 15px; }

/* Placeholders for game slider, partner grid, blog masonry/slider (as per strict requirement) */
.page-sitemap__row-games, .page-sitemap__row-sport, .page-sitemap__row-coop { background-color: #f0f0f0; padding: 40px 20px; max-width: 1330px; margin: 0 auto; }
.page-sitemap__games-title, .page-sitemap__sport-title, .page-sitemap__coop-title { color: #017439; text-align: center; margin-bottom: 30px; }
.page-sitemap__slider-wrapper { overflow: hidden; margin-bottom: 20px; }
.page-sitemap__slider-track { display: flex; flex-wrap: nowrap; gap: 16px; transition: transform 0.5s ease-in-out; }
.page-sitemap__game-slide { flex: 0 0 200px; max-width: 200px; border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; text-align: center; padding: 10px; background-color: #ffffff; }
.page-sitemap__game-slide img { margin-bottom: 10px; border-radius: 5px; }
.page-sitemap__game-slide p { font-weight: bold; color: #333333; }
.page-sitemap__banners-top-wrapper { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; max-width: 900px; margin: 0 auto 30px; }
.page-sitemap__banner-item { text-align: center; padding: 10px; border: 1px solid #e0e0e0; border-radius: 8px; background-color: #ffffff; }
.page-sitemap__banner-item img {   object-fit: contain; margin: 0 auto; display: block; }
.page-sitemap__blog-masonry { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; margin-bottom: 30px; }
.page-sitemap__blog-card { background-color: #ffffff; border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); display: flex; flex-direction: column; height: 100%; }
.page-sitemap__blog-card-img { width: 100%; height: 200px; object-fit: cover; }
.page-sitemap__blog-card-content { padding: 15px; flex-grow: 1; display: flex; flex-direction: column; }
.page-sitemap__blog-card-title { font-size: 1.2em; color: #017439; margin-bottom: 10px; }
.page-sitemap__blog-card-text { font-size: 0.95em; color: #555555; line-height: 1.5; margin-bottom: 15px; }
.page-sitemap__blog-card-link { display: inline-block; color: #C30808; text-decoration: none; font-weight: bold; margin-top: auto; }
.page-sitemap__blog-card-link:hover { text-decoration: underline; }
.page-sitemap__blog-slider-track { display: flex; flex-wrap: nowrap; gap: 20px; transition: transform 0.5s ease-in-out; }
.page-sitemap__blog-slide { flex: 0 0 calc(33.333% - 14px); max-width: calc(33.333% - 14px); }

/* Mobile responsiveness */
@media (max-width: 768px) {
  /* 1. HERO 主图区域 */
  .page-sitemap__hero-section { padding-top: 10px; padding-bottom: 30px; }
  .page-sitemap__hero-image { max-width: 100% !important; width: 100% !important; height: auto !important; margin-bottom: 15px; }
  .page-sitemap__main-title { font-size: clamp(1.8em, 6vw, 2.5em); margin-bottom: 10px; }
  .page-sitemap__description { font-size: 1em; margin-bottom: 20px; }
  .page-sitemap__hero-content { padding: 0 15px; }

  /* 2. 长文金框区 (general content blocks) */
  .page-sitemap__home-content { height: auto; overflow-y: visible; padding: 15px; margin: 15px auto; max-width: 100%; box-sizing: border-box; }
  .page-sitemap__home-content h2 { font-size: 1.8em; }
  .page-sitemap__text-block { font-size: 0.95em; margin-bottom: 20px; }

  /* 3. 游戏轮播 (placeholder, as per strict requirement) */
  .page-sitemap__slider-track { display: flex; flex-wrap: nowrap; }
  .page-sitemap__game-slide { flex: 0 0 160px; max-width: 160px; }

  /* 4. 合作品牌六宫格 (placeholder, as per strict requirement) */
  .page-sitemap__banners-top-wrapper { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 100%; box-sizing: border-box; padding: 0 15px; }
  .page-sitemap__banner-item img {   }

  /* 5. 博客卡片区 (placeholder, as per strict requirement) */
  .page-sitemap__blog-masonry { grid-template-columns: 1fr; gap: 15px; }
  .page-sitemap__blog-card-img {  }
  .page-sitemap__blog-slide { flex: 0 0 100%; max-width: 100%; }

  /* 6. 通用图片与容器 */
  .page-sitemap img { max-width: 100% !important; width: 100% !important; height: auto !important; }
  .page-sitemap__section, .page-sitemap__card, .page-sitemap__container, .page-sitemap__grid-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sitemap__content-area { padding: 30px 15px; }
  .page-sitemap__grid-container { grid-template-columns: 1fr; gap: 20px; }
  .page-sitemap__category-card { padding: 20px; }
  .page-sitemap__card-title { font-size: 1.3em; }
  .page-sitemap__link-list a { font-size: 0.95em; }

  /* 7. 按钮与按钮容器 */
  .page-sitemap__btn-primary, .page-sitemap__btn-secondary, .page-sitemap a[class*="button"], .page-sitemap 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;
  }
  .page-sitemap__cta-buttons, .page-sitemap__button-group, .page-sitemap__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px;
  }
  .page-sitemap__cta-section { padding: 40px 15px; }
  .page-sitemap__cta-title { font-size: 1.8em; }
  .page-sitemap__cta-description { font-size: 1em; }
}