/* style/gdpr.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --dark-bg-color: #1a1a2e; /* From shared.css body background */
    --light-text-color: #ffffff;
    --dark-text-color: #333333;
    --login-button-color: #EA7C07;
    --background-color: #FFFFFF;
    --black-color: #000000;
}

.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--light-text-color); /* Default text color for dark body background */
    background-color: var(--dark-bg-color); /* Ensure main content area respects body background */
}

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

/* Hero Section */
.page-gdpr__hero-section {
    padding: var(--header-offset, 120px) 0 80px; /* Default offset if shared doesn't handle body padding */
    text-align: center;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
    background-image: url('[GALLERY:hero:1920x1080:gdpr,compliance,privacy,data_security,online_betting]');
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

.page-gdpr__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: -1;
}

.page-gdpr__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--light-text-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-gdpr__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--light-text-color);
}

.page-gdpr__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Content Sections */
.page-gdpr__content-section {
    padding: 60px 0;
}

.page-gdpr__light-bg {
    background-color: var(--secondary-color);
    color: var(--dark-text-color);
}

.page-gdpr__dark-bg {
    background-color: var(--dark-bg-color);
    color: var(--light-text-color);
}

.page-gdpr__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: inherit;
}

.page-gdpr__subsection-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 15px;
    color: inherit;
}

.page-gdpr__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
    color: inherit;
}

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

.page-gdpr__list-item {
    margin-bottom: 30px;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for list items in dark section */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__list-item .page-gdpr__subsection-title {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.5em;
}

.page-gdpr__list-item .page-gdpr__paragraph {
    margin-bottom: 0;
    font-size: 1em;
}

.page-gdpr__link {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-gdpr__link:hover {
    color: #1e87b6; /* Slightly darker primary color on hover */
}

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

.page-gdpr__btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    border: 2px solid var(--primary-color);
}

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

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

.page-gdpr__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

.page-gdpr__button-group {
    display: flex;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Image Styling */
.page-gdpr__image-wrapper {
    margin: 40px auto;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-gdpr__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: block;
    margin: 0 auto;
}

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

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--light-text-color);
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-gdpr__faq-title {
    margin: 0;
    color: inherit;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

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

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    color: var(--light-text-color);
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 1000px !important; /* Sufficient height for content */
    padding: 20px !important;
}

.page-gdpr__faq-answer .page-gdpr__paragraph {
    margin-bottom: 0;
    font-size: 1em;
    line-height: 1.6;
}

/* Call to Action Section */
.page-gdpr__cta-section {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    text-align: center;
    padding: 80px 0;
}

.page-gdpr__cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-gdpr__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--light-text-color);
}

.page-gdpr__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: var(--light-text-color);
}

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

    .page-gdpr__hero-section {
        padding-top: 0; /* Assume shared.css handles body padding for header offset */
        padding-bottom: 60px;
        min-height: 350px;
    }

    .page-gdpr__hero-section::before {
        background: rgba(0, 0, 0, 0.7); /* Slightly darker overlay for mobile */
    }

    .page-gdpr__hero-title {
        font-size: 2em;
        margin-top: 60px; /* Add some top margin to hero title on mobile */
    }

    .page-gdpr__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .page-gdpr__hero-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 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: 12px 20px;
        font-size: 1em;
    }

    .page-gdpr__button-group {
        flex-direction: column !important;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-gdpr__container {
        padding: 15px;
    }

    .page-gdpr__content-section {
        padding: 40px 0;
    }

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

    .page-gdpr__subsection-title {
        font-size: 1.4em;
        margin-top: 30px;
    }

    .page-gdpr__paragraph {
        font-size: 0.95em;
        margin-bottom: 15px;
    }

    .page-gdpr__list-item {
        padding: 15px;
        margin-bottom: 10px;
    }

    .page-gdpr__list-item .page-gdpr__subsection-title {
        font-size: 1.3em;
    }

    .page-gdpr__image-wrapper {
        margin: 30px auto;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-gdpr__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-gdpr__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }

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

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

    .page-gdpr__cta-section {
        padding: 60px 0;
    }

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

    .page-gdpr__cta-description {
        font-size: 1em;
        margin-bottom: 30px;
        padding: 0 15px;
    }
}

@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 2.8em;
    }

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

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

    .page-gdpr__cta-title {
        font-size: 2.4em;
    }
}