/* style/about.css */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  padding-top: 10px; /* Small top padding, body handles header offset */
}

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

.page-about__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

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

.page-about__hero-content {
  text-align: center;
  max-width: 800px;
}

.page-about__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 800;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-about__subtitle {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Mission & Vision Section */
.page-about__mission-vision-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-about__card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.page-about__card-title {
  font-size: 1.8em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__card-text {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
}

/* Values Section */
.page-about__values-section {
  padding: 80px 0;
}

.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-about__value-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__value-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-about__value-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-about__value-description {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
}

/* History Section */
.page-about__history-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-about__reverse-layout {
  display: flex;
  align-items: center;
  gap: 40px;
}

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

.page-about__image-block {
  flex: 1;
  min-width: 300px; /* Ensure image block has a minimum width */
}

.page-about__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Games Section */
.page-about__games-section {
  padding: 80px 0;
}

.page-about__game-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-about__game-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  color: #A7D9B8; /* Text Secondary */
  display: flex;
  align-items: center;
}

.page-about__game-item strong {
  color: #F2FFF6; /* Text Main */
  margin-right: 10px;
}

.page-about__cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* Security & Support Section */
.page-about__security-support-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

/* Join Us Section */
.page-about__join-us-section {
  padding: 80px 0;
  text-align: center;
}

.page-about__dark-section {
  background-color: #11A84E; /* Main Color */
  color: #ffffff; /* Forced white text for contrast */
  padding: 60px 40px;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid #57E38D; /* Glow */
}

.page-about__dark-section .page-about__section-title {
  color: #ffffff;
}

.page-about__dark-section .page-about__text-block {
  color: #F2FFF6; /* Light text for readability */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-about__btn-secondary {
  background: #11271B;
  color: #57E38D; /* Glow */
  border: 2px solid #57E38D;
}

.page-about__btn-secondary:hover {
  background: #08160F;
  color: #F2FFF6;
  border-color: #F2FFF6;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
}

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

.page-about__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  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.2em;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #1E3A2A; /* Divider */
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-question {
  background-color: #0A4B2C; /* Deep Green */
  border-bottom-color: #2E7A4E;
}

.page-about__faq-question::-webkit-details-marker, /* Hide default marker for Chrome */
.page-about__faq-question::marker { /* Hide default marker for Firefox */
  display: none;
}

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

.page-about__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__reverse-layout {
    flex-direction: column;
  }
  .page-about__image-block {
    order: -1; /* Image appears above text on smaller screens */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-about__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

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

  .page-about__subtitle {
    font-size: 1.1em;
  }

  .page-about__hero-section,
  .page-about__mission-vision-section,
  .page-about__values-section,
  .page-about__history-section,
  .page-about__games-section,
  .page-about__security-support-section,
  .page-about__join-us-section,
  .page-about__faq-section {
    padding: 40px 0;
  }

  .page-about__container {
    padding: 0 15px;
  }

  .page-about__hero-image,
  .page-about__image,
  .page-about__value-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__hero-image-wrapper,
  .page-about__image-block,
  .page-about__value-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-about__cta-button {
    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;
  }

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

  .page-about__card,
  .page-about__value-item,
  .page-about__game-item,
  .page-about__faq-item {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-about__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-about__dark-section {
    padding: 40px 20px;
  }

  .page-about__faq-question {
    font-size: 1.1em;
  }

  .page-about__faq-answer {
    font-size: 0.95em;
  }

  .page-about p,
  .page-about li {
    font-size: 16px;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .page-about__section-title {
    font-size: 1.8em;
  }

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

  .page-about__cta-button {
    padding: 12px 20px;
  }
}