/* style/privacy-policy.css */

/* Variables from custom color palette */
:root {
    --v6bet-primary-color: #11A84E;
    --v6bet-secondary-color: #22C768;
    --v6bet-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --v6bet-card-bg: #11271B;
    --v6bet-background-color: #08160F; /* Body background from shared.css */
    --v6bet-text-main: #F2FFF6; /* Light text for dark backgrounds */
    --v6bet-text-secondary: #A7D9B8; /* Lighter secondary text */
    --v6bet-border-color: #2E7A4E;
    --v6bet-glow-color: #57E38D;
    --v6bet-gold-color: #F2C14E;
    --v6bet-divider-color: #1E3A2A;
    --v6bet-deep-green: #0A4B2C;
}

.page-privacy-policy {
    color: var(--v6bet-text-main); /* Main text color for the page, suitable for dark body bg */
    background-color: var(--v6bet-background-color); /* Ensure consistency if main is not enough */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    text-align: center;
    overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 20px;
}

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

.page-privacy-policy__hero-content {
    max-width: 900px;
    padding: 0 20px;
    color: var(--v6bet-text-main);
}

.page-privacy-policy__main-title {
    font-size: clamp(28px, 4vw, 48px); /* Responsive font size for H1 */
    color: var(--v6bet-gold-color);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

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

.page-privacy-policy__content-section {
    padding: 40px 20px;
    background-color: var(--v6bet-card-bg); /* Dark background for content sections */
    color: var(--v6bet-text-main); /* Light text on dark background */
    border-bottom: 1px solid var(--v6bet-divider-color);
}

.page-privacy-policy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Inner padding for content */
    box-sizing: border-box;
}

.page-privacy-policy__section-title {
    font-size: clamp(24px, 3vw, 36px);
    color: var(--v6bet-gold-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.page-privacy-policy__text-block {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--v6bet-text-main);
}

.page-privacy-policy__text-block a {
    color: var(--v6bet-secondary-color); /* Link color */
    text-decoration: underline;
}

.page-privacy-policy__text-block a:hover {
    color: var(--v6bet-glow-color);
}

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

.page-privacy-policy__list-item {
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--v6bet-text-main);
}

.page-privacy-policy__list-item strong {
    color: var(--v6bet-gold-color);
}

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

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

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    color: var(--v6bet-text-main);
    background-color: var(--v6bet-deep-green);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

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

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

.page-privacy-policy__faq-toggle {
    font-size: 24px;
    line-height: 1;
    margin-left: 15px;
    color: var(--v6bet-gold-color);
}

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

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

.page-privacy-policy__faq-answer p {
    margin-top: 10px;
    color: var(--v6bet-text-secondary);
}

/* Call to Action Section */
.page-privacy-policy__cta-section {
    text-align: center;
    padding: 50px 20px;
    background-color: var(--v6bet-background-color);
    margin-top: 40px;
    border-top: 1px solid var(--v6bet-divider-color);
}

.page-privacy-policy__cta-text {
    font-size: 22px;
    color: var(--v6bet-gold-color);
    margin-bottom: 30px;
    font-weight: 600;
}

.page-privacy-policy__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: var(--v6bet-button-gradient);
    color: var(--v6bet-text-main); /* White text on button */
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    max-width: 100%; /* For mobile responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

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

    .page-privacy-policy__hero-image-wrapper {
        max-height: 300px;
    }

    .page-privacy-policy__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-privacy-policy__main-title {
        font-size: 30px;
    }

    .page-privacy-policy__description {
        font-size: 16px;
    }

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

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

    .page-privacy-policy__text-block,
    .page-privacy-policy__list-item,
    .page-privacy-policy__faq-answer p {
        font-size: 15px;
    }

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

    .page-privacy-policy__faq-toggle {
        font-size: 20px;
    }

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

    .page-privacy-policy__cta-text {
        font-size: 18px;
    }

    /* Mobile image, video, button responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

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

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