/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--background);
}

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

.page-privacy-policy__hero-section {
  padding: 10px 0 40px;
  text-align: center;
  background: var(--deep-green);
  color: var(--text-main);
}

.page-privacy-policy__main-title {
  font-size: 3em;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-main);
  line-height: 1.2;
}

.page-privacy-policy__intro-text {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: var(--text-secondary);
}

.page-privacy-policy__hero-image-wrapper {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.page-privacy-policy__hero-image,
.page-privacy-policy__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__content-section {
  padding: 60px 0;
  background: var(--background);
  color: var(--text-main);
}

.page-privacy-policy__text-block {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 25px;
  color: var(--gold);
  text-align: left;
  border-bottom: 2px solid var(--divider);
  padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
  font-size: 1.6em;
  font-weight: 500;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--glow);
  text-align: left;
}

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

.page-privacy-policy__image-block {
  margin: 30px 0;
  display: flex;
  justify-content: center;
}

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

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  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, #2AD16F 0%, #13994A 100%);
  color: var(--text-main);
  border: none;
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-privacy-policy__btn-secondary {
  background: transparent;
  color: var(--main-color);
  border: 2px solid var(--main-color);
}

.page-privacy-policy__btn-secondary:hover {
  background: var(--main-color);
  color: #fff;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 60px 0;
  background: var(--card-bg);
  color: var(--text-main);
}

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

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--deep-green);
  color: var(--text-main);
}

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(46, 122, 78, 0.2);
}

.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(--glow);
  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: var(--card-bg);
  border-radius: 0 0 10px 10px;
  color: var(--text-secondary);
}

/* Custom colors from prompt */
:root {
  --main-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* Fixed Header Spacing (rely on shared.css body padding-top, main content gets small top padding) */
.page-privacy-policy__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
}

/* Required CSS blocks for homepage elements, even if this is a privacy policy page */
@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;
  }

  /* Promo Strip - PC */
  .page-privacy-policy__promo-strip-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1280px;
    margin: 0 auto;
  }
  .page-privacy-policy__promo-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 15px;
  }
  .page-privacy-policy__promo-card-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    margin-right: 15px;
  }
  .page-privacy-policy__promo-card-content {
    text-align: left;
  }

  /* Hot Games - PC */
  .page-privacy-policy__hot-games-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
  }
  .page-privacy-policy__hot-games-card-image {
    height: 120px;
    object-fit: cover;
  }
  .page-privacy-policy__hot-games-name,
  .page-privacy-policy__hot-games-rtp,
  .page-privacy-policy__hot-games-desc {
    display: block;
    text-align: center;
  }
}

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

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

  .page-privacy-policy__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-privacy-policy__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-privacy-policy__text-block {
    padding: 25px;
  }

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

  .page-privacy-policy__sub-title {
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-privacy-policy__hero-image,
  .page-privacy-policy__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-privacy-policy__image-block {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

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

  /* Promo Strip - Mobile */
  .page-privacy-policy__promo-strip-track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    overflow-x: hidden;
    padding: 0 15px;
  }
  .page-privacy-policy__promo-card {
    flex-direction: column;
    text-align: center;
    padding: 10px;
  }
  .page-privacy-policy__promo-card-image {
    width: 60px;
    height: 60px;
    margin-right: 0;
    margin-bottom: 10px;
  }

  /* Hot Games - Mobile */
  .page-privacy-policy__hot-games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 15px;
  }
  .page-privacy-policy__hot-games-name,
  .page-privacy-policy__hot-games-rtp,
  .page-privacy-policy__hot-games-desc {
    display: none; /* Hide on mobile to save space */
  }
  .page-privacy-policy__hot-games-card-image {
    width: 100%;
    height: auto;
    min-height: 100px;
    object-fit: cover;
  }

  /* Brand Intro - Mobile */
  .page-privacy-policy__brand-intro {
    padding: 20px 15px;
  }

  /* Winner Ticker - Mobile */
  .page-privacy-policy__winner-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
  }

  /* General image/container mobile adaptation */
  .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;
  }
}

/* Common styles for game trial overlay and modal */
.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;
}
.page-privacy-policy__reward-modal[hidden] {
  display: none;
}
.page-privacy-policy__reward-modal-content {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  max-width: 90%;
  width: 500px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  position: relative;
}
.page-privacy-policy__reward-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2em;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1;
}
.page-privacy-policy__reward-modal-close:hover {
  color: var(--text-main);
}
.page-privacy-policy__reward-modal h3 {
  color: var(--gold);
  font-size: 2em;
  margin-bottom: 15px;
}
.page-privacy-policy__reward-modal p {
  color: var(--text-secondary);
  margin-bottom: 25px;
}
.page-privacy-policy__reward-modal .page-privacy-policy__btn-primary {
  width: auto;
  padding: 10px 30px;
  font-size: 1.1em;
}

/* Hide brand/jackpot on mobile for homepage, as per 1023px media query */
.page-privacy-policy__hero-brand, .page-privacy-policy__hero-jackpot {
    display: none;
}