/* style/privacy-policy.css */

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

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

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--loto66-deep-green);
    overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

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

.page-privacy-policy__hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-privacy-policy__main-title {
    color: var(--loto66-gold);
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__hero-description {
    color: var(--loto66-text-secondary);
    font-size: clamp(1em, 1.5vw, 1.2em);
    margin-bottom: 30px;
}

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

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

.page-privacy-policy__section-title {
    color: var(--loto66-gold);
    font-size: 2.2em;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--loto66-divider);
    padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
    color: var(--loto66-text-main);
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-privacy-policy__text-block {
    color: var(--loto66-text-secondary);
    margin-bottom: 15px;
    font-size: 1em;
}

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

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

.page-privacy-policy a {
    color: var(--loto66-glow);
    text-decoration: none;
}

.page-privacy-policy a:hover {
    text-decoration: underline;
}

.page-privacy-policy__btn-primary {
    background: var(--loto66-btn-gradient);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

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

.page-privacy-policy__faq-list {
    margin-top: 30px;
    border: 1px solid var(--loto66-border);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--loto66-card-bg);
}

.page-privacy-policy__faq-item {
    border-bottom: 1px solid var(--loto66-divider);
    color: var(--loto66-text-main);
}

.page-privacy-policy__faq-item:last-child {
    border-bottom: none;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--loto66-text-main);
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--loto66-glow);
    margin-left: 15px;
}

.page-privacy-policy__faq-answer {
    padding: 0 20px 20px;
    color: var(--loto66-text-secondary);
    font-size: 0.95em;
    line-height: 1.6;
}

/* Details tag specific styles for native expand/collapse */
.page-privacy-policy__faq-item[open] > .page-privacy-policy__faq-question {
    background-color: rgba(255, 255, 255, 0.05);
}

.page-privacy-policy__faq-item details > summary {
    list-style: none;
}

.page-privacy-policy__faq-item details > summary::-webkit-details-marker {
    display: none;
}

.page-privacy-policy__cta-wrapper {
    text-align: center;
    padding: 50px 20px;
    background-color: var(--loto66-card-bg);
    border-radius: 8px;
    margin-top: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__cta-text {
    color: var(--loto66-text-main);
    font-size: 1.5em;
    margin-bottom: 30px;
    font-weight: bold;
}

/* --- Responsive Styles --- */

/* Mobile specific styles */
@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 14px;
        line-height: 1.5;
    }

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

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

    .page-privacy-policy__hero-description {
        font-size: clamp(0.9em, 3.5vw, 1.1em);
        margin-bottom: 20px;
    }

    .page-privacy-policy__content-area {
        padding: 30px 15px;
    }

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

    .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: 0.95em;
    }

    .page-privacy-policy__list {
        margin-left: 15px;
    }

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

    .page-privacy-policy__faq-answer {
        padding: 0 15px 15px;
        font-size: 0.9em;
    }

    .page-privacy-policy__cta-wrapper {
        padding: 30px 15px;
        margin-top: 30px;
    }

    .page-privacy-policy__cta-text {
        font-size: 1.2em;
        margin-bottom: 20px;
    }

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

    /* Image responsive adaptions */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-privacy-policy__hero-section .page-privacy-policy__hero-image-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    .page-privacy-policy__cta-wrapper {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Ensure image color filters are not applied */
.page-privacy-policy img {
    filter: none;
}