/* Base styles for the privacy policy page */
.page-privacy-policy {
  color: #FFF6D6; /* Main text color for dark body background */
  background-color: #0A0A0A; /* Ensure consistency with body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-privacy-policy__hero-section {
  padding-top: 10px; /* Small top padding, body handles main offset */
  padding-bottom: 40px;
  background: linear-gradient(180deg, #0A0A0A 0%, rgba(242, 193, 78, 0.1) 100%);
  text-align: center;
}

.page-privacy-policy__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  color: #F2C14E;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.page-privacy-policy__intro-text {
  font-size: 18px;
  color: #FFD36B;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A; /* Dark text for light button background */
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
  border: none;
}

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

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

.page-privacy-policy__section-title {
  font-size: 36px;
  font-weight: 600;
  color: #F2C14E;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.page-privacy-policy__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD36B;
  border-radius: 2px;
}

.page-privacy-policy p {
  margin-bottom: 20px;
  font-size: 17px;
  color: #FFF6D6;
}

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

.page-privacy-policy__list li {
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.5;
}

.page-privacy-policy__list li strong {
  color: #FFD36B;
}

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

.page-privacy-policy__dark-section {
  background-color: #111111; /* Card BG color */
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
}

.page-privacy-policy__faq-section {
  padding-bottom: 60px;
}

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #3A2A12;
  overflow: hidden;
  background: #111111;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  color: #FFF6D6;
  font-size: 18px;
  font-weight: 600;
}
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(242, 193, 78, 0.1);
}
.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6;
}
.page-privacy-policy__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFD36B;
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}
details.page-privacy-policy__faq-item[open] summary.page-privacy-policy__faq-question {
  background: rgba(242, 193, 78, 0.15);
  border-bottom: 1px solid #3A2A12;
}
details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
  padding: 0 25px 20px;
  background: #111111;
  border-radius: 0 0 8px 8px;
  color: #FFF6D6;
  font-size: 16px;
}

.page-privacy-policy a {
  color: #FFD36B;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
  color: #F2C14E;
}

/* Verbatim CSS for homepage trial layout (global requirement) */
@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 (max-width: 768px) for all elements */
@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-privacy-policy__main-title {
    font-size: 32px;
  }

  .page-privacy-policy__intro-text {
    font-size: 16px;
  }

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

  .page-privacy-policy p,
  .page-privacy-policy__list li {
    font-size: 16px;
  }

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

  /* General container adaptation */
  .page-privacy-policy__section,
  .page-privacy-policy__container,
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button adaptation */
  .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;
  }

  /* Button container adaptation */
  .page-privacy-policy__cta-buttons,
  .page-privacy-policy__button-group,
  .page-privacy-policy__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-privacy-policy__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  /* 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: 16px;
  }
  .page-privacy-policy__faq-toggle {
    font-size: 24px;
    width: 24px;
    height: 24px;
  }
  details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
    padding: 0 15px 15px;
  }

  /* Placeholder for other potential homepage modules (promo, hot-games, brand-intro, winner-ticker) */
  /* These are included as a global output requirement for the CSS field, even if not directly content for Privacy Policy */
  .page-privacy-policy__promo-strip-track {
    grid-template-columns: repeat(2, 1fr) !important; /* Example for 2 columns on mobile */
    overflow-x: hidden !important;
    padding: 0 15px !important;
  }
  .page-privacy-policy__promo-card {
    flex-direction: column !important;
    text-align: center !important;
  }
  .page-privacy-policy__hot-games-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
    padding: 0 15px !important;
  }
  .page-privacy-policy__hot-games-name,
  .page-privacy-policy__hot-games-rtp,
  .page-privacy-policy__hot-games-desc {
    display: none !important;
  }
  .page-privacy-policy__brand-intro {
    padding: 30px 15px !important;
  }
  .page-privacy-policy__winner-ticker {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 100 !important;
    box-sizing: border-box !important;
  }
  body {
    padding-bottom: 50px; /* Adjust for fixed ticker */
  }
}

/* Common styles for game trial overlay and modal */
.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;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.7);
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.3s ease;
}
.page-privacy-policy__reward-modal:not([hidden]) {
  visibility: visible;
  opacity: 1;
}
.page-privacy-policy__reward-modal-content {
  background: #111111;
  color: #FFF6D6;
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  text-align: center;
  position: relative;
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}
.page-privacy-policy__reward-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: #FFD36B;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}
.page-privacy-policy__reward-modal-close:hover {
  color: #F2C14E;
}
.page-privacy-policy__reward-modal-title {
  font-size: 28px;
  color: #F2C14E;
  margin-bottom: 15px;
}
.page-privacy-policy__reward-modal-text {
  font-size: 17px;
  margin-bottom: 25px;
}
.page-privacy-policy__reward-modal-button {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s ease;
}
.page-privacy-policy__reward-modal-button:hover {
  transform: translateY(-2px);
}