/* style/privacy-policy.css */
/* body đã padding-top: var(--header-offset) từ shared.css; trang này không cần thêm */

:root {
  --fbet-color-primary: #11A84E;
  --fbet-color-secondary: #22C768;
  --fbet-bg-card: #11271B;
  --fbet-bg-main: #08160F;
  --fbet-text-main: #F2FFF6;
  --fbet-text-secondary: #A7D9B8;
  --fbet-border-color: #2E7A4E;
  --fbet-glow-color: #57E38D;
  --fbet-gold-color: #F2C14E;
  --fbet-divider-color: #1E3A2A;
  --fbet-deep-green: #0A4B2C;
  --fbet-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--fbet-text-main); /* Light text on dark background */
  background-color: var(--fbet-bg-main); /* Dark background from custom palette */
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  text-align: center;
  overflow: hidden;
  background-color: var(--fbet-deep-green);
}

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

.page-privacy-policy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: grayscale(100%); /* Apply grayscale to background image for subtle effect */
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  color: var(--fbet-text-main);
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--fbet-gold-color);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-privacy-policy__intro-text {
  font-size: 1.1em;
  color: var(--fbet-text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--fbet-bg-main);
  color: var(--fbet-text-main);
}

.page-privacy-policy__container {
  max-width: 900px;
  margin: 0 auto;
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 600;
  color: var(--fbet-color-primary);
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--fbet-divider-color);
  padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
  font-size: clamp(1.3em, 2.5vw, 1.8em);
  font-weight: 500;
  color: var(--fbet-text-main);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  color: var(--fbet-text-secondary);
}

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

.page-privacy-policy__list li {
  margin-bottom: 10px;
  color: var(--fbet-text-secondary);
}

.page-privacy-policy__list li strong {
  color: var(--fbet-text-main);
}

.page-privacy-policy__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__link {
  color: var(--fbet-color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
  color: var(--fbet-color-secondary);
  text-decoration: underline;
}

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

.page-privacy-policy__faq-item {
  background-color: var(--fbet-bg-card);
  border: 1px solid var(--fbet-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: var(--fbet-deep-green);
  color: var(--fbet-text-main);
  font-weight: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: var(--fbet-color-primary);
}

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--fbet-gold-color);
}

.page-privacy-policy__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  color: var(--fbet-text-secondary);
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 2000px; /* Large enough to accommodate content */
  padding: 15px 25px 25px;
}

/* Details tag specific styling for native support */
.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-answer {
  max-height: none; /* Let browser handle height for details tag */
  padding: 15px 25px 25px;
}

.page-privacy-policy__faq-item details > summary {
  list-style: none;
}

.page-privacy-policy__faq-item details > summary::-webkit-details-marker {
  display: none;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 40px 15px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-privacy-policy__intro-text {
    font-size: 1em;
  }

  .page-privacy-policy__content-area {
    padding: 20px 15px;
  }

  .page-privacy-policy__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-top: 30px;
  }

  .page-privacy-policy__sub-title {
    font-size: clamp(1.1em, 5vw, 1.5em);
    margin-top: 20px;
  }

  .page-privacy-policy p,
  .page-privacy-policy__list li {
    font-size: 0.95em;
  }

  .page-privacy-policy__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-privacy-policy__faq-answer {
    padding: 0 20px;
  }

  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 10px 20px 20px;
  }

  /* Mobile specific image, video, button adaptations */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !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;
  }

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