/* style/gdpr.css */
/* 
  GDPR Compliance Page Styles for 188bet APK
  Colors: Primary #017439, Secondary #FFFFFF
  Custom: Register/Login Buttons #C30808, Register/Login Font #FFFF00, Background #FFFFFF
*/

.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Page background as per custom color */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  min-height: 450px;
  overflow: hidden;
  background-color: #017439; /* Primary brand color for dark background fallback */
  color: #ffffff; /* Light text for dark background */
}

.page-gdpr__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(1, 116, 57, 0.6); /* Dark overlay to ensure text readability */
  z-index: 0;
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; /* Place image behind overlay and content */
  /* filter: brightness(0.7); /* Removed as per strict instruction to not use filter */
}

.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  z-index: 1;
}

.page-gdpr__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-gdpr__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.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, border-color 0.3s ease;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  max-width: 100%; /* Ensure button doesn't exceed container */
  box-sizing: border-box;
  text-align: center;
}

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

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

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

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

/* Content Area */
.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #FFFFFF; /* Light background for content */
  color: #333333; /* Dark text for light background */
}

.page-gdpr__section-title {
  font-size: 2em;
  color: #017439; /* Primary brand color for titles */
  margin-bottom: 25px;
  margin-top: 40px;
  text-align: center;
}

.page-gdpr__sub-title {
  font-size: 1.5em;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__text-block {
  margin-bottom: 20px;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-gdpr__text-block strong {
    color: #017439;
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  padding-left: 0;
}

.page-gdpr__list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
  filter: none; /* Ensure no image filters are applied */
}

.page-gdpr__contact-info {
  margin-top: 30px;
  font-size: 1.1em;
  line-height: 1.8;
}

.page-gdpr__email-link {
  color: #017439;
  text-decoration: underline;
}

.page-gdpr__email-link:hover {
  color: #005f2e;
}

/* FAQ Section */
.page-gdpr__faq-section {
  margin-top: 60px;
}

.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;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #eaf7ed; /* Light green background for question */
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: #d8eadb;
}

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

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Plus to X/Minus */
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px; /* Initial padding for collapsed state */
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #ffffff;
  color: #555555;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px; /* Padding for expanded state */
}

.page-gdpr__faq-answer p {
  margin: 0;
  padding-top: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.5em;
  }
  .page-gdpr__description {
    font-size: 1.1em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__sub-title {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    min-height: 350px;
  }
  .page-gdpr__main-title {
    font-size: 2em;
  }
  .page-gdpr__description {
    font-size: 1em;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important; /* Buttons take full width */
    max-width: 100% !important;
    padding: 10px 20px;
  }
  .page-gdpr__content-area {
    padding: 40px 15px;
  }
  .page-gdpr__section-title {
    font-size: 1.6em;
  }
  .page-gdpr__sub-title {
    font-size: 1.2em;
  }
  .page-gdpr__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-gdpr__faq-answer {
    padding: 0 20px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 10px 20px 20px;
  }

  /* Mobile image and container responsive rules */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    filter: none !important; /* Ensure no image filters are applied on mobile */
  }
  
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__cta-buttons,
  .page-gdpr__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
  /* Specific padding for content area to avoid double padding */
  .page-gdpr__content-area {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-gdpr__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.8em;
  }
  .page-gdpr__section-title {
    font-size: 1.4em;
  }
  .page-gdpr__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-gdpr__faq-answer {
    padding: 0 15px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 8px 15px 15px;
  }
}

/* Ensure content area images are at least 200px wide for content */
.page-gdpr__content-area img {
  min-width: 200px;
  min-height: 200px;
}