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

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

.page-support__section {
  padding: 60px 0;
  margin-bottom: 20px;
  background-color: #B71C1C; /* Background */
  border-radius: 8px;
  overflow: hidden;
}

.page-support__section-title {
  font-size: clamp(28px, 4vw, 42px); /* Responsive H2 */
  color: #FFD86A; /* Gold accent */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-support__main-title {
  font-size: clamp(32px, 5vw, 56px); /* Responsive H1 */
  color: #FFD86A; /* Gold accent */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(255, 216, 106, 0.5); /* Glow */
}

.page-support__description {
  font-size: clamp(16px, 2vw, 18px);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #FFF5E1; /* Text Main */
}

.page-support__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button gradient */
  color: #7A0E0E; /* Deep Red for text */
  border: 2px solid #F4D34D; /* Gold border */
}

.page-support__btn-primary:hover {
  background: linear-gradient(180deg, #FFE082 0%, #F5C500 100%);
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.4);
}

.page-support__btn-secondary {
  background: #7A0E0E; /* Deep Red */
  color: #FFD86A; /* Gold */
  border: 2px solid #FFD86A; /* Gold border */
}

.page-support__btn-secondary:hover {
  background: #9B1C1C;
  color: #FFE082;
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.4);
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 80px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #B71C1C;
}

.page-support__hero-image {
  width: 100%;
  max-height: 600px; /* Limit height for desktop */
  overflow: hidden;
  margin-bottom: 30px;
  position: relative;
}

.page-support__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Cover for desktop */
  min-height: 300px; /* Ensure minimum size */
}

.page-support__hero-content {
  position: relative;
  z-index: 10;
  padding-top: 20px;
}

.page-support__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrap for multiple buttons */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* General image styling for content areas */
.page-support img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

.page-support__image-block {
  margin: 30px 0;
  text-align: center;
}

.page-support__image-block--center {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* Content wrappers for text and image */
.page-support__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-support__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-support__text-block {
  flex: 1;
  padding: 20px;
  background-color: #D32F2F; /* Card BG */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__text-block p {
  margin-bottom: 15px;
  font-size: 16px;
  color: #FFF5E1; /* Text Main */
}

.page-support__image-block {
  flex: 1;
  text-align: center;
}

/* Contact Channels Section */
.page-support__contact-channels {
  background-color: #7A0E0E; /* Deep Red */
}

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

.page-support__channel-card {
  background-color: #D32F2F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-support__channel-card .page-support__channel-title {
  font-size: 24px;
  color: #FFD86A; /* Gold */
  margin-bottom: 15px;
}

.page-support__channel-card .page-support__channel-description {
  font-size: 15px;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 25px;
  flex-grow: 1;
}

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

details.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #F2B544; /* Border */
  overflow: hidden;
  background: #D32F2F; /* Card BG */
}
details.page-support__faq-item summary.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-support__faq-item summary.page-support__faq-question::-webkit-details-marker {
  display: none;
}
details.page-support__faq-item summary.page-support__faq-question:hover {
  background: #7A0E0E; /* Deep Red */
}
.page-support__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFD86A; /* Gold */
}
.page-support__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F4D34D; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
  line-height: 1;
}
details.page-support__faq-item .page-support__faq-answer {
  padding: 0 20px 20px;
  background: #7A0E0E; /* Deep Red */
  border-radius: 0 0 5px 5px;
}
.page-support__faq-item .page-support__faq-answer p {
  color: #FFF5E1; /* Text Main */
  font-size: 16px;
  margin-bottom: 0;
}

/* Troubleshooting Section */
.page-support__troubleshooting {
  background-color: #7A0E0E; /* Deep Red */
}

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

.page-support__trouble-card {
  background-color: #D32F2F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-support__trouble-card .page-support__card-title {
  font-size: 22px;
  color: #FFD86A; /* Gold */
  margin-bottom: 15px;
}

.page-support__trouble-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-support__trouble-list li {
  font-size: 16px;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-support__trouble-list li::before {
  content: '✓';
  color: #F4D34D; /* Gold */
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

/* Security and Responsible Gaming */
.page-support__security-responsible {
  background-color: #B71C1C; /* Background */
}

/* CTA Join Section */
.page-support__cta-join {
  background-color: #7A0E0E; /* Deep Red */
  text-align: center;
  padding-bottom: 80px;
}

.page-support__cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-support__cta-content {
  max-width: 800px;
}

.page-support__cta-buttons--center {
  margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-support__container {
    padding: 0 15px;
  }
  .page-support__hero-image img {
    max-height: 500px;
  }
  .page-support__content-wrapper {
    flex-direction: column;
  }
  .page-support__content-wrapper--reverse {
    flex-direction: column;
  }
  .page-support__text-block,
  .page-support__image-block {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-support__section {
    padding: 40px 0;
  }
  .page-support__section-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 30px;
  }
  .page-support__main-title {
    font-size: clamp(28px, 7vw, 48px);
  }
  .page-support__description {
    font-size: 15px;
    margin-bottom: 25px;
  }

  /* HERO 主图区域 */
  .page-support__hero-section {
    padding-top: 10px; /* 約10px頂距 */
    padding-bottom: 50px;
  }
  .page-support__hero-image {
    max-height: none; /* Remove desktop max-height */
    margin-bottom: 20px;
  }
  .page-support__hero-image img {
    object-fit: contain !important; /* contain for mobile */
    aspect-ratio: unset !important; /* unset aspect ratio */
    min-height: 250px !important; /* Smaller min-height for mobile */
  }

  /* 通用图片与容器 */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__text-block,
  .page-support__image-block,
  .page-support__channel-card,
  .page-support__trouble-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__image-block--center {
    padding-left: 0;
    padding-right: 0;
  }

  /* 按钮与按钮容器 */
  .page-support__btn {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }
  .page-support__cta-buttons {
    flex-direction: column; /* Vertical stack for mobile buttons */
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__cta-buttons--center {
    padding-left: 0;
    padding-right: 0;
  }

  /* Contact Channels Grid */
  .page-support__channels-grid {
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 20px;
  }

  /* FAQ Section */
  details.page-support__faq-item summary.page-support__faq-question {
    padding: 15px;
  }
  .page-support__faq-qtext {
    font-size: 16px;
  }
  .page-support__faq-toggle {
    font-size: 24px;
    width: 24px;
    height: 24px;
  }
  details.page-support__faq-item .page-support__faq-answer {
    padding: 0 15px 15px;
  }
  .page-support__faq-item .page-support__faq-answer p {
    font-size: 15px;
  }

  /* Troubleshooting Grid */
  .page-support__troubleshooting-grid {
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 20px;
  }
  .page-support__trouble-card {
    padding: 25px;
  }
  .page-support__trouble-card .page-support__card-title {
    font-size: 20px;
  }
  .page-support__trouble-list li {
    font-size: 15px;
    padding-left: 20px;
  }
  .page-support__trouble-list li::before {
    font-size: 18px;
  }
}