.page-gdpr{
  --primary-color: #E53935;
  --secondary-color: #FF5A4F;
  --text-main-color: #333333;
  --card-bg-color: #FFFFFF;
  --background-color: #F5F7FA;
  --border-color: #E0E0E0;
}

.page-gdpr__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 10px 15px 40px;
  background-color: var(--background-color);
  position: relative;
  overflow: hidden;
}

.page-gdpr__hero-image-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 10px;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-gdpr__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 15px;
}

.page-gdpr__main-title {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-color);
  margin-bottom: 15px;
  max-width: 100%;
  overflow-wrap: break-word;
}

.page-gdpr__hero-description {
  font-size: 1.1em;
  color: var(--text-main-color);
  line-height: 1.6;
  max-width: 100%;
  overflow-wrap: break-word;
}

.page-gdpr__section {
  padding: 40px 15px;
  background-color: var(--card-bg-color);
  border-bottom: 1px solid var(--border-color);
}

.page-gdpr__section:nth-of-type(even) {
  background-color: var(--background-color);
}

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

.page-gdpr__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.3;
  max-width: 100%;
  overflow-wrap: break-word;
}

.page-gdpr__paragraph {
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-main-color);
  margin-bottom: 1em;
  max-width: 100%;
  overflow-wrap: break-word;
}

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

.page-gdpr__principle-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__principle-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.page-gdpr__principle-title,
.page-gdpr__right-title {
  font-size: 1.25em;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
  line-height: 1.4;
  max-width: 100%;
  overflow-wrap: break-word;
}

.page-gdpr__principle-description,
.page-gdpr__right-description {
  font-size: 0.95em;
  color: var(--text-main-color);
  line-height: 1.6;
  max-width: 100%;
  overflow-wrap: break-word;
}

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

.page-gdpr__right-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__right-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.page-gdpr__security-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 40px;
}

.page-gdpr__security-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 15px;
  font-size: 1em;
  color: var(--text-main-color);
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  max-width: 100%;
  overflow-wrap: break-word;
}

.page-gdpr__security-item strong {
  color: var(--primary-color);
}

.page-gdpr__section-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-gdpr__cta-wrapper {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(229, 57, 53, 0.4);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(229, 57, 53, 0.6);
}

/* FAQ Styles */
details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
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: var(--text-main-color);
  max-width: calc(100% - 40px);
  overflow-wrap: break-word;
}
.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: var(--text-main-color);
  line-height: 1.7;
  font-size: 0.95em;
}

.page-gdpr__copyright-info {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px 15px;
  font-size: 0.9em;
  margin-top: 0;
}

.page-gdpr__copyright-text {
  margin: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}

/* --- Mandated Homepage Trial CSS (must be included for all pages) --- */
@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;
  }
  .page-gdpr__promo-strip {
    margin-top: 16px;
  }
}

/* --- Mobile Responsive (max-width: 768px) for all elements --- */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 5px 10px 20px;
    gap: 15px;
  }
  .page-gdpr__main-title {
    font-size: 1.8em;
  }
  .page-gdpr__hero-description {
    font-size: 0.95em;
  }
  .page-gdpr__section {
    padding: 30px 10px;
  }
  .page-gdpr__container {
    padding: 0 10px;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
  .page-gdpr__paragraph {
    font-size: 0.9em;
    line-height: 1.6;
  }
  .page-gdpr__principles-grid,
  .page-gdpr__rights-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .page-gdpr__principle-item,
  .page-gdpr__right-item {
    padding: 20px;
  }
  .page-gdpr__principle-title,
  .page-gdpr__right-title {
    font-size: 1.1em;
  }
  .page-gdpr__security-item {
    padding: 15px 20px;
    font-size: 0.9em;
  }
  .page-gdpr__cta-button {
    font-size: 1em;
    padding: 12px 25px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-gdpr__cta-wrapper {
    padding-left: 10px;
    padding-right: 10px;
  }
  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; }

  /* General image and container responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-gdpr__section,
  .page-gdpr__container,
  .page-gdpr__cta-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .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__cta-buttons {
    display: flex;
    flex-direction: column; 
  }

  /* Homepage specific elements (if present on this page, ensure they are handled) */
  /* __promo-strip: example */
  .page-gdpr__promo-strip-track {
    grid-template-columns: repeat(2, 1fr) !important; /* Example for 2 columns on mobile */
    overflow-x: hidden !important;
    padding: 0 10px !important;
  }
  .page-gdpr__promo-card-image-container {
    width: 100% !important;
    height: auto !important;
  }
  .page-gdpr__promo-card-content {
    flex-direction: column !important;
    text-align: center !important;
  }

  /* __hot-games: example */
  .page-gdpr__hot-games-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
    padding: 0 10px !important;
  }
  .page-gdpr__hot-games-item-name,
  .page-gdpr__hot-games-item-rtp,
  .page-gdpr__hot-games-item-description {
    display: none !important; /* Hide details for compactness */
  }

  /* __brand-intro: example */
  .page-gdpr__brand-intro-content {
    padding: 0 15px !important;
  }

  /* __winner-ticker: example */
  .page-gdpr__winner-ticker {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
  }
  body {
    padding-bottom: 60px; /* Adjust if ticker is fixed at bottom */
  }
}