/* style/privacy-policy.css */

/* Custom Colors from provided palette */
:root {
  --hn88-win-primary: #11A84E;
  --hn88-win-secondary: #22C768;
  --hn88-win-button-gradient-start: #2AD16F;
  --hn88-win-button-gradient-end: #13994A;
  --hn88-win-card-bg: #11271B;
  --hn88-win-background: #08160F; /* Body background from custom colors */
  --hn88-win-text-main: #F2FFF6; /* Light text for dark backgrounds */
  --hn88-win-text-secondary: #A7D9B8; /* Lighter green text for dark backgrounds */
  --hn88-win-border: #2E7A4E;
  --hn88-win-glow: #57E38D;
  --hn88-win-gold: #F2C14E;
  --hn88-win-divider: #1E3A2A;
  --hn88-win-deep-green: #0A4B2C;
}

/* Body background is handled by shared.css and is dark, so use light text */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--hn88-win-text-main); /* Light text for dark body background */
  background-color: var(--hn88-win-background); /* Ensure consistency if body background is not fully controlled by shared */
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
  background-color: var(--hn88-win-deep-green); /* A dark background for the hero section */
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px; /* Space between image and text */
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

.page-privacy-policy__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: bold;
  line-height: 1.2;
  color: var(--hn88-win-gold); /* Gold color for main title */
  margin-bottom: 20px;
}

.page-privacy-policy__intro-text {
  font-size: 1.1em;
  color: var(--hn88-win-text-secondary); /* Secondary text color */
  margin-bottom: 40px;
}

/* Content Area */
.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--hn88-win-background); /* Consistent dark background */
  border-radius: 8px;
}

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

.page-privacy-policy__section-title {
  font-size: 2em;
  color: var(--hn88-win-primary); /* Primary color for section titles */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--hn88-win-divider);
  padding-bottom: 10px;
}

.page-privacy-policy__sub-section-title {
  font-size: 1.5em;
  color: var(--hn88-win-text-main); /* Main text color for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy__paragraph {
  margin-bottom: 15px;
  color: var(--hn88-win-text-main);
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--hn88-win-text-main);
}

.page-privacy-policy__list-item {
  margin-bottom: 10px;
}

.page-privacy-policy__link {
  color: var(--hn88-win-secondary); /* Secondary color for links */
  text-decoration: none;
  border-bottom: 1px solid var(--hn88-win-secondary);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-privacy-policy__link:hover {
  color: var(--hn88-win-glow);
  border-color: var(--hn88-win-glow);
}

.page-privacy-policy__image-block {
  margin: 30px 0;
  text-align: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

/* FAQ Section */
.page-privacy-policy__faq-section {
  margin-top: 60px;
  background-color: var(--hn88-win-card-bg); /* Darker green background for FAQ card */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

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

.page-privacy-policy__faq-item {
  background-color: var(--hn88-win-deep-green); /* Even darker background for individual FAQ items */
  border: 1px solid var(--hn88-win-border);
  border-radius: 5px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--hn88-win-text-main);
}

.page-privacy-policy__faq-item summary {
  list-style: none; /* Hide default marker */
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

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

.page-privacy-policy__faq-question:hover {
  background-color: var(--hn88-win-border); /* Slightly lighter on hover */
}

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
  color: var(--hn88-win-text-main);
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--hn88-win-gold); /* Gold color for toggle icon */
}

.page-privacy-policy__faq-answer {
  padding: 0 25px 18px;
  color: var(--hn88-win-text-secondary); /* Secondary text color for answers */
  font-size: 0.95em;
}

/* CTA Block */
.page-privacy-policy__cta-block {
  margin-top: 60px;
  padding: 40px;
  background-color: var(--hn88-win-card-bg); /* Card background for CTA */
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__cta-text {
  font-size: 1.3em;
  color: var(--hn88-win-text-main);
  margin-bottom: 30px;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  margin: 0 10px 15px; /* Add margin for spacing between buttons and responsive stacking */
  box-sizing: border-box; /* Crucial for responsive buttons */
}

.page-privacy-policy__btn-primary {
  background: linear-gradient(180deg, var(--hn88-win-button-gradient-start) 0%, var(--hn88-win-button-gradient-end) 100%);
  color: #ffffff; /* White text for primary button */
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__btn-secondary {
  background-color: transparent;
  color: var(--hn88-win-gold); /* Gold text for secondary button */
  border: 2px solid var(--hn88-win-gold);
}

.page-privacy-policy__btn-secondary:hover {
  background-color: var(--hn88-win-gold);
  color: var(--hn88-win-background); /* Dark text on gold hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
}

@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px;
  }

  .page-privacy-policy__hero-content {
    padding: 0 15px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-privacy-policy__intro-text {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-privacy-policy__section-title {
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-privacy-policy__sub-section-title {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-privacy-policy__list {
    margin-left: 15px;
  }

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

  .page-privacy-policy__faq-question {
    padding: 15px 20px;
  }

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

  .page-privacy-policy__cta-block {
    padding: 30px 20px;
    flex-direction: column; /* Stack buttons vertically */
    display: flex; /* Enable flex for button stacking */
    width: 100%;
    box-sizing: border-box;
  }

  .page-privacy-policy__cta-text {
    font-size: 1.1em;
    margin-bottom: 20px;
  }

  /* Mobile button responsiveness */
  .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;
    margin: 0 0 15px 0 !important; /* Stack vertically with margin */
    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; /* Space between stacked buttons */
  }

  /* Mobile image and video responsiveness */
  .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,
  .page-privacy-policy__image-block,
  .page-privacy-policy__video-section,
  .page-privacy-policy__video-container,
  .page-privacy-policy__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-privacy-policy__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  
  .page-privacy-policy__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Ensure images within content areas are responsive and meet min size requirements */
.page-privacy-policy__content-image {
  min-width: 200px;
  min-height: 200px;
}

/* No CSS filters for images */
.page-privacy-policy img {
  filter: none;
}