/* Bắt buộc phải có các khối CSS của trang chủ theo yêu cầu của prompt, sau đó là CSS của trang chính sách quyền riêng tư */
@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;
  }
}

/* Các khối CSS chung cho overlay và modal của trang chủ */
.page-privacy-policy__game-trial-overlay {
  z-index: 5;
  pointer-events: auto;
}
.page-privacy-policy__game-trial-overlay.is-hidden {
  display: none !important;
  pointer-events: none !important;
}
.page-privacy-policy__game-trial-start {
  z-index: 6;
  pointer-events: auto;
  touch-action: manipulation;
}
.page-privacy-policy__game-trial-shell {
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 10px;
  overflow: hidden;
}
.page-privacy-policy__reward-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.page-privacy-policy__reward-modal:not([hidden]) {
  opacity: 1;
  visibility: visible;
}
.page-privacy-policy__reward-modal-content {
  background: #111111;
  color: #FFF6D6;
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  text-align: center;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.page-privacy-policy__reward-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: #FFF6D6;
  cursor: pointer;
}

/* CSS cụ thể cho trang Chính sách quyền riêng tư */
.page-privacy-policy {
  color: #FFF6D6; /* Màu chữ chính cho nền tối */
  background: #0A0A0A; /* Màu nền chính của body */
  font-family: Arial, sans-serif;
  line-height: 1.7;
}

.page-privacy-policy__section {
  padding: 40px 0;
  margin-bottom: 20px;
}

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

.page-privacy-policy__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Nhỏ hơn so với header-offset của body */
  padding-bottom: 40px;
  background: linear-gradient(180deg, rgba(242, 193, 78, 0.1) 0%, rgba(10, 10, 10, 0) 100%);
}

.page-privacy-policy__hero-content {
  max-width: 800px;
  margin-bottom: 30px;
}

.page-privacy-policy__main-title {
  color: #F2C14E; /* Màu chủ đạo */
  font-size: 2.8em;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.page-privacy-policy__description {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 30px;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 1000px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

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

.page-privacy-policy__section-title {
  color: #FFD36B; /* Màu phụ trợ */
  font-size: 2em;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: left;
}

.page-privacy-policy h2 + p {
  margin-top: 15px;
}

.page-privacy-policy h3 {
  color: #F2C14E;
  font-size: 1.4em;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  color: #FFF6D6;
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-privacy-policy__list li {
  margin-bottom: 8px;
  color: #FFF6D6;
}

.page-privacy-policy__list li strong {
  color: #FFD36B;
}

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

.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #FFF6D6;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.3);
  border: none;
  cursor: pointer;
}

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.5);
}

.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: #111111;
  color: #F2C14E;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1em;
  border: 2px solid #F2C14E;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.page-privacy-policy__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
  transform: translateY(-2px);
}

.page-privacy-policy__text-link {
  color: #FFD36B;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.page-privacy-policy__text-link:hover {
  color: #F2C14E;
}

/* FAQ Section Styles */
details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Màu viền */
  overflow: hidden;
  background: #111111; /* Card BG */
}
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: rgba(255, 255, 255, 0.05); /* Hiệu ứng hover nhẹ */
}
.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6; /* Text Main */
}
.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Màu chủ đạo */
  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: rgba(17, 17, 17, 0.8); /* Nền câu trả lời hơi trong suốt */
  border-radius: 0 0 5px 5px;
  color: #FFF6D6;
}

/* Responsive styles */
@media (max-width: 1023px) {
  .page-privacy-policy__main-title {
    font-size: 2.2em;
  }
  .page-privacy-policy__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  /* Homepage specific media query for promo/hot-games etc. - as required by prompt */
  .page-privacy-policy__promo-strip-track {
    grid-template-columns: repeat(2, 1fr) !important; /* Ví dụ cho promo strip nếu có */
    overflow-x: hidden !important;
  }
  .page-privacy-policy__hot-games-grid {
    grid-template-columns: repeat(2, 1fr) !important; /* Ví dụ cho hot games nếu có */
    overflow-x: hidden !important;
  }

  /* General mobile adaptations for privacy policy content */
  .page-privacy-policy {
    font-size: 15px;
    line-height: 1.6;
  }
  .page-privacy-policy__hero-section {
    padding-top: 5px;
    padding-bottom: 20px;
  }
  .page-privacy-policy__hero-content {
    margin-bottom: 20px;
  }
  .page-privacy-policy__main-title {
    font-size: 1.8em;
  }
  .page-privacy-policy__description {
    font-size: 1em;
  }
  .page-privacy-policy__section {
    padding: 20px 0;
    margin-bottom: 10px;
  }
  .page-privacy-policy__container {
    padding: 0 15px;
  }
  .page-privacy-policy__section-title {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-privacy-policy h3 {
    font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: 10px;
  }
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-bottom: 10px;
  }
  .page-privacy-policy__hero-content .page-privacy-policy__btn-primary {
    margin-top: 20px;
  }
  .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;
    margin-left: 10px;
  }
  details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer { padding: 0 15px 15px; }

  /* Mobile image adaptation */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-privacy-policy__section,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}