/* style/gdpr.css */

/* Custom Colors */
:root {
    --page-gdpr-bg-color: #08160F;
    --page-gdpr-card-bg: #11271B;
    --page-gdpr-text-main: #F2FFF6;
    --page-gdpr-text-secondary: #A7D9B8;
    --page-gdpr-border-color: #2E7A4E;
    --page-gdpr-glow-color: #57E38D;
    --page-gdpr-gold-color: #F2C14E;
    --page-gdpr-divider-color: #1E3A2A;
    --page-gdpr-deep-green: #0A4B2C;
    --page-gdpr-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-gdpr {
    background-color: var(--page-gdpr-bg-color);
    color: var(--page-gdpr-text-main); /* Default text color for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Ensure space above footer */
}

.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Enforce image on top, text below */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--page-gdpr-deep-green);
    overflow: hidden; /* Prevent content overflow */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain image width */
    margin-bottom: 30px; /* Space between image and text */
}

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

.page-gdpr__hero-content {
    width: 100%;
    max-width: 800px;
    text-align: center;
    color: var(--page-gdpr-text-main);
    z-index: 1; /* Ensure content is above any potential background */
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3em); /* Flexible font size for H1 */
    color: var(--page-gdpr-gold-color);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

.page-gdpr__intro-description {
    font-size: 1.1em;
    color: var(--page-gdpr-text-secondary);
    margin-bottom: 30px;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    text-align: center;
}

.page-gdpr__btn-primary {
    background: var(--page-gdpr-btn-gradient);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__btn-secondary:hover {
    background-color: var(--page-gdpr-gold-color);
    color: var(--page-gdpr-bg-color);
    transform: translateY(-3px);
}

.page-gdpr__section {
    padding: 40px 20px;
    margin-bottom: 30px;
}

.page-gdpr__dark-section {
    background-color: var(--page-gdpr-card-bg); /* Use card background for dark sections */
    color: var(--page-gdpr-text-main);
}

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

.page-gdpr__heading {
    font-size: 2.2em;
    color: var(--page-gdpr-gold-color);
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

.page-gdpr__section.page-gdpr__introduction .page-gdpr__heading,
.page-gdpr__section.page-gdpr__player-rights .page-gdpr__heading,
.page-gdpr__section.page-gdpr__contact-support .page-gdpr__heading,
.page-gdpr__section.page-gdpr__faq .page-gdpr__heading {
    color: var(--page-gdpr-text-main); /* Ensure headings in light sections are readable */
}

.page-gdpr__paragraph {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: var(--page-gdpr-text-secondary);
}

.page-gdpr__image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-gdpr__list-item {
    background-color: var(--page-gdpr-deep-green);
    border: 1px solid var(--page-gdpr-border-color);
    border-radius: 5px;
    padding: 15px 20px;
    margin-bottom: 15px;
    color: var(--page-gdpr-text-main);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.page-gdpr__list-item::before {
    content: '✅';
    font-size: 1.2em;
    line-height: 1;
    color: var(--page-gdpr-glow-color);
    flex-shrink: 0;
}

.page-gdpr__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.page-gdpr__card {
    background-color: var(--page-gdpr-card-bg);
    border: 1px solid var(--page-gdpr-border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--page-gdpr-text-main);
}

.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.5em;
    color: var(--page-gdpr-gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-gdpr__card-text {
    font-size: 0.95em;
    color: var(--page-gdpr-text-secondary);
}

.page-gdpr__contact-info {
    text-align: center;
    margin-top: 30px;
}

.page-gdpr__contact-item {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__contact-item a,
.page-gdpr__paragraph a {
    color: var(--page-gdpr-glow-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr__contact-item a:hover,
.page-gdpr__paragraph a:hover {
    text-decoration: underline;
    color: var(--page-gdpr-gold-color);
}

.page-gdpr__faq-list {
    margin-top: 30px;
}

.page-gdpr__faq-item {
    background-color: var(--page-gdpr-card-bg);
    border: 1px solid var(--page-gdpr-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--page-gdpr-gold-color);
    cursor: pointer;
    background-color: var(--page-gdpr-deep-green);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-gdpr__faq-question:hover {
    background-color: rgba(42, 209, 111, 0.1); /* Lighter hover for dark background */
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
    background-color: var(--page-gdpr-deep-green);
    color: var(--page-gdpr-glow-color);
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Rotate '+' to 'x' or similar */
}

.page-gdpr__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.0em;
    color: var(--page-gdpr-text-secondary);
    border-top: 1px solid var(--page-gdpr-divider-color);
}

/* Remove default details marker */
.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-gdpr__faq-item summary::marker {
    display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: clamp(1.8em, 5vw, 2.5em);
    }
    .page-gdpr__heading {
        font-size: 2em;
    }
    .page-gdpr__hero-section,
    .page-gdpr__section {
        padding: 40px 15px;
    }
    .page-gdpr__hero-image-wrapper {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-gdpr__hero-section {
        padding: 30px 15px;
        padding-top: 10px !important; /* body handles --header-offset, small top padding */
    }
    .page-gdpr__hero-image-wrapper {
        margin-bottom: 15px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.5em, 6vw, 2em);
    }
    .page-gdpr__intro-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        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;
    }
    .page-gdpr__btn-container { /* If any button group */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-gdpr__section,
    .page-gdpr__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-gdpr__heading {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-gdpr__paragraph {
        font-size: 0.95em;
    }
    .page-gdpr__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-gdpr__cards {
        grid-template-columns: 1fr; /* Stack cards vertically */
    }
    .page-gdpr__card {
        padding: 20px;
    }
    .page-gdpr__card-title {
        font-size: 1.3em;
    }
    .page-gdpr__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-gdpr__faq-answer {
        padding: 0 20px 15px;
    }
}

/* Ensure images and videos are responsive globally within page-gdpr */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-gdpr video,
.page-gdpr__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-gdpr__video-section,
.page-gdpr__video-container,
.page-gdpr__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-gdpr video,
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .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;
  }
  .page-gdpr__video-section {
    padding-top: 10px !important;
  }
}