/* style/support.css */
.page-support {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
}

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

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

.page-support__section-title {
  font-size: 38px;
  font-weight: 700;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.2;
}

.page-support__section-description {
  font-size: 18px;
  color: #1F2D3D;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-support__text-center {
  text-align: center;
}

/* Hero Section */
.page-support__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top margin, as body padding-top is handled by shared */
  padding-bottom: 60px;
  background-color: #F4F7FB;
}

.page-support__hero-content {
  text-align: center;
  max-width: 900px;
  margin-bottom: 40px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-support__main-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: #2F6BFF;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 20px;
  color: #1F2D3D;
  margin-bottom: 30px;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-width: 1000px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

/* CTA Buttons */
.page-support__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button */
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-support__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

.page-support__btn-secondary {
  background: #FFFFFF; /* Card BG */
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-support__btn-secondary:hover {
  background: #F4F7FB; /* Background */
  color: #2F6BFF;
  border-color: #2F6BFF;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

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

/* Overview Section */
.page-support__overview-section {
  background-color: #FFFFFF;
}

/* Contact Methods Section */
.page-support__dark-section {
  background-color: #2F6BFF;
  color: #FFFFFF;
}

.page-support__dark-section .page-support__section-title,
.page-support__dark-section .page-support__section-description {
  color: #FFFFFF;
}

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

.page-support__card {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #1F2D3D;
}

.page-support__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-support__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 15px;
}

.page-support__card-text {
  font-size: 16px;
  color: #1F2D3D;
  margin-bottom: 25px;
}

.page-support__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.page-support__issues-category {
  margin-bottom: 40px;
  background: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.page-support__issues-subtitle {
  font-size: 28px;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 20px;
  text-align: center;
}

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

.page-support__issue-list li {
  background: #F4F7FB;
  padding: 18px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 17px;
  color: #1F2D3D;
  border-left: 5px solid #6FA3FF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.page-support__issue-list li strong {
  color: #2F6BFF;
}

.page-support__image-centered {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Security & Responsible Gaming Section */
.page-support__light-bg {
  background-color: #FFFFFF;
}

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

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

.page-support__faq-list {
  margin-top: 50px;
}

details.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #D6E2FF; /* Border */
  overflow: hidden;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

details.page-support__faq-item summary.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #1F2D3D; /* Text Main */
  font-size: 18px;
  font-weight: 600;
}

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: #f5f5f5;
}

.page-support__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D;
}

.page-support__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #2F6BFF;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

details.page-support__faq-item .page-support__faq-answer {
  padding: 0 25px 25px;
  background: #F4F7FB; /* Background */
  border-radius: 0 0 10px 10px;
  color: #1F2D3D;
  font-size: 16px;
}

.page-support__faq-answer p {
  margin: 0;
  padding-top: 15px;
}

/* Conclusion CTA Section */
.page-support__conclusion-cta {
  background-color: #FFFFFF;
}

/* Universal Image Responsiveness */
.page-support img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Media Queries for Responsiveness --- */

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

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

  .page-support__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

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

  /* HERO 主图区域 */
  .page-support__hero-section {
    padding-top: 10px; /* Consistent small top margin */
    padding-bottom: 40px;
  }

  .page-support__hero-content {
    margin-bottom: 30px;
  }

  .page-support__main-title {
    font-size: clamp(26px, 8vw, 36px);
  }

  .page-support__hero-description {
    font-size: 17px;
    margin-bottom: 25px;
  }

  .page-support__hero-image-wrapper {
    border-radius: 5px;
  }

  .page-support__hero-image {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important; /* Allow natural aspect ratio */
  }

  /* 按钮与按钮容器 */
  .page-support__cta-button {
    padding: 12px 20px !important;
    font-size: 16px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-support__cta-buttons-group {
    flex-direction: column !important; /* Stack buttons vertically on mobile */
    gap: 15px !important;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* General Card & Grid Layouts */
  .page-support__contact-grid, 
  .page-support__security-grid {
    grid-template-columns: 1fr; /* Single column for grids */
    gap: 20px;
    margin-top: 30px;
  }

  .page-support__card {
    padding: 25px;
  }

  .page-support__card-title {
    font-size: 22px;
  }

  .page-support__card-text {
    font-size: 15px;
  }

  .page-support__image-full-width, 
  .page-support__image-centered {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 5px;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-support__issues-category {
    padding: 25px;
  }

  .page-support__issues-subtitle {
    font-size: 24px;
  }

  .page-support__issue-list li {
    padding: 15px 20px;
    font-size: 15px;
  }

  /* FAQ Section */
  details.page-support__faq-item summary.page-support__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-support__faq-qtext {
    font-size: 16px;
  }

  .page-support__faq-toggle {
    font-size: 24px;
    width: 25px;
  }

  details.page-support__faq-item .page-support__faq-answer {
    padding: 0 20px 20px;
    font-size: 15px;
  }

  /* 通用图片与容器 */
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-section,
  .page-support__overview-section,
  .page-support__contact-methods,
  .page-support__common-issues,
  .page-support__security-responsible,
  .page-support__faq-section,
  .page-support__conclusion-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-support__container { /* Add padding to container if not already covered by section */
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Tablet (max-width: 1024px) - Adjustments for larger tablets if needed */
@media (max-width: 1024px) {
  .page-support__section-title {
    font-size: 32px;
  }

  .page-support__hero-description {
    font-size: 18px;
  }

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