/* -------------------------------------------------------------------------- */
/*                              Base Styles                                 */
/* -------------------------------------------------------------------------- */
.page-about {
  background-color: #0A0A0A;
  color: #FFF6D6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-about__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  color: #F2C14E;
  margin-bottom: 40px;
  padding-top: 40px;
}

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

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-about__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-about__list-item {
  margin-bottom: 10px;
}

.page-about a {
  color: #F2C14E;
  text-decoration: none;
}

.page-about a:hover {
  text-decoration: underline;
}

/* -------------------------------------------------------------------------- */
/*                                 Buttons                                  */
/* -------------------------------------------------------------------------- */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  border: none;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-about__btn-secondary {
  background: transparent;
  color: #FFD36B;
  border: 2px solid #FFD36B;
}

.page-about__btn-secondary:hover {
  background: #FFD36B;
  color: #111111; /* Dark text for bright background */
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

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

/* -------------------------------------------------------------------------- */
/*                               Hero Section                               */
/* -------------------------------------------------------------------------- */
.page-about__hero-section {
  padding-top: 10px; /* Adjusted for shared body padding */
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for better text contrast, without changing color */
}

.page-about__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
}

.page-about__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
  color: #FFF6D6;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

/* -------------------------------------------------------------------------- */
/*                             Introduction Section                         */
/* -------------------------------------------------------------------------- */
.page-about__introduction-section,
.page-about__why-choose-section,
.page-about__commitment-section,
.page-about__team-section,
.page-about__future-section,
.page-about__cta-section,
.page-about__faq-section {
  padding: 60px 0;
  margin-bottom: 30px;
}

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

.page-about__feature-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
}

.page-about__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(255, 211, 107, 0.2);
}

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

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

.page-about__card-text {
  font-size: 1em;
  color: #FFF6D6;
}

.page-about__game-list {
  list-style-type: none;
  padding: 0;
  margin-top: 15px;
  text-align: left;
  color: #FFF6D6;
}

.page-about__game-list li {
  margin-bottom: 5px;
  padding-left: 20px;
  position: relative;
}

.page-about__game-list li::before {
  content: '▶';
  color: #FFD36B;
  position: absolute;
  left: 0;
}

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

.page-about__commitment-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  color: #FFF6D6;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-about__item-title {
  font-size: 1.6em;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-about__item-text {
  font-size: 1em;
  color: #FFF6D6;
}

/* -------------------------------------------------------------------------- */
/*                                Team Section                              */
/* -------------------------------------------------------------------------- */
.page-about__team-section .page-about__container {
  text-align: center;
}

.page-about__team-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin: 30px auto;
  display: block;
}

/* -------------------------------------------------------------------------- */
/*                                Future Section                            */
/* -------------------------------------------------------------------------- */
.page-about__future-section .page-about__container {
  text-align: center;
}

.page-about__future-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin: 30px auto;
  display: block;
}

/* -------------------------------------------------------------------------- */
/*                                 CTA Section                              */
/* -------------------------------------------------------------------------- */
.page-about__cta-section {
  background-color: #111111;
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
}

.page-about__cta-container {
  max-width: 800px;
}

.page-about__cta-section .page-about__section-title {
  color: #F2C14E;
  margin-bottom: 20px;
  padding-top: 0;
}

.page-about__cta-section .page-about__text-block {
  font-size: 1.15em;
  color: #FFF6D6;
  margin-bottom: 40px;
}

/* -------------------------------------------------------------------------- */
/*                                 FAQ Section                              */
/* -------------------------------------------------------------------------- */
.page-about__faq-list {
  margin-top: 40px;
}

.page-about__faq-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF6D6;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #F2C14E;
  position: relative;
  list-style: none; /* For details/summary */
}

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

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

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

.page-about__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #FFF6D6;
  line-height: 1.7;
}

/* -------------------------------------------------------------------------- */
/*                             Responsive Styles                            */
/* -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .page-about__container {
    padding: 0 15px;
  }

  .page-about__section-title {
    font-size: 2em;
  }

  .page-about__sub-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-about__hero-section {
    padding-top: 10px !important; /* ~10px top padding */
    margin-bottom: 30px;
  }

  .page-about__main-title {
    font-size: clamp(2em, 8vw, 2.5em);
  }

  .page-about__description {
    font-size: 1em;
  }

  /* 长文区 */
  .page-about__introduction-section, 
  .page-about__why-choose-section, 
  .page-about__commitment-section, 
  .page-about__team-section, 
  .page-about__future-section, 
  .page-about__cta-section, 
  .page-about__faq-section {
    padding: 40px 0;
    margin-bottom: 20px;
  }
  
  .page-about__text-block {
    font-size: 0.95em;
  }

  /* 博客区 - Not explicitly present in current content but included for compliance */
  .page-about__blog-slider-track {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .page-about__blog-slide {
    flex: 0 0 100%;
    max-width: 100%;
    scroll-snap-align: start;
    padding: 0 10px;
    box-sizing: border-box;
  }

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

  .page-about__hero-image-wrapper,
  .page-about__features-grid,
  .page-about__commitment-grid,
  .page-about__cta-container,
  .page-about__faq-list,
  .page-about__container,
  .page-about__section,
  .page-about__card,
  .page-about__box {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow-x: hidden !important;
  }

  /* 按钮与按钮容器 */
  .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-left: 15px !important;
    padding-right: 15px !important;
  }

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

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

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

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

  .page-about__sub-title {
    font-size: 1.3em;
  }

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

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