/* style/about.css */
/* body đã có padding-top: var(--header-offset) từ shared.css, không lặp lại ở đây */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding for hero section */
  background-color: #08160F;
  color: #F2FFF6;
  text-align: center;
}

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

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-about__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 20px;
  color: #F2FFF6;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

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

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

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

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-about__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

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

.page-about__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  transform: translateY(-2px);
}

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

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

.page-about__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #A7D9B8; /* Text Secondary */
}

.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__vision-mission,
.page-about__core-values,
.page-about__faq-section,
.page-about__cta-bottom {
  padding: 80px 0;
}

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

.page-about__card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #F2FFF6;
}

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

.page-about__card p {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-about__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-top: auto; /* Pushes image to bottom if card content varies */
  display: block;
}

.page-about__why-choose {
  padding: 80px 0;
}

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

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

.page-about__feature-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__feature-item p {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-about__values-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-about__value-item {
  background-color: #08160F; /* Background */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  border: 1px solid #1E3A2A; /* Divider */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #F2FFF6;
}

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

.page-about__value-item p {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-about__responsible-gaming {
  text-align: center;
  padding: 80px 20px;
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
}

.page-about__responsible-gaming .page-about__btn-secondary {
  margin-top: 30px;
  border-color: #F2FFF6;
  color: #F2FFF6;
}

.page-about__responsible-gaming .page-about__btn-secondary:hover {
  background: rgba(242, 255, 246, 0.1);
}

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

.page-about__faq-item {
  background-color: #08160F; /* Background */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  background-color: #11271B; /* Card BG */
  color: #F2FFF6;
  user-select: none;
}

.page-about__faq-question:hover {
  background-color: #1E3A2A; /* Divider */
}

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

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

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

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

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

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

.page-about__cta-bottom {
  text-align: center;
  padding: 80px 20px;
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
}

.page-about__cta-bottom .page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6;
  border: none;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

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

.page-about__cta-bottom .page-about__btn-secondary:hover {
  background: rgba(242, 255, 246, 0.1);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__hero-section {
    padding: 40px 15px;
  }

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

  .page-about__intro-text {
    font-size: 1rem;
  }

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

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

  .page-about__section-description {
    font-size: 1rem;
  }

  .page-about__card-title {
    font-size: 1.6rem;
  }

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

  .page-about__value-title {
    font-size: 1.2rem;
  }

  .page-about__faq-question {
    font-size: 1.1rem;
    padding: 18px 20px;
  }
}

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

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

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

  .page-about__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-about__intro-text {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 15px 20px;
    font-size: 1.05rem;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }
  
  .page-about__container {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-about__section-description {
    font-size: 0.9rem;
    margin-bottom: 40px;
  }

  .page-about__grid,
  .page-about__features-grid,
  .page-about__values-list {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

  .page-about__card,
  .page-about__feature-item,
  .page-about__value-item {
    padding: 25px;
  }

  .page-about__card-title {
    font-size: 1.4rem;
  }

  .page-about__feature-title {
    font-size: 1.2rem;
  }

  .page-about__value-title {
    font-size: 1.1rem;
  }

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

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

  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__hero-image-wrapper,
  .page-about__card,
  .page-about__feature-item,
  .page-about__value-item,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-about__hero-section,
  .page-about__vision-mission,
  .page-about__why-choose,
  .page-about__core-values,
  .page-about__responsible-gaming,
  .page-about__faq-section,
  .page-about__cta-bottom {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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