/* Homepage specific CSS as required by prompt's return format */
@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;
  }
}

/* General and GDPR page specific CSS */
.page-gdpr {
  color: #333333;
  background: #F5F7FA; /* Body background from custom colors */
}

.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, relying on body for header offset */
  padding-bottom: 40px;
  background: #F5F7FA;
  text-align: center;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
  object-fit: cover;
}

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

.page-gdpr__hero-description {
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-gdpr__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-gdpr__section {
  padding: 50px 0;
  background: #ffffff;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.page-gdpr__content-area p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333333;
}

.page-gdpr__content-area h2 {
  font-size: clamp(22px, 2.5vw, 32px);
  color: #E53935;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-gdpr__content-area h3 {
  font-size: clamp(20px, 2.2vw, 28px);
  color: #E53935;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

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

.page-gdpr__list li {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 10px;
  color: #333333;
}

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

.page-gdpr__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  background: #ffffff;
  color: #E53935;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid #E53935;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
}

/* FAQ Section */
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: #E53935;
  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: #333333;
}

/* Responsive Styles */
@media (max-width: 1023px) {
  /* Homepage specific media queries are handled above. */
}

@media (max-width: 768px) {
  .page-gdpr__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-gdpr__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-gdpr__section {
    padding: 30px 0;
    margin-bottom: 15px;
  }

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

  .page-gdpr__content-area p,
  .page-gdpr__list li {
    font-size: 15px;
    line-height: 1.6;
  }

  .page-gdpr__content-area h2 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-gdpr__content-area h3 {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-gdpr__image-inline {
    margin: 20px auto;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    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__button-group {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  /* Mobile image adaptation */
  .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;
  }
}