/* style/privacy-policy.css */

/* Base styles */
.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0d1117; /* Matches body background from shared.css */
}

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

.page-privacy-policy__dark-bg {
    background-color: #1A202C;
    color: #ffffff;
}

.page-privacy-policy__light-bg {
    background-color: #ffffff;
    color: #333333;
}

/* Hero Section */
.page-privacy-policy__hero-section {
    padding: 80px 0;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background-image: url('[GALLERY:hero_privacy:1920x1080:abstract security,data encryption,safe lock,online gambling,roy_bet_club,vietnam]');
    background-size: cover;
    background-position: center;
    position: relative;
    color: #ffffff;
}

.page-privacy-policy__hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.page-privacy-policy__hero-section > .page-privacy-policy__container {
    position: relative;
    z-index: 2;
}

.page-privacy-policy__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-privacy-policy__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__hero-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Content Area */
.page-privacy-policy__content-area {
    padding: 60px 0;
    background-color: #0d1117;
    color: #ffffff;
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: #FFD700;
    margin-bottom: 30px;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
    font-size: 1.8em;
    color: #ffffff;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-privacy-policy__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-privacy-policy__text-link {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy__text-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.page-privacy-policy__list {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-privacy-policy__list-item {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-privacy-policy__nested-list {
    list-style: circle inside;
    margin-top: 10px;
    padding-left: 20px;
}

.page-privacy-policy__nested-list-item {
    margin-bottom: 5px;
    font-size: 1em;
    color: #e0e0e0;
}

.page-privacy-policy__image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    min-width: 200px;
    min-height: 200px;
}

/* Buttons */
.page-privacy-policy__btn-primary {
    background-color: #FFD700;
    color: #1A202C;
    border: 2px solid #FFD700;
}

.page-privacy-policy__btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-privacy-policy__btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-privacy-policy__btn-secondary:hover {
    background-color: #FFD700;
    color: #1A202C;
    transform: translateY(-2px);
}

/* CTA Section */
.page-privacy-policy__cta-section {
    padding: 60px 0;
    text-align: center;
    background-color: #1A202C;
    color: #ffffff;
}

.page-privacy-policy__flex-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-privacy-policy__cta-title {
    font-size: 2.5em;
    color: #FFD700;
    margin-bottom: 20px;
}

.page-privacy-policy__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 900px;
}

.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    margin-top: 60px;
    border-top: 2px solid #1A202C;
    padding-top: 40px;
}

.page-privacy-policy__faq-item {
    background-color: #1A202C;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #1A202C;
    color: #FFD700;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

.page-privacy-policy__faq-heading {
    margin: 0;
    color: inherit;
    font-size: inherit;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-privacy-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #2b3547;
    color: #f0f0f0;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px;
}

.page-privacy-policy__faq-answer p {
    margin-bottom: 15px;
    color: #f0f0f0;
}

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

    .page-privacy-policy__container {
        padding: 0 15px;
    }

    .page-privacy-policy__hero-section {
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important;
    }

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

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

    .page-privacy-policy__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-privacy-policy__content-area {
        padding: 40px 0;
    }

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

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

    .page-privacy-policy__text-block,
    .page-privacy-policy__list-item,
    .page-privacy-policy__nested-list-item {
        font-size: 0.95em;
    }

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

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

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

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

    .page-privacy-policy__cta-button {
        padding: 12px 25px;
        font-size: 1.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__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }

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

    .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
        padding: 15px;
    }
    
    /* Ensure all content containers are responsive */
    .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;
    }
    /* Specific override for hero section container to ensure text alignment */
    .page-privacy-policy__hero-section > .page-privacy-policy__container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Contrast Fixes */
.page-privacy-policy__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-privacy-policy__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}