/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF;
}

.page-privacy-policy__hero-section {
  padding-top: 10px; /* Small top padding as per instruction */
  margin-bottom: 40px;
  text-align: center;
  background-color: #017439; /* Brand color background for hero */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-height: 400px; /* Adjust as needed */
  overflow: hidden;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim image for text readability if needed, but not changing color */
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 1;
  padding: 30px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-privacy-policy__main-title {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-privacy-policy__lead-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__btn-primary:hover {
  background-color: #a00606;
}

.page-privacy-policy__content-section {
  padding: 50px 0;
  margin-bottom: 20px;
}

.page-privacy-policy__dark-section {
  background-color: #017439;
  color: #FFFFFF;
}

.page-privacy-policy__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-privacy-policy__section-title {
  font-size: 2.2em;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.3;
}

.page-privacy-policy__dark-section .page-privacy-policy__section-title {
  color: #FFFFFF;
}

.page-privacy-policy__light-bg .page-privacy-policy__section-title {
  color: #017439;
}

p {
  margin-bottom: 1em;
  font-size: 1.05em;
}

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

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 1em;
  font-size: 1.05em;
}

.page-privacy-policy__list li {
  margin-bottom: 0.5em;
}

.page-privacy-policy__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

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;
  color: #FFFFFF;
  font-size: 1.1em;
}

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: rgba(255, 255, 255, 0.2);
}

.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFFFFF;
}

.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFFFFF;
  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: #f9f9f9; /* Lighter background for answer text */
  border-radius: 0 0 5px 5px;
  color: #333333; /* Dark text for light background */
  font-size: 1em;
}

.page-privacy-policy__contact-cta {
  text-align: center;
  padding: 60px 20px;
}

.page-privacy-policy__description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-privacy-policy__copyright {
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
  color: #666666;
  background-color: #f5f5f5;
  margin-top: 40px;
}

/* Verbatim CSS for homepage game trial as per instructions */
@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;
  }
}

/* Mobile responsiveness for this page's content */
@media (max-width: 768px) {
  .page-privacy-policy__main-title {
    font-size: 2em;
  }

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

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

  .page-privacy-policy__sub-title {
    font-size: 1.4em;
  }

  p, .page-privacy-policy__list li {
    font-size: 0.95em;
  }

  .page-privacy-policy__hero-content,
  .page-privacy-policy__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Button responsiveness */
  .page-privacy-policy__btn-primary {
    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;
  }

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

  /* Homepage game trial (repeated for 768px if needed, but 1023px already covers it broadly) */
  .page-privacy-policy__promo-strip-track { /* Placeholder for promo strip if it were on this page */
    grid-template-columns: repeat(4, 1fr);
    overflow-x: hidden;
  }
  .page-privacy-policy__hot-games-grid { /* Placeholder for hot games if it were on this page */
    grid-template-columns: repeat(2, 1fr);
  }
}

/* FAQ common styles, for both details and div (if div were used) */
details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

/* Fixed game trial overlay and reward modal styles (verbatim as requested) */
.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;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-privacy-policy__reward-modal-content {
  background: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  max-width: 90%;
  box-sizing: border-box;
}
.page-privacy-policy__reward-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}
.page-privacy-policy__reward-modal[hidden] {
  display: none;
}