.page-about {
  background-color: #08160F; /* Nền tối tổng thể */
  color: #F2FFF6; /* Màu chữ chính */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-about__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-about__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #A7D9B8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* body đã xử lý padding-top cho header */
  text-align: center;
}

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

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.page-about__hero-content {
  max-width: 900px;
  margin-top: 20px;
  padding: 0 15px;
}

.page-about__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Sử dụng clamp cho kích thước linh hoạt */
  color: #F2C14E; /* Màu vàng Gold */
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.page-about__lead-text {
  font-size: 1.2em;
  color: #A7D9B8;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
}

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

.page-about__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(42, 209, 111, 0.3);
}

.page-about__btn-secondary {
  background: transparent;
  color: #F2C14E;
  border: 2px solid #2E7A4E; /* Màu viền từ border */
}

.page-about__btn-secondary:hover {
  background: rgba(46, 122, 78, 0.2); /* Sử dụng màu viền với độ trong suốt */
  transform: translateY(-3px);
}

.page-about__mission-vision {
  padding: 80px 0;
  background-color: #08160F; /* Nền tối */
  color: #F2FFF6;
}

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

.page-about__card {
  background-color: #11271B; /* Màu nền Card BG */
  border: 1px solid #2E7A4E; /* Màu viền */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  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__card-title {
  font-size: 1.8em;
  color: #F2C14E; /* Màu vàng Gold */
  margin-bottom: 15px;
  font-weight: 700;
}

.page-about__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  object-fit: cover;
}

.page-about__why-choose-us {
  padding: 80px 0;
  background-color: #08160F; /* Nền tối */
  color: #F2FFF6;
}

.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;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__feature-title {
  font-size: 1.5em;
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin: 0 auto 20px;
  object-fit: cover;
  border-radius: 8px;
}

.page-about__responsible-gaming {
  padding: 80px 0;
  background-color: #08160F; /* Nền tối */
  color: #F2FFF6;
  text-align: center;
}

.page-about__history {
  padding: 80px 0;
  background-color: #08160F; /* Nền tối */
  color: #F2FFF6;
}

.page-about__history-timeline {
  position: relative;
  max-width: 900px;
  margin: 60px auto 0;
  padding: 0 20px;
}

.page-about__history-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background-color: #2E7A4E; /* Màu viền */
  transform: translateX(-50%);
}

.page-about__timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
}

.page-about__timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.page-about__timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.page-about__timeline-item::before {
  content: '';
  position: absolute;
  top: 28px;
  width: 12px;
  height: 12px;
  background-color: #F2C14E; /* Màu vàng Gold */
  border: 2px solid #13994A;
  border-radius: 50%;
  z-index: 1;
}

.page-about__timeline-item:nth-child(odd)::before {
  right: -6px; /* - (width/2) */
}

.page-about__timeline-item:nth-child(even)::before {
  left: -6px; /* - (width/2) */
}

.page-about__timeline-year {
  font-size: 1.6em;
  color: #F2C14E;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-about__faq-section {
  padding: 80px 0;
  background-color: #08160F; /* Nền tối */
  color: #F2FFF6;
}

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

.page-about__faq-item {
  background-color: #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.2em;
  font-weight: 600;
  color: #F2FFF6;
  cursor: pointer;
  background-color: #1E3A2A; /* Màu divider */
  transition: background-color 0.3s ease;
}

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

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

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

.page-about__faq-toggle {
  font-size: 1.5em;
  font-weight: 300;
  margin-left: 15px;
  color: #F2C14E;
}

.page-about__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05em;
  color: #A7D9B8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-about__faq-item[open] .page-about__faq-answer {
  max-height: 500px; /* Giá trị đủ lớn để chứa nội dung */
  padding-top: 15px;
}

.page-about__join-us {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
  text-align: center;
  margin-top: 40px;
}

/* ========================================= */
/* Responsive Design */
/* ========================================= */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: clamp(2.2em, 4.5vw, 3em);
  }
  .page-about__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
  }
  .page-about__lead-text {
    font-size: 1.1em;
  }
  .page-about__content-grid,
  .page-about__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-about__hero-content {
    padding: 0;
  }
  .page-about__main-title {
    font-size: clamp(2em, 7vw, 2.5em) !important;
  }
  .page-about__lead-text {
    font-size: 1em;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__mission-vision,
  .page-about__why-choose-us,
  .page-about__responsible-gaming,
  .page-about__history,
  .page-about__faq-section,
  .page-about__join-us {
    padding: 50px 0;
  }
  .page-about__card,
  .page-about__feature-item {
    padding: 20px;
  }
  .page-about__card-image,
  .page-about__feature-icon {
    max-width: 100%;
    height: auto !important;
    display: block !important;
  }
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .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;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-about__history-timeline::before {
    left: 15px;
  }
  .page-about__timeline-item {
    width: 100%;
    padding-left: 45px; /* Điều chỉnh để tạo khoảng trống cho đường kẻ */
    padding-right: 15px;
    text-align: left !important;
  }
  .page-about__timeline-item:nth-child(odd),
  .page-about__timeline-item:nth-child(even) {
    left: 0;
  }
  .page-about__timeline-item::before {
    left: 9px;
  }
  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-about__faq-answer {
    padding: 0 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: clamp(1.8em, 8vw, 2.2em) !important;
  }
  .page-about__section-title {
    font-size: clamp(1.6em, 6vw, 2em);
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    font-size: 1em;
    padding: 12px 20px;
  }
}