/* style/privacy-policy.css */

/* Custom Colors */
:root {
  --freebet-green: #11A84E;
  --freebet-light-green: #22C768;
  --freebet-button-gradient-start: #2AD16F;
  --freebet-button-gradient-end: #13994A;
  --freebet-card-bg: #11271B;
  --freebet-background: #08160F;
  --freebet-text-main: #F2FFF6;
  --freebet-text-secondary: #A7D9B8;
  --freebet-border: #2E7A4E;
  --freebet-glow: #57E38D;
  --freebet-gold: #F2C14E;
  --freebet-divider: #1E3A2A;
  --freebet-deep-green: #0A4B2C;
}

.page-privacy-policy {
  color: var(--freebet-text-main);
  background-color: var(--freebet-background);
}

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

.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 */
  background: var(--freebet-deep-green);
  overflow: hidden;
}

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

.page-privacy-policy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  display: block;
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin-top: 50px; /* Space from image if image is fixed position */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-privacy-policy__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  font-weight: 700;
  color: var(--freebet-gold);
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-privacy-policy__intro-text {
  font-size: 1.1em;
  color: var(--freebet-text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-privacy-policy__content-section {
  background-color: var(--freebet-background);
  padding: 60px 0;
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: var(--freebet-light-green);
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: 600;
  border-bottom: 2px solid var(--freebet-divider);
  padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
  font-size: 1.6em;
  color: var(--freebet-gold);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 500;
}

.page-privacy-policy__text-block {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--freebet-text-main);
}

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

.page-privacy-policy__list-item {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 10px;
}

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

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

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

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__btn-primary {
  background: linear-gradient(180deg, var(--freebet-button-gradient-start) 0%, var(--freebet-button-gradient-end) 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
  margin-right: 15px;
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, var(--freebet-button-gradient-end) 0%, var(--freebet-button-gradient-start) 100%);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-privacy-policy__btn-secondary {
  background-color: transparent;
  color: var(--freebet-light-green);
  border: 2px solid var(--freebet-light-green);
}

.page-privacy-policy__btn-secondary:hover {
  background-color: var(--freebet-light-green);
  color: var(--freebet-background);
}

.page-privacy-policy__cta-section {
  background-color: var(--freebet-deep-green);
  padding: 80px 20px;
  text-align: center;
  border-top: 1px solid var(--freebet-divider);
}

.page-privacy-policy__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-privacy-policy__cta-title {
  font-size: 2.5em;
  color: var(--freebet-gold);
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-privacy-policy__cta-description {
  font-size: 1.2em;
  color: var(--freebet-text-secondary);
  margin-bottom: 40px;
  max-width: 800px;
  line-height: 1.7;
}

.page-privacy-policy__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 600px;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  margin-top: 60px;
  background-color: var(--freebet-card-bg);
  padding: 40px;
  border-radius: 10px;
  border: 1px solid var(--freebet-border);
}

.page-privacy-policy__faq-section .page-privacy-policy__section-title {
  color: var(--freebet-gold);
  border-bottom: 2px solid var(--freebet-glow);
  padding-bottom: 10px;
  margin-top: 0;
}

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

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

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

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

.page-privacy-policy__faq-item summary:hover {
  background-color: rgba(var(--freebet-light-green), 0.1);
}

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

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

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  content: '−';
}

.page-privacy-policy__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--freebet-text-secondary);
  background-color: rgba(var(--freebet-light-green), 0.05);
}

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

/* Image and general content responsiveness */
.page-privacy-policy img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  display: block;
}

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

  .page-privacy-policy__container,
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-section,
  .page-privacy-policy__cta-section,
  .page-privacy-policy__faq-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

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

  .page-privacy-policy__hero-content {
    margin-top: 30px;
  }

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

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

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

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

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

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

  .page-privacy-policy__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .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;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-right: 0 !important; /* Remove margin-right for stacked buttons */
  }

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

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

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

  /* Ensure all images are responsive */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure all video containers are responsive */
  .page-privacy-policy video,
  .page-privacy-policy__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .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;
  }
}