/* Base styles for the page-gdpr container */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main, #333333); /* Default text color, ensuring contrast */
    background-color: var(--page-bg, #F5F7FA); /* Default background color */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
    margin-bottom: 40px;
    text-align: center;
    overflow: hidden;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px; /* Limit height for aesthetic */
}

.page-gdpr__hero-content {
    padding: 20px 15px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-50px);
    z-index: 1;
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 2.5em);
    color: var(--primary-color, #E53935);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

.page-gdpr__description {
    font-size: 1.1em;
    color: var(--text-main, #333333);
    margin-bottom: 25px;
}

/* General Section Styles */
.page-gdpr__section {
    padding: 40px 0;
    margin-bottom: 20px;
    background-color: var(--card-bg, #FFFFFF);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.page-gdpr__container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-gdpr__section-title {
    font-size: 2em;
    color: var(--primary-color, #E53935);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.page-gdpr__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: var(--text-main, #333333);
    text-align: justify;
}

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

/* List Styles (Principles & Rights) */
.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-gdpr__list-item {
    background-color: var(--card-bg, #FFFFFF);
    border: 1px solid var(--border-color, #E0E0E0);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-gdpr__list-title {
    font-size: 1.3em;
    color: var(--secondary-color, #FF5A4F);
    margin-bottom: 10px;
    font-weight: 600;
}

/* Dark Section (Measures) */
.page-gdpr__dark-section {
    background: var(--primary-color, #E53935);
    color: #ffffff;
    box-shadow: none;
}

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

.page-gdpr__dark-section .page-gdpr__text-block {
    color: #f0f0f0;
}

.page-gdpr__dark-section .page-gdpr__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.page-gdpr__dark-section .page-gdpr__list-title {
    color: var(--secondary-color, #FF5A4F);
}

/* Contact Section */
.page-gdpr__contact-info {
    text-align: center;
    margin-top: 30px;
    padding: 25px;
    background-color: var(--page-bg, #F5F7FA);
    border-radius: 8px;
    border: 1px solid var(--border-color, #E0E0E0);
}

/* Call to Action Buttons */
.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__btn-primary {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
    background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-secondary {
    background: #ffffff;
    color: var(--primary-color, #E53935);
    border: 2px solid var(--primary-color, #E53935);
}

.page-gdpr__btn-secondary:hover {
    background: var(--primary-color, #E53935);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Conclusion Section */
.page-gdpr__conclusion {
    padding-bottom: 60px;
}

/* --- Responsive Styles --- */

/* Tablet and smaller desktops */
@media (max-width: 1024px) {
    .page-gdpr__hero-content {
        transform: translateY(-30px);
        padding: 15px;
    }

    .page-gdpr__main-title {
        font-size: clamp(1.8em, 3.5vw, 2.2em);
    }

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

    .page-gdpr__container {
        padding: 0 15px;
    }

    .page-gdpr__list-item {
        padding: 15px;
    }

    .page-gdpr__list-title {
        font-size: 1.2em;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-gdpr__hero-section {
        padding-top: 10px;
        margin-bottom: 20px;
    }
    .page-gdpr__hero-image {
        max-height: 400px;
    }
    .page-gdpr__hero-content {
        transform: translateY(-20px);
        padding: 15px 10px;
        margin: 0 10px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.5em, 6vw, 2em) !important;
        margin-bottom: 10px;
    }
    .page-gdpr__description {
        font-size: 1em;
        margin-bottom: 15px;
    }

    /* Long text / general content areas */
    .page-gdpr__section {
        padding: 25px 0;
        margin-bottom: 15px;
    }
    .page-gdpr__container {
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-gdpr__section-title {
        font-size: 1.6em;
        margin-bottom: 20px;
    }
    .page-gdpr__text-block {
        font-size: 0.95em;
    }

    /* List items */
    .page-gdpr__list-item {
        padding: 15px;
        margin-bottom: 10px;
    }
    .page-gdpr__list-title {
        font-size: 1.1em;
    }

    /* Universal image and container handling for mobile */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Buttons and button containers */
    .page-gdpr__cta-buttons {
        flex-direction: column !important;
        gap: 10px;
        margin-top: 20px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary,
    .page-gdpr a[class*="button"],
    .page-gdpr 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;
    }

    /* Placeholder for .page-gdpr__home-content - not applicable for GDPR page but required in checklist */
    .page-gdpr__home-content {
        height: auto !important;
        overflow-y: visible !important;
        padding: 15px !important;
    }
    .page-gdpr__home-content h2 {
        font-size: 1.5em !important;
    }

    /* Placeholder for game slider - not applicable for GDPR page */
    .page-gdpr__slider-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .page-gdpr__slider-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 10px;
        padding-bottom: 10px;
    }
    .page-gdpr__game-slide {
        flex: 0 0 150px !important;
        max-width: 150px !important;
    }

    /* Placeholder for banners-top-wrapper (e.g., game providers grid) - not applicable for GDPR page */
    .page-gdpr__banners-top-wrapper {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px;
    }
    .page-gdpr__banner-item img {
        
        
    }

    /* Placeholder for blog masonry/slider - not applicable for GDPR page */
    .page-gdpr__blog-masonry {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    .page-gdpr__blog-card-link {
        flex-direction: column;
    }
    .page-gdpr__blog-slider-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 10px;
        padding-bottom: 10px;
    }
    .page-gdpr__blog-slide {
        flex: 0 0 calc(100% - 30px) !important;
        max-width: calc(100% - 30px) !important;
        margin: 0 15px;
    }
}