/* 智能文字颜色选择器 - body nền tối, nên sử dụng chữ sáng */
.page-about {
  color: var(--text-main-color, #FFF3E6); /* Mặc định chữ sáng trên nền tối */
  background-color: var(--bg-color, #0D0E12);
}

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

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

.page-about__section-title {
  font-size: 38px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-main-color, #FFF3E6);
  line-height: 1.2;
}

.page-about__sub-title {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-main-color, #FFF3E6);
  line-height: 1.3;
}

.page-about p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--text-main-color, #FFF3E6);
}

.page-about a {
  color: var(--accent-color, #FFA53A);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-about a:hover {
  color: var(--main-color, #FF8C1A);
}

/* Hero Section */
.page-about__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: var(--bg-color, #0D0E12);
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 30px;
}

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

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

.page-about__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive font size */
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-main-color, #FFF3E6);
  line-height: 1.2;
}

.page-about__intro-text {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
  color: var(--text-main-color, #FFF3E6);
}

.page-about__cta-button,
.page-about__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-about__cta-button {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: none;
  margin-right: 15px;
}

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

.page-about__btn-secondary {
  background: transparent;
  color: var(--main-color, #FF8C1A);
  border: 2px solid var(--main-color, #FF8C1A);
}

.page-about__btn-secondary:hover {
  background: var(--main-color, #FF8C1A);
  color: #ffffff;
}

/* Mission & Vision Section */
.page-about__mission-vision {
  background-color: var(--card-bg-color, #17191F);
}

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

.page-about__text-block {
  padding: 20px;
  background-color: var(--card-bg-color, #17191F);
  border-radius: 10px;
  border: 1px solid var(--border-color, #A84F0C);
}

.page-about__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

/* Why Choose Us Section */
.page-about__why-choose-us {
  background-color: var(--bg-color, #0D0E12);
}

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

.page-about__feature-card {
  background-color: var(--card-bg-color, #17191F);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--border-color, #A84F0C);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--text-main-color, #FFF3E6);
}

.page-about__card-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-main-color, #FFF3E6);
}

.page-about__game-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  width: 100%;
}

.page-about__game-list li {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-main-color, #FFF3E6);
}

.page-about__game-list li a {
  color: var(--accent-color, #FFA53A);
}

.page-about__card-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
  object-fit: cover;
}

/* Our Commitments Section */
.page-about__our-commitments {
  background-color: var(--card-bg-color, #17191F);
}

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

.page-about__commitment-item {
  background-color: #22252c; /* Slightly lighter than card-bg for contrast */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--border-color, #A84F0C);
  color: var(--text-main-color, #FFF3E6);
}

.page-about__commitment-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
  object-fit: cover;
}

/* Contact Us Section */
.page-about__contact-us-section {
  background-color: var(--bg-color, #0D0E12);
  text-align: center;
}

.page-about__contact-text {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 18px;
  color: var(--text-main-color, #FFF3E6);
}

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

/* FAQ Section */
.page-about__faq-section {
  background-color: var(--card-bg-color, #17191F);
}

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

details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color, #A84F0C);
  overflow: hidden;
  background: #22252c; /* Slightly lighter than card-bg for contrast */
  color: var(--text-main-color, #FFF3E6);
}

details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-about__faq-item summary.page-about__faq-question:hover {
  background: #2a2e37; /* Lighter hover for dark background */
}

.page-about__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main-color, #FFF3E6);
}

.page-about__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--accent-color, #FFA53A);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
  line-height: 1;
}

details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: #1e2026; /* Slightly darker than item background */
  border-radius: 0 0 10px 10px;
  color: var(--text-main-color, #FFF3E6);
}

.page-about__faq-answer p {
  margin-bottom: 0;
}

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

@media (max-width: 768px) {
  .page-about__section {
    padding: 40px 0;
  }

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

  .page-about__sub-title {
    font-size: 22px;
  }

  .page-about p,
  .page-about li {
    font-size: 15px;
    line-height: 1.6;
  }

  .page-about__hero-section {
    padding-bottom: 40px;
  }

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

  .page-about__main-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 15px;
  }

  .page-about__intro-text {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-about__cta-button,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 10px 0 !important; /* Stack buttons */
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-about__contact-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-about__text-block {
    padding: 15px;
  }

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

  .page-about__card-title {
    font-size: 20px;
  }

  .page-about__game-list li {
    font-size: 15px;
  }

  .page-about__faq-qtext {
    font-size: 16px;
  }

  .page-about__faq-toggle {
    font-size: 24px;
    width: 24px;
    margin-left: 10px;
  }

  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px;
  }

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

  /* General image and container responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  .page-about__section,
  .page-about__container,
  .page-about__hero-section,
  .page-about__hero-content,
  .page-about__content-grid,
  .page-about__feature-grid,
  .page-about__commitments-grid,
  .page-about__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__hero-section { padding-left: 0; padding-right: 0; }
  .page-about__hero-content { padding-left: 15px; padding-right: 15px; }
}

@media (max-width: 480px) {
  .page-about__section-title {
    font-size: 26px;
  }

  .page-about__main-title {
    font-size: clamp(22px, 8vw, 30px);
  }
}

/* Ensure no filter on images */
.page-about img {
  filter: none; /* Explicitly disable any filters */
}

/* --- Fixed Header & Body Spacing (no double padding) --- */
/* The body padding-top is handled by shared.css. */
/* This page's hero section only needs a small top margin/padding. */
.page-about__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  /* No var(--header-offset) here to avoid double padding */
}