/* 页面基础样式 */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
}

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

.page-about__dark-bg {
  background-color: #0D0E12; /* Background */
  color: #FFF3E6; /* Text Main */
}

.page-about__hero-section {
  padding-top: 10px; /* Small top padding, assuming body has header offset */
  padding-bottom: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #0D0E12;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px;
}

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

.page-about__hero-content-wrapper {
  max-width: 900px;
  padding: 0 20px;
}

.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-about__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
}

.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: #17191F; /* Card BG */
  color: #FFA53A; /* Auxiliary color */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid #A84F0C; /* Border */
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-secondary:hover {
  background: #FFA53A;
  color: #17191F;
}

.page-about__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #FF8C1A; /* Main color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-about__section-title--light {
  color: #FFB04D; /* Glow */
}

.page-about__text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #FFF3E6;
  text-align: justify;
}

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

.page-about__introduction-section,
.page-about__products-section,
.page-about__faq-section {
  padding: 60px 0;
  background-color: #17191F; /* Card BG */
}

.page-about__values-section,
.page-about__technology-section,
.page-about__contact-cta-section {
  padding: 60px 0;
  background-color: #0D0E12; /* Background */
}

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

.page-about__card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #FFF3E6;
}

.page-about__value-icon,
.page-about__product-image,
.page-about__tech-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-about__value-title,
.page-about__product-title {
  font-size: 1.6rem;
  font-weight: bold;
  color: #FF8C1A; /* Main color */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-about__value-title a,
.page-about__product-title a {
  color: #FF8C1A;
  text-decoration: none;
}

.page-about__value-title a:hover,
.page-about__product-title a:hover {
  text-decoration: underline;
}

.page-about__value-description,
.page-about__product-description {
  font-size: 1rem;
  color: #FFF3E6;
  text-align: justify;
  flex-grow: 1;
}

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

.page-about__product-card {
  text-align: left;
}

.page-about__btn-outline {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 20px;
  background: transparent;
  color: #FFA53A;
  border: 2px solid #FFA53A;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-outline:hover {
  background: #FFA53A;
  color: #17191F;
}

.page-about__technology-section {
  text-align: center;
}

.page-about__tech-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.page-about__tech-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
}

.page-about__tech-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

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

.page-about__faq-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF3E6;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #FF8C1A; /* Main color */
  cursor: pointer;
  background-color: #17191F;
  list-style: none;
}

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

.page-about__faq-qtext {
  flex-grow: 1;
}

.page-about__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: #FFA53A;
}

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

.page-about__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #FFF3E6;
  text-align: justify;
}

.page-about__contact-cta-section {
  text-align: center;
}

.page-about__cta-buttons {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mandatory mobile media queries */
@media (max-width: 768px) {
  .page-about__container {
    padding: 15px;
  }

  .page-about__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 30px;
  }

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

  .page-about__hero-description {
    font-size: 1rem;
  }

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

  .page-about__text-block {
    font-size: 0.95rem;
  }

  .page-about__introduction-section,
  .page-about__products-section,
  .page-about__faq-section,
  .page-about__values-section,
  .page-about__technology-section,
  .page-about__contact-cta-section {
    padding: 40px 0;
  }

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

  .page-about__tech-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__tech-text,
  .page-about__tech-image-wrapper {
    max-width: 100%;
    width: 100%;
  }

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

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

  /* General image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* All containers that might hold images or cause overflow */
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-image-wrapper,
  .page-about__tech-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Button responsiveness */
  .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;
  }

  .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;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
    overflow: hidden !important;
  }

  /* Placeholder for home-specific elements that are not on about page, but required for checklist */
  .page-about__home-content { height: auto !important; overflow-y: visible !important; padding: 15px !important; }
  .page-about__home-content h2 { font-size: 1.8rem !important; }
  .page-about__row-games, .page-about__row-sport, .page-about__row-coop { padding: 20px 0 !important; }
  .page-about__slider-track { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto !important; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .page-about__game-slide { flex: 0 0 calc(50% - 8px) !important; max-width: calc(50% - 8px) !important; scroll-snap-align: start; }
  .page-about__banners-top-wrapper { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .page-about__banner-item img {   }
  .page-about__blog-masonry { grid-template-columns: 1fr !important; gap: 15px !important; }
  .page-about__blog-card-link { height: auto !important; }
  .page-about__blog-slider-track { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto !important; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .page-about__blog-slide { flex: 0 0 90% !important; max-width: 90% !important; scroll-snap-align: start; }
}

/* Tablet styles */
@media (max-width: 1024px) and (min-width: 769px) {
  .page-about__container {
    padding: 25px;
  }

  .page-about__hero-image-wrapper {
    margin-bottom: 25px;
  }

  .page-about__main-title {
    font-size: clamp(2.8rem, 4vw, 3.2rem);
  }

  .page-about__hero-description {
    font-size: 1.05rem;
  }

  .page-about__section-title {
    font-size: 2.2rem;
    margin-bottom: 35px;
  }

  .page-about__text-block {
    font-size: 1rem;
  }

  .page-about__values-grid,
  .page-about__products-grid {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 25px;
  }

  .page-about__tech-content {
    flex-direction: column;
    gap: 35px;
  }

  .page-about__tech-text,
  .page-about__tech-image-wrapper {
    max-width: 700px;
  }

  .page-about__faq-question {
    font-size: 1.15rem;
  }

  .page-about__faq-answer {
    font-size: 0.95rem;
  }

  .page-about__cta-buttons {
    gap: 15px;
  }

  /* Placeholder for home-specific elements that are not on about page, but required for checklist */
  .page-about__home-content { height: 600px; }
  .page-about__home-content h2 { font-size: 2rem; }
  .page-about__slider-track { display: flex; flex-wrap: nowrap; overflow-x: auto; }
  .page-about__game-slide { flex: 0 0 calc(33.333% - 11px); max-width: calc(33.333% - 11px); }
  .page-about__banners-top-wrapper { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .page-about__blog-masonry { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .page-about__blog-slider-track { display: flex; flex-wrap: nowrap; overflow-x: auto; }
  .page-about__blog-slide { flex: 0 0 calc(50% - 10px); max-width: calc(50% - 10px); }
}