/* General styles for privacy-policy page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main from custom palette */
  background-color: #140C0C; /* Background from custom palette */
  padding-bottom: 50px; /* Adjust for footer if needed */
}

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

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, not --header-offset */
  margin-bottom: 40px;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 20px; /* Space between image and text */
  max-height: 500px; /* Limit height for hero image */
}

.page-privacy-policy__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 15px;
}

.page-privacy-policy__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Using clamp for H1 */
  font-weight: 700;
  color: #F3C54D; /* Gold from custom palette */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-privacy-policy__description {
  font-size: 18px;
  color: #FFF1E8;
  margin-bottom: 30px;
}

.page-privacy-policy__content-area {
  padding: 40px 0;
  background: #2A1212; /* Card BG from custom palette */
  color: #FFF1E8; /* Text Main */
  border-radius: 10px;
  margin: 0 15px 40px;
  box-sizing: border-box;
}

.page-privacy-policy__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #F3C54D; /* Gold */
  margin-bottom: 25px;
  text-align: center;
  padding-top: 20px;
}

.page-privacy-policy__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: #FFB04A; /* Part of button gradient, good for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy__text-block,
.page-privacy-policy__list-item {
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.7;
  color: #FFF1E8;
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-privacy-policy__list-item strong {
  color: #F3C54D;
}

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

.page-privacy-policy a {
  color: #FFB04A; /* Gold for links */
  text-decoration: underline;
}

.page-privacy-policy a:hover {
  color: #F3C54D; /* Lighter gold on hover */
}

/* Buttons */
.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #FFF1E8; /* Text Main */
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background: transparent;
  color: #FFB04A; /* Gold */
  border: 2px solid #FFB04A; /* Gold border */
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-privacy-policy__btn-secondary:hover {
  background: rgba(255, 176, 74, 0.1);
  color: #F3C54D;
  border-color: #F3C54D;
  transform: translateY(-2px);
}

.page-privacy-policy__contact-buttons,
.page-privacy-policy__cta-section {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-privacy-policy__cta-text {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    color: #F3C54D;
    margin-bottom: 20px;
    width: 100%;
}

.page-privacy-policy__btn-large {
    min-width: 250px;
    padding: 15px 30px;
    font-size: 20px;
}

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

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #6A1E1E; /* Border from custom palette */
  overflow: hidden;
  background: #2A1212; /* 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 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFF1E8;
}
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: #3A1F1F; /* Slightly lighter Card BG for hover */
}
.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3C54D; /* Gold */
}
.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFB04A; /* 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: #140C0C; /* Background */
  border-radius: 0 0 8px 8px;
  color: #FFF1E8;
}

.page-privacy-policy__copyright-info {
    text-align: center;
    padding: 20px 15px;
    font-size: 14px;
    color: #6A1E1E; /* Border color for subtle text */
    background-color: #140C0C;
    margin-top: 30px;
}

/* --- Boilerplate CSS for Game Trial (as requested) --- */
@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;
  }
}

/* General mobile responsiveness for this page */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding-top: 10px;
    margin-bottom: 20px;
  }
  .page-privacy-policy__main-title {
    font-size: clamp(24px, 6vw, 36px);
  }
  .page-privacy-policy__description {
    font-size: 16px;
  }
  .page-privacy-policy__section-title {
    font-size: 28px;
  }
  .page-privacy-policy__sub-title {
    font-size: 20px;
  }
  .page-privacy-policy__text-block,
  .page-privacy-policy__list-item,
  .page-privacy-policy p,
  .page-privacy-policy li {
    font-size: 16px;
    line-height: 1.6;
  }
  
  /* Mobile image adaptation */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-privacy-policy__content-area,
  .page-privacy-policy__container,
  .page-privacy-policy__contact-buttons,
  .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;
  }

  /* Mobile 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;
  }
  .page-privacy-policy__contact-buttons,
  .page-privacy-policy__cta-section {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }
  .page-privacy-policy__btn-large {
    min-width: unset; /* Remove min-width for mobile */
  }

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

/* --- End Boilerplate CSS --- */
/* Remaining specific styles for game trial (if any) and general elements */
.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;}
.page-privacy-policy__reward-modal-close { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 24px; color: #FFF1E8; cursor: pointer; z-index: 10001; }
.page-privacy-policy__reward-modal.is-hidden { display: none !important; }
body.page-privacy-policy--reward-open { overflow: hidden; }