/* style/privacy-policy.css */

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

.page-privacy-policy {
    background-color: var(--onbet-background); /* Dark background from custom colors */
    color: var(--onbet-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 */
    text-align: center;
    background-color: var(--onbet-deep-green);
    overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Ensure image wrapper does not exceed max width */
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

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

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    color: var(--onbet-text-main);
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3.2em);
    font-weight: 700;
    color: var(--onbet-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

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

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

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

.page-privacy-policy__btn-primary {
    background: var(--onbet-button-gradient);
    color: #ffffff; /* White text for contrast */
    border: 2px solid transparent;
}

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

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

.page-privacy-policy__btn-secondary:hover {
    background: var(--onbet-green-light);
    color: var(--onbet-background);
    transform: translateY(-2px);
}

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

.page-privacy-policy__section-card {
    background-color: var(--onbet-card-bg);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--onbet-border);
    color: var(--onbet-text-main);
}

.page-privacy-policy__section-title {
    font-size: 2em;
    color: var(--onbet-green-light);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--onbet-divider);
    padding-bottom: 10px;
    font-weight: 600;
}

.page-privacy-policy__subsection-title {
    font-size: 1.5em;
    color: var(--onbet-gold);
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 500;
}

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

.page-privacy-policy ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
    color: var(--onbet-text-secondary);
}

.page-privacy-policy ul li {
    margin-bottom: 8px;
}

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

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

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

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

.page-privacy-policy__faq-item {
    background-color: var(--onbet-deep-green);
    border: 1px solid var(--onbet-border);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    color: var(--onbet-text-main);
}

.page-privacy-policy__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1em;
    color: var(--onbet-green-light);
    background-color: var(--onbet-deep-green);
    transition: background-color 0.3s ease;
}

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

.page-privacy-policy__faq-item summary:hover {
    background-color: rgba(34, 199, 104, 0.1);
}

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

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

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

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-section {
        padding: 40px 15px;
    }

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

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

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

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

    .page-privacy-policy__section-card {
        padding: 25px;
    }
}

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

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

    .page-privacy-policy__hero-image-wrapper {
        margin-bottom: 20px;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.5em, 6vw, 2.2em);
        margin-bottom: 15px;
    }

    .page-privacy-policy__intro-text {
        font-size: 0.95em;
        margin-bottom: 25px;
    }

    .page-privacy-policy__cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }

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

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

    .page-privacy-policy__section-card {
        padding: 20px;
        margin-bottom: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-privacy-policy__subsection-title {
        font-size: 1.2em;
        margin-top: 20px;
        margin-bottom: 10px;
    }

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

    .page-privacy-policy__hero-image-wrapper,
    .page-privacy-policy__content-image-wrapper,
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

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

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