.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--dark-bg-1); /* Inherited from shared.css */
}

.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-support__section {
  padding: 60px 0;
  text-align: center;
}

.page-support__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-support__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

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

/* Hero Section */
.page-support__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 0; /* Assumes shared.css handles body padding-top */
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.page-support__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

.page-support__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-support__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-support__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-support__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-support__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Slightly transparent to let background color show */
}

/* Overview Section */
.page-support__overview-section {
  background-color: var(--dark-bg-1);
  color: #ffffff;
}

.page-support__image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.page-support__image-item {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  min-height: 200px;
}

/* Channels Section */
.page-support__channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__card {
  background-color: #f0f8ff; /* Light background for cards in light section */
  color: #333333;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 350px;
}

.page-support__card-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  min-width: 80px;
  min-height: 80px;
  object-fit: contain;
}

.page-support__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #26A9E0;
}

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

.page-support__card-link {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-support__card-link:hover {
  background-color: #1e87c0;
}

/* Topics Section */
.page-support__topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__topic-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.page-support__topic-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

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

/* Cockfighting Support Section */
.page-support__cockfighting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__cockfighting-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 400px;
}

.page-support__cockfighting-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  min-height: 200px;
}

.page-support__cockfighting-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-support__cockfighting-text {
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-support__faq-item {
  background-color: #f0f8ff;
  color: #333333;
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #e6f7ff;
  border-bottom: 1px solid #d0edff;
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: #d0edff;
}

.page-support__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #26A9E0;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

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

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #333333;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 20px;
}

.page-support__faq-answer p {
  margin-bottom: 0;
  color: #333333;
}

/* Responsible Gambling Section */
.page-support__responsible-gambling-section {
  background-color: var(--dark-bg-1);
  color: #ffffff;
}

/* CTA Section */
.page-support__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

/* General Buttons */
.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-support__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-support__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

.page-support__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

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

.page-support__btn-link {
  background-color: transparent;
  color: #26A9E0;
  border: 1px solid #26A9E0;
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-support__btn-link:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 3em;
  }
  .page-support__hero-description {
    font-size: 1.2em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
  .page-support__section-description {
    font-size: 1em;
  }
  .page-support__card,
  .page-support__topic-card,
  .page-support__cockfighting-item {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .page-support__container {
    padding: 15px;
  }

  .page-support__section {
    padding: 40px 0;
  }

  /* HERO 主图区域 */
  .page-support__hero-section {
    padding-top: 0; /* Assumes shared.css handles body padding-top */
    padding-bottom: 60px;
  }
  .page-support__hero-content {
    padding: 15px;
  }
  .page-support__hero-title {
    font-size: 2.2em;
  }
  .page-support__hero-description {
    font-size: 1em;
  }
  .page-support__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-support__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* LOGO 轮播区域 - Not present on this page, but general rule for logo-item */
  /* .page-support__logo-item { */
  /*   width: 80px !important; */
  /*   height: 80px !important; */
  /*   max-width: 80px !important; */
  /*   box-sizing: border-box; */
  /* } */

  /* 游戏展示区域 - General card/grid items */
  .page-support__image-grid,
  .page-support__channels-grid,
  .page-support__topics-grid,
  .page-support__cockfighting-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-support__card,
  .page-support__topic-card,
  .page-support__cockfighting-item {
    padding: 20px;
  }

  /* 通用图片与容器 */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-support__image-item,
  .page-support__cockfighting-image {
    min-height: 200px !important;
  }
  .page-support__card-icon {
    min-width: 80px !important;
    min-height: 80px !important;
    width: 80px !important;
    height: 80px !important;
  }

  /* 按钮与按钮容器 */
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support__btn-link,
  .page-support a[class*="button"],
  .page-support 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-support__hero-buttons,
  .page-support__cta-buttons,
  .page-support__button-group,
  .page-support__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* For vertical stacking of buttons */
  }

  /* Other content modules */
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__section-description {
    font-size: 0.95em;
  }
  .page-support__faq-question {
    padding: 15px;
  }
  .page-support__faq-title {
    font-size: 1.1em;
  }
  .page-support__faq-answer {
    padding: 15px;
  }
  .page-support__card-title {
    font-size: 1.5em;
  }
  .page-support__topic-title,
  .page-support__cockfighting-title {
    font-size: 1.3em;
  }
}