/* style/privacy-policy.css */

/* Variables based on the color scheme */
:root {
    --vip777-primary-color: #F2C14E;
    --vip777-secondary-color: #FFD36B;
    --vip777-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --vip777-card-bg: #111111;
    --vip777-background-color: #0A0A0A;
    --vip777-text-main: #FFF6D6;
    --vip777-border-color: #3A2A12;
    --vip777-glow-color: #FFD36B;
}

.page-privacy-policy {
    background-color: var(--vip777-background-color);
    color: var(--vip777-text-main); /* Main text color for the page */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 50px; /* Add some padding at the bottom */
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    box-sizing: border-box;
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 40px; /* Space between image and text */
}

.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;
    margin: 0 auto;
    padding: 0 20px;
    position: relative; /* Ensure text is not absolutely positioned over image */
    z-index: 1;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    color: var(--vip777-secondary-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-privacy-policy__lead-text {
    font-size: 1.2em;
    color: var(--vip777-text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: center;
    gap: 20px;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Ensure button doesn't overflow */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.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(--vip777-secondary-color);
    border: 2px solid var(--vip777-secondary-color);
}

.page-privacy-policy__btn-secondary:hover {
    background: rgba(255, 211, 107, 0.1);
    transform: translateY(-3px);
}

/* Content Sections */
.page-privacy-policy__content-section {
    padding: 60px 20px;
    box-sizing: border-box;
}

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

.page-privacy-policy__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: var(--vip777-primary-color);
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
    line-height: 1.3;
}

.page-privacy-policy__sub-section-title {
    font-size: 1.6em;
    color: var(--vip777-secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-privacy-policy__paragraph {
    font-size: 1.05em;
    margin-bottom: 1em;
    color: var(--vip777-text-main);
}

.page-privacy-policy ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 1.5em;
    color: var(--vip777-text-main);
}

.page-privacy-policy ul li {
    margin-bottom: 0.5em;
    font-size: 1.05em;
}

.page-privacy-policy a {
    color: var(--vip777-secondary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
    color: #ffffff;
}

.page-privacy-policy__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    max-width: 800px; /* Constrain image width */
    object-fit: cover;
}

.page-privacy-policy__contact-info {
    background-color: var(--vip777-card-bg);
    border: 1px solid var(--vip777-border-color);
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
    color: var(--vip777-text-main);
}

.page-privacy-policy__contact-info p {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-privacy-policy__contact-info strong {
    color: var(--vip777-secondary-color);
}

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

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

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #1a1a1a; /* Slightly lighter than card bg for question */
    color: var(--vip777-text-main);
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: #2a2a2a;
}

.page-privacy-policy__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--vip777-secondary-color);
}

.page-privacy-policy__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--vip777-primary-color);
    transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Plus sign rotates to form an X or minus */
}

.page-privacy-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px; /* Initial padding for collapsed state */
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--vip777-text-main);
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content, !important for override */
    padding: 20px 25px !important; /* Padding for expanded state */
}

.page-privacy-policy__faq-answer p {
    margin-bottom: 0; /* Remove extra margin from last paragraph in answer */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-image-wrapper {
        margin-bottom: 30px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }
    .page-privacy-policy__lead-text {
        font-size: 1.1em;
    }
    .page-privacy-policy__section-title {
        font-size: 2em;
    }
    .page-privacy-policy__sub-section-title {
        font-size: 1.5em;
    }
}

@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 {
        margin-bottom: 20px;
    }
    .page-privacy-policy__hero-content {
        padding: 0 15px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
    }
    .page-privacy-policy__lead-text {
        font-size: 1em;
    }
    .page-privacy-policy__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Ensure buttons don't touch edges */
    }
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-privacy-policy__content-section {
        padding: 40px 15px;
    }
    .page-privacy-policy__container {
        padding: 0 15px;
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-privacy-policy__sub-section-title {
        font-size: 1.3em;
        margin-top: 25px;
        margin-bottom: 10px;
    }
    .page-privacy-policy__paragraph,
    .page-privacy-policy ul li {
        font-size: 0.95em;
    }

    /* Mobile image adaptation */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important; /* Ensure block display for max-width to work */
    }
    .page-privacy-policy__hero-image-wrapper,
    .page-privacy-policy__content-image,
    .page-privacy-policy__container,
    .page-privacy-policy__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-privacy-policy__faq-question {
        padding: 15px 20px;
    }
    .page-privacy-policy__faq-question h3 {
        font-size: 1.1em;
    }
    .page-privacy-policy__faq-answer {
        padding: 15px 20px;
    }
    .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
        padding: 15px 20px !important;
    }
}

@media (max-width: 480px) {
    .page-privacy-policy__cta-buttons {
        gap: 10px;
    }
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        padding: 10px 15px;
        font-size: 0.95em;
    }
    .page-privacy-policy__section-title {
        font-size: 1.5em;
    }
    .page-privacy-policy__sub-section-title {
        font-size: 1.2em;
    }
    .page-privacy-policy__faq-question h3 {
        font-size: 1em;
    }
}