/* Base styles for the page-about scope */
.page-about {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light body background */
  background-color: #F5F7FA; /* Page background color */
  line-height: 1.6;
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: #E53935; /* Brand primary color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-about__highlight {
  color: #E53935;
  font-weight: bold;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding as shared.css handles body padding-top */
  margin-bottom: 40px;
}

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

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

.page-about__hero-content-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.6) 100%); /* Dark overlay for text readability */
  z-index: 1;
}

.page-about__hero-content {
  max-width: 900px;
  padding: 20px;
  color: #ffffff; /* White text for dark overlay */
  z-index: 2;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #ffffff;
}

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

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

/* General Button Styles */
.page-about__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-about__btn-secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

/* Intro Section */
.page-about__intro-section {
  padding: 60px 0;
}

.page-about__text-block {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1em;
  line-height: 1.8;
}

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

.page-about__image-inline {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Values Section (Dark Background) */
.page-about__dark-section {
  background-color: #E53935; /* Primary brand color as background */
  color: #ffffff; /* White text for dark background */
  padding: 60px 0;
}

.page-about__dark-section .page-about__section-title {
  color: #ffffff; /* White title for dark background */
}

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

.page-about__value-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white card background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about__value-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FF5A4F; /* Auxiliary color for value titles */
}

.page-about__value-description {
  font-size: 1em;
  line-height: 1.7;
}

/* Products Section */
.page-about__products-section {
  padding: 60px 0;
}

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

.page-about__product-card {
  background-color: #ffffff; /* White card background */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-about__product-image {
  width: 100%;
  height: 200px; /* Fixed height for product images */
  object-fit: cover;
  display: block;
}

.page-about__product-title {
  font-size: 1.4em;
  color: #E53935;
  padding: 20px 20px 0;
  margin-bottom: 10px;
}

.page-about__product-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-about__cta-center {
  text-align: center;
}

/* Commitment Section */
.page-about__commitment-section {
  padding: 60px 0;
}

.page-about__commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-about__commitment-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
}

.page-about__commitment-image {
  width: 100%;
  height: 250px; /* Fixed height for commitment images */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-about__commitment-title {
  font-size: 1.5em;
  color: #E53935;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-about__commitment-description {
  font-size: 1em;
  color: #555555;
  padding: 0 20px;
}

/* Team Section */
.page-about__team-section {
  padding: 60px 0;
}

.page-about__text-block--center {
  text-align: center;
}

/* Future Section */
.page-about__future-section {
  padding: 60px 0;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 60px 0;
}

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

.page-about__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* Hide default details marker */
}

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

.page-about__faq-item[open] .page-about__faq-question {
  background-color: #E53935;
  color: #ffffff;
  border-bottom-color: transparent;
}

.page-about__faq-item[open] .page-about__faq-qtext {
  color: #ffffff;
}

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

.page-about__faq-item[open] .page-about__faq-toggle {
  transform: rotate(45deg); /* Change + to X */
  color: #ffffff;
}

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

/* Call to Action Section (Dark Background) */
.page-about__cta-section {
  padding: 60px 0;
  text-align: center;
}

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

.page-about__cta-content .page-about__section-description {
  color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__hero-description {
    font-size: 1.2em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__values-grid,
  .page-about__product-grid,
  .page-about__commitment-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  /* Required mobile CSS for various modules, even if not explicitly used on this page */
  /* HERO 主图区域 */
  .page-about__hero-section {
    padding-top: 10px; /* Small top padding */
    margin-bottom: 20px;
  }
  .page-about__hero-image-wrapper {
    height: 300px; /* Adjust hero image height for mobile */
  }
  .page-about__hero-content {
    padding: 15px;
  }
  .page-about__hero-title {
    font-size: 2.2em !important;
    margin-bottom: 15px;
  }
  .page-about__hero-description {
    font-size: 1em !important;
    margin-bottom: 20px;
  }
  .page-about__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* 长文金框区 - Placeholder, as not directly used in this 'About Us' page */
  .page-about__home-content {
    height: auto !important;
    overflow-y: visible !important;
    padding: 20px !important;
  }
  .page-about__home-content h2 {
    font-size: 1.8em !important;
  }

  /* 游戏轮播 - Placeholder, as not directly used in this 'About Us' page */
  .page-about__slider-wrapper {
    overflow-x: auto !important; /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none;  /* Hide scrollbar for IE and Edge */
  }
  .page-about__slider-wrapper::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, Opera */
  }
  .page-about__slider-track {
    display: flex !important; /* Ensure flex for horizontal scroll */
    flex-wrap: nowrap !important;
  }
  .page-about__game-slide {
    flex: 0 0 160px !important;
    max-width: 160px !important;
  }

  /* 合作品牌六宫格 - Placeholder, as not directly used in this 'About Us' page */
  .page-about__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important; /* 3 columns for mobile */
    gap: 8px !important;
  }
  .page-about__banner-item img {
    
    
  }

  /* 博客卡片区 - Placeholder, as not directly used in this 'About Us' page */
  .page-about__blog-masonry {
    grid-template-columns: 1fr !important;
  }
  .page-about__blog-slider {
    overflow-x: auto !important; /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .page-about__blog-slider::-webkit-scrollbar {
    display: none;
  }
  .page-about__blog-slider-track {
    display: flex !important; /* Ensure flex for horizontal scroll */
    flex-wrap: nowrap !important;
  }
  .page-about__blog-slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* 通用图片与容器 */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__container,
  .page-about__intro-section,
  .page-about__values-section,
  .page-about__products-section,
  .page-about__commitment-section,
  .page-about__team-section,
  .page-about__future-section,
  .page-about__faq-section,
  .page-about__cta-section,
  .page-about__text-block,
  .page-about__values-grid,
  .page-about__product-grid,
  .page-about__commitment-grid,
  .page-about__faq-list,
  .page-about__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__text-block {
    font-size: 1em;
  }
  .page-about__image-inline {
    margin: 20px 0;
  }

  /* 按钮与按钮容器 */
  .page-about__btn,
  .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;
    padding-right: 15px;
  }
  .page-about__hero-cta-buttons,
  .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-wrap: wrap !important;
    gap: 10px;
  }
  .page-about__cta-buttons {
    flex-direction: column !important;
  }

  /* General section adjustments */
  .page-about__intro-section,
  .page-about__values-section,
  .page-about__products-section,
  .page-about__commitment-section,
  .page-about__team-section,
  .page-about__future-section,
  .page-about__faq-section,
  .page-about__cta-section {
    padding: 30px 0;
  }
  .page-about__value-card,
  .page-about__product-card,
  .page-about__commitment-item {
    padding: 20px;
  }
  .page-about__product-image,
  .page-about__commitment-image {
    height: 180px;
  }
  .page-about__value-title,
  .page-about__product-title,
  .page-about__commitment-title {
    font-size: 1.3em;
  }
  .page-about__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-about__faq-answer {
    padding: 15px 20px;
  }
}