/* Base styles for the About Us page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  padding-top: 10px; /* Small top padding for hero section */
}

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

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
  background-color: #0D0E12;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  margin-bottom: 20px;
}

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

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding-top: 20px;
}

.page-about__main-title {
  font-size: 2.8em;
  font-weight: 700;
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF3E6;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button */
  color: #FFF3E6;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
  border: none;
}

.page-about__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
}

.page-about__btn-secondary {
  background: #17191F; /* Card BG */
  color: #FFA53A;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  display: inline-block;
  border: 2px solid #FFA53A;
}

.page-about__btn-secondary:hover {
  background-color: #FFA53A;
  color: #0D0E12;
  border-color: #FFA53A;
}

.page-about__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #FFB04D; /* Glow */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  line-height: 1.3;
}

.page-about__section-title--light {
  color: #FFF3E6;
}

.page-about__text-block {
  font-size: 1.05em;
  color: #FFF3E6;
  margin-bottom: 20px;
  text-align: justify;
}

.page-about__text-block--light {
  color: #FFF3E6;
}

.page-about__mission-vision-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px 20px;
}

.page-about__mission-block, .page-about__vision-block {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-about__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 20px;
  object-fit: cover;
}

.page-about__values-section {
  background-color: #17191F; /* Card BG */
  padding: 60px 20px;
}

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

.page-about__value-card {
  background-color: #17191F;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #A84F0C; /* Border */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-about__card-text {
  color: #FFF3E6;
  font-size: 1em;
  line-height: 1.5;
}

.page-about__why-choose-us-section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-about__feature-item {
  background-color: #17191F;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  border: 1px solid #A84F0C;
}

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

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

.page-about__team-section {
  background-color: #17191F; /* Card BG */
  padding: 60px 20px;
  text-align: center;
}

.page-about__image-content--team {
  max-width: 1000px;
  margin: 30px auto 0 auto;
  border: 2px solid #A84F0C;
}

.page-about__faq-section {
  padding: 60px 20px;
}

.page-about__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__faq-item {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  color: #FFA53A;
  background-color: #1A202C; /* Slightly darker for contrast */
  list-style: none;
}

.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;
}

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

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

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

.page-about__faq-answer a {
  color: #FFA53A;
  text-decoration: underline;
}

.page-about__cta-faq {
  margin-top: 40px;
  text-align: center;
}

.page-about__contact-cta-section {
  background-color: #D96800; /* Deep Orange */
  padding: 60px 20px;
  text-align: center;
}

.page-about__contact-cta-section .page-about__btn-primary {
  margin-top: 30px;
}

/* Ensure all images are responsive by default */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* General responsive styles */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 2.4em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__hero-content {
    padding: 0 20px;
  }
  .page-about__mission-vision-section {
    flex-direction: column;
  }
  .page-about__values-grid, .page-about__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  /* 1. HERO 主图区域 */
  .page-about__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }
  .page-about__main-title {
    font-size: 1.8em !important;
    margin-bottom: 15px;
  }
  .page-about__hero-description {
    font-size: 1em !important;
    margin-bottom: 20px;
  }
  .page-about__hero-image-wrapper {
    max-height: 300px;
  }

  /* 2. 长文金框区 (Not explicitly a long gold frame, but general text sections) */
  .page-about__text-block {
    font-size: 0.95em !important;
    padding: 0 15px;
  }
  .page-about__section-title {
    font-size: 1.8em !important;
    padding-top: 30px;
    margin-bottom: 30px;
  }

  /* 3. 游戏轮播 (Not present on this page, but general grid/flex items) */
  /* If there were game slides, they would adapt here. */

  /* 4. 合作品牌六宫格 (Not present on this page, but general grid items) */
  .page-about__values-grid, .page-about__features-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  /* 5. 博客卡片区 (General cards/items) */
  .page-about__faq-item, .page-about__value-card, .page-about__feature-item {
    margin-left: 15px !important;
    margin-right: 15px !important;
  }
  .page-about__faq-question {
    font-size: 1.1em !important;
    padding: 15px 20px;
  }
  .page-about__faq-answer {
    padding: 0 20px 15px !important;
  }

  /* 6. 通用图片与容器 */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__container,
  .page-about__mission-vision-section,
  .page-about__values-section,
  .page-about__why-choose-us-section,
  .page-about__team-section,
  .page-about__faq-section,
  .page-about__contact-cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* 7. 按钮与按钮容器 */
  .page-about__cta-button,
  .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: 20px !important;
    padding-right: 20px !important;
    margin-bottom: 15px;
  }
  .page-about__cta-bottom {
    flex-direction: column !important;
    gap: 15px !important;
    padding: 0 15px;
  }
  .page-about__cta-bottom a, .page-about__cta-faq a {
    margin-bottom: 0 !important; /* Reset margin for buttons in flex column */
  }
  .page-about__contact-cta-section .page-about__btn-primary {
    margin-top: 20px !important;
  }
}