/* style/privacy-policy.css */

/* Base styles for the page content */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  color: #FFF3E6; /* Main text color for dark background */
  background-color: #0D0E12; /* Main background color */
  line-height: 1.6;
  font-size: 16px;
}

/* Article wrapper to center content */
.page-privacy-policy__article-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-privacy-policy__hero-section {
  display: flex;
  flex-direction: column; /* Image above content on desktop */
  align-items: center;
  text-align: center;
  padding: 10px 0 60px; /* Small top padding, larger bottom padding */
  background-color: #17191F; /* Card BG for this section */
  border-bottom: 1px solid #A84F0C;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Max width for the hero image */
  margin-bottom: 40px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-privacy-policy__hero-content {
  max-width: 800px;
  margin-bottom: 40px;
}

.page-privacy-policy__main-title {
  font-size: 2.8em; /* Adjusted for desktop, not too large */
  font-weight: 700;
  color: #FFB04D; /* Glow color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-privacy-policy__intro-text {
  font-size: 1.2em;
  color: #FFF3E6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-privacy-policy__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 180px;
  max-width: 100%; /* Ensure buttons don't overflow */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-privacy-policy__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  border: none;
}

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

.page-privacy-policy__btn-secondary {
  background: #17191F;
  color: #FFA53A;
  border: 2px solid #FFA53A;
}

.page-privacy-policy__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: #FFA53A;
  color: #17191F;
}

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

.page-privacy-policy__dark-section {
  background-color: #0D0E12;
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: #FF8C1A;
  margin-bottom: 25px;
  margin-top: 40px;
  text-align: center;
  font-weight: 700;
}

.page-privacy-policy__sub-title {
  font-size: 1.6em;
  color: #FFB04D;
  margin-bottom: 20px;
  margin-top: 30px;
  font-weight: 600;
}

.page-privacy-policy__text-block {
  margin-bottom: 20px;
  color: #FFF3E6;
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #FFF3E6;
}

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  color: #FFF3E6;
}

.page-privacy-policy__list-item strong {
  color: #FFA53A;
}

.page-privacy-policy__image-figure {
  margin: 40px auto;
  max-width: 680px;
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  background-color: #17191F;
}

.page-privacy-policy__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

.page-privacy-policy__image-caption {
  font-size: 0.9em;
  color: #A84F0C;
  padding: 15px;
  background-color: #17191F;
  border-top: 1px solid #A84F0C;
}

.page-privacy-policy__link {
  color: #FFA53A;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
  color: #FFB04D;
}

.page-privacy-policy__promo-box {
  background-color: #17191F;
  border: 2px solid #A84F0C;
  border-radius: 12px;
  padding: 40px;
  margin-top: 60px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__promo-title {
  font-size: 2em;
  color: #FFB04D;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-privacy-policy__promo-text {
  font-size: 1.1em;
  color: #FFF3E6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Mobile Responsive Styles --- */
@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 15px;
    line-height: 1.5;
  }

  /* 1. Top section title + CTA */
  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 40px;
  }

  .page-privacy-policy__main-title {
    font-size: 2em;
    margin-bottom: 15px;
    padding: 0 15px;
  }

  .page-privacy-policy__intro-text {
    font-size: 1em;
    padding: 0 15px;
  }

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

  .page-privacy-policy__btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 2. Single-column long-form container */
  .page-privacy-policy__article-wrap {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

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

  .page-privacy-policy__text-block,
  .page-privacy-policy__list {
    font-size: 1em;
  }
  .page-privacy-policy__list {
    margin-left: 15px;
  }

  /* 3. Generic images and figure */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-privacy-policy__image-figure {
    margin: 30px auto;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-privacy-policy__hero-image-wrapper {
    margin-bottom: 30px;
  }

  /* 4. Buttons and button containers (already covered in cta-buttons and .page-privacy-policy__btn) */
  .page-privacy-policy__promo-box {
    padding: 30px 20px;
    margin-top: 40px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-privacy-policy__promo-title {
    font-size: 1.6em;
    margin-bottom: 15px;
  }

  .page-privacy-policy__promo-text {
    font-size: 1em;
    margin-bottom: 25px;
  }

  /* 5. Registration tutorial & FAQ (N/A for this page, but general text readability covered) */
}

/* @media (max-width: 1024px) for tablet, if needed for minor adjustments */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: 2.5em;
  }
  .page-privacy-policy__section-title {
    font-size: 2em;
  }
  .page-privacy-policy__article-wrap {
    padding: 0 30px;
  }
  .page-privacy-policy__hero-section {
    padding-bottom: 50px;
  }
}