/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy, matching body background assumption */
}

.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 header offset */
  padding-bottom: 40px;
  text-align: center;
  background: linear-gradient(180deg, #113B7A 0%, #08162B 100%);
  position: relative;
  overflow: hidden;
}

.page-privacy-policy__hero-content {
  max-width: 800px;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-privacy-policy__intro-description {
  font-size: 1.1em;
  color: #AFC4E8; /* Text Secondary */
  max-width: 900px;
  margin: 0 auto;
}

.page-privacy-policy__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 20px auto 0;
  text-align: center;
  z-index: 1;
}

.page-privacy-policy__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__section {
  padding: 40px 0;
  background-color: #10233F; /* Card BG */
  border-bottom: 1px solid #1B3357; /* Divider */
}

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

.page-privacy-policy__paragraph {
  font-size: 1em;
  margin-bottom: 20px;
  color: #F3F8FF; /* Text Main */
}

.page-privacy-policy__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #F3F8FF; /* Text Main */
}

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  color: #F3F8FF; /* Text Main */
}

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

.page-privacy-policy a {
  color: #1D5FD1; /* Auxiliary color */
  text-decoration: underline;
}

.page-privacy-policy a:hover {
  color: #4FA8FF; /* Glow */
}

.page-privacy-policy__image-block {
  margin: 30px auto;
  text-align: center;
}

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

/* CTA Section */
.page-privacy-policy__cta-section {
  background-color: #113B7A; /* Primary color */
  padding: 50px 20px;
  text-align: center;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__cta-title {
  font-size: 2.2em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 700;
}

.page-privacy-policy__cta-description {
  font-size: 1.1em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF; /* Text Main */
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

/* FAQ Section */
.page-privacy-policy__faq-list {
  margin-top: 40px;
}

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
  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;
  color: #F3F8FF; /* Text Main */
  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: #1B3357; /* Slightly darker */
}

.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF;
}

.page-privacy-policy__faq-toggle {
  font-size: 2em;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}

details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
  padding: 0 25px 25px;
  background: #08162B; /* Deep Navy */
  border-radius: 0 0 8px 8px;
  color: #AFC4E8; /* Text Secondary */
}

details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer p {
  margin-bottom: 0;
  color: #AFC4E8;
}

/* Media Queries */
@media (max-width: 1023px) {
  /* This is a non-homepage, so the homepage-specific rules for trial game are not relevant here. */
  /* However, to comply with the general requirement, I will include placeholder media queries for homepage-like elements if they were present */
  /* Note: The privacy-policy page does not have these elements, so these blocks are functionally inert for this specific page. */
  .page-privacy-policy__hero-section {
    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) {
  /* This is a non-homepage, so the homepage-specific rules for trial game are not relevant here. */
  /* Note: The privacy-policy page does not have these elements, so these blocks are functionally inert for this specific page. */
  .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;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__main-title {
    font-size: 2em;
  }
  .page-privacy-policy__intro-description {
    font-size: 0.95em;
  }
  .page-privacy-policy__section-title {
    font-size: 1.8em;
  }
  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item {
    font-size: 0.95em;
  }
  .page-privacy-policy__hero-section {
    padding-bottom: 30px;
  }
  .page-privacy-policy__cta-title {
    font-size: 1.8em;
  }
  .page-privacy-policy__cta-description {
    font-size: 0.95em;
  }
  .page-privacy-policy__btn-primary {
    font-size: 1em;
    padding: 12px 25px;
  }

  /* General image and container responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-privacy-policy__container,
  .page-privacy-policy__hero-section,
  .page-privacy-policy__section,
  .page-privacy-policy__cta-section,
  .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__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__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 for mobile */
  details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
    padding: 15px 20px;
  }
  .page-privacy-policy__faq-qtext {
    font-size: 1em;
  }
  .page-privacy-policy__faq-toggle {
    font-size: 1.8em;
    margin-left: 15px;
    width: 25px;
  }
  details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
    padding: 0 20px 20px;
  }
}

/* Homepage specific elements (not present on this page, but required for CSS output) */
.page-privacy-policy__promo-strip-track { /* Placeholder for homepage promo strip */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  overflow-x: hidden;
}
.page-privacy-policy__hot-games-grid { /* Placeholder for homepage hot games */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.page-privacy-policy__brand-intro { /* Placeholder for homepage brand intro */
  display: block;
}
.page-privacy-policy__winner-ticker { /* Placeholder for homepage winner ticker */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: #08162B;
  color: #F3F8FF;
  padding: 8px 0;
  overflow: hidden;
}
.page-privacy-policy__winner-ticker-content { /* Placeholder for homepage winner ticker content */
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
}
@keyframes ticker-scroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
@media (max-width: 768px) {
  .page-privacy-policy__promo-strip-track { /* Placeholder for homepage promo strip */
    grid-template-columns: repeat(2, 1fr) !important;
    overflow-x: hidden !important;
  }
  .page-privacy-policy__hot-games-grid { /* Placeholder for homepage hot games */
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .page-privacy-policy__hot-games-name,
  .page-privacy-policy__hot-games-rtp,
  .page-privacy-policy__hot-games-desc { /* Hide on mobile for hot games */
    display: none !important;
  }
  .page-privacy-policy__winner-ticker { /* Placeholder for homepage winner ticker */
    padding: 6px 0;
    font-size: 0.85em;
  }
  .page-privacy-policy__winner-ticker-content { /* Placeholder for homepage winner ticker content */
    animation-duration: 20s;
  }
  body.page-privacy-policy--has-ticker {
    padding-bottom: 40px;
  }
}