/* style/privacy-policy.css */

:root {
  --pun88-win-primary-color: #26A9E0;
  --pun88-win-secondary-color: #FFFFFF;
  --pun88-win-dark-background: #0a0a0a;
  --pun88-win-light-text: #ffffff;
  --pun88-win-dark-text: #333333;
  --pun88-win-login-color: #EA7C07;
}

.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--pun88-win-light-text); /* Body background is dark, so text should be light */
  background-color: var(--pun88-win-dark-background); /* Ensure consistency if main has its own background */
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  box-sizing: border-box;
  background-color: var(--pun88-win-dark-background);
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

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

.page-privacy-policy__hero-content {
  max-width: 800px;
  text-align: center;
  color: var(--pun88-win-light-text);
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--pun88-win-primary-color);
}

.page-privacy-policy__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-privacy-policy__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons are responsive */
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-privacy-policy__btn-primary {
  background-color: var(--pun88-win-primary-color);
  color: var(--pun88-win-secondary-color);
  border: 2px solid var(--pun88-win-primary-color);
}

.page-privacy-policy__btn-primary:hover {
  background-color: #1e87b7; /* Calculated darker shade */
}

.page-privacy-policy__btn-secondary {
  background-color: transparent;
  color: var(--pun88-win-primary-color);
  border: 2px solid var(--pun88-win-primary-color);
}

.page-privacy-policy__btn-secondary:hover {
  background-color: var(--pun88-win-primary-color);
  color: var(--pun88-win-secondary-color);
}

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

.page-privacy-policy__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--pun88-win-primary-color);
  margin-bottom: 30px;
  text-align: center;
}

.page-privacy-policy__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: var(--pun88-win-secondary-color);
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-privacy-policy__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--pun88-win-light-text);
}

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

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

.page-privacy-policy__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-privacy-policy__contact-item {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: var(--pun88-win-light-text);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
  border-radius: 8px;
  margin-top: 40px;
}

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

.page-privacy-policy__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--pun88-win-light-text);
}

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

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

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--pun88-win-secondary-color);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.page-privacy-policy__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-privacy-policy__faq-answer {
  padding: 0 20px 20px;
  font-size: 1.05em;
  color: var(--pun88-win-light-text);
}

.page-privacy-policy__faq-answer p {
  margin-bottom: 0;
}

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

  .page-privacy-policy__section-title {
    font-size: 2em;
  }
}

@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 !important; /* body handles --header-offset */
  }

  .page-privacy-policy__hero-content {
    max-width: 100%;
  }

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

  .page-privacy-policy__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-privacy-policy__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-privacy-policy__section,
  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-section {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-privacy-policy__sub-title {
    font-size: 1.5em;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .page-privacy-policy__text-block,
  .page-privacy-policy__list-item,
  .page-privacy-policy__contact-item,
  .page-privacy-policy__faq-answer p {
    font-size: 1em;
  }

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

  .page-privacy-policy__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto;
  }

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

  .page-privacy-policy__faq-toggle {
    font-size: 1.2em;
  }
}