/* style/privacy-policy.css */

/* --- Base Styles --- */
.page-privacy-policy {
    background-color: var(--page-bg, #0A0A0A); /* Assumed dark background */
    color: var(--text-main, #FFF6D6); /* Light text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* General padding for main content */
}

.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;
    padding-top: 10px; /* Small top padding, assuming body handles header offset */
    margin-bottom: 40px;
    background-color: var(--card-bg, #111111);
    border-bottom: 1px solid var(--border-color, #3A2A12);
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-privacy-policy__hero-content {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 3.5vw, 2.8em); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main, #FFF6D6);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.page-privacy-policy__description {
    font-size: 1.1em;
    color: var(--text-main, #FFF6D6);
    margin-bottom: 30px;
}

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

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    min-width: 180px;
    box-sizing: border-box;
    max-width: 100%; /* Button responsive requirement */
    white-space: normal; /* Button responsive requirement */
    word-wrap: break-word; /* Button responsive requirement */
}

.page-privacy-policy__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #ffffff; /* White text for contrast */
    border: none;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-privacy-policy__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-privacy-policy__btn-secondary {
    background: #ffffff;
    color: var(--main-color, #F2C14E);
    border: 2px solid var(--main-color, #F2C14E);
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
}

.page-privacy-policy__btn-secondary:hover {
    background: var(--main-color, #F2C14E);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(242, 193, 78, 0.4);
}

/* --- Content Area --- */
.page-privacy-policy__content-area {
    padding: 40px 0;
    background-color: var(--card-bg, #111111); /* Consistent dark background for content sections */
}

.page-privacy-policy__dark-section {
    background-color: var(--card-bg, #111111);
    color: var(--text-main, #FFF6D6);
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: var(--main-color, #F2C14E);
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
    padding-top: 20px;
}

.page-privacy-policy__sub-title {
    font-size: 1.6em;
    color: var(--aux-color, #FFD36B);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-privacy-policy__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: var(--text-main, #FFF6D6);
}

.page-privacy-policy__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--text-main, #FFF6D6);
}

.page-privacy-policy__list-item {
    margin-bottom: 10px;
}

.page-privacy-policy__content-image {
    width: 100%;
    height: auto;
    max-width: 800px; /* Constrain content images */
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* --- Contact Info --- */
.page-privacy-policy__contact-info {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background-color: var(--card-bg, #111111);
    border: 1px solid var(--border-color, #3A2A12);
    border-radius: 10px;
}

.page-privacy-policy__contact-text {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-main, #FFF6D6);
}

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

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

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--aux-color, #FFD36B);
    transition: background-color 0.3s ease;
    list-style: none; /* Hide default marker for details/summary */
}

.page-privacy-policy__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-privacy-policy__faq-item[open] > .page-privacy-policy__faq-question {
    background-color: rgba(255, 211, 107, 0.1); /* Lighter background when open */
    color: var(--main-color, #F2C14E);
}

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

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Change + to X */
}

.page-privacy-policy__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1.05em;
    color: var(--text-main, #FFF6D6);
    line-height: 1.5;
}

.page-privacy-policy__faq-answer p {
    margin: 0;
}

/* --- General Image Styles (for all images in main content) --- */
.page-privacy-policy img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-privacy-policy__container {
        padding: 0 15px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 4vw, 2.5em);
    }
    .page-privacy-policy__description {
        font-size: 1em;
    }
    .page-privacy-policy__section-title {
        font-size: 2em;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    /* 1. HERO 主图区域 */
    .page-privacy-policy__hero-section {
        padding-top: 10px; /* Keep small top padding */
        margin-bottom: 30px;
    }
    .page-privacy-policy__hero-content {
        margin: 30px auto;
        padding: 0 15px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(1.5em, 6vw, 2em); /* Adjust for smaller screens */
        margin-bottom: 15px;
    }
    .page-privacy-policy__description {
        font-size: 0.95em;
        margin-bottom: 25px;
    }
    .page-privacy-policy__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-privacy-policy__contact-info .page-privacy-policy__btn-primary,
    .page-privacy-policy__contact-info .page-privacy-policy__btn-secondary {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 2. 长文金框区 (Minimal placeholder as it's not present on this page) */
    .page-privacy-policy__home-content {
        /* No specific styling for this page, but keeping the selector */
    }

    /* 3. 游戏轮播 (Minimal placeholder as it's not present on this page) */
    .page-privacy-policy__slider-wrapper {
        /* No specific styling for this page */
    }
    .page-privacy-policy__slider-track {
        display: flex; /* Mandatory flex for slider track */
        flex-wrap: nowrap;
        /* No specific styling for this page */
    }
    .page-privacy-policy__game-slide {
        /* No specific styling for this page */
    }

    /* 4. 合作品牌六宫格 (Minimal placeholder as it's not present on this page) */
    .page-privacy-policy__banners-top-wrapper {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 columns on mobile */
        gap: 12px;
        max-width: 100% !important;
        padding: 0 15px;
        box-sizing: border-box;
        /* No specific styling for this page */
    }
    .page-privacy-policy__banner-item img {
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain;
        margin: 0 auto;
        display: block;
    }

    /* 5. 博客卡片区 (Minimal placeholder as it's not present on this page) */
    .page-privacy-policy__blog-masonry {
        grid-template-columns: 1fr; /* Single column on mobile */
        /* No specific styling for this page */
    }
    .page-privacy-policy__blog-slider-track {
        display: flex; /* Mandatory flex for blog slider track */
        flex-wrap: nowrap;
        /* No specific styling for this page */
    }
    .page-privacy-policy__blog-slide {
        flex: 0 0 100%; /* Full width for blog slides */
        max-width: 100%;
        /* No specific styling for this page */
    }

    /* 6. 通用图片与容器 */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-privacy-policy__content-area {
        padding: 30px 0;
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.3em;
        margin-top: 25px;
        margin-bottom: 10px;
    }
    .page-privacy-policy__text-block,
    .page-privacy-policy__list-item,
    .page-privacy-policy__faq-question,
    .page-privacy-policy__faq-answer {
        font-size: 0.95em;
    }
    .page-privacy-policy__list {
        margin-left: 20px;
    }
    .page-privacy-policy__faq-question {
        padding: 15px 20px;
    }
    .page-privacy-policy__faq-answer {
        padding: 0 20px 15px 20px;
    }

    /* 7. 按钮与按钮容器 */
    .page-privacy-policy__cta-buttons,
    .page-privacy-policy__contact-info {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px; /* Spacing between stacked buttons */
        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__btn-secondary,
    .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;
    }
}