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

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #08160F; /* Background color for hero section */
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-width: 100%; /* Ensure image is responsive */
  margin-bottom: 30px; /* Space between image and content */
}

.page-about__hero-content {
  max-width: 900px;
  padding: 20px;
  z-index: 1; /* Ensure text is above any potential background layers */
}

.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: bold;
  line-height: 1.2;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
}

.page-about__description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #ffffff; /* White text for contrast */
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  max-width: 100%; /* Responsive button */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-about__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
}

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

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

/* Section specific styling */
.page-about__intro-section,
.page-about__game-system,
.page-about__team-section,
.page-about__faq-section {
  background-color: #08160F; /* Background */
  padding: 80px 0;
}

.page-about__why-choose-us,
.page-about__responsibility-section,
.page-about__contact-section {
  background-color: #11271B; /* Card BG */
  padding: 80px 0;
}

.page-about__intro-section .page-about__section-title,
.page-about__game-system .page-about__section-title,
.page-about__team-section .page-about__section-title,
.page-about__faq-section .page-about__section-title {
    color: #F2FFF6; /* Text Main */
}

.page-about__why-choose-us .page-about__section-title,
.page-about__responsibility-section .page-about__section-title,
.page-about__contact-section .page-about__section-title {
    color: #F2FFF6; /* Text Main */
}

.page-about__intro-section .page-about__text-block,
.page-about__game-system .page-about__text-block,
.page-about__team-section .page-about__text-block,
.page-about__faq-section .page-about__text-block {
    color: #A7D9B8; /* Text Secondary */
}

.page-about__why-choose-us .page-about__text-block,
.page-about__responsibility-section .page-about__text-block,
.page-about__contact-section .page-about__text-block {
    color: #A7D9B8; /* Text Secondary */
}

.page-about__feature-grid,
.page-about__advantages-grid,
.page-about__game-categories {
  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-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6; /* Text Main */
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-about__feature-title,
.page-about__advantage-title,
.page-about__game-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-about__feature-text,
.page-about__advantage-text,
.page-about__game-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-about__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 100%;
}

.page-about__link-more,
.page-about__link-play,
.page-about__link-chat,
.page-about__link-register,
.page-about__link-games,
.page-about__link-contact {
  display: inline-block;
  color: #2AD16F; /* A lighter green for links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-about__link-more:hover,
.page-about__link-play:hover,
.page-about__link-chat:hover,
.page-about__link-register:hover,
.page-about__link-games:hover,
.page-about__link-contact:hover {
  color: #57E38D; /* Glow */
}

.page-about__contact-info p {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1.1rem;
  margin-bottom: 10px;
  text-align: center;
}

/* FAQ Styling */
.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;
  color: #F2FFF6; /* Text Main */
}

.page-about__faq-item summary {
  list-style: none; /* Hide default marker */
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1rem;
  color: #F2FFF6; /* Text Main */
  transition: background-color 0.3s ease;
}

.page-about__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-about__faq-item summary:hover {
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-about__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: #2AD16F;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  content: "−"; /* Change to minus when open */
}

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

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-about__hero-content {
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding */
  }

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

  .page-about__description {
    font-size: 1rem;
  }

  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-about__container {
    padding: 0 15px;
  }

  .page-about__intro-section,
  .page-about__why-choose-us,
  .page-about__game-system,
  .page-about__responsibility-section,
  .page-about__team-section,
  .page-about__contact-section,
  .page-about__faq-section {
    padding: 60px 0;
  }

  .page-about__section-title {
    font-size: clamp(1.8rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-about__text-block {
    font-size: 0.95rem;
  }

  .page-about__feature-grid,
  .page-about__advantages-grid,
.page-about__game-categories {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__card {
    padding: 25px;
  }

  .page-about__feature-title,
  .page-about__advantage-title,
  .page-about__game-title {
    font-size: 1.3rem;
  }

  .page-about__feature-text,
  .page-about__advantage-text,
  .page-about__game-description {
    font-size: 0.9rem;
  }

  .page-about__image-content {
    margin: 30px auto;
  }

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

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

  /* Mobile specific image, video, button responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about video,
  .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__video-section,
  .page-about__video-container,
  .page-about__video-wrapper,
  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important; /* Ensure no overflow */
  }

  /* For multiple buttons in a row, ensure they wrap */
  .page-about__cta-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
  }
}