.page-support {
  font-family: Arial, sans-serif;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  line-height: 1.6;
}

.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-bottom: 40px; /* Space for content below image */
  padding-top: 10px; /* Small top padding, relying on body for header offset */
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Adjust as needed */
  overflow: hidden;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-support__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-top: 20px;
  padding: 0 20px;
}

.page-support__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: bold;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-support__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF3E6;
}

.page-support__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary:hover {
  opacity: 0.9;
}

.page-support__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-support__section-title {
  font-size: 2.5em;
  color: #FF8C1A;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-support__section-description {
  font-size: 1.1em;
  color: #FFF3E6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__channel-grid, .page-support__self-help-grid, .page-support__commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__card {
  background-color: #17191F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #A84F0C; /* Border */
  color: #FFF3E6;
}

.page-support__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-support__card-title {
  font-size: 1.8em;
  color: #FFA53A;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__card-text {
  font-size: 1em;
  color: #FFF3E6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support__btn-secondary {
  display: inline-block;
  padding: 10px 25px;
  background: transparent;
  color: #FF8C1A;
  border: 2px solid #FF8C1A;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: auto;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-secondary:hover {
  background: #FF8C1A;
  color: #ffffff;
}

.page-support__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-support__faq-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF3E6;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFA53A;
  cursor: pointer;
  list-style: none;
}

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

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

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

.page-support__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #FFF3E6;
}

.page-support__faq-answer p {
  margin-bottom: 15px;
}

.page-support__btn-link {
  color: #FFB04D;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-support__btn-link:hover {
  color: #FFA53A;
}

.page-support__light-bg {
  background-color: #0D0E12; /* Background - keeping consistent dark theme */
  color: #FFF3E6;
}

.page-support__dark-section {
  background-color: #FF8C1A;
  color: #ffffff; /* Forced white text for brand color background */
}

.page-support__dark-section .page-support__section-title {
  color: #ffffff;
}

.page-support__dark-section .page-support__section-description {
  color: #ffffff;
}

