/* Base styles for privacy-policy page */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  background-color: var(--background-color, #B71C1C); /* Background */
  padding-top: 10px; /* Small top padding for content, relying on body for header offset */
}

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

.page-privacy-policy__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #F4D34D; /* Gold */
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: #FFD86A; /* Button color for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy__paragraph {
  font-size: 16px;
  margin-bottom: 15px;
  color: #FFF5E1;
}

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

.page-privacy-policy__list li {
  margin-bottom: 10px;
  font-size: 16px;
}

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

.page-privacy-policy__content-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);
  border: 2px solid #F2B544; /* Border */
}

/* Section Backgrounds */
.page-privacy-policy__dark-bg {
  background-color: #B71C1C; /* Background */
  color: #FFF5E1;
  padding-bottom: 40px;
}

.page-privacy-policy__light-bg {
  background-color: #D32F2F; /* Card BG */
  color: #FFF5E1;
  padding-bottom: 40px;
}

/* Hero Section */
.page-privacy-policy__hero-section {
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-privacy-policy__hero-content {
  max-width: 800px;
  margin-bottom: 30px;
}

.page-privacy-policy__main-title {
  font-size: 48px;
  font-weight: 700;
  color: #F4D34D; /* Gold */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-privacy-policy__intro-description {
  font-size: 18px;
  color: #FFF5E1;
  margin-bottom: 30px;
}

.page-privacy-policy__hero-image-wrapper {
  max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 3px solid #F2B544; /* Border */
}

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

/* Buttons */
.page-privacy-policy__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  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, #FFD86A 0%, #E6B800 100%); /* Button */
  color: #7A0E0E; /* Deep Red for contrast */
  border: 2px solid #F2B544; /* Border */
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__btn-secondary {
  background: transparent;
  color: #FFD86A; /* Button color */
  border: 2px solid #FFD86A;
}

.page-privacy-policy__btn-secondary:hover {
  background: rgba(255, 216, 106, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* CTA Section */
.page-privacy-policy__cta-section {
  padding-top: 60px;
  padding-bottom: 60px;
  text-align: center;
}

.page-privacy-policy__cta-section .page-privacy-policy__section-title {
  margin-bottom: 20px;
}

/* FAQ Section */
details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #F2B544; /* Border */
  overflow: hidden;
  background: #D32F2F; /* Card BG */
  color: #FFF5E1;
}
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;
  background-color: #C91F17; /* Main Color */
}
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: #E53935; /* Auxiliary Color */
}
.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFD86A; /* Button color */
}
.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F4D34D; /* Gold */
  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: #D32F2F; /* Card BG */
  border-radius: 0 0 5px 5px;
  color: #FFF5E1;
}

/* --- General Responsive Styles --- */
/* Homepage specific CSS for trial layout - must be included 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;
  }
}

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

  .page-privacy-policy__container {
    padding: 0 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-privacy-policy__sub-title {
    font-size: 20px;
    margin-top: 25px;
  }

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

  .page-privacy-policy__paragraph,
  .page-privacy-policy__list li {
    font-size: 15px;
  }

  .page-privacy-policy__hero-content {
    margin-bottom: 20px;
  }

  .page-privacy-policy__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    padding: 12px 20px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Images in content sections */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  
  .page-privacy-policy__content-section,
  .page-privacy-policy__cta-section,
  .page-privacy-policy__faq-section {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  /* Placeholder for homepage promo strip, hot games, brand intro, winner ticker if they were present */
  /* This is an inner page, but the prompt requires these media queries to be present if they were homepage specific. */
  /* For this Privacy Policy page, these specific elements are not present, so their mobile styles are not generated here. */
  /* If this was the homepage, the full CSS for promo-strip-track, hot-games-grid, hero-brand, winner-ticker would be here. */
  /* As per prompt, only general mobile rules for images/buttons and FAQ are relevant for this inner page. */
}

/* Game Trial Overlay & Modal (copied from prompt as required) */
.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;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.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;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.page-privacy-policy__reward-modal:not([hidden]) {
  opacity: 1;
  visibility: visible;
}
.page-privacy-policy__reward-modal-content {
  background: #B71C1C; /* Background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  position: relative;
  color: #FFF5E1;
}
.page-privacy-policy__reward-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  color: #F4D34D; /* Gold */
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}
.page-privacy-policy__reward-modal-close:hover {
  color: #FFD86A;
}
.page-privacy-policy__reward-modal h3 {
  font-size: 28px;
  color: #F4D34D; /* Gold */
  margin-bottom: 15px;
}
.page-privacy-policy__reward-modal p {
  font-size: 16px;
  margin-bottom: 20px;
}
.page-privacy-policy__reward-modal-button {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button */
  color: #7A0E0E; /* Deep Red */
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.page-privacy-policy__reward-modal-button:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
}