.page-terms-conditions {
  background-color: #08160F; /* Nền chính rất tối */
  color: #F2FFF6; /* Văn bản chính màu sáng */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-terms-conditions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 40px 0; /* Padding top nhỏ, dưới lớn hơn */
  overflow: hidden;
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px; /* Giới hạn chiều cao để không quá lớn */
}

.page-terms-conditions__hero-content {
  position: relative; /* Đặt relative để nằm trong flow, không đè lên ảnh */
  text-align: center;
  padding: 30px 20px;
  max-width: 900px;
  margin-top: 20px; /* Khoảng cách với ảnh */
}

.page-terms-conditions__main-title {
  font-size: clamp(2em, 5vw, 3.2em);
  font-weight: 700;
  color: #F2C14E; /* Màu vàng Gold */
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-terms-conditions__intro-text {
  font-size: 1.1em;
  color: #A7D9B8; /* Màu Text Secondary */
  margin-bottom: 30px;
}

.page-terms-conditions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Màu Text Main */
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-terms-conditions__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-terms-conditions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-terms-conditions__section-wrapper {
  background-color: #11271B; /* Màu Card BG */
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid #2E7A4E; /* Màu Border */
}

.page-terms-conditions__section-heading {
  font-size: 2em;
  color: #57E38D; /* Màu Glow */
  margin-bottom: 25px;
  border-bottom: 2px solid #2E7A4E; /* Màu Border */
  padding-bottom: 10px;
  font-weight: 600;
}

.page-terms-conditions__sub-heading {
  font-size: 1.5em;
  color: #F2C14E; /* Màu Gold */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-terms-conditions__paragraph {
  font-size: 1em;
  color: #F2FFF6; /* Màu Text Main */
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-terms-conditions__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #F2FFF6; /* Màu Text Main */
}

.page-terms-conditions__list li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.page-terms-conditions__list li strong {
  color: #57E38D; /* Màu Glow */
}

.page-terms-conditions__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 25px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Đảm bảo kích thước tối thiểu */
  min-height: 200px; /* Đảm bảo kích thước tối thiểu */
}

.page-terms-conditions__faq-section {
  margin-top: 40px;
  background-color: #11271B; /* Màu Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid #2E7A4E; /* Màu Border */
}

.page-terms-conditions__faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid #1E3A2A; /* Màu Divider */
  padding-bottom: 15px;
}

.page-terms-conditions__faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.page-terms-conditions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: #F2FFF6; /* Màu Text Main */
  padding: 10px 0;
  list-style: none; /* Cho details/summary */
}

.page-terms-conditions__faq-question::-webkit-details-marker {
  display: none; /* Ẩn dấu mũi tên mặc định của details/summary */
}

.page-terms-conditions__faq-toggle {
  font-size: 1.5em;
  color: #57E38D; /* Màu Glow */
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-terms-conditions__faq-item[open] .page-terms-conditions__faq-toggle {
  transform: rotate(45deg); /* Xoay dấu + thành X khi mở */
}

.page-terms-conditions__faq-answer {
  font-size: 1em;
  color: #A7D9B8; /* Màu Text Secondary */
  padding-top: 10px;
  line-height: 1.6;
}

.page-terms-conditions__cta-section {
  text-align: center;
  background-color: #0A4B2C; /* Màu Deep Green */\  padding: 50px 20px;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid #2AD16F;
}

.page-terms-conditions__cta-heading {
  font-size: 2.5em;
  color: #F2C14E; /* Màu Gold */
  margin-bottom: 20px;
  font-weight: 700;
}

.page-terms-conditions__cta-text {
  font-size: 1.2em;
  color: #F2FFF6; /* Màu Text Main */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-terms-conditions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Cho phép xuống dòng trên mobile */
}

.page-terms-conditions__btn-primary,
.page-terms-conditions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  border: 2px solid transparent;
  white-space: normal; /* Cho phép văn bản xuống dòng */
  word-wrap: break-word;
  max-width: 100%; /* Đảm bảo không tràn */
  box-sizing: border-box;
}

.page-terms-conditions__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Màu Text Main */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-terms-conditions__btn-secondary {
  background-color: transparent;
  color: #57E38D; /* Màu Glow */
  border-color: #57E38D;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-terms-conditions__btn-secondary:hover {
  transform: translateY(-3px);
  background-color: rgba(87, 227, 141, 0.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    padding-top: 10px !important; /* body đã có padding-top */
    padding-bottom: 20px;
  }

  .page-terms-conditions__hero-image {
    max-height: 300px;
  }

  .page-terms-conditions__hero-content {
    padding: 20px 15px;
  }

  .page-terms-conditions__main-title {
    font-size: 1.8em; /* Giảm kích thước font cho mobile */
  }

  .page-terms-conditions__intro-text {
    font-size: 1em;
  }

  .page-terms-conditions__cta-button {
    padding: 12px 25px;
    font-size: 0.9em;
  }

  .page-terms-conditions__content-area,
  .page-terms-conditions__section-wrapper,
  .page-terms-conditions__faq-section,
  .page-terms-conditions__cta-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-terms-conditions__section-heading {
    font-size: 1.5em;
  }

  .page-terms-conditions__sub-heading {
    font-size: 1.2em;
  }

  .page-terms-conditions__paragraph,
  .page-terms-conditions__list li,
  .page-terms-conditions__faq-answer {
    font-size: 0.95em;
  }

  .page-terms-conditions__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-terms-conditions__faq-question {
    font-size: 1.05em;
  }

  .page-terms-conditions__cta-heading {
    font-size: 1.8em;
  }

  .page-terms-conditions__cta-text {
    font-size: 1em;
  }

  .page-terms-conditions__cta-buttons {
    flex-direction: column; /* Xếp dọc các nút trên mobile */
    gap: 15px;
  }

  .page-terms-conditions__btn-primary,
  .page-terms-conditions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 15px 10px;
    font-size: 1em;
  }
}