.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #ffffff; /* Assuming body background is white from shared.css */
}

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

.page-about__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-about__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* Hero Section */
.page-about__hero-section {
  padding-top: 10px; /* Small top padding, relying on body padding for header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Max height for hero image */
  overflow: hidden;
}

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

.page-about__hero-content {
  padding: 40px 20px;
  max-width: 900px; /* Constrain content width */
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff; /* White text on dark hero background */
}

.page-about__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-about__description-center {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background-color: #C30808; /* Register button color */
  color: #FFFF00; /* Register button text color */
  border: 2px solid #C30808;
}

.page-about__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-about__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Login button text color */
  border: 2px solid #FFFF00;
}

.page-about__btn-secondary:hover {
  background-color: #FFFF00;
  color: #C30808;
}

.page-about__btn-text {
  display: inline-block;
  margin-top: 15px;
  color: #017439;
  text-decoration: none;
  font-weight: bold;
}

.page-about__btn-text:hover {
  text-decoration: underline;
}

/* Section Titles */
.page-about__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from parent section */
}

.page-about__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 20px;
  color: #017439;
}

/* Mission Section */
.page-about__mission-section,
.page-about__commitment-section,
.page-about__faq-section {
  padding: 60px 0;
}

.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__text-block p {
  margin-bottom: 15px;
}

.page-about__value-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-about__value-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #333333;
}

.page-about__value-list li::before {
  content: '✔';
  color: #017439;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-about__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

/* Why Choose Us Section */
.page-about__why-choose-us {
  padding: 60px 0;
}

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

.page-about__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  color: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-about__feature-card .page-about__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFFF00; /* Highlighted title for feature cards */
}

.page-about__feature-card p {
  font-size: 1em;
  color: #f0f0f0;
}

.page-about__image-block--center {
  text-align: center;
  margin-top: 40px;
}

/* Commitment Section */
.page-about__commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-about__commitment-card {
  background-color: #f5f5f5;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  color: #333333;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-about__commitment-card .page-about__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439;
}

.page-about__commitment-card p {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-about__faq-list {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 40px;
}

.page-about__faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #f9f9f9;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #333333;
  list-style: none; /* For <summary> */
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #017439;
}

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

.page-about__faq-answer {
  padding: 15px 25px 20px;
  background-color: #ffffff;
  border-top: 1px solid #eee;
  color: #555555;
}

.page-about__faq-answer p {
  margin: 0;
}

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

.page-about__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-about__cta-section .page-about__section-title {
  color: #ffffff;
}

.page-about__cta-section .page-about__description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* General Image and Container Responsiveness */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Styles */
@media (max-width: 1024px) {
  .page-about__hero-content {
    padding: 30px 15px;
  }

  .page-about__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }

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

  .page-about__content-grid {
    grid-template-columns: 1fr;
  }

  .page-about__image-block {
    order: -1; /* Image appears above text on mobile */
  }

  .page-about__features-grid,
  .page-about__commitment-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

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

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

  /* HERO 主图区域 */
  .page-about__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
    padding-bottom: 30px;
  }

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

  .page-about__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-about__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* 按钮与按钮容器 */
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  /* 长文金框区 - Not directly applicable, general text blocks are handled */
  .page-about__text-block {
    padding: 0;
  }

  /* 游戏轮播 - Not applicable for About Us page */
  /* 合作品牌六宫格 - Not applicable for About Us page */
  /* 博客卡片区 - Not applicable for About Us page */

  /* 通用图片与容器 */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
  }

  .page-about__mission-section,
  .page-about__why-choose-us,
  .page-about__commitment-section,
  .page-about__faq-section,
  .page-about__cta-section {
    padding: 40px 0;
  }

  .page-about__content-grid {
    gap: 30px;
  }

  .page-about__features-grid,
  .page-about__commitment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__feature-card,
  .page-about__commitment-card {
    padding: 25px;
  }

  .page-about__faq-item {
    margin-left: 15px;
    margin-right: 15px;
  }

  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-about__faq-answer {
    padding: 10px 20px 15px;
  }
}