/* --- Bắt đầu: CSS bắt buộc cho trang chủ (theo yêu cầu) --- */
@media (max-width: 1023px) {
  .page-privacy-policy__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-privacy-policy__hero-brand,
  .page-privacy-policy__hero-jackpot {
    display: none !important;
  }
  .page-privacy-policy__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-privacy-policy__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-privacy-policy__game-trial-topbar,
  .page-privacy-policy__game-trial-bottombar {
    display: none !important;
  }
  .page-privacy-policy__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-privacy-policy__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-privacy-policy__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-privacy-policy__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-privacy-policy__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-privacy-policy__hero-brand,
  .page-privacy-policy__hero-jackpot,
  .page-privacy-policy__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-privacy-policy__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-privacy-policy__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-privacy-policy__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-privacy-policy__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-privacy-policy__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}

@media (max-width: 768px) {
  /* 1. 首屏试玩 (đã được bao gồm trong @media max-width: 1023px) */

  /* 2. Ưu đãi (page-privacy-policy__promo-strip) - ví dụ nếu có */
  .page-privacy-policy__promo-strip-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    overflow-x: hidden;
    padding: 0 15px;
  }
  .page-privacy-policy__promo-card {
    flex-direction: column;
    text-align: center;
  }
  .page-privacy-policy__promo-image {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }
  .page-privacy-policy__promo-title {
    font-size: 1.1em;
  }
  .page-privacy-policy__promo-description {
    font-size: 0.9em;
  }

  /* 3. Trò chơi hot (page-privacy-policy__hot-games) - ví dụ nếu có */
  .page-privacy-policy__hot-games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 15px;
  }
  .page-privacy-policy__hot-games-item {
    text-align: center;
  }
  .page-privacy-policy__hot-games-item img {
    width: 100% !important;
    height: auto !important;
    margin-bottom: 8px;
  }
  .page-privacy-policy__hot-games-name,
  .page-privacy-policy__hot-games-rtp,
  .page-privacy-policy__hot-games-desc {
    display: none;
  }

  /* 4. Giới thiệu thương hiệu (page-privacy-policy__brand-intro) - ví dụ nếu có */
  .page-privacy-policy__brand-intro {
    padding: 20px 15px;
  }
  .page-privacy-policy__brand-intro h2 {
    font-size: 1.8em;
  }
  .page-privacy-policy__brand-intro-text {
    font-size: 0.95em;
  }

  /* 5. Dòng người chiến thắng (page-privacy-policy__winner-ticker) - ví dụ nếu có */
  .page-privacy-policy__winner-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 8px 10px;
    font-size: 0.85em;
    white-space: nowrap;
    overflow: hidden;
    z-index: 999;
  }
  body {
    padding-bottom: 35px; /* Để tránh ticker che khuất nội dung */
  }

  /* 6. Hình ảnh và container chung */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 7. Nút và container nút */
  .page-privacy-policy__cta-button,
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary,
  .page-privacy-policy a[class*="button"],
  .page-privacy-policy a[class*="btn"] {
    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-privacy-policy__cta-buttons,
  .page-privacy-policy__button-group,
  .page-privacy-policy__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-privacy-policy__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  /* 8. Các module khác (FAQ) */
  details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question { padding: 15px; }
  .page-privacy-policy__faq-qtext { font-size: 15px; }
}
/* --- Kết thúc: CSS bắt buộc cho trang chủ (theo yêu cầu) --- */


/* --- Bắt đầu: CSS dành riêng cho trang Chính sách quyền riêng tư --- */
.page-privacy-policy {
  color: #333333; /* Màu chữ mặc định cho nền sáng */
  background-color: var(--secondary-color); /* Nền trắng */
}

.page-privacy-policy__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #017439, #005f2f);
  color: #ffffff;
  padding-bottom: 20px;
  padding-top: 10px; /* Nhỏ hơn header-offset */
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  margin: 20px auto 0;
  padding: 0 20px;
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-privacy-policy__description {
  font-size: 1.1em;
  line-height: 1.6;
  opacity: 0.9;
}

.page-privacy-policy__content-area,
.page-privacy-policy__faq-section {
  padding: 40px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-privacy-policy__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-privacy-policy__section-title {
  font-size: 2em;
  color: #017439;
  margin-bottom: 25px;
  text-align: left;
  font-weight: 700;
}

.page-privacy-policy__sub-title {
  font-size: 1.4em;
  color: #005f2f;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-privacy-policy__paragraph {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 15px;
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
  padding-left: 0;
}

.page-privacy-policy__list-item {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 8px;
}

.page-privacy-policy__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__faq-section {
  background-color: #f9f9f9;
  border-top: 1px solid #e0e0e0;
}

.page-privacy-policy__faq-list {
  margin-top: 30px;
}

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none;
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question:hover {
  background: #f5f5f5;
}
.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-privacy-policy__faq-answer p {
  margin: 0;
  color: #555555;
}

.page-privacy-policy a {
  color: #017439;
  text-decoration: none;
}

.page-privacy-policy a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-content {
    margin-top: 15px;
  }
  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 6vw, 2.2em);
    margin-bottom: 10px;
  }
  .page-privacy-policy__description {
    font-size: 1em;
  }
  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-section {
    padding: 30px 0;
  }
  .page-privacy-policy__container {
    padding: 0 15px;
  }
  .page-privacy-policy__section-title {
    font-size: 1.6em;
    margin-bottom: 20px;
  }
  .page-privacy-policy__sub-title {
    font-size: 1.2em;
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item,
  .page-privacy-policy__faq-qtext,
  .page-privacy-policy__faq-answer p {
    font-size: 0.95em;
  }
  details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question { padding: 15px; }
  .page-privacy-policy__faq-qtext { font-size: 15px; }
  .page-privacy-policy__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
    margin-left: 10px;
  }
  details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
    padding: 0 15px 15px;
  }
}
/* --- Kết thúc: CSS dành riêng cho trang Chính sách quyền riêng tư --- */