.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Dark body background, so light text */
  background-color: #000000; /* Assuming body background from shared.css */
}

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

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

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

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

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  padding: 30px;
  border-radius: 10px;
}

.page-about__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-about__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #f0f0f0;
  margin-bottom: 30px;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

.page-about__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
}

.page-about__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: justify;
}

.page-about__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about__introduction-section,
.page-about__commitment-section,
.page-about__promotions-section,
.page-about__social-responsibility-section,
.page-about__faq-section {
  background-color: #1a1a1a; /* Lighter dark background for contrast */
  color: #f0f0f0;
  padding: 60px 0;
}

.page-about__history-section,
.page-about__games-section,
.page-about__support-section,
.page-about__future-vision-section {
  background-color: #0d0d0d; /* Slightly darker background */
  color: #f0f0f0;
  padding: 60px 0;
}

.page-about__button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.page-about__center-button {
  margin: 30px auto 0;
  display: block;
  max-width: 300px;
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 40px;
}

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: #0d0d0d;
  border-bottom: 1px solid #333333;
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: #1a1a1a;
}

.page-about__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #ffffff;
}

.page-about__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: #f0f0f0;
  line-height: 1.7;
  /* For details tag, browser handles visibility. For div fallback, JS manages max-height */
}

.page-about__faq-item[open] .page-about__faq-question {
  border-bottom: 1px solid transparent;
}

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

/* Ensure details summary marker is hidden */
.page-about__faq-item summary {
  list-style: none;
}

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

/* Global image/video responsive styles */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-about video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

/* Desktop video container width (if any video section exists) */
.page-about__video-container {
  width: 100%; /* Must be 100% on desktop, alongside max-width */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-about__hero-content {
    padding: 20px;
  }

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

  .page-about__subtitle {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .page-about__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    padding-top: 30px;
    margin-bottom: 20px;
  }

  .page-about__text-block {
    font-size: 1rem;
    line-height: 1.7;
  }

  .page-about__introduction-section,
  .page-about__history-section,
  .page-about__commitment-section,
  .page-about__games-section,
  .page-about__promotions-section,
  .page-about__support-section,
  .page-about__social-responsibility-section,
  .page-about__future-vision-section,
  .page-about__faq-section {
    padding: 40px 0;
  }

  .page-about__container,
  .page-about__hero-image-wrapper,
  .page-about__hero-content,
  .page-about__video-container,
  .page-about__video-wrapper,
  .page-about__section,
  .page-about__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

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