/* CSS Reset & Global styles from shared.css are assumed */

/* Body background from shared.css is var(--deep-navy) (#08162B), which is dark. */
/* Therefore, text should be light, e.g., #F3F8FF or #ffffff. */
.page-privacy-policy {
  color: #F3F8FF; /* Text Main color for light text on dark background */
}

.page-privacy-policy__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: linear-gradient(180deg, #113B7A 0%, #08162B 100%);
  padding-bottom: 40px;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

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

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

.page-privacy-policy__description {
  font-size: 18px;
  line-height: 1.6;
  color: #AFC4E8; /* Text Secondary color */
  max-width: 800px;
  margin: 0 auto;
}

.page-privacy-policy__content-area {
  background: #08162B; /* Deep Navy for content background */
  padding: 40px 0;
  color: #F3F8FF; /* Main text color */
}

.page-privacy-policy__container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-privacy-policy__section-block {
  background: #10233F; /* Card BG color */
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid #244D84; /* Border color */
}

.page-privacy-policy__section-title {
  font-size: 28px;
  font-weight: 600;
  color: #F2C14E; /* Gold color for section titles */
  margin-bottom: 20px;
  text-align: left;
  line-height: 1.3;
}

.page-privacy-policy__subsection-title {
  font-size: 22px;
  font-weight: 600;
  color: #F3F8FF; /* Main text color */
  margin-top: 25px;
  margin-bottom: 15px;
  text-align: left;
  line-height: 1.4;
}

.page-privacy-policy p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #AFC4E8; /* Secondary text color */
}

.page-privacy-policy ul {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 15px;
  color: #AFC4E8; /* Secondary text color */
}

.page-privacy-policy ul li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 8px;
  color: #AFC4E8; /* Secondary text color */
}

.page-privacy-policy a {
  color: #1D5FD1; /* Auxiliary color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
  color: #4FA8FF; /* Glow color on hover */
}

.page-privacy-policy__image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin: 25px 0;
  border-radius: 8px;
}

.page-privacy-policy__content-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

/* FAQ Section */
details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #244D84; /* Border color */
  overflow: hidden;
  background: #10233F; /* Card BG color */
  color: #F3F8FF; /* Main text color */
}
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: #F3F8FF;
}
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(29, 95, 209, 0.1); /* Light hover effect */
}
.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF;
}
.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Gold color for toggle icon */
  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: #08162B; /* Deep Navy background for answer */
  border-radius: 0 0 5px 5px;
  color: #AFC4E8; /* Secondary text color */
}

.page-privacy-policy__cta-section {
  background: linear-gradient(90deg, #113B7A 0%, #1D5FD1 100%);
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  margin-top: 30px;
  border: 1px solid #4FA8FF; /* Glow border */
}

.page-privacy-policy__cta-title {
  font-size: 32px;
  font-weight: 700;
  color: #F2C14E; /* Gold color */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-privacy-policy__cta-description {
  font-size: 18px;
  line-height: 1.6;
  color: #F3F8FF; /* Main text color */
  max-width: 700px;
  margin: 0 auto 25px;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button gradient */
  color: #ffffff; /* White text for button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

/* Mobile 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 {
    font-size: 16px;
    line-height: 1.6;
  }

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

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

  .page-privacy-policy__section-block {
    padding: 20px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__section-title {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .page-privacy-policy__subsection-title {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
  }

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

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

  .page-privacy-policy__cta-section {
    padding: 30px 20px;
  }

  .page-privacy-policy__cta-title {
    font-size: 26px;
  }

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

  .page-privacy-policy__btn-primary {
    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;
  }

  /* General image and container responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-privacy-policy__section-block,
  .page-privacy-policy__container,
  .page-privacy-policy__image-wrapper,
  .page-privacy-policy__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__home-hero {
    padding-left: 0;
    padding-right: 0;
  }

  .page-privacy-policy__hero-image-wrapper {
    border-radius: 0;
  }
}

/* Boilerplate for homepage elements as per instructions (even if not directly used on this page) */
.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;}

/* Additional common mobile rules (promo/hot-games/brand-intro/winner-ticker) as per instructions */
@media (max-width:768px){
  .page-privacy-policy__promo-strip-track { /* Assuming this is for promotions */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    overflow-x: hidden;
    padding: 0 15px;
  }
  .page-privacy-policy__promo-card { /* Assuming a card for promotions */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-privacy-policy__promo-card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
  }
  .page-privacy-policy__hot-games-grid { /* Assuming this is for hot games */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 15px;
  }
  .page-privacy-policy__hot-games-card { /* Assuming a card for hot games */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-privacy-policy__hot-games-card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
  }
  .page-privacy-policy__hot-games-name,
  .page-privacy-policy__hot-games-rtp,
  .page-privacy-policy__hot-games-desc {
    display: none; /* Hide for mobile */
  }
  .page-privacy-policy__brand-intro { /* Assuming brand intro section */
    display: block;
    padding: 20px 15px;
  }
  .page-privacy-policy__winner-ticker { /* Assuming winner ticker */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.8);
    padding: 10px 15px;
    z-index: 999;
  }
  body {
    padding-bottom: 50px; /* Adjust for fixed ticker */
  }
}