/* Base styles for .page-gdpr */
.page-gdpr {
  background: #140C0C; /* Custom background color */
  color: #FFF1E8; /* Custom main text color */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 50px; /* Adjust for potential fixed footer */
}

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

.page-gdpr__section {
  padding: 40px 0;
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 1920px;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  margin-top: 30px;
  max-width: 900px;
  padding: 0 15px;
}

.page-gdpr__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #F3C54D; /* Gold color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__intro-text {
  font-size: 1.15rem;
  color: #FFF1E8;
  margin-bottom: 30px;
}

.page-gdpr__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: #F3C54D; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 30px;
}

.page-gdpr__paragraph {
  font-size: 1rem;
  color: #FFF1E8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-gdpr__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #FFF1E8;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  color: #FFF1E8;
}

.page-gdpr__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-gdpr__card {
  background: #2A1212; /* Card background color */
  border: 1px solid #6A1E1E; /* Border color */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gdpr__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
  object-fit: cover;
}

.page-gdpr__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #FFB04A; /* Button gradient start color for card title */
  margin-bottom: 15px;
}

.page-gdpr__card-text {
  font-size: 0.95rem;
  color: #FFF1E8;
  text-align: justify;
}

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

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

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
  background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__btn-primary--large {
  padding: 18px 36px;
  font-size: 1.25rem;
}

.page-gdpr__btn-secondary {
  background: #2A1212;
  color: #FFB04A;
  border: 2px solid #FFB04A;
}

.page-gdpr__btn-secondary:hover {
  background: #FFB04A;
  color: #2A1212;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__faq-list {
  margin-top: 30px;
}

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E;
  overflow: hidden;
  background: #2A1212; /* Card background color */
}

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: #FFB04A;
  font-weight: 600;
}

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

.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  color: #FFB04A;
}

.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F3C54D;
  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: #1F0F0F;
  border-radius: 0 0 5px 5px;
  color: #FFF1E8;
}

/* --- Homepage Game Trial CSS Boilerplate (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;
  }
  .page-gdpr__promo-strip-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .page-gdpr__promo-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
  }
  .page-gdpr__promo-card-image {
    width: 100px;
    height: 100px;
    margin-right: 15px;
  }
  .page-gdpr__hot-games-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
  }
  .page-gdpr__hot-games-item-name,
  .page-gdpr__hot-games-item-rtp,
  .page-gdpr__hot-games-item-desc {
    display: block;
    text-align: center;
  }
  .page-gdpr__brand-intro-content {
    display: block;
  }
}

/* --- General Mobile & Responsive Styles --- */
@media (max-width: 768px) {
  .page-gdpr {
    font-size: 15px;
  }
  .page-gdpr__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
  .page-gdpr__intro-text {
    font-size: 1rem;
  }
  .page-gdpr__section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-gdpr__paragraph {
    font-size: 0.95rem;
  }
  .page-gdpr__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-gdpr__card {
    padding: 20px;
  }
  .page-gdpr__card-title {
    font-size: 1.3rem;
  }
  .page-gdpr__button-group {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__btn-primary--large {
    font-size: 1.15rem;
    padding: 16px 20px;
  }
  .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; }
  details.page-gdpr__faq-item .page-gdpr__faq-answer { padding: 0 15px 15px; }
  
  /* Homepage elements for 768px (mandatory inclusion) */
  .page-gdpr__promo-strip-track {
    grid-template-columns: repeat(2, 1fr);
    overflow-x: hidden;
    padding: 0 15px;
  }
  .page-gdpr__promo-card {
    flex-direction: column;
    text-align: center;
  }
  .page-gdpr__promo-card-image {
    margin: 0 auto 10px auto;
  }
  .page-gdpr__hot-games-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 15px;
  }
  .page-gdpr__hot-games-item-name,
  .page-gdpr__hot-games-item-rtp,
  .page-gdpr__hot-games-item-desc {
    display: none;
  }
  .page-gdpr__brand-intro-content {
    padding: 0 15px;
  }
  .page-gdpr__winner-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: #C61F1F;
    padding: 10px 15px;
    color: #FFF1E8;
    font-size: 0.9rem;
  }
  body {
    padding-bottom: 50px; /* Adjust if winner ticker is fixed at bottom */
  }
  .page-gdpr__hero-brand, .page-gdpr__hero-jackpot { /* Already hidden by 1023px, but good to ensure */
    display: none !important;
  }
}

/* Common styles for game trial overlay (mandatory inclusion) */
.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: 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: #2A1212;
  color: #FFF1E8;
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  text-align: center;
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
.page-gdpr__reward-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #FFB04A;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}
.page-gdpr__reward-modal-title {
  font-size: 1.8rem;
  color: #F3C54D;
  margin-bottom: 15px;
}
.page-gdpr__reward-modal-text {
  margin-bottom: 25px;
}