/* style/gdpr.css */

/* Variables (if needed, but using direct hex for custom colors) */
/* Assuming --light-background-color from shared.css is light */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light body background */
    background-color: var(--light-background-color); /* Inherited from shared.css */
}

.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding as per requirement */
    padding-bottom: 40px;
    background-color: var(--color-background);
    color: var(--color-text-main);
}

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

.page-gdpr__hero-content {
    max-width: 900px;
    width: 100%;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    box-sizing: border-box;
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3em);
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-gold);
}

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

.page-gdpr__cta-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05em;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    min-width: 180px;
    text-align: center;
}

.page-gdpr__cta-button--primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__cta-button--primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-gdpr__cta-button--secondary {
    background: transparent;
    color: var(--color-text-main);
    border: 2px solid var(--color-border);
}

.page-gdpr__cta-button--secondary:hover {
    background-color: var(--color-border);
    color: #ffffff;
}

.page-gdpr__section {
    padding: 60px 0;
    background-color: #ffffff;
    color: #333333;
}

.page-gdpr__section--what-is-gdpr {
    background-color: #f8f8f8;
}

.page-gdpr__section--our-commitment {
    background-color: var(--color-card-bg);
    color: var(--color-text-main);
}

.page-gdpr__section--your-rights {
    background-color: #ffffff;
}

.page-gdpr__section--data-processing {
    background-color: #f8f8f8;
}

.page-gdpr__section--cookie-policy {
    background-color: var(--color-card-bg);
    color: var(--color-text-main);
}

.page-gdpr__section--responsible-gaming {
    background-color: #ffffff;
}

.page-gdpr__section--contact-us {
    background-color: #f8f8f8;
}

.page-gdpr__section--faq {
    background-color: var(--color-card-bg);
    color: var(--color-text-main);
}

.page-gdpr__section--cta-final {
    background: var(--button-gradient);
    color: #ffffff;
    padding: 80px 0;
}

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

.page-gdpr__container--centered {
    text-align: center;
}

.page-gdpr__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: var(--color-primary);
}

.page-gdpr__section--our-commitment .page-gdpr__section-title,
.page-gdpr__section--cookie-policy .page-gdpr__section-title,
.page-gdpr__section--faq .page-gdpr__section-title {
    color: var(--color-gold);
}

.page-gdpr__section--cta-final .page-gdpr__section-title {
    color: #ffffff;
}

.page-gdpr__subsection-title {
    font-size: clamp(1.4em, 2.5vw, 1.8em);
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.page-gdpr__section--our-commitment .page-gdpr__subsection-title,
.page-gdpr__section--cookie-policy .page-gdpr__subsection-title,
.page-gdpr__section--faq .page-gdpr__subsection-title {
    color: var(--color-text-main);
}

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

.page-gdpr__text-block--centered {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-gdpr__list-item {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-gdpr__list-item strong {
    color: var(--color-primary);
}

.page-gdpr__section--our-commitment .page-gdpr__list-item strong,
.page-gdpr__section--cookie-policy .page-gdpr__list-item strong,
.page-gdpr__section--faq .page-gdpr__list-item strong {
    color: var(--color-gold);
}

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

.page-gdpr__image--full-width {
    width: 100%;
    max-width: 1000px;
    margin-bottom: 30px;
}

.page-gdpr__image--left {
    float: left;
    margin-right: 30px;
    margin-bottom: 20px;
    max-width: 40%;
}

.page-gdpr__image--right {
    float: right;
    margin-left: 30px;
    margin-bottom: 20px;
    max-width: 40%;
}

/* Clearfix for floated images */
.page-gdpr__section::after {
    content: "";
    display: table;
    clear: both;
}

/* Links */
.page-gdpr a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: bold;
}

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

.page-gdpr__section--our-commitment a,
.page-gdpr__section--cookie-policy a,
.page-gdpr__section--faq a {
    color: var(--color-gold);
}

.page-gdpr__section--our-commitment a:hover,
.page-gdpr__section--cookie-policy a:hover,
.page-gdpr__section--faq a:hover {
    color: var(--color-text-main);
}

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

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

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

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

.page-gdpr__faq-item summary:hover {
    background-color: var(--color-border);
}

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

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--color-gold);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    content: "−";
}

.page-gdpr__faq-answer {
    padding: 0 25px 18px;
    font-size: 1em;
    color: var(--color-text-secondary);
}

.page-gdpr__faq-answer p {
    margin-bottom: 0;
}

/* Final CTA button styling */
.page-gdpr__cta-button--large {
    font-size: 1.2em;
    padding: 15px 30px;
    margin-top: 30px;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-gdpr__image--left,
    .page-gdpr__image--right {
        float: none;
        max-width: 80%;
        margin: 30px auto;
    }
}

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

    .page-gdpr__hero-image {
        max-height: 300px;
    }

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

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

    .page-gdpr__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-gdpr__cta-group {
        flex-direction: column;
        gap: 15px;
    }

    .page-gdpr__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-gdpr__section {
        padding: 40px 0;
    }

    .page-gdpr__container {
        padding: 0 15px;
    }

    .page-gdpr__section-title {
        font-size: clamp(1.6em, 5vw, 2em);
        margin-bottom: 20px;
    }

    .page-gdpr__subsection-title {
        font-size: clamp(1.2em, 4vw, 1.5em);
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-gdpr__text-block,
    .page-gdpr__list-item {
        font-size: 0.95em;
    }

    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 20px auto !important;
    }
    
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__cta-group,
    .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;
        overflow: hidden !important;
    }

    .page-gdpr__video-section {
        padding-top: 10px !important;
    }

    .page-gdpr__faq-item summary {
        padding: 15px 20px;
        font-size: 1em;
    }

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

    .page-gdpr__cta-button--large {
        padding: 12px 20px;
        font-size: 1.1em;
    }
}

/* Ensure images don't use filters */
.page-gdpr img {
    filter: none;
}

/* Contrast checks based on body background (assuming light) and custom dark backgrounds */
/* Default for .page-gdpr is color: #333333; on light background */
/* For sections with dark backgrounds, ensure light text */
.page-gdpr__section--our-commitment,
.page-gdpr__section--cookie-policy,
.page-gdpr__section--faq {
    color: var(--color-text-main);
}
/* For links within these sections */
.page-gdpr__section--our-commitment a,
.page-gdpr__section--cookie-policy a,
.page-gdpr__section--faq a {
    color: var(--color-gold);
}
.page-gdpr__section--our-commitment a:hover,
.page-gdpr__section--cookie-policy a:hover,
.page-gdpr__section--faq a:hover {
    color: var(--color-text-main);
}
/* For strong tags within these sections */
.page-gdpr__section--our-commitment .page-gdpr__list-item strong,
.page-gdpr__section--cookie-policy .page-gdpr__list-item strong,
.page-gdpr__section--faq .page-gdpr__list-item strong {
    color: var(--color-gold);
}