:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  --card-bg: #17191F;
  --background-color: #0D0E12;
  --text-main: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange: #D96800;
}

.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Main text color for the page */
  background-color: var(--background-color); /* Main background color */
  padding-bottom: 50px;
}

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

.page-privacy-policy__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure it takes full width for max-width to work */
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto; /* Ensure image scales correctly */
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 30px; /* Space between image and content */
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.page-privacy-policy__main-title {
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 20px;
  font-size: clamp(28px, 4vw, 48px); /* Example clamp for H1 */
  line-height: 1.2;
}

.page-privacy-policy__description-text {
  font-size: 18px;
  color: var(--text-main);
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-privacy-policy__section-intro,
.page-privacy-policy__data-collection,
.page-privacy-policy__data-usage,
.page-privacy-policy__data-sharing,
.page-privacy-policy__data-security,
.page-privacy-policy__your-rights,
.page-privacy-policy__cookies,
.page-privacy-policy__changes,
.page-privacy-policy__contact-us,
.page-privacy-policy__faq-section {
  background-color: var(--card-bg); /* Dark card background */
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-privacy-policy__section-title {
  color: var(--primary-color); /* Primary color for section titles */
  font-size: 28px;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--deep-orange);
  padding-bottom: 10px;
}

.page-privacy-policy__subsection-title {
  color: var(--secondary-color); /* Secondary color for sub-section titles */
  font-size: 22px;
  margin-top: 25px;
  margin-bottom: 15px;
}

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

.page-privacy-policy ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-privacy-policy ul li {
  margin-bottom: 10px;
}

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

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

.page-privacy-policy__image-content {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  margin-top: 25px;
  margin-bottom: 25px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.page-privacy-policy__contact-link {
  font-weight: bold;
}

/* FAQ styles */
details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--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;
  color: var(--text-main);
}
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); /* Slightly lighter hover for dark background */
}
.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  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(255, 255, 255, 0.03); /* Slightly different background for answer */
  border-radius: 0 0 5px 5px;
  color: var(--text-main);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
    padding-bottom: 30px;
  }

  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(24px, 6vw, 36px);
  }

  .page-privacy-policy__description-text {
    font-size: 16px;
  }

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

  .page-privacy-policy__section-intro,
  .page-privacy-policy__data-collection,
  .page-privacy-policy__data-usage,
  .page-privacy-policy__data-sharing,
  .page-privacy-policy__data-security,
  .page-privacy-policy__your-rights,
  .page-privacy-policy__cookies,
  .page-privacy-policy__changes,
  .page-privacy-policy__contact-us,
  .page-privacy-policy__faq-section {
    padding: 20px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__subsection-title {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
  }

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

  details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
    padding: 15px;
  }
  .page-privacy-policy__faq-qtext {
    font-size: 15px;
  }
  details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
    padding: 0 15px 15px;
  }

  /* Force responsive images */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-privacy-policy__hero-image {
    border-radius: 4px;
  }

  /* Ensure containers with images/buttons are responsive */
  .page-privacy-policy__hero-container,
  .page-privacy-policy__section-intro,
  .page-privacy-policy__data-collection,
  .page-privacy-policy__data-usage,
  .page-privacy-policy__data-sharing,
  .page-privacy-policy__data-security,
  .page-privacy-policy__your-rights,
  .page-privacy-policy__cookies,
  .page-privacy-policy__changes,
  .page-privacy-policy__contact-us,
  .page-privacy-policy__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}