/* style/gdpr.css */

:root {
    --page-gdpr-primary-color: #017439;
    --page-gdpr-secondary-color: #FFFFFF;
    --page-gdpr-text-light: #FFFFFF;
    --page-gdpr-text-dark: #333333;
    --page-gdpr-bg-dark: #0a0a0a; /* Body background from shared.css */
    --page-gdpr-register-btn-bg: #C30808;
    --page-gdpr-login-btn-bg: #C30808;
    --page-gdpr-btn-text-color: #FFFF00;
}

.page-gdpr {
    color: var(--page-gdpr-text-light); /* Text color for dark body background */
    background-color: var(--page-gdpr-bg-dark);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding, relying on body padding-top for header offset */
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.page-gdpr__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 0 20px;
    z-index: 1;
}

.page-gdpr__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--page-gdpr-secondary-color);
    margin-bottom: 20px;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-gdpr__subtitle {
    font-size: 1.1em;
    color: var(--page-gdpr-secondary-color);
    margin-bottom: 30px;
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1em;
    cursor: pointer;
}

.page-gdpr__btn-primary {
    background-color: var(--page-gdpr-register-btn-bg); /* #C30808 */
    color: var(--page-gdpr-btn-text-color); /* #FFFF00 */
    border: 2px solid var(--page-gdpr-register-btn-bg);
}

.page-gdpr__btn-primary:hover {
    background-color: #a40707; /* Darken #C30808 */
    transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: var(--page-gdpr-primary-color);
    border: 2px solid var(--page-gdpr-primary-color);
}

.page-gdpr__btn-secondary:hover {
    background-color: var(--page-gdpr-primary-color);
    color: var(--page-gdpr-secondary-color);
    transform: translateY(-2px);
}

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

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

.page-gdpr__section-title {
    font-size: 2.5em;
    color: var(--page-gdpr-primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-gdpr__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--page-gdpr-text-light);
    text-align: justify;
}

.page-gdpr__introduction-section .page-gdpr__text-block {
    color: var(--page-gdpr-text-light);
}

.page-gdpr__rights-section {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
}

.page-gdpr__rights-section .page-gdpr__section-title {
    color: var(--page-gdpr-primary-color);
}

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

.page-gdpr__card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--page-gdpr-text-light);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-gdpr__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

.page-gdpr__card-title {
    font-size: 1.5em;
    color: var(--page-gdpr-primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-gdpr__card-text {
    font-size: 0.95em;
    color: var(--page-gdpr-text-light);
    flex-grow: 1;
}

.page-gdpr__note-text {
    font-style: italic;
    text-align: center;
    margin-top: 40px;
    font-size: 1em;
    color: var(--page-gdpr-secondary-color);
}

.page-gdpr__dark-section {
    background-color: var(--page-gdpr-primary-color);
    color: var(--page-gdpr-text-light);
}

.page-gdpr__dark-section .page-gdpr__section-title {
    color: var(--page-gdpr-secondary-color);
}

.page-gdpr__dark-section .page-gdpr__text-block {
    color: var(--page-gdpr-text-light);
}

.page-gdpr__protection-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-gdpr__list-item {
    background-color: rgba(255, 255, 255, 0.15);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--page-gdpr-text-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__list-item strong {
    color: var(--page-gdpr-secondary-color);
}

.page-gdpr__cookie-policy-section {
    background-color: var(--page-gdpr-bg-dark);
}

.page-gdpr__cookie-policy-section .page-gdpr__section-title {
    color: var(--page-gdpr-primary-color);
}

.page-gdpr__contact-section {
    background-color: rgba(255, 255, 255, 0.05);
}

.page-gdpr__contact-section .page-gdpr__section-title {
    color: var(--page-gdpr-primary-color);
}

.page-gdpr__contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-gdpr__faq-section {
    padding-bottom: 80px;
}

.page-gdpr__faq-section .page-gdpr__section-title {
    color: var(--page-gdpr-primary-color);
}

.page-gdpr__faq-list {
    margin-top: 40px;
}

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-gdpr-text-light);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--page-gdpr-primary-color);
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    list-style: none; /* For details/summary */
}

.page-gdpr__faq-item summary::-webkit-details-marker,
.page-gdpr__faq-item summary::marker {
    display: none;
}

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

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--page-gdpr-secondary-color);
}

.page-gdpr__faq-answer {
    padding: 15px 25px 20px 25px;
    font-size: 1em;
    color: var(--page-gdpr-text-light);
    line-height: 1.7;
}

.page-gdpr__faq-answer p {
    margin-bottom: 10px;
}

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

/* Tablet and Mobile */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

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

    .page-gdpr__card-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .page-gdpr__cta-button {
        padding: 10px 20px;
        font-size: 0.95em;
    }
}

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

    /* HERO 主图区域 */
    .page-gdpr__hero-section {
        padding-top: 10px !important; /* Rely on body for header offset */
        padding-bottom: 30px !important;
    }

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

    .page-gdpr__hero-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
        margin-bottom: 15px !important;
    }

    .page-gdpr__subtitle {
        font-size: 1em !important;
        margin-bottom: 20px !important;
    }

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

    .page-gdpr__container,
    .page-gdpr__card,
    .page-gdpr__section,
    .page-gdpr__hero-content,
    .page-gdpr__contact-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-gdpr__section {
        padding: 40px 0 !important;
    }

    .page-gdpr__section-title {
        font-size: 1.8em !important;
        margin-bottom: 30px !important;
    }

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

    /* 产品展示图区域 (No gameshow for non-homepage, so adapting card-grid) */
    .page-gdpr__card-grid {
        grid-template-columns: 1fr !important; /* Single column layout for cards */
        gap: 20px !important;
    }

    .page-gdpr__card {
        padding: 20px !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    }

    .page-gdpr__card-image {
        height: 180px !important; /* Adjust height for mobile */
    }

    .page-gdpr__card-title {
        font-size: 1.3em !important;
    }

    /* 按钮与按钮容器 */
    .page-gdpr__cta-button,
    .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 !important;
        padding-right: 15px !important;
        text-align: center !important;
    }
    
    .page-gdpr__contact-buttons {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .page-gdpr__list-item {
        font-size: 1em !important;
        padding: 15px !important;
    }

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

    .page-gdpr__faq-answer {
        padding: 10px 20px 15px 20px !important;
        font-size: 0.95em !important;
    }
}