/* Base styles for page-privacy-policy */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--deep-navy);
  padding-top: 10px; /* Small top padding for inner pages */
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--text-main);
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 30px;
}

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

.page-privacy-policy__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: var(--text-main);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__intro-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  opacity: 0.15;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%); /* Allowed for subtle background effect, not color change */
}

/* Content Sections */
.page-privacy-policy__content-section {
  padding: 30px 0;
  margin-bottom: 20px;
  border-radius: 10px;
}

.page-privacy-policy__dark-section {
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-privacy-policy__section-title {
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--gold);
  text-align: center;
}

.page-privacy-policy__sub-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--text-main);
}

.page-privacy-policy__text-block {
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.page-privacy-policy__list li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.page-privacy-policy__list li strong {
  color: var(--text-main);
}

.page-privacy-policy__image-wrapper {
  margin: 30px auto;
  max-width: 800px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.page-privacy-policy a {
  color: var(--secondary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
  color: var(--gold);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 40px 0;
  margin-top: 30px;
  background-color: var(--deep-navy);
  border-radius: 10px;
}

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

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--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;
}

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(var(--primary-color-rgb), 0.1);
}

.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}

.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--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: rgba(var(--card-bg-rgb), 0.8);
  border-radius: 0 0 8px 8px;
  color: var(--text-secondary);
}

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

@media (max-width: 768px) {
  .page-privacy-policy {
    padding: 0;
  }
  .page-privacy-policy__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-privacy-policy__hero-section {
    padding: 30px 15px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__main-title {
    font-size: 2em;
  }

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

  .page-privacy-policy__cta-button {
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-privacy-policy__sub-title {
    font-size: 1.3em;
  }

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

  .page-privacy-policy__image-wrapper,
  .page-privacy-policy__content-section,
  .page-privacy-policy__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
    padding: 15px;
  }

  .page-privacy-policy__faq-qtext {
    font-size: 1em;
  }

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

/* Color Variables and Specifics */
:root {
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg: #10233F;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --border-color: #244D84;
  --glow-color: #4FA8FF;
  --gold: #F2C14E;
  --divider-color: #1B3357;
  --deep-navy: #08162B;
  --primary-color-rgb: 17, 59, 122;
  --card-bg-rgb: 16, 35, 63;
}

/* Ensure contrast for all text */
.page-privacy-policy h1, .page-privacy-policy h2, .page-privacy-policy h3, .page-privacy-policy h4, .page-privacy-policy h5, .page-privacy-policy h6 {
  color: var(--text-main);
}
.page-privacy-policy p, .page-privacy-policy li {
  color: var(--text-secondary);
}

/* Button contrast */
.page-privacy-policy__cta-button {
  background: var(--button-gradient);
  color: #ffffff;
}

/* FAQ item specific styles for dark background */
details.page-privacy-policy__faq-item {
  background-color: var(--card-bg);
  border-color: var(--border-color);
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question:hover {
  background-color: rgba(29, 95, 209, 0.2); /* Lighter hover for dark background */
}
.page-privacy-policy__faq-qtext {
  color: var(--text-main);
}
.page-privacy-policy__faq-toggle {
  color: var(--gold);
}
details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
  background-color: rgba(var(--card-bg-rgb), 0.8);
  color: var(--text-secondary);
}