:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient-start: #2AD16F;
    --button-gradient-end: #13994A;
    --card-bg: #11271B;
    --background: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow: #57E38D;
    --gold: #F2C14E;
    --divider: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Light text on dark background */
    background-color: var(--background); /* Dark background */
}

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

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    max-height: 500px; /* Limit height for hero image */
    object-fit: cover;
    display: block;
    margin-bottom: 20px; /* Space between image and content */
}

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

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-privacy-policy__hero-description {
    font-size: 1.1em;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 30px;
}

.page-privacy-policy__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--divider);
}

.page-privacy-policy__section:last-of-type {
    border-bottom: none;
}

.page-privacy-policy__dark-section {
    background-color: var(--card-bg); /* Use card background for dark sections */
}

.page-privacy-policy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-privacy-policy__section-title {
    font-size: 2.5em;
    color: var(--gold); /* Use gold for section titles for prominence */
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.page-privacy-policy__sub-title {
    font-size: 1.8em;
    color: var(--text-main);
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-privacy-policy p {
    margin-bottom: 20px;
    color: var(--text-main);
}

.page-privacy-policy a {
    color: var(--glow); /* A slightly brighter green for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
    color: var(--text-main);
    text-decoration: underline;
}

.page-privacy-policy .text-main {
    color: var(--text-main);
    font-weight: bold;
}

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

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

.page-privacy-policy__list li strong {
    color: var(--glow);
}

.page-privacy-policy__content-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.page-privacy-policy__content-grid--reverse {
    flex-direction: row-reverse;
}

.page-privacy-policy__text-block {
    flex: 1;
}

.page-privacy-policy__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-privacy-policy__image-block--center {
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-privacy-policy__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-privacy-policy__cta-wrapper {
    text-align: center;
    margin-top: 40px;
}

.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary {
    background: linear-gradient(180deg, var(--button-gradient-start) 0%, var(--button-gradient-end) 100%);
    color: var(--text-main);
    border: none;
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: var(--text-main); /* Ensure text color remains consistent on hover */
}

/* Ensure contrast for text on specific backgrounds */
.page-privacy-policy__dark-section p,
.page-privacy-policy__dark-section li,
.page-privacy-policy__dark-section h2,
.page-privacy-policy__dark-section h3 {
    color: var(--text-main);
}
.page-privacy-policy__dark-section a {
    color: var(--glow);
}
.page-privacy-policy__dark-section a:hover {
    color: var(--text-secondary);
}

/* --- Responsive Styles --- */
@media (max-width: 992px) {
    .page-privacy-policy__content-grid {
        flex-direction: column;
    }
    .page-privacy-policy__content-grid--reverse {
        flex-direction: column; /* Stacks in reverse for smaller screens */
    }
    .page-privacy-policy__section-title {
        font-size: 2em;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding: 10px 15px;
    }
    .page-privacy-policy__hero-content {
        padding: 0 15px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust clamp for mobile */
    }
    .page-privacy-policy__hero-description {
        font-size: 1em;
    }
    .page-privacy-policy__section {
        padding: 40px 0;
    }
    .page-privacy-policy__container {
        padding: 0 15px;
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.3em;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    /* Mobile image adaptation */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Enforce min size on mobile too */
        min-height: 200px !important; /* Enforce min size on mobile too */
    }
    .page-privacy-policy__section,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-section,
    .page-privacy-policy__data-collection,
    .page-privacy-policy__data-usage,
    .page-privacy-policy__data-sharing,
    .page-privacy-policy__data-security,
    .page-privacy-policy__user-rights,
    .page-privacy-policy__cookies,
    .page-privacy-policy__minors-protection,
    .page-privacy-policy__policy-changes,
    .page-privacy-policy__contact-us {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-privacy-policy__hero-section {
        padding-top: 10px !important; /* body handles header offset */
    }

    /* Mobile button adaptation */
    .page-privacy-policy__cta-button,
    .page-privacy-policy__btn-primary,
    .page-privacy-policy a[class*="button"],
    .page-privacy-policy 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-left: 0 !important; /* Override any horizontal margins */
        margin-right: 0 !important; /* Override any horizontal margins */
    }
    .page-privacy-policy__cta-wrapper {
        display: flex;
        flex-direction: column;
        gap: 15px; /* Space between stacked buttons */
        padding: 0 15px;
    }
}