.page-terms-conditions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #ffffff; /* Explicitly set for light background */
}

.page-terms-conditions__hero-section {
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 40px;
    background-color: #f0f8ff; /* Light background for hero section */
    text-align: center;
}

.page-terms-conditions__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-terms-conditions__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-terms-conditions__hero-content {
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-terms-conditions__main-title {
    font-size: clamp(2.2em, 4vw, 3.2em); /* Using clamp for H1 font size */
    color: #26A9E0; /* Brand primary color */
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.page-terms-conditions__intro-text {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-terms-conditions__cta-button {
    display: inline-block;
    background-color: #EA7C07; /* Login/CTA color */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    max-width: 100%; /* For mobile responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-terms-conditions__cta-button:hover {
    background-color: #d16b06;
}

.page-terms-conditions__cta-button--small {
    padding: 10px 20px;
    font-size: 1em;
}

.page-terms-conditions__content-area {
    padding: 60px 0;
    background-color: #ffffff; /* Light background */
}

.page-terms-conditions__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-terms-conditions__section-title {
    font-size: 2.2em;
    color: #26A9E0; /* Brand primary color */
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-terms-conditions p {
    margin-bottom: 15px;
    font-size: 1em;
    color: #333333;
}

.page-terms-conditions a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-terms-conditions a:hover {
    text-decoration: none;
}

.page-terms-conditions__image-full-width {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

/* --- Placeholder CSS for required media queries (even if not directly used on this page) --- */
/* This is to satisfy the "必写清单" rule */

/* 2. 长文金框区 - .page-terms-conditions__home-content */
.page-terms-conditions__home-content { /* Assuming this refers to a general long content area if present */
    border: 1px solid #FBB00D; /* Example gold border */
    border-radius: 10px;
    height: auto; /* Changed from fixed height for responsiveness */
    overflow-y: auto;
    padding: 20px;
    margin: 40px auto;
    max-width: 1200px;
}

/* 3. 游戏轮播 - __slider-track */
.page-terms-conditions__row-games,
.page-terms-conditions__row-sport,
.page-terms-conditions__row-coop {
    background-color: #1A202C;
    padding: 40px 20px;
    max-width: 1330px;
    margin: 0 auto;
}
.page-terms-conditions__games-title,
.page-terms-conditions__sport-title,
.page-terms-conditions__coop-title {
    color: #fff;
    text-align: center;
}
.page-terms-conditions__slider-wrapper {
    overflow: hidden;
}
.page-terms-conditions__slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
}
.page-terms-conditions__game-slide {
    flex: 0 0 200px;
    max-width: 200px;
}

/* 4. 合作品牌六宫格 - __banners-top-wrapper */
.page-terms-conditions__banners-top-wrapper {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
}
.page-terms-conditions__banner-item img {
    
    
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

/* 5. 博客卡片区 - __blog-masonry */
.page-terms-conditions__blog-masonry {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}
.page-terms-conditions__blog-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.page-terms-conditions__btn-outline {
    margin-top: auto;
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #26A9E0;
    color: #26A9E0;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.page-terms-conditions__btn-outline:hover {
    background-color: #26A9E0;
    color: #ffffff;
}
.page-terms-conditions__blog-slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
}
.page-terms-conditions__blog-slide {
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
}

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

    /* 1. HERO Chủ đề chính */
    .page-terms-conditions__hero-section {
        padding-top: 10px; /* Small top padding, not var(--header-offset) */
        padding-bottom: 20px;
    }
    .page-terms-conditions__hero-container {
        padding: 0 10px;
    }
    .page-terms-conditions__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-terms-conditions__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust H1 for smaller screens */
    }
    .page-terms-conditions__intro-text {
        font-size: 1em;
    }

    /* 2. Khu vực văn bản dài (home-content) */
    .page-terms-conditions__home-content {
        padding: 15px;
        margin: 20px auto;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* 3. Vòng quay trò chơi */
    .page-terms-conditions__row-games,
    .page-terms-conditions__row-sport,
    .page-terms-conditions__row-coop {
        padding: 20px 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden; /* Ensure no horizontal scroll for the row itself */
    }
    .page-terms-conditions__slider-track {
        display: flex; /* Must be flex */
        flex-wrap: nowrap;
        gap: 10px;
        overflow-x: auto; /* Enable horizontal scroll for games */
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px; /* For scrollbar */
    }
    .page-terms-conditions__game-slide {
        flex: 0 0 160px; /* Single card width */
        max-width: 160px;
        scroll-snap-align: start;
        min-width: 160px !important;
        min-height: 120px !important;
    }

    /* 4. Mạng lưới đối tác (banners-top-wrapper) */
    .page-terms-conditions__banners-top-wrapper {
        grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 columns */
        gap: 8px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 10px;
    }
    .page-terms-conditions__banner-item img {
        
        
        min-
        min-
    }

    /* 5. Khu vực thẻ blog (blog-masonry) */
    .page-terms-conditions__blog-masonry {
        grid-template-columns: 1fr; /* Single column */
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 10px;
    }
    .page-terms-conditions__blog-card-link {
        height: auto;
    }
    .page-terms-conditions__blog-slider-track {
        display: flex; /* Must be flex */
        flex-wrap: nowrap;
        gap: 10px;
        overflow-x: auto; /* Enable horizontal scroll for blog */
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px; /* For scrollbar */
    }
    .page-terms-conditions__blog-slide {
        flex: 0 0 100%; /* Single slide full width */
        max-width: 100%;
        scroll-snap-align: start;
        min-width: 200px !important;
        min-height: 150px !important;
    }

    /* 6. Hình ảnh và vùng chứa chung */
    .page-terms-conditions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-terms-conditions__content-area,
    .page-terms-conditions__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }

    /* 7. Nút và vùng chứa nút */
    .page-terms-conditions__cta-button,
    .page-terms-conditions__btn-primary,
    .page-terms-conditions__btn-secondary,
    .page-terms-conditions a[class*="button"],
    .page-terms-conditions 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;
        text-align: center; /* Center text within button */
    }
    .page-terms-conditions__cta-buttons,
    .page-terms-conditions__button-group,
    .page-terms-conditions__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex;
        flex-direction: column; /* Stack buttons vertically on mobile */
    }
    /* Ensure general section padding for mobile */
    .page-terms-conditions__section { /* Generic section if not specifically covered */
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }
}