/* style/about.css */
.page-about {
  background: #08160F;
  color: #F2FFF6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px;
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 675px; /* Adjust as needed for visual balance */
  margin-bottom: 30px;
}

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

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

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

.page-about__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

.page-about__btn-secondary {
  background: transparent;
  color: #F2FFF6;
  border: 2px solid #2E7A4E;
}

.page-about__btn-secondary:hover {
  background: rgba(46, 122, 78, 0.2);
  transform: translateY(-2px);
}

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

.page-about__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-about__mission-vision-section {
  padding-bottom: 60px;
}

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

.page-about__card {
  background: #11271B;
  color: #F2FFF6;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #2E7A4E;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-about__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F2FFF6;
  margin-bottom: 15px;
}

.page-about__text-secondary {
  color: #A7D9B8;
  font-size: 1rem;
}

.page-about__why-choose-section {
  padding-bottom: 60px;
}

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

.page-about__feature-item {
  background: #11271B;
  color: #F2FFF6;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #2E7A4E;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__feature-icon {
  width: 200px; /* Min size */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
}

.page-about__feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #F2FFF6;
  margin-bottom: 10px;
}

.page-about__responsible-gaming-section {
  padding-bottom: 60px;
  text-align: center;
}

.page-about__responsible-gaming-section p {
  margin-bottom: 20px;
  color: #A7D9B8;
  font-size: 1.1rem;
}

.page-about__join-us-section {
  padding-bottom: 60px;
  text-align: center;
}

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

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

.page-about__faq-item {
  background: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2FFF6;
  cursor: pointer;
  background: #11271B;
  border-bottom: 1px solid transparent; /* No border by default */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-about__faq-question:hover {
  background-color: #0A4B2C;
}

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

.page-about__faq-item[open] .page-about__faq-question {
  border-bottom-color: #2E7A4E;
}

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

.page-about__faq-answer {
  padding: 0 25px 20px 25px;
  color: #A7D9B8;
  font-size: 1rem;
  line-height: 1.7;
}

/* Ensure images in content area are at least 200px */
.page-about__feature-item img {
  min-width: 200px;
  min-height: 200px;
  width: auto; /* Allow natural width */
  height: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__hero-section {
    padding-bottom: 40px;
  }
  .page-about__hero-image {
    max-height: 500px;
  }
  .page-about__main-title {
    font-size: 2.8rem;
  }
  .page-about__section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }
  .page-about__hero-image {
    max-height: 400px;
    margin-bottom: 20px;
  }
  .page-about__main-title {
    font-size: 2rem;
  }
  .page-about__description {
    font-size: 1rem;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding-top: 40px;
  }
  .page-about__content-grid,
  .page-about__feature-list {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  .page-about__card,
  .page-about__feature-item {
    padding: 20px;
  }
  .page-about__card-title,
  .page-about__feature-title {
    font-size: 1.3rem;
  }
  .page-about__text-secondary {
    font-size: 0.95rem;
  }
  .page-about__feature-icon {
    width: 150px;
    min-width: 150px;
    height: auto;
  }
  .page-about__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }
  .page-about__faq-answer {
    padding: 0 20px 15px 20px;
  }
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__container,
  .page-about__section,
  .page-about__card,
  .page-about__feature-item,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-about__hero-content {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 1.8rem;
  }
  .page-about__section-title {
    font-size: 1.6rem;
  }
  .page-about__feature-icon {
    width: 120px;
    min-width: 120px;
  }
}