/* style/privacy-policy.css */

/* Custom Variables from provided color scheme */
:root {
    --b88-primary-color: #11A84E;
    --b88-secondary-color: #22C768;
    --b88-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --b88-card-bg: #11271B;
    --b88-background-color: #08160F;
    --b88-text-main: #F2FFF6;
    --b88-text-secondary: #A7D9B8;
    --b88-border-color: #2E7A4E;
    --b88-glow-color: #57E38D;
    --b88-gold-color: #F2C14E;
    --b88-divider-color: #1E3A2A;
    --b88-deep-green: #0A4B2C;
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
    color: var(--b88-text-main);
    text-align: center;
    overflow: hidden; /* Ensure content doesn't spill */
}

.page-privacy-policy__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure image covers the area */
    filter: brightness(0.4); /* Darken image for better text contrast */
    display: block;
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 450px; /* Ensure sufficient height */
}

.page-privacy-policy__main-title {
    font-size: 3.2em;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--b88-gold-color); /* Use gold for main title for prominence */
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 90%;
}

.page-privacy-policy__intro-text {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: var(--b88-text-main);
    max-width: 80%;
}

/* CTA Buttons in Hero */
.page-privacy-policy__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
    max-width: 500px; /* Limit button group width */
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__btn-primary {
    background: var(--b88-btn-gradient);
    color: var(--b88-text-main);
    border: none;
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

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

.page-privacy-policy__btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Main Content Wrapper */
.page-privacy-policy__content-wrapper {
    padding: 60px 0;
    background-color: var(--b88-background-color);
    color: var(--b88-text-main);
}

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

.page-privacy-policy__article {
    background-color: var(--b88-card-bg); /* Dark card background */
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--b88-border-color);
}

.page-privacy-policy__section {
    margin-bottom: 40px;
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: var(--b88-gold-color);
    margin-bottom: 25px;
    border-bottom: 2px solid var(--b88-divider-color);
    padding-bottom: 15px;
    font-weight: bold;
}

.page-privacy-policy__sub-title {
    font-size: 1.6em;
    color: var(--b88-secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-privacy-policy__text-block {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--b88-text-main);
}

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

.page-privacy-policy__list-item {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-privacy-policy__list-item strong {
    color: var(--b88-text-secondary); /* Slightly different shade for emphasis */
}

.page-privacy-policy__link {
    color: var(--b88-glow-color); /* Use glow color for links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
    color: var(--b88-gold-color);
}

.page-privacy-policy__image-figure {
    margin: 30px 0;
    text-align: center;
}

.page-privacy-policy__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    display: block;
    margin: 0 auto;
}

.page-privacy-policy__image-caption {
    font-style: italic;
    color: var(--b88-text-secondary);
    margin-top: 10px;
    font-size: 0.95em;
}

/* Final CTA Section */
.page-privacy-policy__cta-section {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--b88-deep-green); /* Use a darker green for this section */
    color: var(--b88-text-main);
    border-top: 2px solid var(--b88-border-color);
}

.page-privacy-policy__cta-title {
    font-size: 2.8em;
    color: var(--b88-gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

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

/* Responsive Design for Mobile (max-width: 768px) */
@media (max-width: 768px) {
    /* --- Specific mobile adaptations for Privacy Policy page elements --- */
    .page-privacy-policy__hero-content {
        padding: 60px 15px;
        min-height: 300px;
    }

    .page-privacy-policy__main-title {
        font-size: 2em;
        margin-bottom: 15px;
        max-width: 100%;
    }

    .page-privacy-policy__intro-text {
        font-size: 1em;
        margin-bottom: 30px;
        max-width: 100%;
    }

    /* --- Universal Button Responsive Adaptaions (per requirement) --- */
    .page-privacy-policy__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100%;
        padding: 0 15px; /* Add padding to container */
        box-sizing: border-box;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-privacy-policy__content-wrapper {
        padding: 40px 0;
    }

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

    .page-privacy-policy__article {
        padding: 20px;
    }

    .page-privacy-policy__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

    .page-privacy-policy__sub-title {
        font-size: 1.4em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-privacy-policy__text-block,
    .page-privacy-policy__list-item {
        font-size: 1em;
    }

    .page-privacy-policy__cta-section {
        padding: 50px 15px;
    }

    .page-privacy-policy__cta-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-privacy-policy__cta-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    /* --- Universal Image Responsive Adaptaions (per requirement) --- */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Ensure all image containers are responsive */
    .page-privacy-policy__hero-image-wrapper,
    .page-privacy-policy__image-figure {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Ensure all sections/containers containing text or images adapt */
    .page-privacy-policy__section,
    .page-privacy-policy__article,
    .page-privacy-policy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /*
     * IMPORTANT: The '移动端 @media (max-width: 768px) 必写清单' in the prompt
     * lists modules typically found on an index page (e.g., hero carousel,
     * 5 guide cards, home_content box, blog grid).
     * As this is a 'Chính sách bảo mật' (Privacy Policy) page and NOT an index page,
     * and given the rule '禁止在非首页复制首页四段式全套',
     * these specific index-page-only modules are NOT present in this HTML.
     * Therefore, their corresponding specific @media rules are NOT included.
     * General responsive rules for images and buttons, and specific adaptations
     * for the privacy policy page's content structure, ARE included above
     * to ensure full mobile responsiveness as per the general requirements.
     */
}