.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
}

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

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

.page-about__hero-section {
  padding-top: 10px; /* Small top padding, not var(--header-offset) */
  background: linear-gradient(180deg, #7E0D0D 0%, #140C0C 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__hero-image {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

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

.page-about__hero-content {
  position: relative;
  z-index: 1;
  padding: 0 15px 40px;
  max-width: 900px;
}

.page-about__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Using clamp for responsive H1 */
  font-weight: 700;
  color: #F3C54D; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
  font-size: 1.1em;
  color: #FFF1E8;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: #F3C54D; /* Gold */
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-about__dark-section {
  background-color: #2A1212; /* Card BG */
}

.page-about__content-area {
  text-align: left;
  font-size: 1.05em;
  color: #FFF1E8; /* Text Main */
}

.page-about__content-area p {
  margin-bottom: 1em;
}

.page-about__content-area ul {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 0;
}

.page-about__content-area li {
  margin-bottom: 0.5em;
}

.page-about__article-body {
  max-width: 900px;
  margin: 0 auto;
}

.page-about__article-figure {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-about__card {
  background: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__card-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-about__card-title {
  font-size: 1.5em;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__card p {
  color: #FFF1E8;
  font-size: 0.95em;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button */
  color: #ffffff;
  border: none;
}

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

.page-about__btn-secondary {
  background: #2A1212; /* Card BG */
  color: #FFB04A; /* Button gold part */
  border: 2px solid #FFB04A;
}

.page-about__btn-secondary:hover {
  background: #FFB04A;
  color: #2A1212;
  border-color: #FFB04A;
}

.page-about__cta-section {
  background-color: #140C0C;
  padding: 80px 0;
}

.page-about__cta-description {
  font-size: 1.2em;
  color: #FFF1E8;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

/* FAQ Styles */
details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card BG */
  text-align: left;
}
details.page-about__faq-item summary.page-about__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;
  color: #F3C54D; /* Gold */
}
details.page-about__faq-item summary.page-about__faq-question::-webkit-details-marker {
  display: none;
}
details.page-about__faq-item summary.page-about__faq-question:hover {
  background: #3a1a1a;
}
.page-about__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: #1a0f0f; /* Slightly lighter than background */
  border-radius: 0 0 5px 5px;
  color: #FFF1E8;
}
.page-about__faq-answer p {
  margin-bottom: 0;
}
.page-about__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-about__hero-image img {
    max-height: 450px;
  }
  .page-about__hero-title {
    font-size: clamp(2.2em, 4.5vw, 3em);
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
}

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

  .page-about__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  /* HERO 主图区域 */
  .page-about__hero-section {
    padding-top: 10px; /* Still small top padding */
  }

  .page-about__hero-image {
    max-height: 300px;
    margin-bottom: 15px;
  }

  .page-about__hero-image img {
    object-fit: contain !important; /* Prevent cropping */
    aspect-ratio: unset !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }

  .page-about__hero-content {
    padding: 0 15px 30px;
  }

  .page-about__hero-title {
    font-size: clamp(2em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-about__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-about__hero-buttons,
  .page-about__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about 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: 12px 20px;
    font-size: 0.95em;
  }

  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  /* 通用图片与容器 */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__introduction-section,
  .page-about__history-section,
  .page-about__vision-mission-section,
  .page-about__why-choose-section,
  .page-about__security-section,
  .page-about__responsible-gaming-section,
  .page-about__customer-support-section,
  .page-about__faq-section,
  .page-about__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-about__content-area,
  .page-about__article-body {
    max-width: 100% !important;
    padding: 0 15px;
  }
  .page-about__article-figure {
    margin: 20px auto;
  }

  /* 产品展示图区域 (features-grid as example, not gameshow) */
  .page-about__features-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
    overflow-x: hidden; /* Ensure no horizontal scroll */
  }
  .page-about__card {
    padding: 20px;
  }
  .page-about__card-image {
    max-width: 250px;
  }

  /* FAQ Styles */
  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px;
  }
  .page-about__faq-qtext {
    font-size: 1em;
  }
  .page-about__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-about__faq-item .page-about__faq-answer {
    padding: 0 15px 15px;
  }
}