/* style/gdpr.css */

/* Variables from brand guide */
:root {
    --okplay-primary: #F2C14E;
    --okplay-accent: #FFD36B;
    --okplay-card-bg: #111111;
    --okplay-bg: #0A0A0A;
    --okplay-text-main: #FFF6D6;
    --okplay-border: #3A2A12;
    --okplay-glow: #FFD36B;
    --okplay-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--okplay-text-main); /* Light text on dark background */
    background-color: var(--okplay-bg); /* Ensure dark background */
}

/* Fixed Header Spacing: body handles padding-top */
/* First section should only have a small top padding, not --header-offset */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding-top: 10px; /* Small top padding */
    padding-bottom: 40px;
    background-color: var(--okplay-bg);
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-gdpr__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    color: var(--okplay-text-main);
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--okplay-primary); /* Use primary color for H1 */
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

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

.page-gdpr__section {
    padding: 60px 20px;
    background-color: var(--okplay-bg);
    color: var(--okplay-text-main);
}

.page-gdpr__section--dark {
    background-color: var(--okplay-card-bg); /* Slightly different dark background */
}

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

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

.page-gdpr__sub-title {
    font-size: clamp(1.4em, 2.5vw, 1.8em);
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--okplay-accent);
}

.page-gdpr__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.page-gdpr__content-grid--two-col {
    grid-template-columns: 1fr 1fr;
}

.page-gdpr__content-grid--reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl; /* Reverse order for content and image */
}

.page-gdpr__content-grid--reverse > .page-gdpr__text-block {
    direction: ltr; /* Reset text direction */
}
.page-gdpr__content-grid--reverse > .page-gdpr__image-wrapper {
    direction: ltr; /* Reset image direction */
}


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

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

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

.page-gdpr__list li strong {
    color: var(--okplay-accent);
}

.page-gdpr__image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--okplay-border);
}

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

.page-gdpr__section--cta {
    text-align: center;
    padding-bottom: 60px;
}

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

.page-gdpr__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-gdpr__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

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

.page-gdpr__btn-secondary:hover {
    background: var(--okplay-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__contact-info {
    font-size: 1.1em;
    margin-top: 20px;
    color: var(--okplay-text-main);
}

.page-gdpr__contact-email {
    font-size: 1.1em;
    margin-top: 10px;
    color: var(--okplay-text-main);
}

.page-gdpr__link {
    color: var(--okplay-accent);
    text-decoration: underline;
    transition: color 0.3s ease;
}

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


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

    .page-gdpr__hero-section {
        padding-bottom: 20px;
    }

    .page-gdpr__main-title {
        font-size: 2em; /* Adjusted for smaller screens */
        max-width: 95%;
    }

    .page-gdpr__intro-text {
        font-size: 1em;
    }

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

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

    .page-gdpr__sub-title {
        font-size: 1.3em;
        margin-top: 20px;
    }

    .page-gdpr__content-grid {
        grid-template-columns: 1fr; /* Stack columns on mobile */
        gap: 30px;
        margin-bottom: 30px;
    }

    .page-gdpr__content-grid--two-col {
        grid-template-columns: 1fr;
    }

    .page-gdpr__content-grid--reverse {
        direction: ltr; /* Reset direction for mobile stacking */
    }

    .page-gdpr__image-wrapper {
        order: -1; /* Image appears above text on mobile for reversed grids */
    }

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

    .page-gdpr__hero-image-wrapper,
    .page-gdpr__image-wrapper,
    .page-gdpr__container,
    .page-gdpr__content-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px; /* Add padding to content containers */
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Mobile button adaptation */
    .page-gdpr__button-group {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding-left: 15px;
        padding-right: 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;
    }
}