/* style/about.css */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color, #333333);
  background: var(--background, #FFFFFF);
  padding-top: var(--header-offset, 120px);
}

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

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

.page-about__container--reverse-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  direction: rtl; /* For image on left, text on right */
}

.page-about__container--reverse-grid > div {
  direction: ltr;
}

.page-about__section-title {
  font-size: 2.5em;
  color: var(--heading-color, #017439);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.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, border-color 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background-color: #C30808; /* Đăng ký color */
  color: #FFFF00; /* Đăng ký font color */
  border: 2px solid #C30808;
}

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

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

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

/* Hero Section */
.page-about__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 500px;
  color: #ffffff;
  overflow: hidden;
}

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

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 15px;
}

.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;
  line-height: 1.5;
  color: #f0f0f0;
}

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

/* Intro Section */
.page-about__intro-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

/* Mission Vision Section */
.page-about__mission-vision-section {
  padding: 60px 0;
  background-color: #017439;
  color: #ffffff;
}

.page-about__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-about__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #FFFFFF;
}

.page-about__card-text {
  font-size: 1.1em;
}

/* Values Section */
.page-about__values-section {
  padding: 60px 0;
  background-color: #f8f8f8;
  color: #333333;
}

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

.page-about__value-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-about__value-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #017439;
}

.page-about__value-description {
  font-size: 1em;
  color: #555555;
}

.page-about__value-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
}

/* Team Section */
.page-about__team-section {
  padding: 60px 0;
  background-color: #017439;
  color: #ffffff;
}

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

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

/* Games Section */
.page-about__games-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-about__game-item {
  background-color: #f0f0f0;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #333333;
}

.page-about__game-item strong {
  color: #017439;
}

.page-about__game-image-wrapper {
  text-align: center;
  margin-top: 30px;
}

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

/* Promotions Section */
.page-about__promotions-section {
  padding: 60px 0;
  background-color: #017439;
  color: #ffffff;
}

.page-about__promo-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-about__promo-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #ffffff;
}

.page-about__promo-item strong {
  color: #FFFF00;
}

.page-about__promo-image-wrapper {
  text-align: center;
  margin-top: 30px;
}

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

.page-about__cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* Customer Support Section */
.page-about__customer-support-section {
  padding: 60px 0;
  background-color: #f8f8f8;
  color: #333333;
}

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

.page-about__contact-item {
  background-color: #FFFFFF;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 5px solid #017439;
  border-radius: 8px;
  font-size: 1.1em;
  color: #333333;
}

/* App Download Section */
.page-about__app-download-section {
  padding: 60px 0;
  background-color: #017439;
  color: #ffffff;
}

.page-about__app-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-about__app-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1.1em;
  color: #ffffff;
}

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

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

/* FAQ Section */
.page-about__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-about__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #eaf7ed;
  list-style: none;
}

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

.page-about__faq-qtext {
  flex-grow: 1;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  margin-left: 10px;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  content: '−';
}

.page-about__faq-answer {
  padding: 20px;
  padding-top: 0;
  font-size: 1em;
  color: #555555;
  text-align: justify;
}

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

/* Final CTA Section */
.page-about__cta-final-section {
  padding: 80px 0;
  text-align: center;
  background-color: #017439;
  color: #ffffff;
}

.page-about__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__container--grid,
  .page-about__container--reverse-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .page-about__container--reverse-grid > div {
    direction: ltr;
  }
  .page-about__team-content,
  .page-about__app-content {
    order: 2;
  }
  .page-about__team-image-wrapper,
  .page-about__app-image-wrapper {
    order: 1;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__hero-section {
    padding: 60px 0;
    min-height: 400px;
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-actions,
  .page-about__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__card,
  .page-about__value-item,
  .page-about__game-item,
  .page-about__promo-item,
  .page-about__contact-item,
  .page-about__app-item {
    padding: 20px;
  }
  .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__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-about__video-section,
  .page-about__video-container,
  .page-about__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-about video,
  .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .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 {
    display: flex;
    flex-direction: column;
  }
  .page-about__faq-item summary {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-about__faq-answer {
    padding: 15px;
    padding-top: 0;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
}

/* Color Contrast Adjustments */
.page-about__dark-bg {
  background: #017439;
  color: #ffffff;
}

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

.page-about__light-bg .page-about__section-title {
  color: #017439;
}

.page-about__light-bg .page-about__text-block {
  color: #333333;
}

.page-about__light-bg .page-about__value-title {
  color: #017439;
}

.page-about__light-bg .page-about__value-description {
  color: #555555;
}

.page-about__light-bg .page-about__game-item {
  background-color: #f0f0f0;
}

.page-about__light-bg .page-about__contact-item {
  background-color: #FFFFFF;
  border-left-color: #017439;
}

.page-about__light-bg .page-about__faq-item summary {
  background-color: #eaf7ed;
  color: #017439;
}

.page-about__light-bg .page-about__faq-answer {
  color: #555555;
}