/* style/gdpr.css */

:root {
  --okplay-primary: #F2C14E;
  --okplay-secondary: #FFD36B;
  --okplay-card-bg: #111111;
  --okplay-background: #0A0A0A;
  --okplay-text-main: #FFF6D6;
  --okplay-border: #3A2A12;
  --okplay-glow: #FFD36B;
  --okplay-btn-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-gdpr {
  background-color: var(--okplay-background);
  color: var(--okplay-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

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

.page-gdpr__hero-content {
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: var(--okplay-primary);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  margin-bottom: 30px;
  color: var(--okplay-text-main);
}

.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  background-color: var(--okplay-background);
}

.page-gdpr__text-block {
  background-color: var(--okplay-card-bg);
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
  border: 1px solid var(--okplay-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.2em);
  color: var(--okplay-primary);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.3;
}

.page-gdpr p {
  margin-bottom: 15px;
  color: var(--okplay-text-main);
}

.page-gdpr a {
  color: var(--okplay-secondary);
  text-decoration: underline;
}

.page-gdpr a:hover {
  color: var(--okplay-primary);
}

.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 30px auto;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__rights-list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--okplay-text-main);
}

.page-gdpr__rights-list li {
  margin-bottom: 10px;
  color: var(--okplay-text-main);
}

.page-gdpr__rights-list strong {
  color: var(--okplay-primary);
}

/* FAQ Section */
.page-gdpr__faq-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-gdpr__faq-list {
  background-color: var(--okplay-card-bg);
  border-radius: 8px;
  border: 1px solid var(--okplay-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  padding: 20px;
}

.page-gdpr__faq-item {
  border-bottom: 1px solid var(--okplay-border);
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.page-gdpr__faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 15px;
  color: var(--okplay-primary);
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  color: var(--okplay-secondary);
}

.page-gdpr__faq-question h3 {
  margin: 0;
  font-size: 1.1em;
  color: inherit; /* Inherit from parent for hover effect */
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--okplay-text-main);
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg);
  color: var(--okplay-secondary);
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--okplay-text-main);
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important;
  padding: 15px;
}

/* CTA Section */
.page-gdpr__cta-section {
  text-align: center;
  padding: 50px 20px;
  background-color: var(--okplay-card-bg);
  border-radius: 8px;
  margin: 40px auto;
  max-width: 1200px;
  border: 1px solid var(--okplay-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.page-gdpr__cta-text {
  font-size: 1.5em;
  margin-bottom: 30px;
  color: var(--okplay-text-main);
  font-weight: bold;
}

/* Buttons */
.page-gdpr__btn-primary {
  display: inline-block;
  background: var(--okplay-btn-gradient);
  color: var(--okplay-text-main);
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px var(--okplay-glow);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-image {
    max-height: 500px;
  }
}

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

  .page-gdpr__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

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

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

  .page-gdpr__text-block,
  .page-gdpr__faq-list,
  .page-gdpr__cta-section {
    padding: 20px;
  }

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

  .page-gdpr__faq-question h3 {
    font-size: 1em;
  }

  .page-gdpr__cta-text {
    font-size: 1.2em;
  }

  /* Mobile image adaptation */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__text-block,
  .page-gdpr__faq-section,
  .page-gdpr__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile button adaptation */
  .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-left: 15px;
    padding-right: 15px;
    margin: 10px 0; /* Add margin for stacked buttons */
  }

  .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-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}