/* style/support.css */

:root {
  --e2betvip-gold: #FFD700;
  --e2betvip-dark-blue: #1A2B3C;
  --e2betvip-text-light: #ffffff;
  --e2betvip-text-dark: #333333;
  --e2betvip-bg-dark: #0a0a0a; /* Body background from shared.css */
  --e2betvip-bg-card-dark: rgba(255, 255, 255, 0.1);
  --e2betvip-border-light: #e0e0e0;
}

.page-support {
  font-family: 'Arial', sans-serif;
  color: var(--e2betvip-text-light); /* Default text color for dark body background */
  background-color: var(--e2betvip-bg-dark);
}

/* Fixed Header Offset: Assuming shared.css sets body padding-top */
.page-support__hero-section {
  padding-top: 0; /* Assuming shared.css handles body padding-top */
}

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

.page-support__section-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--e2betvip-gold);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-support__section-description {
  font-size: 18px;
  color: var(--e2betvip-text-light);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-support__btn-primary {
  background-color: var(--e2betvip-gold);
  color: var(--e2betvip-dark-blue);
  border: 2px solid var(--e2betvip-gold);
}

.page-support__btn-primary:hover {
  background-color: transparent;
  color: var(--e2betvip-gold);
}

.page-support__btn-secondary {
  background-color: transparent;
  color: var(--e2betvip-gold);
  border: 2px solid var(--e2betvip-gold);
}

.page-support__btn-secondary:hover {
  background-color: var(--e2betvip-gold);
  color: var(--e2betvip-dark-blue);
}

.page-support__btn-link {
  background-color: var(--e2betvip-dark-blue);
  color: var(--e2betvip-gold);
  border: 1px solid var(--e2betvip-gold);
  padding: 10px 20px;
  font-size: 16px;
  margin-top: 15px;
}

.page-support__btn-link:hover {
  background-color: var(--e2betvip-gold);
  color: var(--e2betvip-dark-blue);
}

.page-support__dark-bg {
  background-color: var(--e2betvip-dark-blue);
  color: var(--e2betvip-text-light);
}

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

.page-support__hero-content {
  max-width: 900px;
  margin: 0 auto 40px auto;
  padding: 0 20px;
  z-index: 1;
}

.page-support__hero-title {
  font-size: 52px;
  font-weight: 800;
  color: var(--e2betvip-gold);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 20px;
  color: var(--e2betvip-text-light);
  margin-bottom: 30px;
  line-height: 1.7;
}

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

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

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

/* Channels Section */
.page-support__channels-section {
  padding: 80px 0;
  background-color: var(--e2betvip-bg-dark);
}

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

.page-support__channel-card {
  background-color: var(--e2betvip-bg-card-dark);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 400px;
}

.page-support__channel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-support__channel-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-support__channel-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--e2betvip-gold);
  margin-bottom: 15px;
}

.page-support__channel-text {
  font-size: 16px;
  color: var(--e2betvip-text-light);
  line-height: 1.6;
  flex-grow: 1;
}

/* Guide Section */
.page-support__guide-section {
  padding: 80px 0;
  background-color: var(--e2betvip-dark-blue);
}

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

.page-support__step-card {
  background-color: var(--e2betvip-bg-card-dark);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 320px;
}

.page-support__step-number {
  width: 60px;
  height: 60px;
  background-color: var(--e2betvip-gold);
  color: var(--e2betvip-dark-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
}

.page-support__step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--e2betvip-gold);
  margin-bottom: 15px;
}

.page-support__step-text {
  font-size: 16px;
  color: var(--e2betvip-text-light);
  line-height: 1.6;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 80px 0;
  background-color: var(--e2betvip-bg-dark);
}

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

.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--e2betvip-bg-card-dark);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-support__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--e2betvip-gold);
}

.page-support__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--e2betvip-gold);
  pointer-events: none;
}

.page-support__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--e2betvip-gold);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-support__faq-item.active .page-support__faq-toggle {
  transform: rotate(45deg);
  color: var(--e2betvip-text-light);
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  color: var(--e2betvip-text-light);
  font-size: 16px;
  line-height: 1.7;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 0 8px 8px;
}

/* CTA Section */
.page-support__cta-section {
  padding: 80px 0;
  text-align: center;
}

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

/* General image styles */
.page-support img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Mobile Responsive Styles --- */

@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 44px;
  }
  .page-support__hero-description {
    font-size: 18px;
  }
  .page-support__section-title {
    font-size: 32px;
  }
  .page-support__section-description {
    font-size: 16px;
  }
  .page-support__channels-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-support__guide-steps {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-support__hero-section {
    padding: 60px 0 !important;
    padding-top: 0 !important; /* Assuming shared.css handles body padding-top */
  }
  .page-support__hero-content {
    padding: 0 15px !important;
    margin-bottom: 30px !important;
  }
  .page-support__hero-title {
    font-size: 32px !important;
    margin-bottom: 15px !important;
  }
  .page-support__hero-description {
    font-size: 16px !important;
    margin-bottom: 25px !important;
  }
  .page-support__hero-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px !important;
  }
  .page-support__hero-image-wrapper {
    margin-top: 30px !important;
    max-height: 300px !important;
  }
  .page-support__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Channels Section */
  .page-support__channels-section,
  .page-support__guide-section,
  .page-support__faq-section,
  .page-support__cta-section {
    padding: 40px 0 !important;
  }
  .page-support__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
  .page-support__section-title {
    font-size: 28px !important;
    margin-bottom: 15px !important;
  }
  .page-support__section-description {
    font-size: 15px !important;
    margin-bottom: 30px !important;
  }
  .page-support__channels-grid,
  .page-support__guide-steps {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .page-support__channel-card,
  .page-support__step-card {
    padding: 25px !important;
    min-height: auto !important;
  }
  .page-support__channel-title {
    font-size: 20px !important;
  }
  .page-support__channel-text,
  .page-support__step-text {
    font-size: 15px !important;
  }

  /* FAQ Section */
  .page-support__faq-list {
    padding: 0 0px !important;
  }
  .page-support__faq-item {
    margin-bottom: 10px !important;
  }
  .page-support__faq-question {
    padding: 15px 20px !important;
  }
  .page-support__faq-question h3 {
    font-size: 16px !important;
  }
  .page-support__faq-toggle {
    font-size: 24px !important;
    width: 28px !important;
    height: 28px !important;
  }
  .page-support__faq-item.active .page-support__faq-answer {
    padding: 15px 20px !important;
  }

  /* CTA Section */
  .page-support__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px !important;
  }

  /* 通用图片与容器 */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-support__container,
  .page-support__hero-content,
  .page-support__channels-grid,
  .page-support__guide-steps,
  .page-support__faq-list,
  .page-support__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

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