/* 智能文字颜色选择器 - Sử dụng màu chữ phù hợp với nền */
.page-gdpr__dark-section {
  color: #ffffff; /* Nền tối phối chữ sáng */
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
}

.page-gdpr__light-bg {
  color: #333333; /* Nền sáng phối chữ tối */
  background: #F5F7FA;
}

.page-gdpr__content-area {
  background: #ffffff; /* Nền trắng mặc định */
  color: #333333;
}

.page-gdpr p,
.page-gdpr li {
  color: #333333;
}

.page-gdpr__card,
.page-gdpr__principle-card,
.page-gdpr__right-item {
  background: #ffffff;
  color: #333333;
  border: 1px solid #E0E0E0;
  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__card:hover,
.page-gdpr__principle-card:hover,
.page-gdpr__right-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
}

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(229, 57, 53, 0.4);
}

.page-gdpr__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.page-gdpr__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
}

/* Base styles */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

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

.page-gdpr__hero-section {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
}

.page-gdpr__main-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  color: inherit;
  line-height: 1.2;
}

.page-gdpr__intro-text {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.8;
  color: inherit;
}

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
  color: #E53935;
}

.page-gdpr__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  line-height: 1.7;
  color: #333333;
}

.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__data-protection-section,
.page-gdpr__cookies-privacy-section,
.page-gdpr__contact-section,
.page-gdpr__faq-section {
  padding: 60px 0;
}

.page-gdpr__principles-grid,
.page-gdpr__rights-grid,
.page-gdpr__protection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-gdpr__card-title,
.page-gdpr__right-title,
.page-gdpr__item-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #E53935;
}

.page-gdpr__protection-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 20px;
}

.page-gdpr__contact-section .page-gdpr__btn-primary {
  margin-top: 25px;
}

.page-gdpr__contact-note {
  margin-top: 20px;
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-gdpr__contact-note a {
  color: #ffffff;
  text-decoration: underline;
}

.page-gdpr__contact-note a:hover {
  color: #FF5A4F;
}

.page-gdpr__cookie-info ul {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-gdpr__cookie-info li {
  margin-bottom: 8px;
}

.page-gdpr__cookie-info a {
  color: #E53935;
  text-decoration: underline;
}

.page-gdpr__cookie-info a:hover {
  color: #FF5A4F;
}

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

/* Boilerplate CSS for homepage features, included as per prompt requirements */
@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;
  }
  /* Specifics for homepage elements at PC width, if they were to exist on this page */
  .page-gdpr__promo-strip-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .page-gdpr__hot-games-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
  }
  .page-gdpr__hot-games-name, .page-gdpr__hot-games-rtp, .page-gdpr__hot-games-desc {
    display: block;
    text-align: center;
  }
}

/* Mobile adaptations */
@media (max-width: 768px) {
  .page-gdpr {
    font-size: 15px;
  }
  .page-gdpr__main-title {
    font-size: 2.2em;
  }
  .page-gdpr__intro-text {
    font-size: 1em;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .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__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__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__section-description {
    font-size: 0.95em;
  }
  .page-gdpr__principles-grid,
  .page-gdpr__rights-grid,
  .page-gdpr__protection-grid {
    grid-template-columns: 1fr;
  }
  .page-gdpr__card-title,
  .page-gdpr__right-title,
  .page-gdpr__item-title {
    font-size: 1.2em;
  }
  .page-gdpr__protection-image {
    height: 200px;
  }
  .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; }

  /* Homepage specific media queries for 768px, included as boilerplate */
  .page-gdpr__promo-strip-track {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for smaller screens */
    overflow-x: hidden;
    padding: 0 15px; /* Add padding to prevent overflow */
  }
  .page-gdpr__promo-card {
    display: flex;
    flex-direction: column; /* Stack image and text */
    align-items: center;
    text-align: center;
  }
  .page-gdpr__promo-card-image {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }
  .page-gdpr__promo-card-content {
    padding: 10px;
  }
  .page-gdpr__hot-games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 15px;
  }
  .page-gdpr__hot-games-card-name, .page-gdpr__hot-games-card-rtp, .page-gdpr__hot-games-card-desc {
    display: none; /* Hide extra info on mobile */
  }
  .page-gdpr__brand-intro {
    display: block; /* Show brand intro on mobile */
    padding: 20px 15px;
  }
  .page-gdpr__winner-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 10px 15px;
  }
  body {
    padding-bottom: 50px; /* Adjust body padding for fixed ticker */
  }
}

.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:not([hidden]) {
    opacity: 1;
    visibility: visible;
}
.page-gdpr__reward-modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  position: relative;
}
.page-gdpr__reward-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}