/* style/privacy-policy.css */

/* Root variables for colors */
:root {
    --okbet-primary-color: #F2C14E;
    --okbet-secondary-color: #FFD36B;
    --okbet-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --okbet-card-bg: #111111;
    --okbet-background: #0A0A0A;
    --okbet-text-main: #FFF6D6;
    --okbet-border: #3A2A12;
    --okbet-glow: #FFD36B;
}

/* Base styles for the privacy policy page */
.page-privacy-policy {
    background-color: var(--okbet-background); /* Dark background */
    color: var(--okbet-text-main); /* Light text for contrast */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 50px; /* Ensure space above footer */
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0 60px 0; /* Minimal top padding, rely on body for header offset */
    color: var(--okbet-text-main);
    overflow: hidden;
    background-color: var(--okbet-card-bg); /* Dark background for hero */
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    position: relative;
    order: 1; /* Image appears first in DOM */
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px; /* Limit height for aesthetic */
    opacity: 0.7;
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 10;
    padding: 40px 20px;
    max-width: 900px;
    order: 2; /* Content appears after image in DOM */
    margin-top: -100px; /* Pull content up slightly over image for visual flow, but not *on* the image */
    background: linear-gradient(to bottom, rgba(17, 17, 17, 0.8), var(--okbet-background));
    border-radius: 10px;
}

.page-privacy-policy__main-title {
    color: var(--okbet-primary-color);
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.4);
    /* No fixed font-size for H1, relying on responsive scaling */
}

.page-privacy-policy__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--okbet-text-main);
}

.page-privacy-policy__hero-button {
    display: inline-block;
    background: var(--okbet-button-gradient);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-privacy-policy__hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

/* Content Sections */
.page-privacy-policy__content-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--okbet-border);
}

.page-privacy-policy__dark-section {
    background-color: var(--okbet-background);
    color: var(--okbet-text-main);
}

.page-privacy-policy__section-title {
    color: var(--okbet-primary-color);
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 8px rgba(255, 211, 107, 0.3);
}

.page-privacy-policy__sub-title {
    color: var(--okbet-secondary-color);
    font-size: 1.8em;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--okbet-border);
    padding-bottom: 10px;
}

.page-privacy-policy__paragraph {
    margin-bottom: 15px;
    color: var(--okbet-text-main);
}

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

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

.page-privacy-policy__link,
.page-privacy-policy__inline-link {
    color: var(--okbet-secondary-color);
    text-decoration: none;
    border-bottom: 1px solid var(--okbet-secondary-color);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.page-privacy-policy__link:hover,
.page-privacy-policy__inline-link:hover {
    color: #ffffff;
    border-color: #ffffff;
}

.page-privacy-policy__image-inline {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 211, 107, 0.2);
    min-width: 200px;
    min-height: 200px;
}

/* CTA Block */
.page-privacy-policy__cta-block {
    background-color: var(--okbet-card-bg);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 0 25px rgba(255, 211, 107, 0.15);
}

.page-privacy-policy__cta-title {
    color: var(--okbet-primary-color);
    font-size: 2em;
    margin-bottom: 15px;
}

.page-privacy-policy__cta-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--okbet-text-main);
}

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

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__btn-primary {
    background: var(--okbet-button-gradient);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
    border: 2px solid transparent;
}

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

.page-privacy-policy__btn-secondary {
    background: transparent;
    color: var(--okbet-primary-color);
    border: 2px solid var(--okbet-primary-color);
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-privacy-policy__btn-secondary:hover {
    transform: translateY(-3px);
    background-color: var(--okbet-primary-color);
    color: #111111;
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    padding: 60px 0;
    background-color: var(--okbet-background);
}

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

.page-privacy-policy__faq-item {
    background-color: var(--okbet-card-bg);
    border: 1px solid var(--okbet-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-item:hover {
    background-color: #1a1a1a;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    color: var(--okbet-text-main);
    font-weight: bold;
}

.page-privacy-policy__faq-heading {
    font-size: 1.2em;
    margin: 0;
    color: var(--okbet-text-main);
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--okbet-primary-color);
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
    transform: rotate(45deg);
    color: var(--okbet-secondary-color);
}

.page-privacy-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--okbet-text-main);
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 1000px !important; /* Use !important to ensure override */
    padding: 15px 25px 20px 25px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: 2.8em;
    }
    .page-privacy-policy__section-title {
        font-size: 2em;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.5em;
    }
    .page-privacy-policy__hero-content {
        margin-top: -80px;
    }
}

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

    .page-privacy-policy__hero-section {
        padding: 10px 0 40px 0;
    }

    .page-privacy-policy__hero-content {
        padding: 30px 15px;
        margin-top: -60px;
    }

    .page-privacy-policy__main-title {
        font-size: 2.2em;
    }

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

    .page-privacy-policy__hero-button {
        padding: 12px 25px;
    }

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

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

    .page-privacy-policy__paragraph {
        font-size: 0.95em;
    }

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

    .page-privacy-policy__image-inline {
        margin: 20px auto;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-privacy-policy__cta-block {
        padding: 30px 15px;
        margin-top: 40px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__cta-title {
        font-size: 1.5em;
    }

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

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

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-privacy-policy__faq-heading {
        font-size: 1.1em;
    }

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

    .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
        padding: 10px 20px 15px 20px;
    }

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

@media (max-width: 480px) {
    .page-privacy-policy__main-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__section-title {
        font-size: 1.5em;
    }
    .page-privacy-policy__hero-content {
        margin-top: -40px;
    }
    .page-privacy-policy__cta-title {
        font-size: 1.3em;
    }
}