/* style/about.css */

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

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

.page-about__section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  color: #57E38D; /* Glow */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-about__sub-title {
  font-size: clamp(22px, 2.5vw, 32px);
  color: #F2FFF6; /* Text Main */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-about__text-block {
  font-size: 16px;
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
}

.page-about__text-block a {
  color: #2AD16F; /* A brighter green for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-about__text-block a:hover {
  color: #57E38D; /* Glow on hover */
  text-decoration: underline;
}

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

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

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

.page-about__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-about__main-title {
  font-size: clamp(32px, 4.5vw, 60px);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.page-about__hero-description {
  font-size: 18px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(87, 227, 141, 0.4);
}

/* Intro Section */
.page-about__intro-section {
  padding: 60px 0;
  border-top: 1px solid #1E3A2A; /* Divider */
}

.page-about__value-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.page-about__value-item {
  background-color: #11271B; /* Card BG */
  border-left: 5px solid #2AD16F;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 16px;
  color: #F2FFF6; /* Text Main */
}

.page-about__value-item strong {
  color: #F2C14E; /* Gold */
}

/* Why Choose Us Section */
.page-about__why-choose-us-section {
  padding: 60px 0;
  border-top: 1px solid #1E3A2A; /* Divider */
}

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

.page-about__feature-card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(87, 227, 141, 0.3);
}

.page-about__feature-image {
  width: 100%;
  height: auto;
  max-height: 200px; /* Constrain height for uniform cards */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-about__card-title {
  font-size: 24px;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 700;
}

.page-about__card-text {
  font-size: 15px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-about__game-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  width: 100%;
}

.page-about__game-item {
  font-size: 15px;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.page-about__game-item::before {
  content: '•';
  color: #2AD16F;
  position: absolute;
  left: 0;
  top: 0;
}

.page-about__game-item a {
  color: #2AD16F;
  text-decoration: none;
}

.page-about__game-item a:hover {
  text-decoration: underline;
}

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

/* Commitment Section */
.page-about__commitment-section {
  padding: 60px 0;
  border-top: 1px solid #1E3A2A; /* Divider */
}

/* FAQ Section */
.page-about__faq-section {
  padding: 60px 0;
  border-top: 1px solid #1E3A2A; /* Divider */
}

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

.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: 18px 25px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  background-color: #11271B; /* Card BG */
  transition: background-color 0.3s ease;
  list-style: none;
}

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

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

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

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

.page-about__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F; /* Button green */
}

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

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

.page-about__faq-answer a {
  color: #2AD16F; /* A brighter green for links */
  text-decoration: none;
}

.page-about__faq-answer a:hover {
  text-decoration: underline;
}

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

  .page-about__hero-section {
    padding: 40px 0;
    padding-top: 10px !important;
  }

  .page-about__main-title {
    font-size: 32px;
  }

  .page-about__hero-description {
    font-size: 16px;
  }

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

  .page-about__section-title {
    font-size: 28px;
  }

  .page-about__sub-title {
    font-size: 22px;
  }

  .page-about__intro-section,
  .page-about__why-choose-us-section,
  .page-about__commitment-section,
  .page-about__faq-section {
    padding: 40px 0;
  }

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

  .page-about__feature-card,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-about__hero-image,
  .page-about__feature-image,
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

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

  .page-about__value-item {
    font-size: 15px;
  }
}