.page-about {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  line-height: 1.6;
  background-color: transparent; /* Body background handled by shared.css */
}

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

.page-about__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  text-align: center;
  background: linear-gradient(135deg, #26A9E0, #1a7fb8);
  overflow: hidden;
}

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

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

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

.page-about__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-about__intro-text {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__section {
  padding: 60px 0;
}

.page-about__dark-section {
  background-color: rgba(38, 169, 224, 0.1);
  color: #ffffff;
}

.page-about__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
}

.page-about__dark-section .page-about__section-title {
  color: #FFFFFF;
}

.page-about__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about__paragraph {
  font-size: 1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-about__dark-section .page-about__paragraph {
  color: #f0f0f0;
}

.page-about__flex-container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-about__flex-container--reverse {
  flex-direction: row-reverse;
}

.page-about__content-block,
.page-about__image-block {
  flex: 1;
  min-width: 300px;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

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

.page-about__card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
  color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

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

.page-about__card-text {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-about__game-list,
.page-about__commitment-list,
.page-about__contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-about__game-item,
.page-about__commitment-item,
.page-about__contact-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 1em;
  color: #f0f0f0;
}

.page-about__game-item::before,
.page-about__commitment-item::before,
.page-about__contact-item::before {
  content: '✔';
  color: #26A9E0;
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.page-about__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
  margin-right: 15px;
}

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

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

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

.page-about__hero-section .page-about__btn-primary {
  background-color: #EA7C07; /* Login button color */
  border-color: #EA7C07;
}

.page-about__hero-section .page-about__btn-primary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__section-title {
    font-size: 2em;
  }

  .page-about__sub-title {
    font-size: 1.6em;
  }

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

  .page-about__flex-container {
    flex-direction: column;
    text-align: center;
  }

  .page-about__flex-container--reverse {
    flex-direction: column-reverse;
  }

  .page-about__image-block {
    margin-bottom: 30px;
  }

  .page-about__hero-image {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-about__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 30px;
  }

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

  .page-about__intro-text {
    font-size: 0.95em;
    padding: 0 15px;
  }

  /* 其他内容模块 */
  .page-about__section {
    padding: 40px 0;
  }

  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-about__sub-title {
    font-size: 1.4em;
    padding: 0 15px;
  }

  .page-about__paragraph {
    font-size: 0.95em;
    padding: 0 15px;
  }

  .page-about__card {
    padding: 20px;
  }

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

  .page-about__game-item,
  .page-about__commitment-item,
  .page-about__contact-item {
    font-size: 0.95em;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* 通用图片与容器 */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: unset !important; /* Remove min-width for mobile */
    min-height: unset !important; /* Remove min-height for mobile */
  }

  .page-about__container,
  .page-about__content-block,
  .page-about__image-block,
  .page-about__grid-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* 按钮与按钮容器 */
  .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;
    margin-right: 0 !important; /* Remove right margin for stacked buttons */
    margin-bottom: 10px; /* Add bottom margin for stacked buttons */
    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: 10px;
  }

  .page-about__flex-container {
    gap: 20px;
  }
}