/* style/privacy-policy.css */

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

.page-privacy-policy {
    background-color: var(--e88-background);
    color: var(--e88-text-main);
    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;
    justify-content: center;
    padding: 10px 20px 60px; /* Small top padding, larger bottom for content */
    text-align: center;
    overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px; /* Space between image and content */
}

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

.page-privacy-policy__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
    z-index: 1; /* Ensure content is above image if any overlap occurs (though not intended) */
}

.page-privacy-policy__main-title {
    color: var(--e88-gold);
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__description {
    font-size: 1.1em;
    color: var(--e88-text-secondary);
    margin-bottom: 30px;
}

.page-privacy-policy__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-privacy-policy__btn-primary {
    background: var(--e88-button-gradient);
    color: var(--e88-text-main);
    border: 2px solid transparent;
}

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

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

.page-privacy-policy__btn-secondary:hover {
    background: rgba(var(--e88-primary-color), 0.1);
    color: var(--e88-glow);
    border-color: var(--e88-glow);
}

.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--e88-background);
    color: var(--e88-text-main);
}

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

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

.page-privacy-policy p {
    margin-bottom: 1em;
    color: var(--e88-text-main);
}

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

.page-privacy-policy__list li {
    margin-bottom: 0.5em;
    color: var(--e88-text-main);
}

.page-privacy-policy__list li strong {
    color: var(--e88-text-secondary);
}

.page-privacy-policy__image-content {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin: 30px 0;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-privacy-policy__text-link {
    color: var(--e88-glow);
    text-decoration: underline;
}

.page-privacy-policy__text-link:hover {
    color: var(--e88-gold);
}

/* FAQ Section */
.page-privacy-policy__faq-list {
    margin-top: 30px;
}

.page-privacy-policy__faq-item {
    background-color: var(--e88-card-bg);
    border: 1px solid var(--e88-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--e88-text-main);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: bold;
    color: var(--e88-text-main);
    background-color: var(--e88-deep-green);
    border-bottom: 1px solid var(--e88-border);
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
    background-color: var(--e88-primary-color);
}

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

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
    color: var(--e88-text-main);
}

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

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    color: var(--e88-text-main);
}

.page-privacy-policy__faq-answer {
    padding: 15px 20px;
    color: var(--e88-text-secondary);
    background-color: var(--e88-card-bg);
}

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

/* Hide default details marker */
.page-privacy-policy__faq-item > summary {
    list-style: none;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: 2.5em;
    }

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

@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;
    }

    .page-privacy-policy__main-title {
        font-size: 1.8em; /* Adjusted for mobile */
        margin-bottom: 15px;
    }

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

    .page-privacy-policy__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        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;
    }

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

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

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

    .page-privacy-policy__image-content {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
        box-sizing: border-box !important;
    }

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

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

    .page-privacy-policy__faq-toggle {
        font-size: 1.2em;
    }

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

@media (max-width: 480px) {
    .page-privacy-policy__main-title {
        font-size: 1.6em;
    }

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