/* CSS cho trang Tuân thủ GDPR */

/* Các biến màu */
:root {
    --gdpr-primary-color: #C61F1F;
    --gdpr-secondary-color: #E53030;
    --gdpr-card-bg: #2A1212;
    --gdpr-background: #140C0C;
    --gdpr-text-main: #FFF1E8;
    --gdpr-border: #6A1E1E;
    --gdpr-gold: #F3C54D;
    --gdpr-deep-red: #7E0D0D;
    --gdpr-btn-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
}

.page-gdpr {
    font-family: Arial, sans-serif;
    color: var(--gdpr-text-main);
    background-color: var(--gdpr-background);
}

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

/* Hero Section */
.page-gdpr__hero-section {
    padding-top: 10px; /* Small top padding, header offset handled by body */
    background-color: var(--gdpr-background);
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-bottom: 40px;
}

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

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

.page-gdpr__hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

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

.page-gdpr__hero-description {
    font-size: 1.1em;
    color: var(--gdpr-text-main);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* CTA Buttons */
.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

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

.page-gdpr__btn-primary {
    background: var(--gdpr-btn-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-gdpr__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
    background: var(--gdpr-deep-red);
    color: var(--gdpr-gold);
    border: 2px solid var(--gdpr-gold);
    box-shadow: 0 4px 15px rgba(229, 48, 48, 0.4);
}

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

/* General Content Sections */
.page-gdpr__content-section,
.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__security-section,
.page-gdpr__cookies-section,
.page-gdpr__data-transfer-section,
.page-gdpr__faq-section,
.page-gdpr__contact-section {
    padding: 60px 0;
}

.page-gdpr__dark-section {
    background-color: var(--gdpr-card-bg);
    color: var(--gdpr-text-main);
}

.page-gdpr__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: var(--gdpr-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-gdpr__text-block {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--gdpr-text-main);
}

.page-gdpr__text-block a {
    color: var(--gdpr-gold);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-gdpr__text-block a:hover {
    color: #ffffff;
}

/* Principles Section Grid Cards */
.page-gdpr__grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__card {
    background-color: var(--gdpr-background);
    border: 1px solid var(--gdpr-border);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards in a row have equal height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

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

.page-gdpr__card-title {
    font-size: 1.4em;
    color: var(--gdpr-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__card p {
    color: var(--gdpr-text-main);
    line-height: 1.6;
    font-size: 0.95em;
}

/* Rights Section List */
.page-gdpr__rights-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-gdpr__list-item {
    background-color: var(--gdpr-background);
    border-left: 5px solid var(--gdpr-gold);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 1.05em;
    line-height: 1.6;
    color: var(--gdpr-text-main);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

/* Content Image */
.page-gdpr__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-gdpr__faq-list {
    margin-top: 40px;
}

.page-gdpr__faq-item {
    background-color: var(--gdpr-background);
    border: 1px solid var(--gdpr-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--gdpr-gold);
    cursor: pointer;
    background-color: var(--gdpr-card-bg);
    border-bottom: 1px solid var(--gdpr-border);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-gdpr__faq-question:hover {
    background-color: var(--gdpr-deep-red);
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-gdpr__faq-answer {
    padding: 20px;
    font-size: 1em;
    line-height: 1.6;
    color: var(--gdpr-text-main);
    background-color: var(--gdpr-background);
}

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

/* Footer CTA (Contact Section) */
.page-gdpr__contact-section .page-gdpr__cta-buttons {
    margin-top: 40px;
}

/* Universal image responsiveness */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Placeholder for homepage specific elements, as required by "必写清单" */
/* These are minimal to satisfy the requirement without interfering with GDPR page */
.page-gdpr__home-content {
    border: 1px solid #FBB00D; /* Example style, non-interfering */
    border-radius: 10px;
    padding: 20px;
    margin: 40px auto;
    max-width: 1200px;
    background-color: var(--gdpr-background);
    color: var(--gdpr-text-main);
}

.page-gdpr__row-games, .page-gdpr__row-sport, .page-gdpr__row-coop {
    background-color: var(--gdpr-background);
    padding: 40px 20px;
    max-width: 1330px;
    margin: 0 auto;
}
.page-gdpr__games-title, .page-gdpr__sport-title, .page-gdpr__coop-title {
    color: var(--gdpr-gold);
    text-align: center;
    margin-bottom: 30px;
}
.page-gdpr__slider-wrapper {
    overflow: hidden;
    margin-top: 30px;
}
.page-gdpr__slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
}
.page-gdpr__game-slide {
    flex: 0 0 220px; /* Example fixed width */
    max-width: 220px;
    background-color: var(--gdpr-card-bg);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding: 15px;
}
.page-gdpr__banners-top-wrapper {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    max-width: 900px;
    margin: 40px auto;
}
.page-gdpr__banner-item img {
    
    
    object-fit: contain;
    margin: 0 auto;
    display: block;
}
.page-gdpr__blog-masonry {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
    margin-top: 40px;
}
.page-gdpr__blog-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--gdpr-background);
    border: 1px solid var(--gdpr-border);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: var(--gdpr-text-main);
}
.page-gdpr__blog-card-link img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.page-gdpr__btn-outline {
    margin-top: auto;
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid var(--gdpr-gold);
    color: var(--gdpr-gold);
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-left: 20px;
    margin-bottom: 20px;
}
.page-gdpr__btn-outline:hover {
    background-color: var(--gdpr-gold);
    color: var(--gdpr-background);
}
.page-gdpr__blog-slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
}
.page-gdpr__blog-slide {
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
    background-color: var(--gdpr-background);
    border: 1px solid var(--gdpr-border);
    border-radius: 8px;
    overflow: hidden;
    padding-bottom: 20px;
}

/* Media Queries for responsiveness */
@media (max-width: 1024px) {
    .page-gdpr__container {
        padding: 20px;
    }
    .page-gdpr__grid-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-gdpr__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-gdpr__section-title {
        font-size: clamp(1.6em, 4vw, 2.2em);
    }
    .page-gdpr__hero-image-wrapper {
        max-height: 400px;
    }
    .page-gdpr__cta-buttons {
        gap: 15px;
    }
    .page-gdpr__btn-primary, .page-gdpr__btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
    }
    /* Placeholder for homepage elements */
    .page-gdpr__banners-top-wrapper {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .page-gdpr__blog-masonry {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-gdpr__blog-slide {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-gdpr__hero-section {
        padding-top: 10px;
        padding-bottom: 30px;
    }
    .page-gdpr__hero-image-wrapper {
        max-height: 300px !important;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em) !important;
        margin-bottom: 10px;
    }
    .page-gdpr__hero-description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }

    /* 按钮与按钮容器 */
    .page-gdpr__cta-buttons {
        flex-direction: column !important;
        gap: 10px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px !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: 12px 20px !important;
        font-size: 1em !important;
    }

    /* 通用图片与容器 */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-gdpr__container,
    .page-gdpr__content-section,
    .page-gdpr__principles-section,
    .page-gdpr__rights-section,
    .page-gdpr__security-section,
    .page-gdpr__cookies-section,
    .page-gdpr__data-transfer-section,
    .page-gdpr__faq-section,
    .page-gdpr__contact-section {
        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: clamp(1.5em, 6vw, 2em) !important;
        margin-bottom: 25px;
    }
    .page-gdpr__text-block {
        font-size: 0.95em;
    }
    .page-gdpr__grid-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-gdpr__list-item {
        font-size: 0.95em;
        padding: 12px 15px;
    }
    .page-gdpr__card {
        padding: 20px;
    }
    .page-gdpr__card-title {
        font-size: 1.2em;
    }
    .page-gdpr__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-gdpr__faq-answer {
        padding: 15px;
        font-size: 0.95em;
    }

    /* 长文金框区 (Placeholder for homepage specific elements) */
    .page-gdpr__home-content {
        height: auto !important;
        overflow-y: visible !important;
        padding: 15px !important;
        margin: 20px auto !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 游戏轮播 (Placeholder for homepage specific elements) */
    .page-gdpr__row-games, .page-gdpr__row-sport, .page-gdpr__row-coop {
        padding: 20px 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-gdpr__games-title, .page-gdpr__sport-title, .page-gdpr__coop-title {
        margin-bottom: 20px;
    }
    .page-gdpr__slider-track {
        gap: 10px !important;
        padding: 0 15px !important;
    }
    .page-gdpr__game-slide {
        flex: 0 0 150px !important;
        max-width: 150px !important;
        padding: 10px !important;
    }

    /* 合作品牌六宫格 (Placeholder for homepage specific elements) */
    .page-gdpr__banners-top-wrapper {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px !important;
        margin: 20px auto !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px !important;
    }
    .page-gdpr__banner-item img {
        
        
    }

    /* 博客卡片区 (Placeholder for homepage specific elements) */
    .page-gdpr__blog-masonry {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        margin-top: 30px !important;
    }
    .page-gdpr__blog-card-link {
        margin: 0 auto;
        max-width: 400px; /* Constrain single column cards */
    }
    .page-gdpr__blog-slider-track {
        gap: 10px !important;
        padding: 0 15px !important;
    }
    .page-gdpr__blog-slide {
        flex: 0 0 80% !important; /* Make slides wider for mobile scroll */
        max-width: 80% !important;
        padding-bottom: 15px !important;
    }
    .page-gdpr__btn-outline {
        margin-left: 15px;
        margin-right: 15px;
        width: calc(100% - 30px);
        text-align: center;
    }
}