/* Base Styles & Typography */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background-color: var(--color-deep-navy, #08162B); /* Body background from shared.css */
}

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

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

.page-privacy-policy__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-privacy-policy__text-block {
  font-size: 1em;
  margin-bottom: 1em;
  color: #AFC4E8; /* Text Secondary */
}

.page-privacy-policy__list {
  list-style: disc;
  margin-left: 20px;
  padding-left: 0;
  margin-bottom: 1.5em;
}

.page-privacy-policy__list li {
  margin-bottom: 0.8em;
  color: #F3F8FF; /* Text Main */
}

.page-privacy-policy__list li strong {
  color: #F2C14E; /* Gold */
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 400px;
  padding-top: 10px; /* Small top padding, relying on body for --header-offset */
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}

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

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 30px 20px;
  background: rgba(17, 59, 122, 0.8); /* Main color with transparency */
  border-radius: 10px;
  margin-top: -100px; /* Overlap with image slightly for visual effect */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__main-title {
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-privacy-policy__subtitle {
  color: #AFC4E8; /* Text Secondary */
  font-size: 1.1em;
  margin-bottom: 25px;
}

/* Buttons */
.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%; /* Ensure button fits container */
  box-sizing: border-box;
}

.page-privacy-policy__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button gradient */
  color: #F3F8FF; /* Text Main */
  border: none;
  margin: 0 10px 10px 0;
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
}

.page-privacy-policy__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Gold */
  border: 2px solid #F2C14E; /* Gold border */
  margin: 0 0 10px 10px;
}

.page-privacy-policy__btn-secondary:hover {
  background: #F2C14E;
  color: #08162B; /* Deep Navy */
  transform: translateY(-2px);
}

/* Dark background sections */
.page-privacy-policy__dark-section {
  background-color: #10233F; /* Card BG */
  padding: 60px 0;
}

/* Image with content blocks */
.page-privacy-policy__image-content-block {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-bottom: 30px;
}

.page-privacy-policy__image-content-block--reversed {
  flex-direction: row-reverse;
}

.page-privacy-policy__image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.page-privacy-policy__image--contact {
  max-width: 40%; /* Adjust for contact section */
  margin: 30px auto 0;
}

.page-privacy-policy__image-content-block .page-privacy-policy__list {
  flex: 1;
  max-width: 50%;
  margin-bottom: 0;
}

/* Contact Methods */
.page-privacy-policy__contact-methods {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* FAQ Styles */
details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none;
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question:hover {
  background: #1B3357; /* Divider */
}
.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF; /* Text Main */
}
.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
  padding: 0 20px 20px;
  background: #08162B; /* Deep Navy */
  border-radius: 0 0 5px 5px;
  color: #AFC4E8; /* Text Secondary */
}

/* Responsive Styles - Homepage specific overrides (must be present) */
@media (max-width: 1023px) {
  .page-privacy-policy__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-privacy-policy__hero-brand,
  .page-privacy-policy__hero-jackpot {
    display: none !important;
  }
  .page-privacy-policy__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-privacy-policy__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-privacy-policy__game-trial-topbar,
  .page-privacy-policy__game-trial-bottombar {
    display: none !important;
  }
  .page-privacy-policy__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-privacy-policy__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-privacy-policy__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-privacy-policy__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-privacy-policy__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-privacy-policy__hero-brand,
  .page-privacy-policy__hero-jackpot,
  .page-privacy-policy__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-privacy-policy__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-privacy-policy__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-privacy-policy__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-privacy-policy__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-privacy-policy__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}

/* General Mobile Adaptations */
@media (max-width: 768px) {
  .page-privacy-policy__container {
    padding: 15px;
  }

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

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

  .page-privacy-policy__main-title {
    font-size: 1.8em;
  }

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

  /* Buttons mobile adapt */
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 0 0 10px 0 !important; /* Stack buttons vertically */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__contact-methods {
    flex-direction: column;
    gap: 10px;
  }

  /* Image and content blocks mobile adapt */
  .page-privacy-policy__image-content-block {
    flex-direction: column;
    gap: 20px;
  }

  .page-privacy-policy__image-content-block--reversed {
    flex-direction: column;
  }

  .page-privacy-policy__image,
  .page-privacy-policy__image-content-block .page-privacy-policy__list {
    max-width: 100%;
    width: 100%;
  }
  .page-privacy-policy__image--contact {
    max-width: 80%;
  }

  /* All images must be responsive */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  /* All containers with images */
  .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;
  }

  /* FAQ Mobile */
  details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question { padding: 15px; }
  .page-privacy-policy__faq-qtext { font-size: 1em; }
  details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer { padding: 0 15px 15px; }

  /* Placeholder for homepage specific modules if they were present */
  .page-privacy-policy__promo-strip-track { /* Placeholder for promo strip, if present */
    grid-template-columns: repeat(2, 1fr) !important; /* Example for 2 columns on mobile */
    overflow-x: hidden;
  }
  .page-privacy-policy__hot-games-grid { /* Placeholder for hot games, if present */
    grid-template-columns: repeat(2, 1fr) !important;
    overflow-x: hidden;
  }
}

/* The prompt requires these homepage specific CSS parts to be present in the output. */
/* This is not a homepage, so these rules are mostly irrelevant but must be included. */
.page-privacy-policy__game-trial-overlay{z-index:5;pointer-events:auto;}.page-privacy-policy__game-trial-overlay.is-hidden{display:none!important;pointer-events:none!important;}.page-privacy-policy__game-trial-start{z-index:6;pointer-events:auto;touch-action:manipulation;}.page-privacy-policy__game-trial-shell{border:1px solid rgba(212,175,55,.45);border-radius:10px;overflow:hidden;}.page-privacy-policy__reward-modal{position:fixed;inset:0;z-index:10000;}

/* Color Contrast Fixes (as per requirements) */
.page-privacy-policy__content-area, .page-privacy-policy__text-block {
  color: #AFC4E8; /* Text Secondary - good contrast on Deep Navy or Card BG */
}

.page-privacy-policy p, .page-privacy-policy li {
  color: #AFC4E8; /* Text Secondary */
}

.page-privacy-policy__card {
  background: #10233F; /* Card BG */
  color: #F3F8FF; /* Text Main */
  border: 1px solid #244D84; /* Border */
}

.page-privacy-policy__dark-section {
  background: #10233F;
  color: #F3F8FF; /* Text Main */
}

/* Ensure the hero section title has good contrast */
.page-privacy-policy__main-title {
    color: #F2C14E; /* Gold */
}
.page-privacy-policy__subtitle {
    color: #AFC4E8; /* Text Secondary */
}