.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for the page content */
  background-color: var(--background); /* Inherited from body, which is #08160F */
}

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

.page-about__section {
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-about__dark-section {
  background-color: var(--background); /* #08160F */
  color: var(--text-main); /* #F2FFF6 */
}

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

.page-about__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-main); /* #F2FFF6 */
}

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

.page-about__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary); /* #A7D9B8 */
}

.page-about__light-bg .page-about__section-description {
  color: #666666;
}

/* Hero Section */
.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles header offset, small top padding for aesthetic */
  position: relative;
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
  margin-bottom: 40px;
}

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

.page-about__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-about__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 15px;
  color: var(--text-main); /* #F2FFF6 */
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
}

.page-about__intro-description {
  font-size: 1.2em;
  color: var(--text-secondary); /* #A7D9B8 */
  margin-bottom: 30px;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

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

.page-about__btn-secondary {
  background: transparent;
  color: var(--text-main); /* #F2FFF6 */
  border: 2px solid var(--border); /* #2E7A4E */
}

.page-about__btn-secondary:hover {
  background-color: var(--border); /* #2E7A4E */
  color: #ffffff;
  transform: translateY(-2px);
}

/* Mission & Vision Section */
.page-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-about__grid--reverse .page-about__grid-item:first-child {
  order: 2;
}

.page-about__grid--reverse .page-about__grid-item:nth-child(2) {
  order: 1;
}

.page-about__grid-item p {
  margin-bottom: 15px;
  color: var(--text-secondary); /* #A7D9B8 */
}

.page-about__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-main); /* #F2FFF6 */
}

.page-about__image-wrapper {
  text-align: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

/* Why Choose Us Section */
.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-about__card {
  background-color: var(--card-bg); /* #11271B */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--text-main); /* #F2FFF6 */
  border: 1px solid var(--divider); /* #1E3A2A */
}

.page-about__light-bg .page-about__card {
  background-color: #ffffff;
  color: #333333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

.page-about__card:hover {
  transform: translateY(-5px);
}

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

.page-about__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-main); /* #F2FFF6 */
}

.page-about__light-bg .page-about__card-title {
  color: #333333;
}

.page-about__card p {
  color: var(--text-secondary); /* #A7D9B8 */
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-about__light-bg .page-about__card p {
  color: #666666;
}

.page-about__text-link {
  color: var(--glow); /* #57E38D */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  display: inline-block;
  margin-top: auto; /* Push link to bottom */
}

.page-about__text-link:hover {
  color: var(--gold); /* #F2C14E */
}

.page-about__text-link--white {
  color: #ffffff;
}

.page-about__text-link--white:hover {
  color: var(--gold); /* #F2C14E */
}

/* Games Showcase Section */
.page-about__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-about__game-card {
  text-align: center;
}

.page-about__game-card .page-about__card-image {
  border-radius: 8px;
}

.page-about__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

/* Security & Responsibility Section */
.page-about__responsive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

/* FAQ Section */
.page-about__faq-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.page-about__faq-item {
  background-color: var(--card-bg); /* #11271B */
  border: 1px solid var(--border); /* #2E7A4E */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main); /* #F2FFF6 */
}

.page-about__light-bg .page-about__faq-item {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
  color: var(--text-main); /* #F2FFF6 */
}

.page-about__light-bg .page-about__faq-question {
  color: #333333;
}

.page-about__faq-question:hover {
  background-color: var(--deep-green); /* #0A4B2C */
}

.page-about__light-bg .page-about__faq-question:hover {
  background-color: #f0f0f0;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow); /* #57E38D */
}

.page-about__light-bg .page-about__faq-toggle {
  color: var(--main-color); /* #11A84E */
}

.page-about__faq-answer {
  padding: 0 25px 18px 25px;
  font-size: 1em;
  color: var(--text-secondary); /* #A7D9B8 */
}

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

/* Hide default details marker */
.page-about__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-about__faq-item summary::marker {
  display: none;
}

/* CTA Section */
.page-about__cta-section {
  background-color: var(--background); /* #08160F */
  padding: 80px 0;
}

.page-about__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-about__section-title--cta {
  color: var(--text-main); /* #F2FFF6 */
  margin-top: 30px;
}

.page-about__section-description--cta {
  color: var(--text-secondary); /* #A7D9B8 */
  margin-bottom: 40px;
}

.page-about__cta-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-image-wrapper {
    max-height: 400px;
  }
  .page-about__grid {
    grid-template-columns: 1fr;
  }
  .page-about__grid-item:nth-child(even) {
    order: initial; /* Reset order for smaller screens */
  }
  .page-about__grid-item:nth-child(odd) {
    order: initial;
  }
  .page-about__grid--reverse .page-about__grid-item:first-child,
  .page-about__grid--reverse .page-about__grid-item:nth-child(2) {
    order: initial;
  }
  .page-about__responsive-grid {
    grid-template-columns: 1fr;
  }
}

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

  .page-about__container,
  .page-about__section,
  .page-about__hero-section,
  .page-about__mission-vision,
  .page-about__why-choose-us,
  .page-about__games-showcase,
  .page-about__security-responsibility,
  .page-about__faq-section,
  .page-about__cta-section,
  .page-about__card,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }

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

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

  .page-about__section-title {
    font-size: 2em;
  }

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

  .page-about__intro-description {
    font-size: 1em;
  }

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

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

  .page-about__grid,
  .page-about__features-grid,
  .page-about__games-grid,
  .page-about__responsive-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-about__card {
    padding: 20px;
  }

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

  .page-about img,
  .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 !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }
  .page-about__video-section {
    padding-top: 10px !important;
  }
}