/* Base styles for .page-gdpr, ensuring text color for light body background */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* For light body background #F4F7FB */
    background-color: #F4F7FB; /* Explicitly set for main content */
}

/* Verbatim homepage trial game CSS blocks - MUST BE INCLUDED */
@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;
  }
}

/* Specific styles for GDPR page sections */
.page-gdpr__section {
    padding: 60px 0;
    margin-bottom: 20px;
}
.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.page-gdpr__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
}
.page-gdpr__section-title--white {
    color: #ffffff;
}
.page-gdpr__intro-text {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #333333;
}
.page-gdpr__intro-text--white {
    color: #f0f0f0;
}
/* Hero section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
    padding-top: 10px; /* Small top padding, not var(--header-offset) */
}
.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.page-gdpr__hero-content {
    padding: 40px 15px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.page-gdpr__main-title {
    font-size: 44px;
    font-weight: 800;
    color: #1F2D3D;
    margin-bottom: 20px;
    line-height: 1.2;
}
.page-gdpr__description {
    font-size: 20px;
    color: #333333;
    margin-bottom: 30px;
}
/* CTA Button styles */
.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.page-gdpr__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    border: none;
}
.page-gdpr__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    transform: translateY(-2px);
}
.page-gdpr__btn-secondary {
    background: #ffffff;
    color: #2F6BFF; /* Main color as text */
    border: 2px solid #2F6BFF;
}
.page-gdpr__btn-secondary:hover {
    background: #e0eaff;
    color: #2F6BFF;
    transform: translateY(-2px);
}
/* What is GDPR section */
.page-gdpr__content-wrapper {
    display: flex;
    gap: 30px;
    align-items: center;
}
.page-gdpr__text-block {
    flex: 1;
}
.page-gdpr__image-block {
    flex: 1;
    text-align: center;
}
.page-gdpr__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
/* Our Commitment section */
.page-gdpr__dark-section {
    background-color: #2F6BFF; /* Main color as background */
    color: #ffffff;
}
.page-gdpr__commitment-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin-top: 40px;
}
.page-gdpr__commitment-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.page-gdpr__commitment-heading {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 15px;
}
.page-gdpr__commitment-item p {
    color: #f0f0f0;
}
/* Your Rights section */
.page-gdpr__rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}
.page-gdpr__rights-card {
    background: #ffffff; /* Card BG */
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #D6E2FF; /* Border */
}
.page-gdpr__rights-heading {
    font-size: 20px;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 15px;
}
.page-gdpr__contact-cta {
    text-align: center;
    margin-top: 50px;
    font-size: 18px;
}
.page-gdpr__text-link {
    color: #2F6BFF;
    text-decoration: none;
    font-weight: 600;
}
.page-gdpr__text-link:hover {
    text-decoration: underline;
}
/* Data Handling section */
.page-gdpr__data-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}
.page-gdpr__process-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.page-gdpr__process-icon {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    max-width: 100px; /* Ensure it's not too big */
    min-width: 100px;
    min-height: 100px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.page-gdpr__process-heading {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 15px;
}
.page-gdpr__process-item p {
    color: #f0f0f0;
}
/* Security Measures section */
.page-gdpr__security-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.page-gdpr__security-item {
    background: #ffffff;
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #D6E2FF;
}
.page-gdpr__security-heading {
    font-size: 20px;
    color: #1F2D3D;
    margin-bottom: 15px;
}
.page-gdpr__cookie-link {
    text-align: center;
    margin-top: 40px;
    font-size: 18px;
}
/* FAQ Section */
.page-gdpr__faq-section {
    padding-bottom: 80px;
}
.page-gdpr__faq-list {
    margin-top: 40px;
}
details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF; /* Border */
  overflow: hidden;
  background: #ffffff; /* 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;
}
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: #f5f8ff; /* Lighter hover for light background */
}
.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D; /* Text Main */
}
.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF; /* Main color for toggle */
  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;
}
/* Contact Section */
.page-gdpr__contact-section {
    text-align: center;
    padding: 80px 0;
}
/* Copyright */
.page-gdpr__copyright-info {
    text-align: center;
    padding: 20px 15px;
    font-size: 14px;
    color: #666666;
    background-color: #F4F7FB; /* Match body background */
    border-top: 1px solid #e0e0e0;
}

