:root {
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg: #10233F;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --border: #244D84;
  --glow: #4FA8FF;
  --gold: #F2C14E;
  --divider: #1B3357;
  --deep-navy: #08162B;
}

.page-gdpr {
  font-family: Arial, sans-serif;
  color: var(--text-main); /* Default text color for dark body background */
  background-color: var(--deep-navy); /* From shared.css via body */
  line-height: 1.6;
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  background-color: var(--deep-navy);
  padding-bottom: 40px;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit hero image height */
}

.page-gdpr__hero-content {
  padding: 40px 20px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-main);
}

.page-gdpr__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
  color: var(--gold);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-gdpr__intro-text {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* For button responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-gdpr__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%); /* Inverted gradient on hover */
  transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 2px solid var(--border);
}

.page-gdpr__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1); /* Slight white overlay on hover */
  transform: translateY(-2px);
}

/* Content Sections */
.page-gdpr__content-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--divider);
}

.page-gdpr__dark-section {
  background-color: var(--deep-navy);
  color: var(--text-main);
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  color: var(--gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-gdpr__light-bg .page-gdpr__section-title {
  color: var(--primary-color); /* Use primary brand color for titles on light background */
}

.page-gdpr__paragraph {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.8;
  color: inherit; /* Inherit color from parent section */
}

.page-gdpr__text-secondary {
  color: var(--text-secondary); /* Specific secondary text color */
}

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

.page-gdpr__sub-title {
  font-size: 1.8em;
  color: var(--glow);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__light-bg .page-gdpr__sub-title {
  color: var(--primary-color); /* Use primary brand color for subtitles on light background */
}

/* Grid for user rights cards */
.page-gdpr__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-gdpr__card {
  background-color: var(--card-bg); /* Use specific card background color */
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--text-main); /* Light text for dark card background */
}

.page-gdpr__light-bg .page-gdpr__card {
  background-color: #f8f9fa; /* Light background for cards in light section */
  color: #333333; /* Dark text for light card background */
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-gdpr__card-title {
  font-size: 1.4em;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-gdpr__light-bg .page-gdpr__card-title {
  color: var(--primary-color); /* Use primary brand color for titles on light card background */
}

.page-gdpr__card-text {
  font-size: 0.95em;
  line-height: 1.7;
  color: inherit;
}

/* FAQ Section */
.page-gdpr__faq-section {
  background-color: #ffffff; /* White background for light sections */
  color: #333333; /* Dark text for light background */
  padding: 60px 0;
  border-bottom: 1px solid var(--divider);
}

.page-gdpr__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  list-style: none; /* For details/summary */
}

.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); /* Rotate plus to cross */
}

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

/* Contact Section */
.page-gdpr__contact-section {
  text-align: center;
  padding: 60px 0;
}

.page-gdpr__contact-note {
  margin-top: 30px;
  font-size: 0.95em;
}

.page-gdpr__inline-link {
  color: var(--glow); /* Use glow color for inline links */
  text-decoration: underline;
}

.page-gdpr__inline-link:hover {
  color: var(--secondary-color);
}

/* General image responsiveness */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Placeholder CSS for homepage-specific elements (as per "必写清单") --- */
/* These elements are not used on the GDPR page but are required in CSS */
.page-gdpr__home-content { /* Used for a long text area, similar to gold frame */
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 30px;
  max-height: 650px; /* Example height for scrollable content */
  overflow-y: auto;
  margin-top: 40px;
  background-color: var(--card-bg);
  color: var(--text-main);
}
.page-gdpr__home-content h2 {
  color: var(--gold);
  margin-bottom: 20px;
}

/* Game Carousel (placeholder) */
.page-gdpr__row-games,
.page-gdpr__row-sport,
.page-gdpr__row-coop {
  background-color: var(--deep-navy);
  padding: 40px 20px;
  max-width: 1330px;
  margin: 0 auto;
}
.page-gdpr__games-title,
.page-gdpr__sport-title,
.page-gdpr__coop-title {
  color: var(--text-main);
  text-align: center;
  margin-bottom: 30px;
}
.page-gdpr__slider-wrapper {
  overflow: hidden;
  position: relative;
}
.page-gdpr__slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  transition: transform 0.5s ease-in-out;
}
.page-gdpr__game-slide {
  flex: 0 0 200px;
  max-width: 200px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.page-gdpr__game-slide img {
  width: 100%;
  
  object-fit: cover;
}
.page-gdpr__game-slide-info {
  padding: 10px;
  background-color: var(--card-bg);
  color: var(--text-main);
  font-size: 0.9em;
  text-align: center;
}

/* Partner Grid (placeholder) */
.page-gdpr__banners-top-wrapper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr)); /* Desktop: 6 columns */
  gap: 12px;
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}
.page-gdpr__banner-item {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.page-gdpr__banner-item img {
  
  
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

/* Blog Card Section (placeholder) */
.page-gdpr__blog-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* Desktop: 3 columns */
  gap: 20px;
  align-items: stretch; /* Ensure cards in a row have equal height */
  margin-top: 40px;
}
.page-gdpr__blog-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.page-gdpr__blog-card-image {
  width: 100%;
  height: 200px; /* Fixed height for blog card images */
  object-fit: cover;
}
.page-gdpr__blog-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  color: var(--text-main);
}
.page-gdpr__blog-card-title {
  font-size: 1.2em;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 600;
}
.page-gdpr__blog-card-text {
  font-size: 0.9em;
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1;
}
.page-gdpr__blog-card-link {
  display: inline-block;
  color: var(--glow);
  text-decoration: none;
  font-weight: 500;
  margin-top: auto; /* Push link to bottom */
}
.page-gdpr__blog-card-link:hover {
  text-decoration: underline;
}

