/* style/privacy-policy.css */

/* Base styles for the page */
.page-privacy-policy {
    background-color: var(--background-color, #08160F); /* Fallback to custom background if shared not defined */
    color: var(--text-main-color, #F2FFF6); /* Main text color for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Ensure image is above content for 'top image, bottom text' rule */
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

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

.page-privacy-policy__hero-content {
    position: relative; /* Not absolute, to comply with 'no text over image' */
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    margin-top: 20px; /* Space between image and text */
    background: var(--card-bg-color, #11271B); /* Dark background for text block */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    color: var(--text-main-color, #F2FFF6);
    border: 1px solid var(--border-color, #2E7A4E);
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 3.5vw, 3em); /* Using clamp for H1 font size */
    color: var(--gold-color, #F2C14E); /* Gold for main title */
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-privacy-policy__hero-description {
    font-size: 1.1em;
    color: var(--text-secondary-color, #A7D9B8);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Content Area */
.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--background-color, #08160F);
    color: var(--text-main-color, #F2FFF6);
}

.page-privacy-policy__container {
    background: var(--card-bg-color, #11271B);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color, #2E7A4E);
}

.page-privacy-policy__section-title {
    font-size: 2em;
    color: var(--gold-color, #F2C14E);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid var(--divider-color, #1E3A2A);
    padding-bottom: 10px;
}

.page-privacy-policy__sub-section-title {
    font-size: 1.5em;
    color: var(--glow-color, #57E38D);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

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

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

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

.page-privacy-policy__list-item strong {
    color: var(--glow-color, #57E38D);
}

.page-privacy-policy a {
    color: var(--glow-color, #57E38D); /* Link color */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
    color: var(--gold-color, #F2C14E); /* Hover effect */
}

/* Images within content */
.page-privacy-policy__image-block {
    margin: 30px 0;
    text-align: center;
    background: var(--deep-green-color, #0A4B2C);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color, #2E7A4E);
}

.page-privacy-policy__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 10px auto;
    border-radius: 8px;
}

.page-privacy-policy__image-caption {
    font-size: 0.9em;
    color: var(--text-secondary-color, #A7D9B8);
    margin-top: 10px;
}

/* CTA Button */
.page-privacy-policy__cta-wrapper {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--divider-color, #1E3A2A);
}

.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: var(--text-main-color, #F2FFF6);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Custom properties for colors (if not defined in shared) */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --background-color: #08160F;
    --card-bg-color: #11271B;
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

/* --- Responsive Design --- */

/* Desktop / Tablet common styles (above 768px) */
@media (min-width: 769px) {
    .page-privacy-policy__hero-content {
        padding: 40px;
    }
}

/* Mobile Styles (max-width: 768px) */
@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-privacy-policy__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        padding-bottom: 20px;
    }

    .page-privacy-policy__hero-image {
        max-height: 300px;
        object-position: center top; /* Adjust object-position for mobile hero */
    }

    .page-privacy-policy__hero-content {
        padding: 20px;
        margin-top: 15px;
        max-width: 100% !important;
        width: calc(100% - 30px) !important; /* Account for padding */
        margin-left: 15px !important;
        margin-right: 15px !important;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        letter-spacing: 0.03em;
    }

    .page-privacy-policy__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    /* 其他内容模块 */
    .page-privacy-policy__content-area {
        padding: 20px 15px;
    }

    .page-privacy-policy__container {
        padding: 20px;
    }

    .page-privacy-policy__section-title {
        font-size: 1.6em;
        margin-top: 30px;
        margin-bottom: 15px;
        padding-bottom: 8px;
    }

    .page-privacy-policy__sub-section-title {
        font-size: 1.3em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .page-privacy-policy__list {
        margin-left: 20px;
        margin-bottom: 15px;
    }

    /* 通用图片与容器 */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    .page-privacy-policy__image-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 10px;
        margin: 20px 0;
    }

    /* 按钮与按钮容器 */
    .page-privacy-policy__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1em;
        margin-left: auto;
        margin-right: auto;
    }

    .page-privacy-policy__cta-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}