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

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

.page-about__hero-section {
  position: relative;
  background-color: #26A9E0; /* Brand color as background */
  color: #ffffff; /* White text for brand color background */
  padding: 100px 0 60px; /* Adjust padding for hero section */
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-about__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  max-width: 1000px;
  margin-top: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.page-about__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
  line-height: 1.5;
  color: #555555;
}

.page-about__mission-vision,
.page-about__entertainment-ecosystem,
.page-about__promotions-support,
.page-about__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-about__core-values,
.page-about__safety-responsibility {
  padding: 80px 0;
  background-color: #26A9E0; /* Dark background */
  color: #ffffff; /* White text */
}

.page-about__core-values .page-about__section-title,
.page-about__safety-responsibility .page-about__section-title {
  color: #ffffff;
}

.page-about__core-values .page-about__section-intro,
.page-about__safety-responsibility .page-about__section-intro {
  color: #f0f0f0;
}

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

.page-about__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-about__text-block {
  flex: 1;
}

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

.page-about__image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-about__core-values .page-about__sub-title {
  color: #ffffff;
}

.page-about__safety-responsibility .page-about__sub-title {
  color: #ffffff;
}

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

.page-about__value-card {
  background: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #ffffff;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.25);
}

.page-about__value-card .page-about__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #ffffff;
}

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

.page-about__game-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-about__game-card .page-about__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-about__game-card .page-about__card-title {
  font-size: 1.4em;
  margin: 20px 15px 10px;
  color: #26A9E0;
}

.page-about__game-card .page-about__card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-about__game-card .page-about__card-title a:hover {
  text-decoration: underline;
}

.page-about__game-card p {
  padding: 0 15px 20px;
  color: #555555;
  font-size: 0.95em;
}

.page-about__video-wrapper {
  flex: 1;
  position: relative;
  padding-bottom: 35%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-about__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.page-about__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
}

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

.page-about__feature-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-about__feature-card p {
  color: #555555;
  margin-bottom: 20px;
}

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

.page-about__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
}

.page-about__faq-item.active .page-about__faq-question {
  background-color: #f0f0f0;
  border-bottom: none;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px !important;
}

.page-about__cta-bottom {
  background-color: #26A9E0; /* Brand color */
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

.page-about__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-about__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.5;
  color: #f0f0f0;
}

/* Buttons */
.page-about__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-about__btn-primary--large {
  padding: 18px 40px;
  font-size: 1.3em;
}

.page-about__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #26A9E0;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  border: 2px solid #26A9E0;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__sub-title {
    font-size: 1.6em;
  }
  .page-about__content-grid {
    flex-direction: column;
  }
  .page-about__image {
    max-width: 100%;
  }
  .page-about__video-wrapper {
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 for smaller screens */
  }
  .page-about__value-card, .page-about__game-card, .page-about__feature-card {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 80px 0 40px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__section-intro {
    font-size: 0.95em;
  }
  .page-about__sub-title {
    font-size: 1.4em;
  }
  .page-about__mission-vision,
  .page-about__core-values,
  .page-about__entertainment-ecosystem,
  .page-about__safety-responsibility,
  .page-about__promotions-support,
  .page-about__faq-section,
  .page-about__cta-bottom {
    padding: 50px 0;
  }
  .page-about__container {
    padding: 0 15px;
  }

  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__game-card .page-about__card-image {
    height: 180px; /* Adjust height for smaller screens */
  }

  /* Mobile video responsiveness */
  .page-about video,
  .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !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-wrapper {
    padding-bottom: 56.25% !important; /* Maintain aspect ratio */
  }

  /* Mobile button responsiveness */
  .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;
    margin-bottom: 15px; /* Add space between stacked buttons */
  }
  .page-about__btn-primary--large {
    padding: 15px 30px !important;
    font-size: 1.1em !important;
  }
  .page-about__cta-bottom .page-about__btn-primary {
    margin-top: 20px;
  }

  .page-about__content-grid {
    gap: 30px;
  }
  .page-about__values-grid,
  .page-about__game-grid,
  .page-about__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-about__faq-question {
    font-size: 1em;
    padding: 15px;
  }
  .page-about__faq-answer {
    padding: 0 15px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px !important;
  }
}