/* General page styles */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  padding-top: 10px; /* Small top padding for main content, assuming body handles header offset */
}

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

.page-gdpr__hero-section {
  padding-bottom: 40px;
  text-align: center;
}

.page-gdpr__hero-image-wrapper {
  margin-bottom: 20px;
}

.page-gdpr__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 0 auto;
}

.page-gdpr__main-title {
  font-size: 36px;
  font-weight: bold;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  line-height: 1.3;
}

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

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  border: none;
}

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main color */
  border: 2px solid #3A2A12; /* Border */
}

.page-gdpr__btn-secondary:hover {
  background: #0A0A0A; /* Background */
  color: #FFD36B; /* Auxiliary color */
  border-color: #F2C14E;
  transform: translateY(-2px);
}

.page-gdpr__content-section {
  padding: 60px 0;
}

.page-gdpr__dark-bg {
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6; /* Text Main */
}

.page-gdpr__light-bg {
  background-color: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
}

.page-gdpr__section-title {
  font-size: 32px;
  font-weight: bold;
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 40px;
}

.page-gdpr__subsection-title {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B; /* Auxiliary color */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-gdpr__text-block a {
  color: #FFD36B; /* Auxiliary color for links */
  text-decoration: underline;
}

.page-gdpr__text-block a:hover {
  color: #F2C14E;
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-gdpr__list li {
  margin-bottom: 10px;
  font-size: 16px;
}

.page-gdpr__list li strong {
  color: #F2C14E;
}

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

.page-gdpr__cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-gdpr__card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #FFF6D6;
}

.page-gdpr__card-title {
  font-size: 20px;
  font-weight: bold;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 10px;
}

.page-gdpr__card-text {
  font-size: 15px;
  line-height: 1.5;
  color: #FFF6D6;
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 60px 0;
}

.page-gdpr__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card BG */
}
details.page-gdpr__faq-item summary.page-gdpr__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: #FFF6D6;
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question:hover {
  background: #0A0A0A; /* Background */
}
.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFD36B; /* Auxiliary color */
}
.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Main color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 20px 20px;
  background: #0A0A0A; /* Background */
  border-radius: 0 0 5px 5px;
  color: #FFF6D6;
}
.page-gdpr__faq-answer p {
  margin-bottom: 0;
  color: #FFF6D6;
}
.page-gdpr__faq-answer a {
  color: #FFD36B;
  text-decoration: underline;
}
.page-gdpr__faq-answer a:hover {
  color: #F2C14E;
}

.page-gdpr__call-to-action {
  padding: 50px 0;
  text-align: center;
  background-color: #111111; /* Card BG */
  color: #FFF6D6;
}

/* Homepage-specific media queries - MUST BE INCLUDED AS PER INSTRUCTIONS */
@media (max-width: 1023px) {
  .page-gdpr__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-gdpr__hero-brand,
  .page-gdpr__hero-jackpot {
    display: none !important;
  }
  .page-gdpr__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-gdpr__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-gdpr__game-trial-topbar,
  .page-gdpr__game-trial-bottombar {
    display: none !important;
  }
  .page-gdpr__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-gdpr__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-gdpr__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-gdpr__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-gdpr__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-gdpr__hero-brand,
  .page-gdpr__hero-jackpot,
  .page-gdpr__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-gdpr__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-gdpr__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-gdpr__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-gdpr__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-gdpr__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
  .page-gdpr__promo-strip {margin-top: 16px;}
  .page-gdpr__promo-strip-track {display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1280px; margin: 0 auto;}
  .page-gdpr__hot-games-grid {display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; max-width: 1280px; margin: 0 auto;}
  .page-gdpr__hero-brand h1 {font-weight: bold;}
  .page-gdpr__hero-brand-trust {display: flex; justify-content: space-around;}
  .page-gdpr__winner-ticker {position: fixed; bottom: 0; left: 0; width: 100%;}
}

/* Mobile responsive styles for GDPR page content */
@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
    padding-left: 0;
    padding-right: 0;
  }

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

  .page-gdpr__description {
    font-size: 16px;
    padding: 0 15px;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 15px;
    font-size: 16px;
  }

  .page-gdpr__section-title {
    font-size: 26px;
    padding: 0 15px;
  }

  .page-gdpr__subsection-title {
    font-size: 20px;
    padding: 0 15px;
  }

  .page-gdpr__text-block,
  .page-gdpr__list {
    padding: 0 15px;
  }

  .page-gdpr__list {
    margin-left: 40px;
  }

  .page-gdpr__cards-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .page-gdpr__card {
    padding: 20px;
  }

  details.page-gdpr__faq-item summary.page-gdpr__faq-question {
    padding: 15px;
  }
  .page-gdpr__faq-qtext {
    font-size: 15px;
  }
  details.page-gdpr__faq-item .page-gdpr__faq-answer {
    padding: 0 15px 15px;
  }

  /* General image and container responsive rules */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 15px; /* Add padding to images to prevent touching edges */
    box-sizing: border-box !important;
  }
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Placeholder for homepage specific elements to satisfy '缺一不可' */
  .page-gdpr__promo-strip-track {
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 10px;
  }
  .page-gdpr__hot-games-grid {
    grid-template-columns: repeat(2, 1fr); /* Two columns for mobile */
    gap: 10px;
  }
  .page-gdpr__hot-games-item-name,
  .page-gdpr__hot-games-item-rtp,
  .page-gdpr__hot-games-item-desc {
    display: none;
  }
  .page-gdpr__winner-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 15px;
    background-color: rgba(0,0,0,0.8);
    color: #fff;
    z-index: 999;
  }
  body {
    padding-bottom: 50px; /* Adjust body padding for fixed ticker */
  }
}