/* Blog Slider (placeholder) */
.page-gdpr__blog-slider {
  overflow: hidden;
  position: relative;
  margin-top: 40px;
}
.page-gdpr__blog-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
}
.page-gdpr__blog-slide {
  flex: 0 0 calc(33.333% - 14px); /* Approx 3 items with gap */
  max-width: calc(33.333% - 14px);
}
/* --- End of Placeholder CSS --- */


/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__container {
    padding: 20px 30px;
  }

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

  .page-gdpr__sub-title {
    font-size: 1.6em;
  }

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

  /* Placeholder adjustments for 1024px */
  .page-gdpr__banners-top-wrapper {
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* Adjust to 4 columns */
  }
  .page-gdpr__blog-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* Adjust to 2 columns */
  }
  .page-gdpr__blog-slide {
    flex: 0 0 calc(50% - 10px); /* Adjust to 2 items with gap */
    max-width: calc(50% - 10px);
  }
}


@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-gdpr__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
    padding-bottom: 30px;
  }
  .page-gdpr__hero-content {
    padding: 20px 15px;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-gdpr__intro-text {
    font-size: 1em;
  }

  /* 通用图片与容器 */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-gdpr__container,
  .page-gdpr__content-section,
  .page-gdpr__card,
  .page-gdpr__faq-item,
  .page-gdpr__home-content, /* Placeholder long text area */
  .page-gdpr__row-games, /* Placeholder game section */
  .page-gdpr__row-sport, /* Placeholder sport section */
  .page-gdpr__row-coop, /* Placeholder coop section */
  .page-gdpr__banners-top-wrapper, /* Placeholder partner grid */
  .page-gdpr__blog-masonry, /* Placeholder blog masonry */
  .page-gdpr__blog-slider /* Placeholder blog slider */
   {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll for content sections */
  }
  .page-gdpr__image-full-width {
    margin: 20px 0;
  }

  /* 按钮与按钮容器 */
  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px; /* Add padding to button container */
  }
  .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;
    text-align: center;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__sub-title {
    font-size: 1.4em;
  }
  .page-gdpr__grid-container {
    grid-template-columns: 1fr; /* Single column for cards */
  }

  /* 长文金框区 */
  .page-gdpr__home-content {
    padding: 20px;
    max-height: 400px; /* Adjust height for mobile */
  }
  .page-gdpr__home-content h2 {
    font-size: 1.5em;
  }

  /* 游戏轮播 */
  .page-gdpr__slider-track {
    display: flex; /* Ensure flex for horizontal scroll */
    flex-wrap: nowrap; /* Prevent wrapping */
    overflow-x: auto; /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
  }
  .page-gdpr__slider-track::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
  }
  .page-gdpr__game-slide {
    flex: 0 0 160px; /* Smaller slide width */
    max-width: 160px;
  }

  /* 合作品牌六宫格 */
  .page-gdpr__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* Mobile: 3 columns */
    gap: 8px;
  }
  .page-gdpr__banner-item img {
     /* Smaller logo size */
    
  }

  /* 博客卡片区 */
  .page-gdpr__blog-masonry {
    grid-template-columns: 1fr; /* Mobile: single column */
  }
  .page-gdpr__blog-slide {
    flex: 0 0 100%; /* Full width for blog slides */
    max-width: 100%;
  }
  .page-gdpr__blog-slider-track {
    display: flex; /* Ensure flex for horizontal scroll */
    flex-wrap: nowrap; /* Prevent wrapping */
    overflow-x: auto; /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
  }
  .page-gdpr__blog-slider-track::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
  }
}