/* Base styles for the Privacy Policy page */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background: #0D0E12; /* Background */
}

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

.page-privacy-policy__section {
  margin-bottom: 40px;
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: #FFA53A; /* Auxiliary Color */
  margin-bottom: 25px;
  text-align: center;
  font-weight: 700;
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  color: #FF8C1A; /* Primary Color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

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

.page-privacy-policy p {
  margin-bottom: 1em;
}

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

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

/* Hero Section */
.page-privacy-policy__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 40px;
  background: #0D0E12;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 20px;
  overflow: hidden;
  border-radius: 10px;
}

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

.page-privacy-policy__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px 30px;
}

/* 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: 700;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-privacy-policy__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-privacy-policy__btn-secondary {
  background: #17191F; /* Card BG */
  color: #FF8C1A; /* Primary Color */
  border: 1px solid #A84F0C; /* Border */
  margin-top: 20px;
}

.page-privacy-policy__btn-secondary:hover {
  background: #FF8C1A;
  color: #ffffff;
  border-color: #FF8C1A;
  transform: translateY(-2px);
}

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

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

/* FAQ Section */
details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #A84F0C; /* Border */
  overflow: hidden;
  background: #17191F; /* 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;
  color: #FFF3E6; /* Text Main */
}
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, 165, 58, 0.1);
}
.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF3E6; /* Text Main */
}
.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFA53A; /* Auxiliary Color */
  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: rgba(23, 25, 31, 0.8); /* Slightly lighter than Card BG */
  border-radius: 0 0 5px 5px;
  color: #FFF3E6;
}

/* Responsive Styles */
@media (max-width: 1023px) {
  /* This block is mandatory even for non-homepage as per instructions */
  .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) {
  /* This block is mandatory even for non-homepage as per instructions */
  .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: 2.5em;
  }

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

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

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-privacy-policy__container,
  .page-privacy-policy__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .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;
  }

  details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question { padding: 15px; }
  .page-privacy-policy__faq-qtext { font-size: 1em; }

  /* Mandatory homepage elements for 768px - even if not on this page */
  .page-privacy-policy__promo-strip-track {
    grid-template-columns: repeat(2, 1fr); /* Example for promo strip */
    overflow-x: hidden;
    padding: 0 15px;
  }
  .page-privacy-policy__promo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-privacy-policy__promo-card img {
    width: 100% !important;
    height: auto !important;
    margin-bottom: 10px;
  }
  .page-privacy-policy__hot-games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 15px;
  }
  .page-privacy-policy__hot-games-item {
    text-align: center;
  }
  .page-privacy-policy__hot-games-item img {
    width: 100% !important;
    height: auto !important;
  }
  .page-privacy-policy__hot-games-name,
  .page-privacy-policy__hot-games-rtp,
  .page-privacy-policy__hot-games-desc {
    display: none; /* Hide for mobile */
  }
  .page-privacy-policy__brand-intro {
    padding: 20px 15px;
    text-align: center;
  }
  .page-privacy-policy__winner-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px 15px;
    z-index: 999;
  }
  body {
    padding-bottom: 50px; /* Adjust for fixed ticker */
  }
}

/* Default color contrast for sections/cards */
.page-privacy-policy__card,
.page-privacy-policy__section,
.page-privacy-policy__box {
  background: #17191F; /* Card BG */
  color: #FFF3E6; /* Text Main */
}

.page-privacy-policy p,
.page-privacy-policy li {
  color: #FFF3E6; /* Ensure readability */
}

.page-privacy-policy__dark-section {
  background: #FF8C1A;
  color: #ffffff;
}

.page-privacy-policy__reward-modal .page-privacy-policy__reward-modal-close {
  /* Assuming this is a close button for a modal, similar to what's in shared.js */
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  color: #FFF3E6;
  cursor: pointer;
}

/* Mandatory game trial CSS for homepage, even if not used on this page */
.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: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.page-privacy-policy__reward-modal[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
}
.page-privacy-policy__reward-modal-content {
  background: #17191F;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  color: #FFF3E6;
}
.page-privacy-policy__reward-modal-title {
  font-size: 1.8em;
  color: #FF8C1A;
  margin-bottom: 15px;
}
.page-privacy-policy__reward-modal-description {
  margin-bottom: 20px;
}
.page-privacy-policy__reward-modal-button {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
}