/* style/about.css */

/* Body background color is #08160F (dark), so main text color should be light #F2FFF6 */
.page-about {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  line-height: 1.6;
}

.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, this is decorative top padding */
  background-color: #08160F; /* Background */
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  max-width: 1920px;
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}

.page-about__hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.page-about__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__intro-text {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
}

.page-about__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  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: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

.page-about__btn-secondary {
  background: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
  border: 2px solid #2E7A4E; /* Border */
}

.page-about__btn-secondary:hover {
  background: #1E3A2A; /* Divider */
  transform: translateY(-2px);
}

.page-about__btn-lg {
  padding: 18px 35px;
  font-size: 1.2rem;
}

.page-about__section {
  padding: 80px 20px;
  text-align: center;
}

.page-about__dark-section {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

.page-about__light-bg {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
}

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

.page-about__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-about__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  color: #57E38D; /* Glow */
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-about__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
  text-align: left;
}

.page-about__text-block a {
  color: #57E38D;
  text-decoration: underline;
}

.page-about__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  text-align: left;
}

.page-about__list-item {
  font-size: 1.05rem;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  color: #A7D9B8; /* Text Secondary */
}

.page-about__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #57E38D; /* Glow */
  font-weight: bold;
}

.page-about__game-list .page-about__list-item::before {
  content: '★';
  color: #F2C14E; /* Gold */
}

.page-about__image-content {
  width: 100%;
  height: auto;
  max-width: 800px;
  border-radius: 12px;
  margin: 40px auto;
  display: block;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-about__faq-section {
  padding-bottom: 80px;
}

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

.page-about__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-about__faq-question:hover {
  background-color: #11A84E; /* Main color */
}

.page-about__faq-qtext {
  flex-grow: 1;
}

.page-about__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #F2C14E; /* Gold */
}

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

.page-about__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  border-top: none;
}

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

/* Details element specific styling */
.page-about__faq-item summary {
  list-style: none;
}

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

.page-about__cta-final {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-about__cta-image {
  max-width: 1000px;
  margin-top: 50px;
}

/* --- Responsive Styles --- */

/* Tablet */
@media (max-width: 1024px) {
  .page-about__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-about__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-about__intro-text {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
  }

  .page-about__section {
    padding: 60px 20px;
  }

  .page-about__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }

  .page-about__sub-title {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
  }

  .page-about__text-block,
  .page-about__list-item,
  .page-about__faq-question,
  .page-about__faq-answer {
    font-size: 1rem;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

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

  .page-about__hero-section {
    padding: 10px 15px 30px 15px;
  }

  .page-about__hero-image {
    margin-bottom: 20px;
  }

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

  .page-about__intro-text {
    font-size: clamp(0.9rem, 3vw, 1rem);
    margin-bottom: 30px;
  }

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

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

  .page-about__section,
  .page-about__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }

  .page-about__sub-title {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-about__text-block,
  .page-about__list-item,
  .page-about__faq-question,
  .page-about__faq-answer p {
    font-size: 0.95rem;
    text-align: left;
  }

  .page-about__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 30px auto;
  }

  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-about__faq-answer {
    padding: 15px 20px;
  }

  .page-about__faq-toggle {
    font-size: 1.5rem;
  }

  .page-about__cta-final {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  
  .page-about__cta-buttons.page-about__cta-final .page-about__btn-lg {
    width: 100%;
  }
  
  /* Ensure all images are responsive */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure all image containers are responsive */
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-about__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

}

/* Ensure details summary marker is hidden */
.page-about__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-about__faq-item summary {
  list-style: none;
}