/* Base styles for the GDPR page */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--background-color, #ffffff); /* Assuming light body background from shared.css */
}

.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-gdpr__hero-section {
    padding-top: 10px; /* Small top padding as per instruction, assuming body padding-top is handled by shared.css */
    position: relative;
    overflow: hidden;
    text-align: center;
    background-color: #B71C1C; /* Custom background color */
}

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

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

.page-gdpr__hero-content {
    padding: 40px 20px;
    color: #FFF5E1; /* Text Main color */
}

.page-gdpr__dark-bg {
    background-color: #B71C1C; /* Custom background color */
    color: #FFF5E1; /* Text Main color */
}

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

.page-gdpr__text-main {
    color: #FFF5E1;
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFF5E1;
}

.page-gdpr__description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 20px;
    color: #FFF5E1;
}

.page-gdpr__section {
    padding: 60px 0;
}

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #C91F17;
    text-align: center;
    margin-bottom: 40px;
}

.page-gdpr__dark-section .page-gdpr__section-title {
    color: #FFF5E1;
}

.page-gdpr__sub-title {
    font-size: 1.8em;
    color: #C91F17;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-gdpr__text-block {
    margin-bottom: 20px;
    font-size: 1em;
}

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

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

.page-gdpr__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-gdpr__cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-gdpr__card {
    background-color: #D32F2F; /* Card BG color */
    color: #FFF5E1; /* Text Main color */
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-gdpr__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFF5E1;
}

.page-gdpr__card-text {
    font-size: 0.95em;
    color: #FFF5E1;
}

.page-gdpr__link {
    color: #C91F17;
    text-decoration: underline;
}

.page-gdpr__link.page-gdpr__text-main {
    color: #FFF5E1;
}

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary,
.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__btn-primary,
.page-gdpr__cta-button {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Custom button gradient */
    color: #7A0E0E; /* Deep Red for contrast */
    border: 2px solid #F2B544; /* Border color */
}

.page-gdpr__btn-primary:hover,
.page-gdpr__cta-button:hover {
    opacity: 0.9;
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: #FFF5E1; /* Text Main color */
    border: 2px solid #F2B544; /* Border color */
}

.page-gdpr__btn-secondary:hover {
    background-color: #F2B544;
    color: #7A0E0E;
}

.page-gdpr__cta-banner {
    padding: 80px 20px;
    text-align: center;
    background-color: #C91F17; /* Main color */
}

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

.page-gdpr__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFF5E1;
}

.page-gdpr__cta-text {
    font-size: 1.2em;
    max-width: 900px;
    margin-bottom: 30px;
    color: #FFF5E1;
}

.page-gdpr__faq-section {
    padding: 60px 0;
}

.page-gdpr__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-gdpr__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #D32F2F; /* Card BG color */
    color: #FFF5E1; /* Text Main color */
    list-style: none; /* Hide default marker for details summary */
}

.page-gdpr__faq-question::-webkit-details-marker {
    display: none;
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg);
}

.page-gdpr__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: #333333;
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
}

/* ------------------------------------------------------------------------------------ */
/* Mobile Responsive Styles (max-width: 768px) - MUST INCLUDE ALL CATEGORIES */
/* ------------------------------------------------------------------------------------ */
@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-gdpr__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 1. HERO 主图区域 */
    .page-gdpr__hero-section {
        padding-top: 10px !important; /* Small top padding */
    }

    .page-gdpr__main-title {
        font-size: 2em !important;
    }

    .page-gdpr__description {
        font-size: 1em !important;
    }

    .page-gdpr__hero-image {
        max-width: 100% !important;
        height: auto !important;
    }

    /* 2. 长文金框区 (Placeholder for non-existent section) */
    .page-gdpr__home-content {
        height: auto !important;
        overflow-y: visible !important;
        padding: 20px !important;
    }

    /* 3. 游戏轮播 (Placeholder for non-existent section) */
    .page-gdpr__slider-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .page-gdpr__slider-wrapper {
        overflow: hidden !important; /* Ensure content is contained */
    }

    .page-gdpr__game-slide {
        flex: 0 0 160px !important;
        max-width: 160px !important;
    }

    /* 4. 合作品牌六宫格 (Placeholder for non-existent section) */
    .page-gdpr__banners-top-wrapper {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .page-gdpr__banner-item img {
        max-width: 100% !important;
        height: auto !important;
        
    }

    /* 5. 博客卡片区 (Placeholder for non-existent section) */
    .page-gdpr__blog-masonry {
        grid-template-columns: 1fr !important;
    }

    .page-gdpr__blog-slide {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .page-gdpr__blog-slider-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

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

    .page-gdpr__section,
    .page-gdpr__content-section,
    .page-gdpr__dark-section,
    .page-gdpr__light-bg,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-content,
    .page-gdpr__cta-banner {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-gdpr__section-title {
        font-size: 2em !important;
    }

    .page-gdpr__sub-title {
        font-size: 1.5em !important;
    }

    .page-gdpr__cards-grid {
        grid-template-columns: 1fr !important;
    }

    .page-gdpr__card {
        padding: 20px !important;
    }

    /* 7. 按钮与按钮容器 */
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary,
    .page-gdpr__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 !important;
        font-size: 1em !important;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-gdpr__cta-title {
        font-size: 2em !important;
    }

    .page-gdpr__cta-text {
        font-size: 1em !important;
    }

    .page-gdpr__faq-question {
        font-size: 1em !important;
        padding: 15px 20px !important;
    }

    .page-gdpr__faq-answer {
        padding: 15px 20px !important;
    }
}