/* Base styles for GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

.page-gdpr__section {
  padding: 40px 0;
  margin-bottom: 20px;
}

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

.page-gdpr__sub-title {
  font-size: 24px;
  color: #F2FFF6; /* Text Main */
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__hero-section {
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  position: relative;
  text-align: center;
  color: #F2FFF6;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-gdpr__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3; /* Slightly dim the background image */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: -20% auto 0; /* Pull content up over the image */
  padding: 20px;
  background: rgba(8, 22, 15, 0.7); /* Background color with transparency */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__description {
  font-size: 18px;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
}

.page-gdpr__commitment-section p,
.page-gdpr__rights-section p,
.page-gdpr__data-processing-section p,
.page-gdpr__security-measures-section p,
.page-gdpr__contact-section p {
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-gdpr__rights-list,
.page-gdpr__security-list {
  list-style: none;
  padding: 0;
}

.page-gdpr__rights-item,
.page-gdpr__security-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__rights-item h3,
.page-gdpr__security-item h3 {
  color: #F2C14E; /* Gold */
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 20px;
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__image--right {
  float: right;
  margin-left: 25px;
  width: 40%;
  height: auto;
  object-fit: cover;
}

.page-gdpr__image--left {
  float: left;
  margin-right: 25px;
  width: 40%;
  height: auto;
  object-fit: cover;
}

.page-gdpr__image--center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 60%;
  height: auto;
  object-fit: cover;
}

.page-gdpr__security-measures-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 60px 0;
}

.page-gdpr__security-measures-section .page-gdpr__section-title {
  color: #F2C14E;
}

.page-gdpr__security-measures-section .page-gdpr__sub-title {
  color: #F2FFF6;
}

.page-gdpr__cta-buttons {
  text-align: center;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-gdpr__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* FAQ Section */
details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #2E7A4E; /* Border */
  overflow: hidden;
  background: #11271B; /* 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: #F2FFF6; /* Text Main */
}
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: #0A4B2C; /* Deep Green */
}
.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E; /* Gold */
}
.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #A7D9B8; /* Text Secondary */
  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: #08160F; /* Background */
  border-radius: 0 0 5px 5px;
  color: #F2FFF6; /* Text Main */
}

/* Common responsive styles for images and containers */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-gdpr__dark-bg {
  background: #0A4B2C;
  color: #F2FFF6;
}

/* Homepage specific CSS as per strict requirement, even if not directly used on GDPR page */
@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 { grid-template-columns: repeat(4, 1fr); }
  .page-gdpr__promo-card-image { float: left; margin-right: 15px; width: 100px; height: 100px; object-fit: cover; }
  .page-gdpr__hot-games-grid { grid-template-columns: repeat(6, 1fr); }
  .page-gdpr__hot-games-card-name, .page-gdpr__hot-games-card-rtp, .page-gdpr__hot-games-card-desc { text-align: center; }
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-gdpr__hero-content {
    margin-top: -10%; /* Adjust for smaller screens */
    padding: 15px;
  }
  .page-gdpr__main-title {
    font-size: 28px;
  }
  .page-gdpr__description {
    font-size: 16px;
  }
  .page-gdpr__section-title {
    font-size: 26px;
    margin-bottom: 20px;
  }
  .page-gdpr__sub-title {
    font-size: 20px;
  }
  .page-gdpr__image--right,
  .page-gdpr__image--left {
    float: none;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
  .page-gdpr__image--center {
    width: 90%;
  }
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !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;
  }
  .page-gdpr__cta-button,
  .page-gdpr__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;
  }
  .page-gdpr__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }
  details.page-gdpr__faq-item summary.page-gdpr__faq-question { padding: 15px; }
  .page-gdpr__faq-qtext { font-size: 15px; }
  .page-gdpr__promo-strip-track { grid-template-columns: repeat(2, 1fr); overflow-x: hidden; }
  .page-gdpr__hot-games-grid { grid-template-columns: repeat(2, 1fr); }
  .page-gdpr__hot-games-card-name, .page-gdpr__hot-games-card-rtp, .page-gdpr__hot-games-card-desc { display: none; }
  .page-gdpr__brand-intro { display: block; }
  .page-gdpr__winner-ticker { position: fixed; bottom: 0; left: 0; width: 100%; z-index: 9999; }
  body { padding-bottom: 50px; } /* Adjust for fixed ticker */
  main.page-content { padding-bottom: 50px; } /* Ensure main content doesn't get hidden */
}

.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; background: rgba(0,0,0,0.8); display: flex; align-items: center; justify-content: center;}
.page-gdpr__reward-modal[hidden] { display: none; }
.page-gdpr__reward-modal-content { background: #11271B; padding: 30px; border-radius: 10px; text-align: center; max-width: 90%; width: 400px; position: relative; box-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.page-gdpr__reward-modal-close { position: absolute; top: 10px; right: 10px; background: none; border: none; font-size: 24px; color: #F2FFF6; cursor: pointer; }
.page-gdpr__reward-modal-title { color: #F2C14E; font-size: 28px; margin-bottom: 15px; }
.page-gdpr__reward-modal-text { color: #F2FFF6; font-size: 16px; margin-bottom: 25px; }