/* style/privacy-policy.css */

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

/* Base styles for the privacy policy page */
.page-privacy-policy {
    background-color: var(--sking88-background); /* Dark background */
    color: var(--sking88-text-main); /* Light text for dark background */
    font-family: 'Arial', sans-serif; /* Example font */
    line-height: 1.6;
    padding-bottom: 80px; /* Space for floating buttons */
}

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

.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--sking88-deep-green); /* A darker green for hero */
    color: var(--sking88-text-main);
}

.page-privacy-policy__hero-image {
    width: 100%;
    max-width: 1200px; /* Match container max-width */
    height: auto;
    display: block;
    margin-top: 30px; /* Space between text and image */
    border-radius: 8px;
    object-fit: cover;
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    margin-bottom: 30px;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--sking88-gold); /* Gold color for main title */
}

.page-privacy-policy__description {
    font-size: 1.1em;
    color: var(--sking88-text-secondary);
}

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

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

.page-privacy-policy__section-title {
    font-size: 2.2em;
    font-weight: 600;
    color: var(--sking88-primary); /* Primary color for section titles */
    margin-bottom: 30px;
    text-align: center;
}

.page-privacy-policy__sub-title {
    font-size: 1.6em;
    font-weight: 500;
    color: var(--sking88-secondary); /* Secondary color for sub-titles */
    margin-top: 40px;
    margin-bottom: 20px;
}

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

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

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

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

.page-privacy-policy a {
    color: var(--sking88-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.page-privacy-policy__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    background-color: var(--sking88-card-bg); /* Card background for FAQ section */
    padding: 60px 0;
    border-bottom: none;
}

.page-privacy-policy__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-privacy-policy__faq-item {
    background-color: var(--sking88-background); /* Darker background for each FAQ item */
    border: 1px solid var(--sking88-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--sking88-text-main);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    color: var(--sking88-gold); /* Gold for FAQ questions */
    background-color: var(--sking88-deep-green); /* Deep green for question background */
}

.page-privacy-policy__faq-question::-webkit-details-marker {
    display: none;
}

.page-privacy-policy__faq-question::marker {
    display: none;
}

.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(--sking88-gold);
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    content: "−";
}

.page-privacy-policy__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: var(--sking88-text-secondary); /* Secondary text for answers */
}

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

/* Floating Buttons */
.page-privacy-policy__floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.page-privacy-policy__btn-floating {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    color: var(--sking88-text-main);
    background: var(--sking88-button-gradient);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 120px;
}

.page-privacy-policy__btn-floating:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-content {
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles --header-offset, small decorative top padding */
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

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

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

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

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

    .page-privacy-policy__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Images responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Image containers responsiveness */
    .page-privacy-policy__hero-section,
    .page-privacy-policy__introduction,
    .page-privacy-policy__data-collection,
    .page-privacy-policy__data-usage,
    .page-privacy-policy__data-sharing,
    .page-privacy-policy__cookies,
    .page-privacy-policy__user-rights,
    .page-privacy-policy__data-security-measures,
    .page-privacy-policy__policy-changes,
    .page-privacy-policy__contact-us,
    .page-privacy-policy__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Floating buttons responsiveness */
    .page-privacy-policy__floating-buttons {
        flex-direction: row;
        width: calc(100% - 40px); /* Account for 20px padding on each side */
        left: 20px;
        right: 20px;
        bottom: 15px;
        justify-content: space-around;
        gap: 8px;
    }

    .page-privacy-policy__btn-floating {
        flex-grow: 1;
        max-width: 50% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 10px 15px;
        font-size: 1em;
        min-width: unset; /* Allow buttons to shrink */
    }

    .page-privacy-policy__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-privacy-policy__faq-answer {
        padding: 0 20px 15px;
    }
}