/* style/index-security-guarantee.css */
/* body đã có padding-top: var(--header-offset); nên không cần thêm vào đây */
.page-index-security-guarantee {
  color: #ffffff; /* Màu chữ mặc định cho nền body tối */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body xử lý màu nền chính */
}

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

.page-index-security-guarantee__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Khoảng cách nhỏ phía trên, body đã xử lý bù trừ header */
  padding-bottom: 60px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-index-security-guarantee__hero-image-wrapper {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.page-index-security-guarantee__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-index-security-guarantee__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin-top: 80px; /* Điều chỉnh để không chồng lên header */
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Lớp phủ bán trong suốt cho dễ đọc chữ */
  border-radius: 8px;
}

.page-index-security-guarantee__main-title {
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-index-security-guarantee__hero-description {
  color: #f0f0f0;
  margin-bottom: 30px;
  font-size: 1.1em;
}

.page-index-security-guarantee__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Cho phép các nút xuống dòng trên màn hình nhỏ */
}

.page-index-security-guarantee__btn-primary,
.page-index-security-guarantee__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-index-security-guarantee__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-index-security-guarantee__btn-primary:hover {
  background-color: #1a8ccb;
  border-color: #1a8ccb;
}

.page-index-security-guarantee__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-index-security-guarantee__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-index-security-guarantee__content-section {
  padding: 60px 0;
}

.page-index-security-guarantee__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-index-security-guarantee__section-title {
  text-align: center;
  color: #ffffff; /* Mặc định cho các phần nền tối */
  margin-bottom: 40px;
  font-size: 2.2em;
  font-weight: bold;
}

.page-index-security-guarantee__content-section:not(.page-index-security-guarantee__dark-bg) .page-index-security-guarantee__section-title,
.page-index-security-guarantee__faq-section .page-index-security-guarantee__section-title {
  color: #26A9E0; /* Cho các phần nền sáng, sử dụng màu chính */
}

.page-index-security-guarantee__text-block {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.05em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index-security-guarantee__feature-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1); /* Màu trắng trong suốt nhẹ cho nền tối */
  padding: 30px;
  border-radius: 8px;
  color: #ffffff;
}

.page-index-security-guarantee__feature-icon {
  width: 250px; /* Kích thước hiển thị >= 200px */
  height: 250px; /* Kích thước hiển thị >= 200px */
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index-security-guarantee__feature-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-index-security-guarantee__feature-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-index-security-guarantee__image-text-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-index-security-guarantee__image-text-layout--reverse {
  flex-direction: row-reverse;
}

.page-index-security-guarantee__image-left,
.page-index-security-guarantee__image-right {
  flex: 1;
  min-width: 300px; /* Đảm bảo hình ảnh không quá nhỏ */
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.page-index-security-guarantee__text-left,
.page-index-security-guarantee__text-right {
  flex: 1;
  color: #f0f0f0; /* Màu chữ cho nền body tối */
}

.page-index-security-guarantee__sub-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-index-security-guarantee__paragraph {
  margin-bottom: 15px;
  color: #f0f0f0; /* Màu chữ mặc định cho nền body tối */
}

.page-index-security-guarantee__bullet-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-index-security-guarantee__list-item {
  display: flex;
  align-items: center; /* Căn giữa theo chiều dọc */
  margin-bottom: 20px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05); /* Nền hơi trong suốt cho mục danh sách */
  padding: 15px;
  border-radius: 8px;
}

.page-index-security-guarantee__list-icon {
  width: 200px; /* Kích thước hiển thị >= 200px */
  height: 200px; /* Kích thước hiển thị >= 200px */
  margin-right: 20px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 4px;
}

.page-index-security-guarantee__list-text {
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-index-security-guarantee__link {
  color: #EA7C07; /* Màu cam cho liên kết */
  text-decoration: underline;
}

.page-index-security-guarantee__link:hover {
  color: #ff9933;
}

.page-index-security-guarantee__responsible-gaming-info,
.page-index-security-guarantee__support-channels {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  margin-top: 40px;
  text-align: center;
  color: #ffffff;
}

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

.page-index-security-guarantee__card {
  background: rgba(255, 255, 255, 0.08); /* Hơi trong suốt hơn cho thẻ */
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-security-guarantee__card-image {
  width: 100%;
  height: 200px; /* Chiều cao cố định cho nhất quán */
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}

.page-index-security-guarantee__card-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-index-security-guarantee__card-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-index-security-guarantee__faq-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Nền tối hơi sáng hơn cho FAQ */
  color: #ffffff;
}

.page-index-security-guarantee__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}

.page-index-security-guarantee__faq-item {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
}

.page-index-security-guarantee__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #26A9E0; /* Màu chính cho nền câu hỏi */
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #ffffff;
  list-style: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.page-index-security-guarantee__faq-question::-webkit-details-marker {
  display: none;
}

.page-index-security-guarantee__faq-qtext {
  flex-grow: 1;
  color: #ffffff;
}

.page-index-security-guarantee__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #ffffff;
}

.page-index-security-guarantee__faq-answer {
  padding: 15px 25px 25px;
  background-color: #1a1a1a;
  color: #f0f0f0;
  font-size: 1em;
}

.page-index-security-guarantee__faq-item[open] .page-index-security-guarantee__faq-question {
  background-color: #1a8ccb; /* Xanh đậm hơn khi mở */
}

.page-index-security-guarantee__cta-bottom {
  padding: 80px 0;
  text-align: center;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-index-security-guarantee__hero-content {
    margin-top: 50px;
  }
  .page-index-security-guarantee__image-text-layout {
    flex-direction: column;
  }
  .page-index-security-guarantee__image-text-layout--reverse {
    flex-direction: column;
  }
  .page-index-security-guarantee__text-left,
  .page-index-security-guarantee__text-right {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-index-security-guarantee__hero-content {
    margin-top: 30px;
    padding: 15px;
  }
  .page-index-security-guarantee__main-title {
    font-size: 1.8em;
  }
  .page-index-security-guarantee__hero-description {
    font-size: 1em;
  }
  .page-index-security-guarantee__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-index-security-guarantee__btn-primary,
  .page-index-security-guarantee__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-security-guarantee__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-index-security-guarantee__text-block {
    font-size: 0.95em;
  }
  .page-index-security-guarantee__feature-grid,
  .page-index-security-guarantee__feature-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-security-guarantee img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-index-security-guarantee__container,
  .page-index-security-guarantee__feature-item,
  .page-index-security-guarantee__card,
  .page-index-security-guarantee__faq-item,
  .page-index-security-guarantee__responsible-gaming-info,
  .page-index-security-guarantee__support-channels {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-security-guarantee__list-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-index-security-guarantee__list-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .page-index-security-guarantee__main-title {
    font-size: 1.5em;
  }
  .page-index-security-guarantee__section-title {
    font-size: 1.5em;
  }
  .page-index-security-guarantee__sub-title {
    font-size: 1.3em;
  }
  .page-index-security-guarantee__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-index-security-guarantee__faq-answer {
    padding: 10px 20px 20px;
  }
}