/* Boilerplate from prompt for 1023px and 1024px */
@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;
  }
}

/* Specific styles for privacy-policy page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for default light body background */
  background-color: #f8f9fa; /* Light background for content sections */
  padding-bottom: 50px;
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #08162B; /* Deep Navy for hero background */
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  position: relative;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  opacity: 0.7;
  filter: none; /* Ensure no filter is applied */
}

.page-privacy-policy__hero-content {
  position: relative;
  text-align: center;
  padding: 40px 20px 60px;
  max-width: 800px;
  margin: 0 auto;
  color: #F3F8FF;
  z-index: 2;
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #F2C14E;
}

.page-privacy-policy__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #AFC4E8;
}

/* Sections */
.page-privacy-policy__section {
  padding: 60px 0;
  border-bottom: 1px solid #e0e0e0;
}

.page-privacy-policy__section:last-of-type {
  border-bottom: none;
}

.page-privacy-policy__dark-section {
  background-color: #10233F;
  color: #F3F8FF;
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #113B7A;
}

.page-privacy-policy__section-title--light {
  color: #F2C14E;
}

.page-privacy-policy__sub-section-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #113B7A;
}

.page-privacy-policy__dark-section .page-privacy-policy__sub-section-title {
  color: #F3F8FF;
}

/* Paragraphs and Lists */
.page-privacy-policy p {
  margin-bottom: 20px;
  font-size: 1.05em;
  color: #333333;
}

.page-privacy-policy__dark-section p {
  color: #AFC4E8;
}

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

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

.page-privacy-policy__list--light li {
  color: #AFC4E8;
}

.page-privacy-policy__list--light strong {
  color: #F3F8FF;
}

/* Grid Layout for Cards */
.page-privacy-policy__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

/* Cards */
.page-privacy-policy__card {
  background: #10233F;
  border: 1px solid #244D84;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F3F8FF;
}

.page-privacy-policy__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  filter: none; /* Ensure no filter is applied */
}

.page-privacy-policy__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2C14E;
}

.page-privacy-policy__card p {
  font-size: 0.95em;
  color: #AFC4E8;
}

/* Call to Action Buttons */
.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  margin: 10px;
  max-width: 100%; /* Base for responsive buttons */
  box-sizing: border-box; /* Base for responsive buttons */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-privacy-policy__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  box-shadow: 0 4px 15px rgba(17, 67, 166, 0.4);
}

.page-privacy-policy__btn-secondary {
  background: #ffffff;
  color: #113B7A;
  border: 2px solid #113B7A;
}

.page-privacy-policy__btn-secondary:hover {
  background: #f0f0f0;
  color: #0c2b5e;
  border-color: #0c2b5e;
  box-shadow: 0 4px 15px rgba(17, 59, 122, 0.2);
}

.page-privacy-policy__section--contact .page-privacy-policy__cta-button {
    margin-top: 30px;
}

/* FAQ Section */
.page-privacy-policy__section--faq {
  background-color: #f0f5f9;
  padding: 80px 0;
}

.page-privacy-policy__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
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: #f5f5f5;
}
.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #113B7A;
}
.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  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: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #333333;
}

/* Game trial overlay and reward modal styles - required by prompt */
.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;}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-privacy-policy__container {
    padding: 0 15px;
  }

  .page-privacy-policy__hero-content {
    padding: 30px 15px 40px;
  }

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

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

  .page-privacy-policy__section {
    padding: 40px 0;
  }

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

  .page-privacy-policy__sub-section-title {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-privacy-policy p,
  .page-privacy-policy li {
    font-size: 0.95em;
  }

  .page-privacy-policy__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-privacy-policy__card {
    padding: 20px;
  }

  .page-privacy-policy__card-image {
    height: 180px;
  }

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

  .page-privacy-policy__cta-button {
    padding: 12px 20px;
    font-size: 1em;
    margin: 8px;
    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__section--contact .page-privacy-policy__cta-button {
      margin-top: 20px;
  }

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

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

  /* Mobile image specific rules */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    filter: none !important; /* Ensure no filter is applied */
  }
  
  /* All containers with images or content for mobile responsiveness */
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button containers for mobile responsiveness */
  .page-privacy-policy__hero-content,
  .page-privacy-policy__section--contact .page-privacy-policy__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .page-privacy-policy__hero-content .page-privacy-policy__cta-button,
  .page-privacy-policy__section--contact .page-privacy-policy__cta-button {
      width: calc(100% - 30px); /* Adjust for padding on button itself */
      margin: 0;
  }

  /* Placeholder for other required mobile blocks from prompt - even if not directly applicable */
  /* 2. Ưu đãi `__promo-strip` */
  .page-privacy-policy__promo-strip-track {
    grid-template-columns: repeat(4,1fr) !important;
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-privacy-policy__promo-strip-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 10px !important;
  }
  .page-privacy-policy__promo-strip-item img {
    width: 100% !important;
    height: auto !important;
    margin-bottom: 5px !important;
  }
  .page-privacy-policy__promo-strip-item h3 {
    font-size: 0.9em !important;
    line-height: 1.3 !important;
  }
  .page-privacy-policy__promo-strip-item a.page-privacy-policy__cta-button {
    width: 100% !important;
    padding: 8px 10px !important;
    font-size: 0.8em !important;
  }

  /* 3. Hot `__hot-games` */
  .page-privacy-policy__hot-games-grid {
    grid-template-columns: repeat(2,1fr) !important;
    gap: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .page-privacy-policy__hot-games-item {
    text-align: center !important;
    padding: 10px !important;
  }
  .page-privacy-policy__hot-games-item img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    margin-bottom: 5px !important;
  }
  .page-privacy-policy__hot-games-name,
  .page-privacy-policy__hot-games-rtp,
  .page-privacy-policy__hot-games-desc {
    display: none !important;
  }

  /* 4. Brand `__brand-intro` (if present) */
  .page-privacy-policy__brand-intro {
    padding: 30px 15px !important;
    text-align: center !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-privacy-policy__brand-intro-text {
    font-size: 0.9em !important;
  }

  /* 5. Winner ticker `__winner-ticker` (if present) */
  .page-privacy-policy__winner-ticker {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 999 !important;
    background-color: rgba(0,0,0,0.8) !important;
    color: #fff !important;
    padding: 8px 15px !important;
    box-sizing: border-box !important;
    font-size: 0.85em !important;
  }
  body {
    padding-bottom: 40px !important;
  }

  /* 8. Other modules (FAQ already handled above) */
  details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question { padding: 15px; }
}