/* Responsive styles for 768px */
@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-gdpr__section {
        padding: 40px 0;
    }
    .page-gdpr__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-gdpr__main-title {
        font-size: 32px;
    }
    .page-gdpr__description {
        font-size: 18px;
    }
    .page-gdpr__content-wrapper {
        flex-direction: column;
    }
    .page-gdpr__commitment-list,
    .page-gdpr__rights-grid,
    .page-gdpr__data-process-grid,
    .page-gdpr__security-list {
        grid-template-columns: 1fr;
    }
    .page-gdpr__hero-image {
        max-height: 250px; /* Adjust hero image height for mobile */
    }
    .page-gdpr__hero-content {
        padding: 20px 15px;
    }
    .page-gdpr__cta-button,
    .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;
        margin-bottom: 10px; /* Add some space between stacked buttons */
    }
    .page-gdpr__cta-buttons,
    .page-gdpr__button-group,
    .page-gdpr__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .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;
    }
    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; margin-left: 10px; }
    details.page-gdpr__faq-item .page-gdpr__faq-answer { padding: 0 15px 15px; }

    /* Placeholder for homepage promo-strip */
    .page-gdpr__promo-strip-track {
        grid-template-columns: repeat(2, 1fr) !important;
        overflow-x: hidden !important;
        gap: 10px !important;
    }
    .page-gdpr__promo-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 15px !important;
    }
    .page-gdpr__promo-card-image {
        max-width: 100% !important;
        height: auto !important;
        margin-bottom: 10px !important;
    }
    .page-gdpr__promo-card-title {
        font-size: 16px !important;
        margin-bottom: 5px !important;
    }
    .page-gdpr__promo-card-description {
        font-size: 14px !important;
    }
    .page-gdpr__promo-card-button {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 10px !important;
        padding: 10px !important;
    }

    /* Placeholder for homepage hot-games */
    .page-gdpr__hot-games-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .page-gdpr__hot-game-card {
        padding: 10px !important;
    }
    .page-gdpr__hot-game-image {
        max-width: 100% !important;
        height: auto !important;
    }
    .page-gdpr__hot-game-name,
    .page-gdpr__hot-game-rtp,
    .page-gdpr__hot-game-desc {
        display: none !important;
    }
    .page-gdpr__hot-game-button {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 10px !important;
        padding: 10px !important;
    }

    /* Placeholder for homepage brand-intro */
    .page-gdpr__brand-intro {
        display: block !important;
        padding: 20px 15px !important;
        text-align: center !important;
    }
    .page-gdpr__brand-intro-title {
        font-size: 24px !important;
        margin-bottom: 15px !important;
    }
    .page-gdpr__brand-intro-text {
        font-size: 15px !important;
    }

    /* Placeholder for homepage winner-ticker */
    .page-gdpr__winner-ticker {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        background: #1F2D3D !important;
        color: #ffffff !important;
        padding: 10px 15px !important;
        font-size: 14px !important;
        z-index: 999 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    body {
        padding-bottom: 40px !important; /* Adjust body padding if ticker is present */
    }
    .page-gdpr {
        padding-bottom: 40px !important; /* Adjust main content padding if not using body padding */
    }
}

/* Ensure no filter is used on images */
.page-gdpr img {
    filter: none !important;
}

/* Specific style for reward modal close button, mentioned in JS requirement */
.page-gdpr__reward-modal-close {
    background: #c62828; /* Example color for close button */
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}
.page-gdpr__reward-modal-close:hover {
    background: #e53935;
}

/* Ensure is-hidden is correctly applied for display: none */
.is-hidden {
    display: none !important;
}