.page-privacy-policy {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  color: #FFF3E6; /* Text Main for dark body background */
}

.page-privacy-policy__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-privacy-policy__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-bottom: 20px;
}

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

.page-privacy-policy__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  color: #FFB04D; /* Glow color for main title */
  margin-bottom: 15px;
}

.page-privacy-policy__intro-text {
  font-size: 18px;
  line-height: 1.6;
  color: #FFF3E6;
  margin-bottom: 30px;
}

.page-privacy-policy__content-area {
  padding: 40px 20px;
  background: #0D0E12; /* Background color */
  color: #FFF3E6; /* Text Main for dark background */
}

.page-privacy-policy__dark-section {
  background: #17191F; /* Card BG for alternating sections */
}

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

.page-privacy-policy__section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 600;
  color: #FFA53A; /* Auxiliary color for section titles */
  margin-bottom: 25px;
  text-align: left;
}

.page-privacy-policy p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #FFF3E6;
}

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

.page-privacy-policy__list li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 10px;
  color: #FFF3E6;
}

.page-privacy-policy__list li strong {
  color: #FFB04D; /* Glow color for strong text in lists */
}

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

.page-privacy-policy__link-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__link-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 40px 20px;
  background: #17191F;
}

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

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #A84F0C; /* Border color */
  overflow: hidden;
  background: #0D0E12; /* Background color */
  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 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); /* Light hover effect with auxiliary color */
}

.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFB04D; /* Glow color for FAQ questions */
}

.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: #17191F; /* Card BG */
  border-radius: 0 0 8px 8px;
  color: #FFF3E6;
}

/* --- General Responsive Styles for Images and Buttons --- */
.page-privacy-policy img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-privacy-policy__link-button,
.page-privacy-policy a[class*="button"],
.page-privacy-policy a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__container,
.page-privacy-policy__faq-list {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* --- CRITICAL: Homepage specific media queries (copied verbatim) --- */
@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;
  }
  /* Placeholder for homepage promo strip and hot games, as per instructions */
  .page-privacy-policy__promo-strip { margin-top: 16px; }
  .page-privacy-policy__promo-strip-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
  }
  .page-privacy-policy__hot-games-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
  }
  .page-privacy-policy__hot-games-name, .page-privacy-policy__hot-games-rtp, .page-privacy-policy__hot-games-desc {
    display: block;
    text-align: center;
  }
}

/* --- Mobile specific styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-privacy-policy__hero-section {
    padding: 15px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(24px, 6vw, 36px);
  }

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

  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-section {
    padding: 25px 15px;
  }

  .page-privacy-policy__section-title {
    font-size: clamp(20px, 5vw, 28px);
    margin-bottom: 20px;
  }

  .page-privacy-policy p,
  .page-privacy-policy__list li {
    font-size: 15px;
    line-height: 1.6;
  }

  .page-privacy-policy__image-inline {
    margin: 20px auto;
  }

  .page-privacy-policy__link-button {
    width: 100% !important;
    padding: 12px 15px;
    text-align: center;
  }

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

  /* General image responsiveness */
  .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;
  }

  /* Button responsiveness */
  .page-privacy-policy__cta-button,
  .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;
  }
  .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;
  }

  /* Placeholder for homepage promo strip and hot games, as per instructions */
  .page-privacy-policy__promo-strip-track{
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Adjusted for better mobile fit */
    overflow-x: hidden;
  }
  .page-privacy-policy__promo-strip-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-privacy-policy__hot-games-grid{
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
  }
  .page-privacy-policy__hot-games-name, .page-privacy-policy__hot-games-rtp, .page-privacy-policy__hot-games-desc {
    display: none; /* Hide for smaller screens as per common practice */
  }
  /* Winner ticker placeholder if it were fixed bottom */
  .page-privacy-policy__winner-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(0,0,0,0.8);
    padding: 8px 15px;
  }
  body.page-privacy-policy--winner-ticker-active {
    padding-bottom: 50px; /* Adjust if ticker is active */
  }
}

/* Game trial overlay styles (copied verbatim) */
.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 #A84F0C;border-radius:10px;overflow:hidden;}
.page-privacy-policy__reward-modal{position:fixed;inset:0;z-index:10000;}
.page-privacy-policy__reward-modal-close {
  background: #D96800;
  color: #FFF3E6;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
}