/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #f8f8f8; /* Inherited from body, but explicit for clarity */
}

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

.page-gdpr__section-title {
  font-size: 2.5rem;
  color: #11A84E;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-gdpr__sub-section-title {
  font-size: 1.8rem;
  color: #22C768;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-gdpr__text-block {
  font-size: 1rem;
  margin-bottom: 15px;
  line-height: 1.7;
  text-align: justify;
}

.page-gdpr__text-link {
  color: #11A84E;
  text-decoration: underline;
}

.page-gdpr__text-link:hover {
  color: #22C768;
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 1rem;
  color: #333333;
}

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

/* Hero Section */
.page-gdpr__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  background-color: #08160F; /* Dark background for hero */
  padding-bottom: 40px;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 20px;
}

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

.page-gdpr__hero-content {
  max-width: 900px;
  padding: 0 20px;
  color: #F2FFF6; /* Light text for dark hero background */
  margin-top: 20px;
}

.page-gdpr__main-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6;
}

.page-gdpr__hero-description {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #A7D9B8; /* Secondary light text */
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-gdpr__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 255, 0, 0.3);
}

/* Section Backgrounds for Contrast */
.page-gdpr__light-bg {
  background-color: #f8f8f8;
  color: #333333;
}

.page-gdpr__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-gdpr__dark-bg .page-gdpr__section-title {
  color: #F2FFF6;
}

.page-gdpr__dark-bg .page-gdpr__sub-section-title {
  color: #2AD16F;
}

.page-gdpr__dark-bg .page-gdpr__text-link {
  color: #57E38D;
}

.page-gdpr__dark-bg .page-gdpr__list-item {
  color: #A7D9B8;
}

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

.page-gdpr__card {
  background-color: #11271B; /* Custom Card B G */
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F2FFF6; /* Text Main for dark card */
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-gdpr__card-title {
  font-size: 1.4rem;
  color: #2AD16F;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__card-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #A7D9B8; /* Text Secondary for dark card */
}

/* Content Images */
.page-gdpr__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

.page-gdpr__faq-item[open] {
  background-color: #f0fdf4; /* Slightly lighter background when open */
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #11A84E;
  cursor: pointer;
  background-color: #fdfdfd;
  border-bottom: 1px solid #eee;
}

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

.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}

.page-gdpr__faq-question .page-gdpr__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

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

/* Related Policies Section */
.page-gdpr__policy-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: center;
}

.page-gdpr__policy-item {
  margin-bottom: 10px;
}

.page-gdpr__policy-item a {
  font-size: 1.1rem;
  color: #57E38D;
  text-decoration: none;
  font-weight: bold;
}

.page-gdpr__policy-item a:hover {
  color: #2AD16F;
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__section-title {
    font-size: 2rem;
  }

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

  .page-gdpr__card-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 15px;
  }

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

  .page-gdpr__sub-section-title {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-gdpr__hero-content {
    padding: 0 15px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-gdpr__hero-description {
    font-size: 1rem;
  }

  .page-gdpr__cta-button {
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
  }

  .page-gdpr__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 20px;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__hero-image-wrapper,
  .page-gdpr__content-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-gdpr__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

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

  .page-gdpr__policy-item a {
    font-size: 1rem;
  }

  .page-gdpr__introduction-section,
  .page-gdpr__principles-section,
  .page-gdpr__data-processing-section,
  .page-gdpr__user-rights-section,
  .page-gdpr__security-measures-section,
  .page-gdpr__data-sharing-section,
  .page-gdpr__cookies-section,
  .page-gdpr__data-transfer-section,
  .page-gdpr__responsible-gaming-section,
  .page-gdpr__contact-section,
  .page-gdpr__faq-section,
  .page-gdpr__related-policies-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-gdpr__section-title {
    font-size: 1.5rem;
  }

  .page-gdpr__sub-section-title {
    font-size: 1.2rem;
  }

  .page-gdpr__hero-description {
    font-size: 0.9rem;
  }

  .page-gdpr__card-title {
    font-size: 1.1rem;
  }

  .page-gdpr__card-text,
  .page-gdpr__text-block,
  .page-gdpr__list-item,
  .page-gdpr__faq-answer {
    font-size: 0.9rem;
  }
}