/* style/about.css */
/* Body background color: #08160F (Deep Green) - Text should be light */

.page-about {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.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;
}

.page-about__section-title {
  font-size: 2.8em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles --header-offset, so small padding-top here */
  overflow: hidden;
  background-color: #08160F; /* Ensure background matches */
}

.page-about__hero-image-wrapper {
  width: 100%;
  height: auto;
  overflow: hidden;
  margin-bottom: 30px; /* Space between image and content */
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: none; /* Ensure no CSS filter */
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

.page-about__hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-about__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 255, 100, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

/* Intro Section */
.page-about__intro-section {
  background-color: #08160F; /* Background */
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-about__intro-section .page-about__section-title {
  color: #F2FFF6;
}

.page-about__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  text-align: left;
}

.page-about__text-block {
  flex: 2;
  min-width: 300px;
  color: #A7D9B8; /* Text Secondary */
}

.page-about__text-block h3 {
  font-size: 1.8em;
  color: #F2FFF6; /* Text Main */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__text-block p {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-about__image-block {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  filter: none; /* Ensure no CSS filter */
}

/* Ecosystem Section (Game Cards) */
.page-about__ecosystem-section {
  background-color: #0A4B2C; /* Deep Green */
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-about__ecosystem-section .page-about__section-title {
  color: #F2FFF6;
}

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

.page-about__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #A7D9B8; /* Text Secondary */
  filter: none; /* Ensure no CSS filter */
}

.page-about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-about__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  filter: none; /* Ensure no CSS filter */
  min-height: 200px; /* Enforce min image size */
  object-fit: cover;
}

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

.page-about__card p {
  font-size: 1em;
  line-height: 1.5;
}

/* Privileges Section */
.page-about__privileges-section {
  background-color: #08160F; /* Background */
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-about__privileges-section .page-about__section-title {
  color: #F2FFF6;
}

.page-about__grid--2-cols {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  text-align: left;
}

.page-about__feature-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #A7D9B8; /* Text Secondary */
}

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

.page-about__feature-item p {
  font-size: 1.05em;
  line-height: 1.6;
}

/* Vision Section */
.page-about__vision-section {
  background-color: #0A4B2C; /* Deep Green */
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-about__vision-section .page-about__section-title {
  color: #F2FFF6;
}

.page-about__vision-section .page-about__text-block {
  margin: 0 auto;
  max-width: 800px;
  text-align: center;
  color: #A7D9B8; /* Text Secondary */
}

.page-about__vision-section .page-about__text-block p {
  margin-bottom: 30px;
  font-size: 1.1em;
}

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

.page-about__faq-section .page-about__section-title {
  color: #F2FFF6;
}

.page-about__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-about__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #A7D9B8; /* Text Secondary */
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #11271B; /* Card BG */
  position: relative;
  list-style: none; /* For details/summary */
}

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

.page-about__faq-item[open] > .page-about__faq-question {
  background-color: #1E3A2A; /* Divider */
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  transform: rotate(45deg);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__grid--2-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__section {
    padding: 40px 0;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-about__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-about__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-about__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: auto;
    margin-right: auto;
  }
  .page-about__hero-cta {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box !important;
  }
  .page-about__content-wrapper {
    flex-direction: column;
  }
  .page-about__text-block {
    min-width: unset;
    padding: 0 15px;
    box-sizing: border-box !important;
  }
  .page-about__image-block {
    min-width: unset;
    padding: 0 15px;
    box-sizing: border-box !important;
  }
  .page-about__image,
  .page-about__hero-image,
  .page-about__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    filter: none !important;
  }
  .page-about__card {
    padding: 20px;
    margin: 0 15px;
    box-sizing: border-box !important;
  }
  .page-about__grid {
    gap: 20px;
    grid-template-columns: 1fr;
    padding: 0 15px;
    box-sizing: border-box !important;
  }
  .page-about__feature-item {
    padding: 20px;
    margin: 0 15px;
    box-sizing: border-box !important;
  }
  .page-about__faq-list {
    padding: 0 15px;
    box-sizing: border-box !important;
  }
  .page-about__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-about__faq-answer {
    padding: 10px 20px 15px 20px;
    font-size: 0.95em;
  }
  .page-about__container,
  .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;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-about__video-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__main-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }
  .page-about__text-block h3,
  .page-about__feature-item h3 {
    font-size: 1.4em;
  }
  .page-about__faq-question {
    font-size: 1em;
  }
}