.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF; /* Explicitly set for clarity */
}

.page-about__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  position: relative;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  margin-bottom: 40px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-about__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 800px;
  width: 90%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
  box-sizing: border-box;
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFFF00; /* Register/Login font color for prominence */
  line-height: 1.2;
}

.page-about__description {
  font-size: 1.1em;
  margin-bottom: 25px;
  color: #f0f0f0;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-about__btn-primary:hover {
  background-color: #e00b0b;
  color: #ffffff;
}

.page-about__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #FFFF00;
}

.page-about__btn-secondary:hover {
  background-color: #FFFF00;
  color: #C30808; /* Register/Login button color */
}

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

.page-about__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: #017439; /* Main brand color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__introduction-section,
.page-about__our-story-section,
.page-about__responsible-gambling {
  margin-bottom: 40px;
}

.page-about__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-about__dark-bg {
  background-color: #017439; /* Main brand color */
  color: #ffffff;
}

.page-about__dark-bg .page-about__section-title {
  color: #ffffff;
}

.page-about__sub-title {
  font-size: 1.6em;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__dark-bg .page-about__sub-title {
  color: #ffffff;
}

.page-about__content-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.page-about__content-grid:nth-child(even) {
  flex-direction: row-reverse;
}

.page-about__text-block {
  flex: 1;
  font-size: 1.05em;
}

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

.page-about__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-about__value-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-about__value-list li {
  background-color: #f9f9f9;
  border-left: 5px solid #017439;
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 5px;
}

.page-about__value-list li strong {
  color: #017439;
}

.page-about__dark-bg .page-about__value-list li {
  background-color: rgba(255, 255, 255, 0.1);
  border-left-color: #FFFF00;
  color: #ffffff;
}

.page-about__dark-bg .page-about__value-list li strong {
  color: #FFFF00;
}

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

.page-about__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
}

.page-about__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 20px auto;
}

.page-about__feature-card .page-about__card-title {
  font-size: 1.4em;
  color: #FFFF00; /* Register/Login font color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__feature-card p {
  color: #f0f0f0;
  font-size: 1em;
  flex-grow: 1;
}

.page-about__cta-buttons--center {
  margin-top: 30px;
}

.page-about__btn-secondary--small {
  font-size: 0.9em;
  padding: 8px 15px;
}

.page-about__join-us-cta {
  text-align: center;
  padding: 60px 20px;
}

.page-about__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-about__join-us-cta .page-about__section-title {
  color: #FFFF00; /* Register/Login font color */
}

.page-about__join-us-cta .page-about__description {
  color: #f0f0f0;
  margin-bottom: 30px;
}

/* -------------------------------------------------------------------------- */
/*                              Responsive Design                             */
/* -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .page-about__container {
    padding: 30px 15px;
  }

  .page-about__content-grid {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__content-grid:nth-child(even) {
    flex-direction: column;
  }

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

  .page-about__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }

  .page-about__description {
    font-size: 1em;
  }

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

@media (max-width: 768px) {
  /* 1. HERO 主图区域 */
  .page-about__hero-section {
    padding-top: 10px; /* Consistent small top padding */
  }

  .page-about__hero-content {
    position: static; /* Remove absolute positioning on mobile */
    transform: none; /* Remove transform */
    padding: 20px 15px; /* Add padding */
    background: #017439; /* Solid background for better readability on small screens */
    width: 100%;
    border-radius: 0;
    margin-top: -5px; /* Pull up slightly over image */
  }

  .page-about__hero-image {
    filter: brightness(0.5); /* Darker image when content is static below */
  }

  .page-about__main-title {
    font-size: 2em !important; /* Fixed size for mobile H1 */
    margin-bottom: 10px;
  }

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

  .page-about__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }

  /* 2. 长文金框区 (Applied to general content sections) */
  .page-about__introduction-section .page-about__text-block,
  .page-about__our-story-section .page-about__text-block,
  .page-about__responsible-gambling .page-about__text-block {
    padding: 0 15px; /* Add horizontal padding to text blocks */
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 1.8em !important;
    margin-bottom: 30px;
  }
  .page-about__sub-title {
    font-size: 1.4em;
  }
  .page-about__value-list li {
    padding: 8px 12px;
  }

  /* 3. 游戏轮播 (Placeholder rules as per requirement) */
  .page-about__slider-track {
    display: flex;
    flex-wrap: nowrap; /* Ensure horizontal scrolling */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-about__game-slide {
    flex: 0 0 160px; /* Smaller fixed width for mobile game slides */
    max-width: 160px;
    scroll-snap-align: start;
  }

  /* 4. 合作品牌六宫格 (Placeholder rules as per requirement) */
  .page-about__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 columns on mobile */
    gap: 10px;
  }
  .page-about__banner-item img {
     /* Smaller images */
    
  }

  /* 5. 博客卡片区 (Placeholder rules as per requirement) */
  .page-about__blog-masonry {
    grid-template-columns: 1fr; /* Single column for blog masonry */
  }
  .page-about__blog-slider-track {
    display: flex;
    flex-wrap: nowrap; /* Ensure horizontal scrolling for blog slider */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-about__blog-slide {
    flex: 0 0 90%; /* Make blog slides take most of the width */
    max-width: 90%;
    scroll-snap-align: start;
  }

  /* 6. 通用图片与容器 */
  .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;
  }
  .page-about__content-grid {
    flex-direction: column; /* Stack content grid items vertically */
  }
  .page-about__content-grid:nth-child(even) {
    flex-direction: column; /* Maintain column direction for reversed grids too */
  }

  /* 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: 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-wrap: wrap !important;
    gap: 10px;
  }
  .page-about__cta-buttons {
    flex-direction: column; /* Default to vertical stack for buttons */
  }

  .page-about__features-grid {
    grid-template-columns: 1fr; /* Single column for features */
  }
  .page-about__feature-card {
    padding: 20px;
  }
  .page-about__feature-icon {
    width: 80px;
    height: 80px;
  }
  .page-about__feature-card .page-about__card-title {
    font-size: 1.2em;
  }
  .page-about__join-us-cta {
    padding: 40px 15px;
  }
}