.page-about {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure body background color is respected */
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjusted for better visual balance on desktop */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 0; /* Assumes shared.css handles body padding-top */
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-about__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

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

.page-about__hero-title {
  font-size: 3.5em;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.5;
}

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

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

.page-about__section-title {
  font-size: 2.8em;
  color: #017439; /* Brand primary color for titles */
  text-align: center;
  margin-bottom: 50px;
  font-weight: bold;
  line-height: 1.3;
}

.page-about__dark-section {
  background-color: #0d0d0d; /* Slightly lighter dark background for sections */
  color: #ffffff;
}

.page-about__light-bg {
  background-color: #1a1a1a; /* Dark gray for light-themed sections on a dark body */
  color: #ffffff;
}

.page-about__intro-section .page-about__section-title,
.page-about__commitment-section .page-about__section-title,
.page-about__cta-section .page-about__section-title {
  color: #FFFFFF;
}

.page-about__intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__intro-text p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-about__intro-image-wrapper {
  text-align: center;
}

.page-about__intro-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-about__feature-card {
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards on dark bg */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
}

.page-about__feature-icon {
  width: 100%; /* Ensure it takes full width of card */
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-about__card-title {
  font-size: 1.5em;
  color: #017439; /* Brand primary color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__feature-card p {
  font-size: 1em;
  line-height: 1.6;
  color: #e0e0e0;
}

.page-about__commitment-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-about__commitment-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-about__commitment-text {
  flex: 1;
  max-width: 50%;
}

.page-about__commitment-text p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-about__commitment-text ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-about__commitment-text ul li {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  color: #f0f0f0;
}

.page-about__commitment-text ul li::before {
  content: '✔';
  color: #017439;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-about__partners-description {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #e0e0e0;
}

.page-about__logo-carousel-section {
  padding: 40px 0;
  overflow: hidden;
}

.page-about__logo-carousel {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  animation: scrollLogos 30s linear infinite;
}

.page-about__logo-item {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-about__logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%); /* Maintain original color but make it subtle */
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.page-about__logo-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.page-about__cta-section {
  text-align: center;
  padding: 80px 20px;
}

.page-about__cta-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%; /* For button responsive */
  box-sizing: border-box; /* For button responsive */
  white-space: normal; /* For button responsive */
  word-wrap: break-word; /* For button responsive */
}

.page-about__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  border: 2px solid #C30808;
}

.page-about__btn-primary:hover {
  background-color: #e02020;
  border-color: #e02020;
}

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

.page-about__btn-secondary:hover {
  background-color: #017439;
  color: #FFFFFF;
}

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

.page-about__faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease;
}

.page-about__faq-question:hover {
  background: rgba(255, 255, 255, 0.12);
}

.page-about__faq-heading {
  font-size: 1.2em;
  color: #017439; /* Brand primary color */
  margin: 0;
  font-weight: bold;
}

.page-about__faq-toggle {
  font-size: 1.8em;
  color: #FFFFFF;
  font-weight: bold;
  transition: transform 0.3s ease;
}

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

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #e0e0e0;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large for content */
  padding: 15px 25px 25px 25px;
}

.page-about__faq-answer p {
  margin: 0;
  line-height: 1.6;
}

/* General image styling for content areas */
.page-about img:not(.page-about__logo-item img) {
  max-width: 100%;
  height: auto;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-about__hero-section {
    height: 500px;
  }

  .page-about__hero-title {
    font-size: 2.8em;
  }

  .page-about__hero-description {
    font-size: 1.1em;
  }

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

  .page-about__intro-grid,
  .page-about__commitment-content {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

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

  .page-about__intro-image {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-about__hero-section {
    height: 450px;
    padding-top: 0; /* Ensures no double padding if body padding is set */
  }

  .page-about__hero-content {
    padding: 15px;
  }

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

  .page-about__hero-description {
    font-size: 0.9em !important;
    margin-bottom: 30px;
  }

  .page-about__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__container {
    padding: 40px 15px;
  }

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

  /* LOGO 轮播区域 */
  .page-about__logo-carousel-section {
    padding: 20px 0;
  }

  .page-about__logo-carousel {
    justify-content: center;
    gap: 20px;
    animation: none; /* Disable animation on mobile */
    flex-wrap: wrap;
  }

  .page-about__logo-item {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    flex-shrink: 0;
  }

  .page-about__logo-item img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* 游戏展示区域 (features section uses cards, so adapting general card styles) */
  .page-about__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-about__feature-icon {
    height: 150px; /* Adjust height for smaller screens */
    margin-bottom: 15px;
  }

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

  .page-about__intro-grid,
  .page-about__commitment-content {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .page-about__intro-text p,
  .page-about__commitment-text p,
  .page-about__commitment-text ul li,
  .page-about__partners-description,
  .page-about__cta-description,
  .page-about__faq-answer p {
    font-size: 1em !important;
    line-height: 1.6 !important;
  }

  .page-about__commitment-image {
    max-width: 100% !important;
    margin-bottom: 20px;
  }

  .page-about__commitment-text {
    max-width: 100% !important;
  }

  /* 通用图片与容器 */
  .page-about img:not(.page-about__logo-item img) {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: unset !important; /* Allow smaller images if needed for layout, but still scale */
    min-height: unset !important;
  }

  .page-about__intro-image-wrapper,
  .page-about__commitment-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__intro-image, .page-about__commitment-image {
    width: 100% !important;
  }

  /* 按钮与按钮容器 */
  .page-about__hero-buttons,
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px; /* Add padding to container */
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  /* 其他内容模块 (FAQ) */
  .page-about__faq-question {
    padding: 15px 20px;
  }

  .page-about__faq-heading {
    font-size: 1.1em !important;
  }

  .page-about__faq-toggle {
    font-size: 1.5em !important;
  }

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

  .page-about__faq-item.active .page-about__faq-answer {
    padding: 10px 20px 20px 20px;
  }
}