/* Base styles for GDPR page */
.page-gdpr {
  background: #0A0A0A;
  color: #FFF6D6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small padding, 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 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 15px 60px;
  background: linear-gradient(180deg, rgba(242, 193, 78, 0.1) 0%, rgba(10, 10, 10, 0) 100%);
  border-bottom: 1px solid #3A2A12;
}

.page-gdpr__hero-content {
  max-width: 800px;
  margin-bottom: 30px;
}

.page-gdpr__main-title {
  font-size: clamp(28px, 4vw, 48px);
  color: #F2C14E;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-gdpr__description-text {
  font-size: clamp(16px, 2vw, 20px);
  color: #FFF6D6;
  margin-bottom: 30px;
}

.page-gdpr__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-gdpr__btn-secondary {
  background: transparent;
  color: #F2C14E;
  border: 2px solid #F2C14E;
}

.page-gdpr__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
  transform: translateY(-2px);
}

.page-gdpr__hero-image-container {
  width: 100%;
  max-width: 900px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-gdpr__content-area {
  padding: 60px 0;
  border-bottom: 1px solid #3A2A12;
}

.page-gdpr__content-area:last-of-type {
  border-bottom: none;
}

.page-gdpr__section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-gdpr__sub-title {
  font-size: clamp(20px, 2.5vw, 28px);
  color: #FFD36B;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr p {
  margin-bottom: 15px;
  color: #FFF6D6;
  font-size: 17px;
}

.page-gdpr strong {
  color: #FFD36B;
}

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

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

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

.page-gdpr__image-text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.page-gdpr__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__image-caption {
  font-style: italic;
  font-size: 15px;
  color: #FFD36B;
  text-align: center;
  max-width: 800px;
}

.page-gdpr a {
  color: #FFD36B;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr a:hover {
  color: #F2C14E;
  text-decoration: underline;
}

/* FAQ Section */
details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #3A2A12;
  overflow: hidden;
  background: #111111; /* Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  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: rgba(242, 193, 78, 0.1);
}
.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6;
}
.page-gdpr__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 25px 25px;
  background: #0A0A0A; /* Background */
  border-radius: 0 0 8px 8px;
  color: #FFF6D6;
  font-size: 16px;
}

.page-gdpr__policy-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-gdpr__policy-list li a {
  display: block;
  padding: 12px 25px;
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  color: #F2C14E;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-gdpr__policy-list li a:hover {
  background: #F2C14E;
  color: #111111;
  border-color: #F2C14E;
  transform: translateY(-2px);
}

/* Global image responsiveness */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Mobile Responsive Styles --- */

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

@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 0 10px;
  }

  .page-gdpr__hero-section {
    padding: 30px 10px 40px;
  }

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

  .page-gdpr__description-text {
    font-size: 16px;
    margin-bottom: 25px;
  }

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__content-area {
    padding: 40px 0;
  }

  .page-gdpr__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

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

  .page-gdpr p,
  .page-gdpr__list li,
  .page-gdpr__faq-answer p {
    font-size: 16px;
  }

  .page-gdpr__image-text-block {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
  }

  .page-gdpr__content-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__faq-item summary.page-gdpr__faq-question {
    padding: 15px 20px;
  }

  .page-gdpr__faq-qtext {
    font-size: 16px;
  }

  .page-gdpr__faq-toggle {
    font-size: 24px;
    width: 25px;
  }

  .page-gdpr__faq-answer {
    padding: 0 20px 20px;
  }

  .page-gdpr__policy-list {
    flex-direction: column;
    gap: 15px;
  }

  .page-gdpr__policy-list li a {
    width: 100%;
    text-align: center;
    padding: 10px 15px;
  }

  /* General image and container responsiveness for mobile */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-image-container,
  .page-gdpr__image-text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* Padding already handled by .page-gdpr__container and other elements */
  }

  /* Placeholder for promo-strip (if it were on this page, which it isn't) */
  /* .page-gdpr__promo-strip-track { grid-template-columns: repeat(4, 1fr); overflow-x: hidden; } */
  /* Placeholder for hot-games (if it were on this page, which it isn't) */
  /* .page-gdpr__hot-games-grid { grid-template-columns: repeat(2, 1fr); } */
}

/* Ensure proper z-index for game trial overlay on homepage if it were present */
.page-gdpr__game-trial-overlay {
  z-index: 5;
  pointer-events: auto;
}
.page-gdpr__game-trial-overlay.is-hidden {
  display: none !important;
  pointer-events: none !important;
}
.page-gdpr__game-trial-start {
  z-index: 6;
  pointer-events: auto;
  touch-action: manipulation;
}
.page-gdpr__game-trial-shell {
  border: 1px solid rgba(212,175,55,.45);
  border-radius: 10px;
  overflow: hidden;
}
.page-gdpr__reward-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
}