/* -------------------------------------------------------------------------- */
/*                              Homepage CSS (Mandatory Inclusion)            */
/* -------------------------------------------------------------------------- */
@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;
  }
}

/* -------------------------------------------------------------------------- */
/*                              GDPR Page Specific Styles                     */
/* -------------------------------------------------------------------------- */
.page-gdpr {
  color: #F3F8FF; /* Text Main */
  background-color: var(--deep-navy); /* From shared.css, which is #08162B */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

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

.page-gdpr__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
  background-color: #10233F; /* Card BG */
  padding: 40px 20px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.page-gdpr__hero-image-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-gdpr__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Adjusted to use clamp, avoiding fixed large sizes */
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-gdpr__intro-description {
  font-size: 1.1em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-gdpr__section {
  margin-bottom: 40px;
  padding: 20px 0;
  background-color: #10233F; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #244D84; /* Border */
}

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

.page-gdpr__text-block {
  font-size: 1em;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
  text-align: justify;
}

.page-gdpr__highlight {
  color: #4FA8FF; /* Glow */
  font-weight: bold;
}

.page-gdpr__image-wrapper {
  margin: 30px auto;
  text-align: center;
  max-width: 800px;
}

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

.page-gdpr__rights-list,
.page-gdpr__security-list,
.page-gdpr__cookies-list,
.page-gdpr__contact-list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #F3F8FF; /* Text Main */
}

.page-gdpr__rights-list li,
.page-gdpr__security-list li,
.page-gdpr__cookies-list li,
.page-gdpr__contact-list li {
  margin-bottom: 10px;
  color: #AFC4E8; /* Text Secondary */
}

.page-gdpr__rights-list li strong,
.page-gdpr__security-list li strong,
.page-gdpr__cookies-list li strong,
.page-gdpr__contact-list li strong {
  color: #F3F8FF; /* Text Main */
}

.page-gdpr a {
  color: #4FA8FF; /* Glow */
  text-decoration: underline;
}

.page-gdpr a:hover {
  color: #F2C14E; /* Gold */
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button gradient */
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-gdpr__cta-button--bottom {
  margin-top: 40px;
}

/* FAQ Styles */
details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* 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: #F3F8FF; /* 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: #1B3357; /* Divider - slightly lighter dark for hover */
}
.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF; /* Text Main */
}
.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  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: #08162B; /* Deep Navy - slightly darker for answer background */
  border-radius: 0 0 5px 5px;
  color: #AFC4E8; /* Text Secondary */
}

.page-gdpr__copyright {
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9em;
  color: #AFC4E8; /* Text Secondary */
  background-color: #08162B; /* Deep Navy */
  border-top: 1px solid #1B3357; /* Divider */
}

/* -------------------------------------------------------------------------- */
/*                               Responsive Styles                            */
/* -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 15px;
  }

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

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

  .page-gdpr__intro-description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

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

  .page-gdpr__text-block,
  .page-gdpr__rights-list li,
  .page-gdpr__security-list li,
  .page-gdpr__cookies-list li,
  .page-gdpr__contact-list li {
    font-size: 0.95em;
  }

  .page-gdpr__cta-button {
    padding: 12px 20px;
    font-size: 1em;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-top: 20px; /* Adjust margin for bottom button */
  }

  /* Image responsive rules */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-gdpr__hero-image-container,
  .page-gdpr__image-wrapper,
  .page-gdpr__section,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* FAQ Mobile */
  details.page-gdpr__faq-item summary.page-gdpr__faq-question { padding: 15px; }
  .page-gdpr__faq-qtext { font-size: 15px; }
  details.page-gdpr__faq-item .page-gdpr__faq-answer { padding: 0 15px 15px; }
}

/* Media queries for homepage-specific modules, mandatory inclusion */
@media (max-width: 768px) {
  /* Placeholder for __promo-strip - not present on GDPR page */
  .page-gdpr__promo-strip-track {
    grid-template-columns: repeat(2, 1fr); /* Example: 2 columns for smaller screens */
    overflow-x: hidden;
    gap: 15px;
  }
  .page-gdpr__promo-card {
    flex-direction: column; /* Stack image and text */
    text-align: center;
  }
  .page-gdpr__promo-card img {
    max-width: 100%;
    height: auto;
  }

  /* Placeholder for __hot-games - not present on GDPR page */
  .page-gdpr__hot-games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .page-gdpr__hot-games-item-name,
  .page-gdpr__hot-games-item-rtp,
  .page-gdpr__hot-games-item-desc {
    display: none; /* Hide for mobile */
  }
  .page-gdpr__hot-games-item img {
    max-width: 100%;
    height: auto;
  }
  .page-gdpr__hot-games-item-title {
    text-align: center;
    font-size: 0.9em;
  }

  /* Placeholder for __brand-intro (if displayed on mobile) */
  .page-gdpr__brand-intro {
    padding: 20px 15px;
  }
  .page-gdpr__brand-intro-content {
    text-align: center;
  }

  /* Placeholder for __winner-ticker */
  .page-gdpr__winner-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px 15px;
    z-index: 9999;
    box-sizing: border-box;
  }
  body {
    padding-bottom: 50px; /* Adjust body padding for fixed ticker */
  }
}