/* Base styles for page-about */
.page-about {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

.page-about__section-title {
  font-size: clamp(2em, 2.5vw, 3em);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__text-block {
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
}

.page-about__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6; /* Text Main */
}

.page-about__list {
  list-style: none;
  padding-left: 0;
}

.page-about__list-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: #A7D9B8; /* Text Secondary */
}

.page-about__list-item::before {
  content: '✓';
  color: #2AD16F; /* Button top color for emphasis */
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

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

.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;
  object-position: center;
}

.page-about__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin: -80px auto 0; /* Overlap slightly with image for visual flow */
  position: relative;
  z-index: 1;
  background: rgba(8, 22, 15, 0.85); /* Slightly transparent background */
  border-radius: 15px;
  border: 1px solid #2E7A4E;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-about__main-title {
  font-size: clamp(2.5em, 4vw, 3.5em);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-about__description {
  font-size: 1.1em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 30px;
}

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

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-outline {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px #57E38D; /* Glow */
}

.page-about__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Button top color */
  border: 2px solid #2AD16F;
}

.page-about__btn-secondary:hover {
  background-color: rgba(42, 209, 111, 0.1);
  color: #F2FFF6; /* Text Main */
  box-shadow: 0 0 15px #57E38D; /* Glow */
}

.page-about__btn-outline {
  background: transparent;
  color: #2AD16F; /* Button top color */
  border: 1px solid #2AD16F;
  padding: 8px 20px;
  font-size: 0.9em;
}

.page-about__btn-outline:hover {
  background-color: rgba(42, 209, 111, 0.1);
  color: #F2FFF6; /* Text Main */
}

/* Introduction Section */
.page-about__introduction .page-about__content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
}

/* Vision & Mission Section */
.page-about__vision-mission .page-about__content-wrapper--flex {
  display: flex;
  gap: 30px;
}

.page-about__vision-mission .page-about__card--vision,
.page-about__vision-mission .page-about__card--mission {
  flex: 1;
}

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

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

.page-about__value-item {
  text-align: center;
  padding: 25px;
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
}

.page-about__value-title {
  font-size: 1.5em;
  color: #2AD16F; /* Button top color */
  margin-bottom: 10px;
}

/* Why Choose Us Section */
.page-about__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-about__advantage-title {
  font-size: 1.4em;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

/* Products & Services Section */
.page-about__products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-about__product-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-about__product-image {
  width: 100%;
  height: 200px; /* Fixed height for product images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-about__product-title {
  font-size: 1.6em;
  color: #2AD16F; /* Button top color */
  margin-bottom: 10px;
  flex-grow: 1; /* Allow title to grow */
}

.page-about__product-item .page-about__text-block {
  flex-grow: 1;
}

/* Team Section */
.page-about__our-team .page-about__content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
}

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

.page-about__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  list-style: none; /* Hide default marker */
}

.page-about__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

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

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

.page-about__faq-answer {
  padding: 0 25px 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
}

/* Conclusion Section */
.page-about__container--center {
  text-align: center;
}

/* Generic image styling */
.page-about__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  object-fit: cover;
}

/* General responsiveness for images and containers */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-about__section,
.page-about__card,
.page-about__container,
.page-about__cta-buttons,
.page-about__advantages-grid,
.page-about__products-grid,
.page-about__values-grid {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-about {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-about__container {
    padding: 15px;
  }

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

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

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

  .page-about__hero-content {
    padding: 30px 15px;
    margin-top: -60px;
    border-radius: 10px;
  }

  .page-about__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

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

  /* 按钮与按钮容器 */
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-outline,
  .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;
    padding-right: 15px;
    text-align: center;
  }

  .page-about__advantages-grid,
  .page-about__products-grid,
  .page-about__values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__vision-mission .page-about__content-wrapper--flex {
    flex-direction: column;
    gap: 20px;
  }

  .page-about__product-image {
    height: 180px; /* Adjust height for mobile */
  }

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

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

  /* 通用图片与容器 */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-about__section,
  .page-about__card,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Placeholder for home-content (not applicable here but required by checklist) */
  .page-about__home-content {
    height: auto;
    overflow-y: visible;
    padding: 20px;
  }

  /* Placeholder for gameshow (not applicable here but required by checklist) */
  .page-about__banners-top-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* Example for mobile, if it were present */
    gap: 10px;
  }

  .page-about__banner-item img {
     /* Example for mobile, if it were present */
  }

  /* Placeholder for game slider (not applicable here but required by checklist) */
  .page-about__slider-track {
    display: flex; /* Ensure flex for horizontal scroll */
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .page-about__game-slide {
    flex: 0 0 180px; /* Adjust width for mobile, if it were present */
    max-width: 180px;
    scroll-snap-align: start;
  }

  /* Placeholder for blog masonry (not applicable here but required by checklist) */
  .page-about__blog-masonry {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Placeholder for blog slider (not applicable here but required by checklist) */
  .page-about__blog-slider-track {
    display: flex; /* Ensure flex for horizontal scroll */
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .page-about__blog-slide {
    flex: 0 0 80%; /* Adjust width for mobile, if it were present */
    max-width: 80%;
    scroll-snap-align: start;
  }
}