/* style/privacy-policy.css */

/* Custom Colors */
:root {
    --f168-main-color: #11A84E; /* Primary Green */
    --f168-accent-color: #22C768; /* Secondary Green */
    --f168-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --f168-card-bg: #11271B; /* Dark Green for cards */
    --f168-background: #08160F; /* Deep Green for main background */
    --f168-text-main: #F2FFF6; /* Light text for dark backgrounds */
    --f168-text-secondary: #A7D9B8; /* Lighter green text */
    --f168-border: #2E7A4E; /* Green border */
    --f168-glow: #57E38D; /* Green glow */
    --f168-gold: #F2C14E; /* Gold accent */
    --f168-divider: #1E3A2A; /* Darker green divider */
    --f168-deep-green: #0A4B2C; /* Even deeper green */
}

.page-privacy-policy {
    background-color: var(--f168-background);
    color: var(--f168-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 50px; /* Ensure space above footer */
}

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 40px 0; /* Small top padding, more bottom padding */
    background-color: var(--f168-background);
    overflow: hidden;
}

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

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

.page-privacy-policy__hero-content {
    max-width: 900px;
    width: 100%;
    text-align: center;
    padding: 30px 20px;
    box-sizing: border-box;
    margin-top: 30px; /* Positive margin to separate from image */
    position: relative;
    z-index: 1;
    background: var(--f168-background);
    border-radius: 10px;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
    color: var(--f168-text-main);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.3); /* Soft glow */
}

.page-privacy-policy__hero-description {
    font-size: clamp(1em, 1.5vw, 1.2em);
    color: var(--f168-text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.page-privacy-policy__content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
    background-color: var(--f168-background);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
    color: var(--f168-accent-color);
    margin-top: 40px;
    margin-bottom: 25px;
    font-weight: bold;
    text-align: center;
    border-bottom: 2px solid var(--f168-divider);
    padding-bottom: 15px;
    text-shadow: 0 0 8px rgba(34, 199, 104, 0.2);
}

.page-privacy-policy__sub-title {
    font-size: clamp(1.3em, 2.5vw, 1.8em);
    color: var(--f168-main-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-privacy-policy__paragraph {
    font-size: 1.05em;
    color: var(--f168-text-main);
    margin-bottom: 15px;
    text-align: justify;
}

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

.page-privacy-policy__list-item {
    margin-bottom: 10px;
    color: var(--f168-text-secondary);
}

.page-privacy-policy__list-item strong {
    color: var(--f168-text-main);
}

.page-privacy-policy__image {
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: block; /* Ensures block behavior for margin auto */
}

.page-privacy-policy__image--left {
    float: left;
    margin-right: 25px;
    margin-bottom: 15px;
}

.page-privacy-policy__image--right {
    float: right;
    margin-left: 25px;
    margin-bottom: 15px;
}

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

.page-privacy-policy__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: var(--f168-button-gradient);
    color: #ffffff; /* White text for button */
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--f168-glow);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 60px 20px;
    box-sizing: border-box;
    background-color: var(--f168-card-bg); /* Darker background for FAQ section */
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__faq-list {
    margin-top: 30px;
}

.page-privacy-policy__faq-item {
    background-color: var(--f168-deep-green); /* Slightly lighter dark green for each item */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid var(--f168-border);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--f168-text-main);
    background-color: var(--f168-deep-green);
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: var(--f168-main-color);
}

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--f168-glow);
    transition: transform 0.3s ease;
}

details[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg);
}

.page-privacy-policy__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: var(--f168-text-secondary);
    line-height: 1.5;
}

.page-privacy-policy__faq-answer p {
    margin: 0;
}

/* Clear floats for images */
.page-privacy-policy__content-area::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-content {
        margin-top: 20px;
    }
}

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

    .page-privacy-policy__hero-content {
        margin-top: 20px;
    }

    .page-privacy-policy__main-title {
        font-size: 2.2em;
    }

    .page-privacy-policy__hero-description {
        font-size: 1em;
    }

    .page-privacy-policy__section-title {
        font-size: 2em;
    }

    .page-privacy-policy__sub-title {
        font-size: 1.5em;
    }

    /* Mobile image responsive */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        float: none !important; /* Remove float on mobile */
        margin: 20px auto !important; /* Center images */
    }

    /* Mobile button responsive */
    .page-privacy-policy__cta-button,
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary,
    .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;
    }

    /* Button containers for mobile */
    .page-privacy-policy__cta-buttons,
    .page-privacy-policy__button-group,
    .page-privacy-policy__btn-container,
    .page-privacy-policy__cta-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    /* Content area padding for mobile */
    .page-privacy-policy__content-area,
    .page-privacy-policy__faq-section {
        padding-left: 15px;
        padding-right: 15px;
    }

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

@media (max-width: 480px) {
    .page-privacy-policy__main-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__section-title {
        font-size: 1.6em;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.3em;
    }
    .page-privacy-policy__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-privacy-policy__faq-answer {
        padding: 0 20px 15px 20px;
    }
}