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

.page-privacy-policy {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  font-size: 1rem;
}

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

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

.page-privacy-policy__hero-content {
  max-width: 900px;
  margin-bottom: 30px; /* Space between text and image */
  z-index: 1;
}

.page-privacy-policy__main-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.3);
}

.page-privacy-policy__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

.page-privacy-policy__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-top: 20px; /* Space between text and image */
}

.page-privacy-policy__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--divider-color);
}

.page-privacy-policy__section:last-of-type {
  border-bottom: none;
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--gold-color);
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
}

.page-privacy-policy__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--secondary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 500;
}

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

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

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

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

.page-privacy-policy__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 800px; /* Ensure images don't stretch too wide */
}

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

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

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 60px 0;
}

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

.page-privacy-policy__faq-item[open] {
  background: var(--deep-green);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  list-style: none; /* For details/summary */
}

.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none;
}

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gold-color);
}

.page-privacy-policy__faq-answer {
  padding-top: 15px;
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Buttons */
.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--btn-gradient);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-privacy-policy__container {
    padding: 0 15px !important;
  }

  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset */
  }

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

  .page-privacy-policy__hero-description {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
  }

  .page-privacy-policy__hero-image,
  .page-privacy-policy__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: 0;
    margin-right: 0;
  }

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

  .page-privacy-policy__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 20px;
  }

  .page-privacy-policy__sub-title {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
    margin-top: 30px;
    margin-bottom: 15px;
  }

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

  .page-privacy-policy__faq-question {
    font-size: 1.1rem;
  }

  .page-privacy-policy__faq-answer {
    font-size: 0.95rem;
  }

  /* Ensure all containers with images/buttons are responsive */
  .page-privacy-policy__section,
  .page-privacy-policy__intro-section,
  .page-privacy-policy__data-collection-section,
  .page-privacy-policy__data-usage-section,
  .page-privacy-policy__data-sharing-section,
  .page-privacy-policy__data-security-section,
  .page-privacy-policy__user-rights-section,
  .page-privacy-policy__cookies-section,
  .page-privacy-policy__changes-section,
  .page-privacy-policy__contact-section,
  .page-privacy-policy__effective-date-section,
  .page-privacy-policy__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-privacy-policy__btn-primary {
    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;
  }
}