/* Base styles for GDPR page */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: var(--secondary-color, #FFFFFF);
}

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

.page-gdpr__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: #FFFFFF;
}

.page-gdpr__main-title {
  font-size: 3em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__intro-text {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #555555;
}

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

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

.page-gdpr__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-primary:hover {
  background: #1e87c2;
  border-color: #1e87c2;
}

.page-gdpr__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-secondary:hover {
  background: #f0f8ff;
  color: #1e87c2;
  border-color: #1e87c2;
}

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

.page-gdpr__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 30px;
  text-align: center;
}

.page-gdpr__section-title--white {
  color: #ffffff;
}

.page-gdpr__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: #555555;
  text-align: justify;
}

.page-gdpr__text-block--white {
  color: #f0f0f0;
}

.page-gdpr__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: #555555;
}

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

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

.page-gdpr__image--centered {
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-gdpr__card {
  background: rgba(255, 255, 255, 0.95);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #333333;
  text-align: left;
}

.page-gdpr__card-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #26A9E0;
  margin-top: 0;
  margin-bottom: 15px;
}

/* FAQ styles */
details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
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;
}
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: #f5f5f5;
}
.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  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: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

.page-gdpr__contact-section {
  padding-top: 40px;
  padding-bottom: 60px;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1023px) {
  /* This section is primarily for homepage trial layout, but included as per instruction for CSS output. */
  /* For GDPR page, no specific layout changes are needed here, but general rules like image/button responsiveness are handled below. */
  .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) {
  /* This section is primarily for homepage trial layout, but included as per instruction for CSS output. */
  /* For GDPR page, no specific layout changes are needed here. */
  .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; }
}

@media (max-width: 768px) {
  .page-gdpr__main-title {
    font-size: 2em;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
  }

  .page-gdpr__intro-text,
  .page-gdpr__text-block,
  .page-gdpr__list li {
    font-size: 1em;
  }

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    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__card-grid {
    grid-template-columns: 1fr;
  }

  .page-gdpr__card {
    padding: 20px;
  }

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

  /* General image and container responsiveness */
  .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;
  }

  /* Placeholder for homepage specific elements, ensuring full coverage as per instruction */
  .page-gdpr__promo-strip-track { grid-template-columns: repeat(4,1fr); overflow-x: hidden; }
  .page-gdpr__hot-games-grid { grid-template-columns: repeat(2,1fr); }
  /* Placeholder for other homepage modules if they existed and needed 768px specific rules */
  /* .page-gdpr__brand-intro { display: block; } */
  /* .page-gdpr__winner-ticker { position: fixed; bottom: 0; left: 0; width: 100%; z-index: 999; } */
  /* body, main { padding-bottom: 50px; } */
}

/* Common styles for game trial overlay/modal, ensuring z-index and hidden state */
.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; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.7); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.page-gdpr__reward-modal:not([hidden]) { opacity: 1; visibility: visible; }
.page-gdpr__reward-modal-content { background: #fff; padding: 30px; border-radius: 10px; text-align: center; max-width: 500px; width: 90%; position: relative; }
.page-gdpr__reward-modal-close { position: absolute; top: 10px; right: 10px; background: none; border: none; font-size: 24px; cursor: pointer; color: #333; }
.page-gdpr__reward-modal h3 { color: #26A9E0; margin-bottom: 15px; }
.page-gdpr__reward-modal p { color: #555; margin-bottom: 20px; }
.page-gdpr__reward-modal .page-gdpr__btn-primary { width: auto; padding: 10px 20px; }