.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Default text color for the page, assuming dark body background */
  background-color: #08160F; /* Custom background color */
}

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

.page-about__dark-section {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-about__card-bg {
  background-color: #11271B;
  color: #F2FFF6;
}

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

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

.page-about__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

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

.page-about__btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background-color: transparent;
  color: #2AD16F;
  text-decoration: none;
  border: 2px solid #2AD16F;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-about__btn-secondary:hover {
  background-color: #2AD16F;
  color: #ffffff;
}

.page-about__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: #F2FFF6;
}

.page-about__text-block {
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.7;
  color: #A7D9B8;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0;
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for hero image */
  margin-bottom: 30px;
}

.page-about__hero-content {
  max-width: 900px;
  text-align: center;
  z-index: 1;
  padding: 0 20px;
}

.page-about__main-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  color: #F2FFF6;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: clamp(16px, 2vw, 20px);
  color: #A7D9B8;
  margin-bottom: 30px;
}

.page-about__hero-cta-button {
  min-width: 200px;
}

/* Introduction Section */
.page-about__introduction-section {
  padding: 80px 0;
  background-color: #08160F;
}

/* Values Section */
.page-about__values-section {
  padding: 80px 0;
  background-color: #08160F;
}

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

.page-about__value-card {
  text-align: center;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 380px;
}

.page-about__value-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-about__card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}

.page-about__card-description {
  font-size: 16px;
  line-height: 1.7;
}

/* Games Section */
.page-about__games-section {
  padding: 80px 0;
  background-color: #08160F;
}

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

.page-about__game-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

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

.page-about__game-card .page-about__card-title {
  padding: 20px 20px 0;
  text-align: left;
  font-size: 22px;
}

.page-about__game-card .page-about__card-description {
  padding: 0 20px 20px;
  text-align: left;
  flex-grow: 1;
}

.page-about__game-card .page-about__btn-secondary {
  margin: 0 20px 20px;
}

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

.page-about__games-cta-button {
  min-width: 250px;
}

/* Responsibility Section */
.page-about__responsibility-section {
  padding: 80px 0;
  background-color: #08160F;
}

.page-about__responsibility-link {
  margin-top: 30px;
}

/* Team Section */
.page-about__team-section {
  padding: 80px 0;
  background-color: #08160F;
}

.page-about__team-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin: 40px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
  background-color: #08160F;
}

.page-about__faq-list {
  margin-top: 40px;
}

.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #2E7A4E;
}

.page-about__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 18px;
  color: #F2FFF6;
  background-color: #11271B;
}

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-about__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow color */
}

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

.page-about__faq-answer {
  padding: 15px 25px 20px;
  font-size: 16px;
  line-height: 1.7;
  color: #A7D9B8;
  background-color: #11271B;
}

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

.page-about__faq-button {
    margin-top: 15px;
}

/* Contact CTA Section */
.page-about__contact-cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #0A4B2C; /* Deep Green */
}

.page-about__contact-cta-content {
  max-width: 800px;
}

.page-about__contact-cta-button, .page-about__contact-register-button {
  min-width: 180px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__hero-image {
    max-height: 500px;
  }
  .page-about__main-title {
    font-size: clamp(28px, 4.5vw, 48px);
  }
  .page-about__hero-description {
    font-size: clamp(15px, 1.8vw, 18px);
  }
  .page-about__value-card, .page-about__game-card {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .page-about__container {
    padding: 0 15px;
  }

  .page-about__section-title {
    font-size: clamp(24px, 6vw, 36px);
  }

  .page-about__text-block {
    font-size: 16px;
  }

  /* Images */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__hero-image {
    max-height: 400px;
  }

  .page-about__value-icon {
    width: 150px;
    height: 150px;
  }

  /* Videos (if any, though none explicitly in this content) */
  .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,
  .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;
    overflow: hidden !important;
  }

  .page-about__video-section {
    padding-top: 10px !important;
  }

  /* Buttons */
  .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: 10px; /* Add some space between stacked buttons */
  }

  .page-about__button-group {
    flex-direction: column;
    gap: 10px;
  }
  
  .page-about__hero-section {
      padding-bottom: 40px;
  }

  .page-about__introduction-section, .page-about__values-section, .page-about__games-section, .page-about__responsibility-section, .page-about__team-section, .page-about__faq-section, .page-about__contact-cta-section {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: clamp(24px, 7vw, 38px);
  }
  .page-about__hero-description {
    font-size: clamp(14px, 3.5vw, 16px);
  }
  .page-about__value-card, .page-about__game-card {
    padding: 20px;
  }
  .page-about__card-title {
    font-size: 20px;
  }
  .page-about__card-description {
    font-size: 15px;
  }
  .page-about__faq-item summary {
    font-size: 16px;
    padding: 15px 20px;
  }
  .page-about__faq-answer {
    padding: 10px 20px 15px;
    font-size: 15px;
  }
}