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

.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 as per instruction for non-homepage hero */
  padding-bottom: 40px;
  text-align: center;
  background: linear-gradient(180deg, #08160F 0%, #11271B 100%);
}

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

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

.page-gdpr__intro-text {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #A7D9B8; /* Secondary text color */
}

.page-gdpr__section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 600;
  color: #F2C14E; /* Gold color for section titles */
  margin-bottom: 25px;
  text-align: center;
}

.page-gdpr__section-description {
  font-size: 17px;
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
  color: #A7D9B8;
}

.page-gdpr__dark-section {
  background: #11271B; /* Card BG color for dark sections */
  padding: 60px 0;
}

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

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

.page-gdpr__card {
  background: #11271B; /* Card BG color */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #F2FFF6; /* Main text color */
  display: flex;
  flex-direction: column;
}

.page-gdpr__card-title {
  font-size: 22px;
  font-weight: 600;
  color: #57E38D; /* Glow color for card titles */
  margin-bottom: 15px;
}

.page-gdpr__card p {
  font-size: 16px;
  color: #A7D9B8; /* Secondary text color */
}

.page-gdpr__light-bg {
  background: #0A4B2C; /* Deep Green for some cards */
  color: #F2FFF6;
}

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

.page-gdpr__cta-section {
  text-align: center;
  padding: 40px 0;
  background: #0A4B2C;
  border-radius: 10px;
  margin-top: 40px;
}

.page-gdpr__cta-text {
  font-size: 20px;
  color: #F2FFF6;
  margin-bottom: 25px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__btn-primary {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-gdpr__faq-section {
  padding: 60px 0;
  background: #08160F;
}

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

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #2E7A4E;
  overflow: hidden;
  background: #11271B;
}

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: #F2FFF6;
}

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: #1E3A2A;
}

.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2FFF6;
}

.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #57E38D;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 25px 20px;
  background: #0A4B2C;
  border-radius: 0 0 10px 10px;
  color: #A7D9B8;
  font-size: 16px;
}

details.page-gdpr__faq-item .page-gdpr__faq-answer p {
  margin-bottom: 0;
}

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

/* Fixed header spacing (only if shared.css doesn't handle body padding) */
/* .page-gdpr { padding-top: var(--header-offset, 122px); } */

/* Homepage specific CSS - REQUIRED BY PROMPT, even if not semantically relevant for this 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;
  }
}

/* Mobile responsiveness for GDPR page */
@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-gdpr__hero-section {
    padding-bottom: 20px;
  }

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

  .page-gdpr__intro-text {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-gdpr__section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .page-gdpr__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-gdpr__dark-section,
  .page-gdpr__rights-section,
  .page-gdpr__data-processing-section,
  .page-gdpr__faq-section {
    padding: 40px 0;
  }

  .page-gdpr__principle-grid,
  .page-gdpr__rights-grid,
  .page-gdpr__processing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 20px;
    text-align: center;
  }

  .page-gdpr__card-title {
    font-size: 20px;
  }

  .page-gdpr__card p {
    font-size: 15px;
  }

  .page-gdpr__right-image {
    margin-bottom: 15px;
  }

  .page-gdpr__cta-section {
    padding: 30px 15px;
    margin-top: 30px;
  }

  .page-gdpr__cta-text {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .page-gdpr__btn-primary {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  details.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: 20px;
    width: 24px;
    margin-left: 10px;
  }

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

  /* Mobile specific image and container rules */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__container,
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__principle-grid,
  .page-gdpr__rights-grid,
  .page-gdpr__processing-grid,
  .page-gdpr__cta-section,
  .page-gdpr__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__btn-container,
  .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; /* Ensure buttons stack vertically */
  }
}

/* Homepage trial related styles (required by prompt) */
.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-color: rgba(0,0,0,0.7); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.page-gdpr__reward-modal[aria-hidden="false"] { opacity: 1; visibility: visible; }
.page-gdpr__reward-modal-content { background: #fff; padding: 30px; border-radius: 10px; text-align: center; max-width: 400px; position: relative; color: #333; }
.page-gdpr__reward-modal-close { position: absolute; top: 10px; right: 10px; background: none; border: none; font-size: 24px; cursor: pointer; color: #666; }
.page-gdpr__reward-modal-title { font-size: 24px; margin-bottom: 15px; color: #11A84E; }
.page-gdpr__reward-modal-text { font-size: 16px; margin-bottom: 25px; }
.page-gdpr__reward-modal-btn { display: inline-block; padding: 10px 20px; background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); color: #fff; text-decoration: none; border-radius: 5px; font-weight: bold; }