/* style/privacy-policy.css */

/* Custom Colors */
:root {
  --bet68-background: #08160F;
  --bet68-card-bg: #11271B;
  --bet68-text-main: #F2FFF6;
  --bet68-text-secondary: #A7D9B8;
  --bet68-border: #2E7A4E;
  --bet68-glow: #57E38D;
  --bet68-gold: #F2C14E;
  --bet68-divider: #1E3A2A;
  --bet68-deep-green: #0A4B2C;
  --bet68-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* Base styles for the page */
.page-privacy-policy {
  background-color: var(--bet68-background);
  color: var(--bet68-text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-privacy-policy__hero-content {
  max-width: 900px;
  margin-top: 40px;
  z-index: 1;
  color: var(--bet68-text-main);
}

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

.page-privacy-policy__hero-description {
  font-size: 1.15rem;
  color: var(--bet68-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-privacy-policy__btn-primary {
  background: var(--bet68-button-gradient);
  color: var(--bet68-text-main);
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
  transform: translateY(-2px);
}

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

.page-privacy-policy__btn-secondary:hover {
  background-color: var(--bet68-glow);
  color: var(--bet68-background);
  transform: translateY(-2px);
}

/* Content Area */
.page-privacy-policy__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  color: var(--bet68-text-main);
}

.page-privacy-policy__section-intro {
  margin-bottom: 40px;
  text-align: center;
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--bet68-gold);
  margin-bottom: 20px;
  font-weight: 700;
}

.page-privacy-policy__section-description {
  font-size: 1.1rem;
  color: var(--bet68-text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

.page-privacy-policy__text-block {
  background-color: var(--bet68-card-bg);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  border: 1px solid var(--bet68-border);
}

.page-privacy-policy__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--bet68-glow);
  margin-bottom: 15px;
  font-weight: 600;
}

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

.page-privacy-policy__text-block p:last-child {
  margin-bottom: 0;
}

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

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

.page-privacy-policy__list li strong {
  color: var(--bet68-glow);
}

.page-privacy-policy__text-block a {
  color: var(--bet68-gold);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy__text-block a:hover {
  color: var(--bet68-glow);
}

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

.page-privacy-policy__contact-list li {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: var(--bet68-text-main);
}

.page-privacy-policy__contact-list li strong {
  color: var(--bet68-glow);
}

.page-privacy-policy__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

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

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

.page-privacy-policy__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: var(--bet68-deep-green);
  color: var(--bet68-text-main);
  font-weight: 600;
  font-size: 1.1rem;
  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: var(--bet68-border);
}

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

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

.page-privacy-policy__faq-answer {
  padding: 20px;
  padding-top: 0;
  border-top: 1px solid var(--bet68-divider);
  color: var(--bet68-text-secondary);
}

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

/* CTA Section */
.page-privacy-policy__cta-section {
  background-color: var(--bet68-deep-green);
  padding: 60px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  border-radius: 10px;
  max-width: 1200px;
  margin: 40px auto;
  border: 1px solid var(--bet68-border);
}

.page-privacy-policy__cta-content {
  max-width: 800px;
  color: var(--bet68-text-main);
}

.page-privacy-policy__cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--bet68-gold);
  margin-bottom: 20px;
  font-weight: 700;
}

.page-privacy-policy__cta-description {
  font-size: 1.1rem;
  color: var(--bet68-text-secondary);
  margin-bottom: 30px;
}

.page-privacy-policy__cta-image-wrapper {
  width: 100%;
  max-width: 600px;
  overflow: hidden;
  box-sizing: border-box;
}

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

/* Responsive Design */
@media (min-width: 769px) {
  .page-privacy-policy__hero-section {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    gap: 40px;
    padding: 80px 40px;
  }

  .page-privacy-policy__hero-image-wrapper {
    flex: 1;
    max-width: 50%;
  }

  .page-privacy-policy__hero-content {
    flex: 1;
    margin-top: 0;
    max-width: 50%;
  }

  .page-privacy-policy__main-title,
  .page-privacy-policy__hero-description {
    margin-left: 0;
    margin-right: 0;
  }

  .page-privacy-policy__cta-section {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .page-privacy-policy__cta-content {
    flex: 1;
  }

  .page-privacy-policy__cta-image-wrapper {
    flex: 1;
    max-width: 40%;
  }
}

@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-image-wrapper,
  .page-privacy-policy__hero-content,
  .page-privacy-policy__content-area,
  .page-privacy-policy__section-intro,
  .page-privacy-policy__text-block,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__cta-section,
  .page-privacy-policy__cta-content,
  .page-privacy-policy__cta-image-wrapper,
  .page-privacy-policy__cta-buttons,
  .page-privacy-policy__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

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

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