/* Base styles for the support page */
.page-support {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #F5F7FA; /* Background color */
}

.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

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

.page-support__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #E53935;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-support__text-block {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
}

.page-support__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-support__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-support__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-support__btn-secondary:hover {
  background: #f0f0f0;
  color: #E53935;
  transform: translateY(-2px);
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-support__hero-content-wrapper {
  max-width: 900px;
  padding: 0 15px;
}

.page-support__main-title {
  font-size: 48px;
  font-weight: bold;
  color: #E53935;
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-support__hero-description {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #333333;
}

/* About Support Center */
.page-support__about-support-center .page-support__container {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Support Channels */
.page-support__support-channels {
  background-color: #F5F7FA;
}

.page-support__channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-support__channel-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  color: #333333;
}

.page-support__channel-card img {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-support__channel-card .page-support__card-title {
  font-size: 22px;
  font-weight: bold;
  color: #E53935;
  margin-bottom: 15px;
}

.page-support__channel-card .page-support__card-description {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support__phone-number {
  font-size: 18px;
  font-weight: bold;
  color: #E53935;
  margin-top: 10px;
  margin-bottom: 20px;
}

/* Common Issues */
.page-support__common-issues {
  background-color: #ffffff;
}

.page-support__issue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-support__issue-card {
  background-color: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #333333;
}

.page-support__issue-card .page-support__card-title {
  font-size: 22px;
  font-weight: bold;
  color: #E53935;
  margin-bottom: 15px;
}

.page-support__issue-card .page-support__card-description {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* FAQ Section */
.page-support__faq-section {
  background-color: #F5F7FA;
}

.page-support__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-support__faq-item {
  background-color: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 20px 25px;
  overflow: hidden;
  color: #333333;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  list-style: none;
}

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

.page-support__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: #E53935;
  transition: transform 0.3s ease;
}

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

.page-support__faq-answer {
  padding-top: 15px;
  font-size: 16px;
  line-height: 1.6;
  color: #555555;
  border-top: 1px solid #eee;
  margin-top: 15px;
}

.page-support__faq-item:not([open]) .page-support__faq-answer {
  display: none;
}

/* Commitment Section */
.page-support__commitment-section {
  background-color: #E53935; /* Brand primary color */
  color: #ffffff; /* White text for dark background */
  padding: 60px 0;
}

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

.page-support__commitment-section .page-support__text-block {
  color: #f0f0f0;
}

.page-support__commitment-list {
  list-style: disc inside;
  font-size: 16px;
  line-height: 1.8;
  margin-top: 20px;
  padding-left: 20px;
}

.page-support__commitment-list li {
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-support__commitment-list strong {
  color: #ffffff;
}

/* Tips Section */
.page-support__tips-section {
  background-color: #ffffff;
}

.page-support__tips-list {
  list-style: decimal inside;
  font-size: 16px;
  line-height: 1.8;
  margin-top: 20px;
  padding-left: 20px;
}

.page-support__tips-list li {
  margin-bottom: 10px;
  color: #333333;
}

/* CTA Bottom Section */
.page-support__cta-bottom {
  background-color: #F5F7FA;
  padding: 80px 0;
}

.page-support__cta-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: #ffffff;
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-support__cta-content {
  flex: 1;
}

.page-support__cta-title {
  font-size: 38px;
  font-weight: bold;
  color: #E53935;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__cta-description {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #555555;
}

.page-support__cta-buttons-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-support__cta-image-wrapper {
  flex-shrink: 0;
  width: 40%;
  max-width: 500px;
}

.page-support__cta-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Generic image and container responsiveness */
.page-support img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-support__section,
.page-support__container,
.page-support__card,
.page-support__box {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-support__main-title {
    font-size: 42px;
  }
  .page-support__section-title {
    font-size: 32px;
  }
  .page-support__cta-title {
    font-size: 32px;
  }
  .page-support__channel-grid,
  .page-support__issue-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-support__cta-wrapper {
    flex-direction: column;
    text-align: center;
    padding: 40px;
  }
  .page-support__cta-image-wrapper {
    width: 80%;
    margin-top: 30px;
  }
  .page-support__cta-buttons-group {
    justify-content: center;
  }
}

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

  /* HERO 主图区域 */
  .page-support__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 40px;
  }
  .page-support__main-title {
    font-size: 32px !important;
    margin-bottom: 15px;
  }
  .page-support__hero-description {
    font-size: 16px !important;
    margin-bottom: 25px;
  }
  .page-support__hero-image-wrapper {
    max-height: 300px;
  }

  /* Section titles */
  .page-support__section-title {
    font-size: 28px !important;
    margin-bottom: 30px;
  }

  /* Long text / general text blocks */
  .page-support__text-block {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }

  /* Game/Brand Banners (N/A for this page, but including required structure) */
  /* .page-support__banners-top-wrapper { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } */
  /* .page-support__banner-item img {  } */

  /* Blog Card Section (N/A for this page, but including required structure) */
  /* .page-support__blog-masonry { grid-template-columns: 1fr !important; } */
  /* .page-support__blog-slide { flex: 0 0 100% !important; max-width: 100% !important; } */

  /* Generic images and containers */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-support__section,
  .page-support__container,
  .page-support__card,
  .page-support__box {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons and button containers */
  .page-support__cta-button,
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .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__cta-buttons-group,
  .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-direction: column !important; /* Stack buttons vertically */
    gap: 10px !important;
  }

  .page-support__channel-grid,
  .page-support__issue-grid {
    grid-template-columns: 1fr !important;
  }

  .page-support__cta-wrapper {
    padding: 30px 15px;
  }
  .page-support__cta-title {
    font-size: 26px !important;
  }
  .page-support__cta-image-wrapper {
    width: 100%;
  }
  .page-support__faq-question {
    font-size: 16px !important;
  }
  .page-support__faq-answer {
    font-size: 15px !important;
  }
  .page-support__commitment-list,
  .page-support__tips-list {
    font-size: 15px !important;
    padding-left: 15px;
  }
}