/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text on default light body background */
  background-color: #FFFFFF;
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Ensure image doesn't overflow */
}

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

.page-gdpr__hero-content {
  max-width: 900px;
  padding: 0 20px 40px;
  z-index: 1;
}

.page-gdpr__main-title {
  font-size: 2.8em;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-gdpr__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

/* General Section Styling */
.page-gdpr__section {
  padding: 60px 0;
}

.page-gdpr__section-title {
  font-size: 2.2em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-gdpr__sub-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__content-block p {
  margin-bottom: 1em;
  color: #333333;
}

.page-gdpr__image-content {
  width: 100%;
  height: auto;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Specific Section Colors */
.page-gdpr__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-gdpr__dark-bg .page-gdpr__section-title,
.page-gdpr__dark-bg .page-gdpr__sub-title,
.page-gdpr__dark-bg p,
.page-gdpr__dark-bg .page-gdpr__link {
  color: #ffffff;
}

.page-gdpr__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, 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: #EA7C07; /* Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

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

.page-gdpr__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

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

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-gdpr__cta-buttons .page-gdpr__btn-primary,
.page-gdpr__cta-buttons .page-gdpr__btn-secondary {
  flex-grow: 1;
  max-width: 250px; /* Limit individual button width */
}

/* Links */
.page-gdpr__link {
  color: #26A9E0;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: #1a88bb;
}

/* 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-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  list-style: none; /* Hide default marker for details */
  user-select: none;
}

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

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

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

/* Placeholder styles for required homepage modules (even if not used on this page) */
.page-gdpr__home-content {
  border: 1px solid #26A9E0;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 40px;
  background-color: #f0f8ff;
}

.page-gdpr__row-games, .page-gdpr__row-sport, .page-gdpr__row-coop {
  background-color: #1A202C;
  padding: 40px 20px;
  max-width: 1330px;
  margin: 0 auto;
}

.page-gdpr__games-title, .page-gdpr__sport-title, .page-gdpr__coop-title {
  color: #fff;
  text-align: center;
  margin-bottom: 30px;
}

.page-gdpr__slider-wrapper {
  overflow: hidden;
  margin-top: 20px;
}

.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;
  background-color: #2e3b4a;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  color: #fff;
  text-align: center;
  padding: 10px;
}

.page-gdpr__banners-top-wrapper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.page-gdpr__banner-item img {
  
  
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.page-gdpr__blog-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  margin-top: 30px;
}

.page-gdpr__blog-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-gdpr__blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-gdpr__blog-card-content {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-gdpr__blog-card-title {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-gdpr__blog-card-description {
  font-size: 0.9em;
  color: #555555;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-gdpr__btn-outline {
  display: inline-block;
  padding: 8px 15px;
  border: 1px solid #26A9E0;
  border-radius: 5px;
  color: #26A9E0;
  text-decoration: none;
  font-size: 0.9em;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: auto; /* Push to bottom of card */
}

.page-gdpr__btn-outline:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.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);
  max-width: calc(33.333% - 14px);
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.5em;
  }

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

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

  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__blog-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-gdpr__blog-slide {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  /* 1. HERO 主图区域 */
  .page-gdpr__hero-section {
    padding-top: 10px; /* Consistent small top padding */
  }
  .page-gdpr__hero-image {
    max-height: 300px;
  }
  .page-gdpr__hero-content {
    padding: 0 15px 30px;
  }
  .page-gdpr__main-title {
    font-size: 1.8em !important; /* Force smaller title on mobile */
  }
  .page-gdpr__intro-text {
    font-size: 1em;
  }

  /* 2. 长文金框区 (General content section for this page) */
  .page-gdpr__home-content, /* Placeholder for generic long text block */
  .page-gdpr__content-block {
    padding: 15px;
    border-radius: 5px;
    font-size: 16px;
    line-height: 1.6;
  }
  .page-gdpr__home-content h2, /* Placeholder for generic long text block */
  .page-gdpr__content-block h2 {
    font-size: 1.8em;
  }

  /* 3. 游戏轮播 */
  .page-gdpr__slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
  }
  .page-gdpr__game-slide {
    flex: 0 0 160px;
    max-width: 160px;
  }

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

  /* 5. 博客卡片区 */
  .page-gdpr__blog-masonry {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .page-gdpr__blog-slide {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .page-gdpr__blog-card-image {
    height: 180px;
  }
  .page-gdpr__blog-card-title {
    font-size: 1.1em;
  }

  /* 6. 通用图片与容器 */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important; /* Ensure minimum size */
    min-height: 200px !important;
  }
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__content-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 7. 按钮与按钮容器 */
  .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: 12px 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-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
  }
  .page-gdpr__cta-buttons .page-gdpr__btn-primary,
  .page-gdpr__cta-buttons .page-gdpr__btn-secondary {
    max-width: 100%;
  }

  /* Adjust general typography for mobile readability */
  .page-gdpr {
    font-size: 15px;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
  .page-gdpr__sub-title {
    font-size: 1.3em;
  }
  .page-gdpr__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-gdpr__faq-answer {
    padding: 0 20px 15px;
  }
}