
    /* CSS nội tuyến cho trang HZ888 */
    :root {
        --page-hz888-primary-color: #007bff; /* Xanh dương */
        --page-hz888-secondary-color: #6c757d; /* Xám */
        --page-hz888-accent-color: #ffc107; /* Vàng */
        --page-hz888-text-dark: #343a40; /* Đen đậm */
        --page-hz888-text-light: #f8f9fa; /* Trắng nhạt */
        --page-hz888-background-light: #ffffff; /* Trắng */
        --page-hz888-background-dark: #212529; /* Đen */
        --page-hz888-border-color: #dee2e6; /* Xám nhạt */
    }

    .page-hz888 {
        font-family: 'Arial', sans-serif;
        line-height: 1.6;
        color: var(--page-hz888-text-dark);
        background-color: var(--page-hz888-background-light);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .page-hz888__section {
        width: 100%;
        max-width: 1200px;
        margin: 40px auto;
        padding: 20px;
        box-sizing: border-box;
        text-align: center;
    }

    .page-hz888__section--dark {
        background-color: var(--page-hz888-background-dark);
        color: var(--page-hz888-text-light);
    }

    .page-hz888__section-title {
        font-size: 2.5em;
        color: var(--page-hz888-primary-color);
        margin-bottom: 20px;
        font-weight: bold;
    }

    .page-hz888__section--dark .page-hz888__section-title {
        color: var(--page-hz888-accent-color);
    }

    .page-hz888__section-description {
        font-size: 1.1em;
        margin-bottom: 30px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Hero Section */
    .page-hz888__hero-section {
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('[GALLERY:hero:1920x1080:online_gaming,hz888,banner]') no-repeat center center/cover;
        color: var(--page-hz888-text-light);
        padding: 100px 20px 80px; /* Adjust top padding to account for header offset, but not double */
        text-align: center;
        position: relative;
        width: 100%;
        box-sizing: border-box;
    }
    @media (max-width: 768px) {
        .page-hz888__hero-section {
            padding: 80px 15px 60px;
        }
    }

    .page-hz888__hero-title {
        font-size: 3.5em;
        margin-bottom: 15px;
        font-weight: bold;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
        color: var(--page-hz888-accent-color);
    }
    @media (max-width: 768px) {
        .page-hz888__hero-title {
            font-size: 2.5em;
        }
    }

    .page-hz888__hero-subtitle {
        font-size: 1.5em;
        margin-bottom: 30px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    }
    @media (max-width: 768px) {
        .page-hz888__hero-subtitle {
            font-size: 1.2em;
        }
    }

    .page-hz888__promo-button {
        display: inline-block;
        background-color: var(--page-hz888-primary-color);
        color: var(--page-hz888-text-light);
        padding: 15px 30px;
        font-size: 1.2em;
        font-weight: bold;
        border-radius: 5px;
        text-decoration: none;
        transition: background-color 0.3s ease, transform 0.3s ease;
        border: none;
        cursor: pointer;
    }

    .page-hz888__promo-button:hover {
        background-color: #0056b3;
        transform: translateY(-2px);
    }

    /* Floating Buttons */
    .page-hz888__floating-buttons {
        position: fixed;
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        gap: 15px;
        z-index: 1000;
    }
    @media (max-width: 768px) {
        .page-hz888__floating-buttons {
            flex-direction: row;
            top: auto;
            bottom: 15px;
            left: 50%;
            right: auto;
            transform: translateX(-50%);
            width: calc(100% - 30px);
            justify-content: center;
        }
    }

    .page-hz888__floating-button {
        background-color: var(--page-hz888-accent-color);
        color: var(--page-hz888-text-dark);
        padding: 12px 20px;
        border-radius: 25px;
        font-weight: bold;
        text-align: center;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: background-color 0.3s ease, transform 0.3s ease;
        border: none;
        cursor: pointer;
        white-space: nowrap;
    }

    .page-hz888__floating-button:hover {
        background-color: #e0a800;
        transform: scale(1.05);
    }
    @media (max-width: 768px) {
        .page-hz888__floating-button {
            flex: 1;
            padding: 10px 15px;
            font-size: 0.9em;
        }
    }

    /* About Section */
    .page-hz888__about-content {
        display: flex;
        align-items: center;
        gap: 40px;
        text-align: left;
    }
    @media (max-width: 768px) {
        .page-hz888__about-content {
            flex-direction: column;
            text-align: center;
        }
    }

    .page-hz888__about-image-wrapper {
        flex: 1;
        min-width: 300px;
        box-sizing: border-box;
        overflow: hidden; /* Ensure image doesn't overflow container */
    }
    @media (max-width: 768px) {
        .page-hz888__about-image-wrapper {
            width: 100%;
            max-width: 100%;
        }
    }

    .page-hz888__about-image {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        display: block;
        margin: 0 auto;
        box-sizing: border-box;
    }
    @media (max-width: 768px) {
        .page-hz888__about-image {
            max-width: 100% !important;
            height: auto !important;
            box-sizing: border-box !important;
        }
    }

    .page-hz888__about-text {
        flex: 2;
    }

    .page-hz888__about-text h3 {
        color: var(--page-hz888-primary-color);
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    @media (max-width: 768px) {
        .page-hz888__about-text h3 {
            font-size: 1.5em;
        }
    }

    .page-hz888__about-text p {
        margin-bottom: 15px;
        font-size: 1.05em;
    }

    /* Game Categories Section */
    .page-hz888__game-categories {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
        margin-top: 40px;
    }
    @media (max-width: 768px) {
        .page-hz888__game-categories {
            grid-template-columns: 1fr;
            gap: 20px;
        }
    }

    .page-hz888__game-card {
        background-color: var(--page-hz888-background-light);
        border: 1px solid var(--page-hz888-border-color);
        border-radius: 10px;
        padding: 25px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        box-sizing: border-box;
    }

    .page-hz888__game-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .page-hz888__game-card-image-wrapper {
        width: 100%;
        max-width: 300px; /* Constrain image width within card */
        height: 200px;
        overflow: hidden;
        border-radius: 8px;
        margin-bottom: 20px;
        box-sizing: border-box;
    }
    @media (max-width: 768px) {
        .page-hz888__game-card-image-wrapper {
            max-width: 100% !important;
            height: auto !important; /* Allow height to adjust */
            box-sizing: border-box !important;
        }
    }

    .page-hz888__game-card-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        box-sizing: border-box;
    }
    @media (max-width: 768px) {
        .page-hz888__game-card-image {
            max-width: 100% !important;
            height: auto !important;
            box-sizing: border-box !important;
        }
    }

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

    .page-hz888__game-card-description {
        font-size: 0.95em;
        color: var(--page-hz888-secondary-color);
        margin-bottom: 15px;
    }

    .page-hz888__game-card-button {
        background-color: var(--page-hz888-accent-color);
        color: var(--page-hz888-text-dark);
        padding: 10px 20px;
        border-radius: 5px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        border: none;
        cursor: pointer;
    }

    .page-hz888__game-card-button:hover {
        background-color: #e0a800;
    }

    /* Promotions Section */
    .page-hz888__promotions-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        margin-top: 40px;
    }
    @media (max-width: 768px) {
        .page-hz888__promotions-grid {
            grid-template-columns: 1fr;
            gap: 20px;
        }
    }

    .page-hz888__promotion-card {
        background-color: var(--page-hz888-background-light);
        border: 1px solid var(--page-hz888-border-color);
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        text-align: left;
        box-sizing: border-box;
    }

    .page-hz888__promotion-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .page-hz888__promotion-image-wrapper {
        width: 100%;
        height: 200px;
        overflow: hidden;
        box-sizing: border-box;
    }
    @media (max-width: 768px) {
        .page-hz888__promotion-image-wrapper {
            max-width: 100% !important;
            height: auto !important;
            box-sizing: border-box !important;
        }
    }

    .page-hz888__promotion-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        box-sizing: border-box;
    }
    @media (max-width: 768px) {
        .page-hz888__promotion-image {
            max-width: 100% !important;
            height: auto !important;
            box-sizing: border-box !important;
        }
    }

    .page-hz888__promotion-content {
        padding: 20px;
    }

    .page-hz888__promotion-title {
        font-size: 1.4em;
        color: var(--page-hz888-primary-color);
        margin-bottom: 10px;
        font-weight: bold;
    }

    .page-hz888__promotion-description {
        font-size: 0.95em;
        color: var(--page-hz888-secondary-color);
        margin-bottom: 15px;
    }

    .page-hz888__promotion-link {
        color: var(--page-hz888-accent-color);
        font-weight: bold;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .page-hz888__promotion-link:hover {
        color: #e0a800;
    }

    /* Payment & Providers Section */
    .page-hz888__logos-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
        margin-top: 30px;
        justify-items: center;
        align-items: center;
    }
    @media (max-width: 768px) {
        .page-hz888__logos-grid {
            grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
            gap: 15px;
        }
    }

    .page-hz888__logo-item {
        background-color: var(--page-hz888-background-light);
        border: 1px solid var(--page-hz888-border-color);
        border-radius: 8px;
        padding: 15px;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100px;
        width: 100%; /* Ensure it takes full grid cell width */
        max-width: 200px; /* Limit max width for larger screens */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        box-sizing: border-box;
    }
    @media (max-width: 768px) {
        .page-hz888__logo-item {
            height: 80px;
            padding: 10px;
            max-width: 100% !important;
            box-sizing: border-box !important;
        }
    }

    .page-hz888__logo-image {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        display: block;
        box-sizing: border-box;
    }
    @media (max-width: 768px) {
        .page-hz888__logo-image {
            max-width: 100% !important;
            height: auto !important;
            box-sizing: border-box !important;
        }
    }

    /* FAQ Section */
    .page-hz888__faq-section {
        background-color: var(--page-hz888-background-dark);
        color: var(--page-hz888-text-light);
        padding-bottom: 60px;
    }

    .page-hz888__faq-section .page-hz888__section-title {
        color: var(--page-hz888-accent-color);
    }

    .page-hz888__faq-container {
        max-width: 800px;
        margin: 40px auto 0;
        text-align: left;
    }

    .page-hz888__faq-item {
        background-color: #343a40;
        border-bottom: 1px solid #495057;
        margin-bottom: 10px;
        border-radius: 8px;
        overflow: hidden;
    }

    .page-hz888__faq-question {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 18px 25px;
        cursor: pointer;
        user-select: none;
        font-size: 1.1em;
        font-weight: bold;
        color: var(--page-hz888-text-light);
        transition: background-color 0.3s ease;
    }

    .page-hz888__faq-question:hover {
        background-color: #495057;
    }

    .page-hz888__faq-question h3 {
        margin: 0;
        color: inherit;
        pointer-events: none; /* Prevent h3 from blocking click */
        font-size: 1.1em; /* Ensure consistent font size */
    }
    @media (max-width: 768px) {
        .page-hz888__faq-question h3 {
            font-size: 1em;
        }
    }

    .page-hz888__faq-toggle {
        font-size: 1.5em;
        line-height: 1;
        transition: transform 0.3s ease;
        pointer-events: none; /* Prevent span from blocking click */
    }

    .page-hz888__faq-item.active .page-hz888__faq-toggle {
        transform: rotate(45deg); /* Change '+' to 'x' or similar */
    }

    .page-hz888__faq-answer {
        max-height: 0;
        overflow: hidden;
        padding: 0 25px;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
        opacity: 0;
        color: #ced4da;
        font-size: 1em;
    }

    .page-hz888__faq-item.active .page-hz888__faq-answer {
        max-height: 2000px !important; /* Sufficiently large */
        padding: 20px 25px !important;
        opacity: 1;
    }
    @media (max-width: 768px) {
        .page-hz888__faq-answer {
            padding: 0 15px !important; /* Adjust padding for mobile */
        }
        .page-hz888__faq-item.active .page-hz888__faq-answer {
            padding: 15px 15px !important; /* Adjust padding for mobile */
        }
    }

    /* Call to Action Section */
    .page-hz888__cta-section {
        background-color: var(--page-hz888-primary-color);
        color: var(--page-hz888-text-light);
        padding: 60px 20px;
    }

    .page-hz888__cta-title {
        font-size: 2.8em;
        margin-bottom: 20px;
        font-weight: bold;
        color: var(--page-hz888-accent-color);
    }
    @media (max-width: 768px) {
        .page-hz888__cta-title {
            font-size: 2em;
        }
    }

    .page-hz888__cta-description {
        font-size: 1.3em;
        margin-bottom: 40px;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    @media (max-width: 768px) {
        .page-hz888__cta-description {
            font-size: 1em;
        }
    }

    /* General responsive adjustments */
    @media (max-width: 768px) {
        .page-hz888__section {
            padding: 15px;
            margin: 30px auto;
        }

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

        .page-hz888__section-description {
            font-size: 1em;
        }

        .page-hz888__promo-button {
            padding: 12px 25px;
            font-size: 1em;
        }

        /* List item specific adjustments for mobile */
        .page-hz888__game-categories,
        .page-hz888__promotions-grid,
        .page-hz888__logos-grid {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            padding: 0 10px !important; /* Adjust padding to avoid double padding with section */
            margin-left: 0 !important;
            margin-right: 0 !important;
        }

        .page-hz888__game-card,
        .page-hz888__promotion-card,
        .page-hz888__logo-item {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
            word-wrap: break-word !important;
            overflow-wrap: break-word !important;
        }
        .page-hz888__game-card-image,
        .page-hz888__promotion-image,
        .page-hz888__logo-image {
            max-width: 100% !important;
            height: auto !important;
            box-sizing: border-box !important;
        }
    }
  