/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #ffffff; /* Default background */
}

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

.page-gdpr__container--center {
  text-align: center;
}

.page-gdpr__dark-bg {
  background-color: #017439; /* Primary brand color */
  color: #ffffff; /* White text for dark background */
}

.page-gdpr__light-bg {
  background-color: #ffffff; /* Auxiliary brand color / White background */
  color: #333333; /* Dark text for light background */
}

/* Hero Section */
.page-gdpr__hero-section {
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit hero image height */
  overflow: hidden;
}

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

.page-gdpr__hero-content {
  padding: 40px 20px;
  max-width: 800px;
  margin-top: -100px; /* Overlap slightly for visual interest */
  position: relative;
  z-index: 1;
  background-color: rgba(1, 116, 57, 0.85); /* Semi-transparent background for readability */
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.page-gdpr__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-gdpr__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* CTA Buttons */
.page-gdpr__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-gdpr__btn-primary {
  background-color: #C30808; /* Register color */
  color: #FFFF00; /* Register font color */
  border: 2px solid #C30808;
}

.page-gdpr__btn-primary:hover {
  background-color: #e02020;
  border-color: #e02020;
}

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

.page-gdpr__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

/* Section Titles and Text Blocks */
.page-gdpr__section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherit from parent section for dark/light contrast */
}

.page-gdpr__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: justify;
  color: inherit;
}

.page-gdpr__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-gdpr__image-content--bottom {
  margin-bottom: 30px;
}

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

.page-gdpr__grid--two-cols {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-gdpr__grid--three-cols {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Cards */
.page-gdpr__card {
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-gdpr__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: inherit;
}

.page-gdpr__card-text {
  font-size: 1em;
  color: inherit;
  flex-grow: 1;
}

.page-gdpr__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 30px;
}

.page-gdpr__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-item[open] {
  background-color: #ffffff;
  border-color: #017439;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #017439;
  cursor: pointer;
  list-style: none; /* Remove default marker */
}

.page-gdpr__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #555555;
}

.page-gdpr__faq-answer p {
  margin-bottom: 10px;
}

.page-gdpr__faq-answer p:last-child {
  margin-bottom: 0;
}

/* Final CTA Section */
.page-gdpr__cta-final-section {
  padding: 60px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-content {
    margin-top: -80px;
    padding: 30px 20px;
  }

  .page-gdpr__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

  .page-gdpr__section-title {
    font-size: 2em;
  }

  .page-gdpr__grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-gdpr__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* HERO 主图区域 */
  .page-gdpr__hero-section {
    padding-top: 10px !important;
  }

  .page-gdpr__hero-image-wrapper {
    max-height: 400px;
  }

  .page-gdpr__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__hero-content {
    margin-top: -60px;
    padding: 25px 15px;
    border-radius: 10px;
    max-width: calc(100% - 30px);
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 10px;
  }

  .page-gdpr__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* 按钮与按钮容器 */
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

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

  .page-gdpr__text-block {
    font-size: 0.95em;
  }

  /* 通用图片与容器 */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !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;
  }

  /* Grid Layouts */
  .page-gdpr__grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-gdpr__grid--two-cols,
  .page-gdpr__grid--three-cols {
    grid-template-columns: 1fr;
  }

  /* Cards */
  .page-gdpr__card {
    padding: 20px;
  }

  .page-gdpr__card-title {
    font-size: 1.3em;
  }

  .page-gdpr__card-image {
    height: 180px;
  }

  /* FAQ Section */
  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-gdpr__faq-answer {
    padding: 0 20px 15px;
  }

  /* Placeholder for home-content (long text in golden frame) - not directly used but included for completeness */
  .page-gdpr__home-content {
    height: auto;
    overflow-y: visible;
    padding: 20px 15px;
    font-size: 0.95em;
  }

  /* Placeholder for game carousel - not directly used but included for completeness */
  .page-gdpr__slider-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .page-gdpr__slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    padding-bottom: 10px; /* To prevent scrollbar from overlapping content */
  }

  .page-gdpr__game-slide {
    flex: 0 0 160px;
    max-width: 160px;
  }

  /* Placeholder for partner banners - not directly used but included for completeness */
  .page-gdpr__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .page-gdpr__banner-item img {
    
    
  }

  /* Placeholder for blog cards - not directly used but included for completeness */
  .page-gdpr__blog-masonry {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-gdpr__blog-slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    padding-bottom: 10px;
  }

  .page-gdpr__blog-slide {
    flex: 0 0 calc(100% - 30px); /* Adjust for padding/gap */
    max-width: calc(100% - 30px);
  }

  /* Final CTA section adjustments */
  .page-gdpr__cta-final-section {
    padding: 40px 15px;
  }
}