.page-support__commitment-item {
  text-align: center;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for contrast on brand color */
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.page-support__commitment-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-support__commitment-heading {
  font-size: 1.5em;
  color: #FFB04D; /* Glow */
  margin-bottom: 10px;
}

.page-support__commitment-text {
  font-size: 0.95em;
  color: #ffffff;
}

.page-support__cta-section {
  padding: 80px 20px;
  background-color: #0D0E12; /* Background */
  color: #FFF3E6;
}

.page-support__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-support__cta-button {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Ensure all images are responsive by default */
.page-support img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* General container responsiveness */
.page-support__section,
.page-support__card,
.page-support__container {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* ------------------------------------------------------------------------------------------------------------------ */
/* -------------------------------------------------- HOMEPAGE ONLY STYLES (REQUIRED FOR ALL PAGES) ----------------- */
/* -------------------------------------------------- (Even if not used on this page, the structure must be present) */
/* ------------------------------------------------------------------------------------------------------------------ */

/* Module 0-2 (Simplified for non-homepage context, but structure maintained) */
.page-support__home-content {
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  min-height: 300px; /* Adjusted from 650px for non-homepage relevance */
  overflow-y: auto;
  padding: 20px;
  margin: 40px auto;
  max-width: 900px;
  background-color: #17191F; /* Card BG */
}

.page-support__home-content h2 {
  color: #FFA53A;
  font-size: 2em;
  margin-bottom: 20px;
}

.page-support__home-content p {
  color: #FFF3E6;
  font-size: 1em;
  line-height: 1.7;
}

/* Module 3: Games Row */
.page-support__row-games {
  background-color: #0D0E12; /* Background */
  padding: 40px 20px;
  max-width: 1330px;
  margin: 0 auto;
  text-align: center;
}

.page-support__games-title {
  color: #FFB04D; /* Glow */
  text-align: center;
  font-size: 2.2em;
  margin-bottom: 30px;
}

.page-support__slider-wrapper {
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  max-width: 1000px; /* Example max-width */
}

.page-support__slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  transition: transform 0.5s ease-in-out;
}

.page-support__game-slide {
  flex: 0 0 200px;
  max-width: 200px;
  background-color: #17191F; /* Card BG */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 15px;
  height: 100%; /* Ensure equal height */
  display: flex;
  flex-direction: column;
}

.page-support__game-slide img {
  width: 100%;
   /* Specific height for game slides */
  object-fit: cover;
  margin-bottom: 10px;
}

.page-support__game-slide h4 {
  color: #FFF3E6;
  font-size: 1.1em;
  margin: 0 10px 10px;
  flex-grow: 1;
}

.page-support__game-slide .page-support__btn-play {
  display: inline-block;
  padding: 8px 15px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  margin-top: auto;
  max-width: calc(100% - 20px);
  margin-left: 10px;
  margin-right: 10px;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 20;
  border-radius: 50%;
  font-size: 1.5em;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-support__slider-prev {
  left: 10px;
}

.page-support__slider-next {
  right: 10px;
}

/* Module 4: Top Banners / Gameshow Grid */
.page-support__banners-top-wrapper {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* Fixed 6 columns for desktop */
  gap: 12px;
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.page-support__banner-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.page-support__banner-item img {
   /* Max width for gameshow icons */
  
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

/* Module 5: Blog Section (Masonry Grid) */
.page-support__blog-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-support__blog-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Fixed 3 columns for desktop */
  gap: 20px;
  align-items: stretch; /* Ensures cards in a row have equal height */
  margin-top: 40px;
}

.page-support__blog-card {
  background-color: #17191F; /* Card BG */
  border-radius: 12px;
  border: 1px solid #A84F0C; /* Border */
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%; /* Important for align-items: stretch */
  color: #FFF3E6;
}

.page-support__blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-support__blog-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-support__blog-card-title {
  font-size: 1.4em;
  color: #FFA53A;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-support__blog-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-support__blog-card-link:hover .page-support__blog-card-title {
  color: #FFB04D; /* Glow */
}

.page-support__blog-card-excerpt {
  font-size: 0.95em;
  color: #FFF3E6;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-support__btn-outline {
  display: inline-block;
  padding: 8px 15px;
  background: transparent;
  color: #FF8C1A;
  border: 2px solid #FF8C1A;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: auto;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-outline:hover {
  background: #FF8C1A;
  color: #ffffff;
}

.page-support__blog-meta {
  font-size: 0.85em;
  color: #A84F0C; /* Border */
  margin-bottom: 10px;
}

/* Module 6: Blog Slider (if applicable, but structure required) */
.page-support__blog-slider-wrapper {
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  max-width: 1200px; /* Example max-width */
}

.page-support__blog-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
}

.page-support__blog-slide {
  flex: 0 0 calc(33.333% - 14px); /* For 3 items with 20px gap */
  max-width: calc(33.333% - 14px);
  /* Reuse .page-support__blog-card styles */
}

.page-support__row-sport, .page-support__row-coop {
  background-color: #0D0E12; /* Background */
  padding: 40px 20px;
  max-width: 1330px;
  margin: 0 auto;
  text-align: center;
}

.page-support__sport-title, .page-support__coop-title {
  color: #FFB04D; /* Glow */
  text-align: center;
  font-size: 2.2em;
  margin-bottom: 30px;
}

/* ------------------------------------------------------------------------------------------------------------------ */
/* -------------------------------------------------- MEDIA QUERIES ------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------------ */

@media (max-width: 1024px) {
  .page-support__hero-content {
    max-width: 768px;
  }

  .page-support__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-support__section-title {
    font-size: 2em;
  }

  .page-support__channel-grid, .page-support__self-help-grid, .page-support__commitment-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .page-support__faq-question {
    font-size: 1.1em;
    padding: 18px 20px;
  }

  .page-support__faq-answer {
    padding: 0 20px 18px 20px;
  }

  /* Homepage specific adjustments */
  .page-support__games-title, .page-support__sport-title, .page-support__coop-title {
    font-size: 2em;
  }

  .page-support__banners-top-wrapper {
    grid-template-columns: repeat(4, 1fr);
    max-width: 700px;
  }

  .page-support__blog-masonry {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-support__blog-slide {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }

  /* HERO 主图区域 */
  .page-support__hero-section {
    padding-top: 10px; /* Rely on body padding for header offset */
    padding-bottom: 20px;
  }

  .page-support__hero-image-wrapper {
    max-height: 400px;
  }

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

  .page-support__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
    margin-bottom: 10px;
  }

  .page-support__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-support__btn-primary {
    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-support__section {
    padding: 40px 15px;
  }

  .page-support__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-support__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-support__channel-grid, .page-support__self-help-grid, .page-support__commitment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .page-support__card-image {
    height: 180px;
  }

  .page-support__card-title {
    font-size: 1.5em;
  }

  .page-support__btn-secondary {
    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-support__faq-list {
    margin-top: 30px;
    padding: 0 15px;
  }

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

  .page-support__faq-answer {
    padding: 0 20px 15px 20px;
  }

  .page-support__commitment-icon {
    width: 80px;
    height: 80px;
  }

  .page-support__commitment-heading {
    font-size: 1.3em;
  }

  .page-support__cta-section {
    padding: 50px 15px;
  }

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 通用图片与容器 */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-support__section,
  .page-support__card,
  .page-support__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 长文金框区 */
  .page-support__home-content {
    padding: 15px;
    margin: 30px auto;
    min-height: auto;
  }

  .page-support__home-content h2 {
    font-size: 1.8em;
  }

  /* 游戏轮播 */
  .page-support__slider-wrapper {
    padding: 0 15px;
  }
  .page-support__slider-track {
    display: flex; /* Ensure flex for horizontal scroll */
    overflow-x: auto; /* Enable horizontal scroll */
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    justify-content: flex-start;
  }
  .page-support__game-slide {
    flex: 0 0 160px; /* Smaller fixed width for mobile */
    max-width: 160px;
    scroll-snap-align: start;
  }
  .page-support__slider-arrow {
    display: none; /* Hide arrows on mobile for touch scroll */
  }

  /* 合作品牌六宫格 */
  .page-support__banners-top-wrapper {
    grid-template-columns: repeat(3, 1fr); /* 3 columns for mobile */
    gap: 10px;
    max-width: 100%;
    padding: 0 15px;
  }
  .page-support__banner-item img {
     /* Smaller icons for mobile */
    
  }

  /* 博客卡片区 */
  .page-support__blog-masonry {
    grid-template-columns: 1fr; /* Single column for mobile */
    padding: 0 15px;
  }

  .page-support__blog-slide {
    flex: 0 0 100%; /* Single slide for mobile carousel */
    max-width: 100%;
  }

  .page-support__blog-slider-track {
    display: flex; /* Ensure flex for horizontal scroll */
    overflow-x: auto; /* Enable horizontal scroll */
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    justify-content: flex-start;
    padding: 0 15px;
  }
  .page-support__blog-section {
    padding: 40px 0; /* Adjust padding for blog section */
  }
  .page-support__blog-card {
    margin-left: 15px; /* Add margin to prevent cards from touching screen edges when scrolling */
    margin-right: 15px;
  }
}