/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background: #F4F7FB; /* Background */
  padding-bottom: 40px;
}

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

.page-privacy-policy__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  padding: 10px 0 40px;
  text-align: center;
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  padding: 20px 16px;
  z-index: 2;
}

.page-privacy-policy__main-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.page-privacy-policy__description {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #FFFFFF;
  border: 2px solid transparent;
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-secondary {
  background: #FFFFFF;
  color: #2F6BFF; /* Main color */
  border: 2px solid #2F6BFF;
}

.page-privacy-policy__btn-secondary:hover {
  background: #f0f0f0;
  color: #1F52CC;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

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

.page-privacy-policy__section {
  padding: 40px 0;
  background: #FFFFFF; /* Card BG */
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-privacy-policy__section:first-of-type {
  margin-top: 40px;
}

.page-privacy-policy__section-title {
  font-size: 28px;
  color: #2F6BFF; /* Main color */
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  font-size: 16px;
  color: #1F2D3D; /* Text Main */
}

.page-privacy-policy img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 25px auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* FAQ styles */
details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF; /* Border color */
  overflow: hidden;
  background: #FFFFFF; /* 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;
  color: #1F2D3D; /* Text Main */
}
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: #F4F7FB; /* Background color for hover */
}
.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF; /* Main color */
  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: #F4F7FB; /* Background color */
  border-radius: 0 0 5px 5px;
  color: #1F2D3D; /* Text Main */
}

/* Homepage game trial CSS - MANDATORY */
@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;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;aspect-ratio:1024/768;min-height:240px;max-height:none!important;flex:none!important;overflow:hidden;box-sizing:border-box;width:100%;}
  .page-privacy-policy__game-trial-frame{position:absolute;inset:0;width:100%!important;height:100%!important;min-height:0!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%;align-items:stretch;max-width:1280px;margin:0 auto;padding-bottom:24px;gap:16px;}
  .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;}
  .page-privacy-policy__promo-strip{margin-top:16px;}
  .page-privacy-policy__promo-strip-track { grid-template-columns: repeat(4, 1fr); }
  .page-privacy-policy__hot-games-grid { grid-template-columns: repeat(6, 1fr); }
  .page-privacy-policy__hot-games-name,
  .page-privacy-policy__hot-games-rtp,
  .page-privacy-policy__hot-games-desc { text-align: center; }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 10px 0 20px;
  }
  .page-privacy-policy__main-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-privacy-policy__description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-privacy-policy__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 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 20px;
    font-size: 16px;
  }

  .page-privacy-policy__container {
    padding: 0 15px;
  }
  .page-privacy-policy__section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .page-privacy-policy p {
    font-size: 15px;
  }
  /* Mobile image 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;
  }

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

  /* Placeholder for __promo-strip mobile styles (MANDATORY) */
  .page-privacy-policy__promo-strip { display: block; overflow-x: hidden; }
  .page-privacy-policy__promo-strip-track { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 10px 0; }
  /* Placeholder for __hot-games mobile styles (MANDATORY) */
  .page-privacy-policy__hot-games { display: block; }
  .page-privacy-policy__hot-games-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .page-privacy-policy__hot-games-name, .page-privacy-policy__hot-games-rtp, .page-privacy-policy__hot-games-desc { display: none; }
  /* Placeholder for __brand-intro mobile styles (MANDATORY) */
  .page-privacy-policy__brand-intro { display: block; padding: 20px 15px; }
  /* Placeholder for __winner-ticker mobile styles (MANDATORY) */
  .page-privacy-policy__winner-ticker { position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(0,0,0,0.8); color: #fff; padding: 10px 15px; z-index: 100; }
}

/* General homepage specific styles (MANDATORY, even if not a homepage) */
.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__promo-strip,
.page-privacy-policy__hot-games {
  max-width: 1280px;
  margin: 20px auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.page-privacy-policy__promo-strip-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.page-privacy-policy__hot-games-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.page-privacy-policy__hot-games-name,
.page-privacy-policy__hot-games-rtp,
.page-privacy-policy__hot-games-desc {
  text-align: center;
}
.page-privacy-policy__reward-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  background: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  color: #333;
}