.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy - Body background */
}

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

.page-about__dark-section {
  background-color: #08162B; /* Deep Navy */
  color: #F3F8FF;
  padding: 60px 0;
}

.page-about__light-bg {
  background-color: #10233F; /* Card BG */
  color: #F3F8FF;
  padding: 60px 0;
}

.page-about__text-main {
  color: #F3F8FF;
}

.page-about__text-secondary {
  color: #AFC4E8;
}

.page-about__section-title {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #F3F8FF;
  line-height: 1.2;
}

.page-about__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #AFC4E8;
}

.page-about__sub-title {
  font-size: 28px;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #F3F8FF;
}

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

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

.page-about__hero-content {
  max-width: 900px;
  padding: 0 20px;
  margin-bottom: 40px;
}

.page-about__main-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #F3F8FF;
  max-width: 100%;
}

.page-about__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #AFC4E8;
}

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

.page-about__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  border: none;
  margin-right: 15px;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  background: transparent;
  color: #F3F8FF;
  border: 2px solid #244D84; /* Border color */
}

.page-about__btn-secondary:hover {
  background: #244D84;
  color: #F3F8FF;
  transform: translateY(-2px);
}

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

.page-about__text-block p {
  margin-bottom: 20px;
  color: #AFC4E8;
}

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

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

/* Commitment Section */
.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-about__feature-card {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-about__feature-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F3F8FF;
}

.page-about__safety-image-wrapper {
  margin-top: 60px;
}

/* Ecosystem Section */
.page-about__games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-about__game-category {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-about__game-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F3F8FF;
}

.page-about__game-category .page-about__btn-secondary {
  margin-top: 20px;
  width: auto;
  align-self: center;
}

.page-about__games-image-wrapper {
  margin-top: 60px;
}

/* Team & Tech Section */
/* Reuses .page-about__grid-two-cols */

/* Social Responsibility Section */
.page-about__social-responsibility {
  padding: 60px 0;
  text-align: center;
}

.page-about__community-image-wrapper {
  margin-top: 40px;
}

/* Why Choose Us Section */
.page-about__advantages-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 60px;
  max-width: 800px;
}

.page-about__advantage-item {
  background-color: #10233F;
  border: 1px solid #244D84;
  border-radius: 8px;
  padding: 15px 25px;
  margin-bottom: 15px;
  font-size: 18px;
  display: flex;
  align-items: center;
  color: #AFC4E8;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-about__advantage-item strong {
  color: #F3F8FF;
  margin-right: 8px;
}

.page-about__why-choose-us .page-about__btn-primary {
  margin: 0 auto;
  display: block;
  width: fit-content;
}

/* FAQ Section */
details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #244D84; /* Border color */
  overflow: hidden;
  background: #10233F; /* Card BG */
}
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;
  color: #F3F8FF;
}
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: #1B3357; /* Divider color for hover */
}
.page-about__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF;
}
.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #4FA8FF; /* Glow color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: #08162B; /* Deep Navy */
  border-radius: 0 0 5px 5px;
  color: #AFC4E8;
}

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

.page-about__faq-answer a {
  color: #4FA8FF;
  text-decoration: none;
}

.page-about__faq-answer a:hover {
  text-decoration: underline;
}

/* Contact CTA Section */
.page-about__contact-cta {
  padding: 60px 0;
  text-align: center;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__section-title {
    font-size: 34px;
  }
  .page-about__hero-image-wrapper {
    max-height: 500px;
  }
  .page-about__main-title {
    font-size: 40px;
  }
  .page-about__hero-description {
    font-size: 18px;
  }
  .page-about__grid-two-cols {
    grid-template-columns: 1fr;
  }
  .page-about__games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-about__features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-about__image-wrapper:nth-child(1) {
    order: 2; /* Reverse order for some sections on smaller screens */
  }
  .page-about__team-tech-section .page-about__image-wrapper {
    order: 1;
  }
  .page-about__team-tech-section .page-about__text-block {
    order: 2;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__container {
    padding: 15px;
  }
  .page-about__section-title {
    font-size: 28px;
  }
  .page-about__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-about__sub-title {
    font-size: 24px;
  }

  /* Hero Section */
  .page-about__hero-section {
    padding-top: 10px;
  }
  .page-about__hero-image-wrapper {
    max-height: 300px;
    margin-bottom: 20px;
  }
  .page-about__hero-image {
    object-fit: contain !important; /* Ensure image fits well */
    width: 100% !important;
    height: auto !important;
  }
  .page-about__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-about__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    font-size: 16px;
    padding: 12px 20px;
    margin-right: 0;
    margin-bottom: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__cta-buttons {
    flex-direction: column !important;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Mission & Vision Section */
  .page-about__grid-two-cols {
    gap: 30px;
  }

  /* Commitment Section */
  .page-about__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-about__feature-card {
    padding: 25px;
  }

  /* Ecosystem Section */
  .page-about__games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-about__game-category {
    padding: 25px;
  }
  .page-about__game-category .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__game-category .page-about__btn-secondary:last-child {
    margin-top: 10px;
  }

  /* Team & Tech Section */
  .page-about__team-tech-section .page-about__image-wrapper {
    margin-bottom: 20px;
  }

  /* Why Choose Us Section */
  .page-about__advantages-list {
    margin: 30px auto 40px;
  }
  .page-about__advantage-item {
    font-size: 16px;
    padding: 12px 20px;
  }

  /* FAQ Section */
  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px;
  }
  .page-about__faq-qtext {
    font-size: 16px;
  }
  .page-about__faq-toggle {
    font-size: 20px;
    width: 24px;
  }
  details.page-about__faq-item .page-about__faq-answer {
    padding: 0 15px 15px;
  }

  /* General Image adaptation */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}