/* style/privacy-policy.css */

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

.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  color: var(--nextbet-text-main); /* Default text color for the page */
  background-color: var(--nextbet-bg-color);
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0;
  text-align: center;
  overflow: hidden;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
  margin-top: -60px; /* Adjust based on image height and desired overlap */
  background-color: rgba(17, 39, 27, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.page-privacy-policy__main-title {
  font-weight: bold;
  color: var(--nextbet-text-main);
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 100%;
  text-align: center;
  font-size: clamp(28px, 4vw, 48px); /* Responsive font size */
}

.page-privacy-policy__hero-description {
  font-size: 1.1rem;
  color: var(--nextbet-text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  min-width: 180px;
}

.page-privacy-policy__btn-primary {
  background: var(--nextbet-button-gradient);
  color: var(--nextbet-text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
  filter: brightness(1.1);
}

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

.page-privacy-policy__btn-secondary:hover {
  background-color: rgba(17, 168, 78, 0.1);
  color: var(--nextbet-text-main);
  border-color: var(--nextbet-secondary-color);
}

.page-privacy-policy__section {
  padding: 60px 20px;
  background-color: var(--nextbet-bg-color);
}

.page-privacy-policy__container {
  max-width: 1000px;
  margin: 0 auto;
  background-color: var(--nextbet-card-bg);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  border: 1px solid var(--nextbet-border-color);
  box-sizing: border-box;
}

.page-privacy-policy__section-title {
  font-size: clamp(24px, 3vw, 36px);
  color: var(--nextbet-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.3;
  position: relative;
}

.page-privacy-policy__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--nextbet-button-gradient);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-privacy-policy__sub-title {
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--nextbet-primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-privacy-policy__text-block {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--nextbet-text-secondary);
  margin-bottom: 20px;
}

.page-privacy-policy__list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-privacy-policy__list-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--nextbet-text-main);
  line-height: 1.6;
}

.page-privacy-policy__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--nextbet-secondary-color);
  font-weight: bold;
}

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

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

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

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--nextbet-primary-color);
  cursor: pointer;
  background-color: var(--nextbet-card-bg);
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-privacy-policy__faq-question:hover {
  background-color: rgba(17, 168, 78, 0.2);
}

.page-privacy-policy__faq-item[open] > .page-privacy-policy__faq-question {
  background-color: var(--nextbet-deep-green);
  color: var(--nextbet-text-main);
}

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: var(--nextbet-secondary-color);
}

.page-privacy-policy__faq-item[open] > .page-privacy-policy__faq-question .page-privacy-policy__faq-toggle {
  transform: rotate(45deg);
  color: var(--nextbet-glow-color);
}

.page-privacy-policy__faq-answer {
  padding: 20px 25px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--nextbet-text-secondary);
  background-color: var(--nextbet-bg-color);
  border-top: 1px solid var(--nextbet-divider-color);
}

.page-privacy-policy__faq-answer p {
  margin-bottom: 0;
  color: var(--nextbet-text-secondary);
}

.page-privacy-policy__contact-list {
  margin-top: 20px;
}

.page-privacy-policy__contact-list .page-privacy-policy__list-item::before {
  content: '▶';
  color: var(--nextbet-gold-color);
}

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

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

.page-privacy-policy__contact-cta {
  margin-top: 30px;
  width: auto;
  min-width: 250px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding-bottom: 40px;
  }

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

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

  .page-privacy-policy__hero-description {
    font-size: 1rem;
  }

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

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    width: 100% !important;
    max-width: 300px !important; /* Constrain width for smaller screens */
    padding: 12px 20px;
    font-size: 0.95rem;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-privacy-policy__container {
    padding: 25px;
  }

  .page-privacy-policy__section-title {
    font-size: clamp(20px, 5vw, 30px);
    margin-bottom: 30px;
  }

  .page-privacy-policy__sub-title {
    font-size: clamp(18px, 4.5vw, 24px);
  }

  .page-privacy-policy__text-block,
  .page-privacy-policy__list-item,
  .page-privacy-policy__faq-answer {
    font-size: 0.9rem;
  }

  .page-privacy-policy__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-privacy-policy__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-privacy-policy__faq-toggle {
    font-size: 1.3rem;
  }

  /* Ensure general content containers also have padding for mobile */
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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