/* style/privacy-policy.css */

/* Variables based on provided color scheme */
:root {
    --bingoplus-primary: #F2C14E;
    --bingoplus-secondary: #FFD36B;
    --bingoplus-bg-dark: #0A0A0A; /* Background */
    --bingoplus-card-bg: #111111; /* Card BG */
    --bingoplus-text-main: #FFF6D6; /* Text Main */
    --bingoplus-border: #3A2A12; /* Border */
    --bingoplus-glow: #FFD36B; /* Glow */
    --bingoplus-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --text-color-light: #ffffff;
    --text-color-dark: #333333;
    /* --header-offset is defined in shared.css and applied to body */
}

/* Base styles for the privacy policy page */
.page-privacy-policy {
    background-color: var(--bingoplus-bg-dark);
    color: var(--bingoplus-text-main); /* Ensure light text on dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Add some padding at the bottom */
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px; /* Small top padding, larger bottom padding */
    overflow: hidden; /* Ensure nothing overflows horizontally */
    text-align: center;
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Constrain hero image height */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Cover the wrapper area */
    filter: brightness(0.7); /* Slightly dim the image to make text pop */
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
    z-index: 1;
    position: relative; /* Ensure content is above any potential background elements */
}

.page-privacy-policy__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    color: var(--bingoplus-primary);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5); /* Soft glow for title */
}

.page-privacy-policy__description {
    font-size: 1.1rem;
    color: var(--bingoplus-text-main);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Ensure long words break */
    text-align: center;
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-privacy-policy__btn-primary {
    background: var(--bingoplus-button-gradient);
    color: var(--text-color-light); /* White text on gradient button */
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-privacy-policy__btn-primary:hover {
    background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
    transform: translateY(-2px);
}

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

.page-privacy-policy__btn-secondary:hover {
    background-color: var(--bingoplus-primary);
    color: var(--text-color-light);
    transform: translateY(-2px);
}

/* General Section Styling */
.page-privacy-policy__section {
    padding: 50px 20px;
    border-bottom: 1px solid var(--bingoplus-border); /* Subtle separator */
}

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

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

.page-privacy-policy__section-title {
    font-size: 2.5rem;
    color: var(--bingoplus-primary);
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(255, 211, 107, 0.3);
}

.page-privacy-policy__sub-title {
    font-size: 1.8rem;
    color: var(--bingoplus-secondary);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

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

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

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

.page-privacy-policy a:not([class*="btn"]) {
    color: var(--bingoplus-secondary); /* Link color */
    text-decoration: underline;
}

.page-privacy-policy a:not([class*="btn"]):hover {
    color: var(--bingoplus-primary);
}

.page-privacy-policy__last-updated {
    text-align: right;
    font-style: italic;
    color: var(--bingoplus-text-main);
    margin-top: 40px;
    font-size: 0.9rem;
}

.page-privacy-policy__contact-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-privacy-policy__contact-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: var(--bingoplus-text-main);
}

.page-privacy-policy__contact-link {
    color: var(--bingoplus-secondary);
    text-decoration: none;
}

.page-privacy-policy__contact-link:hover {
    text-decoration: underline;
    color: var(--bingoplus-primary);
}

/* No FAQ section, so no specific FAQ styling needed */

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

    .page-privacy-policy__hero-section {
        padding: 10px 15px 40px;
    }

    .page-privacy-policy__hero-image-wrapper {
        max-height: 300px;
        margin-bottom: 20px;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
        margin-bottom: 15px;
    }

    .page-privacy-policy__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-privacy-policy__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to container for buttons */
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px;
    }

    .page-privacy-policy__section-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .page-privacy-policy__sub-title {
        font-size: 1.5rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-privacy-policy__container {
        padding: 0 15px;
    }

    /* Images responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-privacy-policy__section,
    .page-privacy-policy__card, /* Although no cards here, good to have */
    .page-privacy-policy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Ensure no filter on images */
.page-privacy-policy img {
    filter: none !important;
}

/* Color contrast enforcement - though my base colors already ensure this */
.page-privacy-policy {
    color: var(--bingoplus-text-main); /* Light text on dark background */
}

/* Specific elements to ensure contrast if background changes */
.page-privacy-policy p,
.page-privacy-policy li {
    color: var(--bingoplus-text-main);
}

/* If there were cards, they would follow the card BG and text color */
/* .page-privacy-policy__card {
    background: var(--bingoplus-card-bg);
    color: var(--bingoplus-text-main);
    border: 1px solid var(--bingoplus-border);
} */

.page-privacy-policy__dark-section { /* Example if a section had a different dark brand color */
    background: var(--bingoplus-primary);
    color: var(--text-color-light); /* Forced white text */
}