
    :root {
        --page-g-8-com-primary-color: #ffcc00; /* Vàng nổi bật */
        --page-g-8-com-secondary-color: #333333; /* Đen đậm */
        --page-g-8-com-accent-color: #007bff; /* Xanh dương */
        --page-g-8-com-text-light: #ffffff;
        --page-g-8-com-text-dark: #333333;
        --page-g-8-com-bg-dark: #1a1a1a;
        --page-g-8-com-bg-medium: #2a2a2a;
        --page-g-8-com-bg-light: #3a3a3a;
    }

    /* Base styles for the page content wrapper */
    .page-g-8-com {
        font-family: 'Arial', sans-serif;
        color: var(--page-g-8-com-text-light);
        background-color: var(--page-g-8-com-bg-dark);
        line-height: 1.6;
        overflow-x: hidden;
    }

    /* Ensure good contrast for all text */
    .page-g-8-com h1,
    .page-g-8-com h2,
    .page-g-8-com h3,
    .page-g-8-com h4,
    .page-g-8-com p,
    .page-g-8-com li,
    .page-g-8-com button {
        color: var(--page-g-8-com-text-light); /* Default to light text */
    }

    .page-g-8-com__section {
        padding: 40px 20px;
        max-width: 1200px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .page-g-8-com__section--dark {
        background-color: var(--page-g-8-com-bg-medium);
    }

    .page-g-8-com__section-title {
        text-align: center;
        color: var(--page-g-8-com-primary-color);
        margin-bottom: 30px;
        font-size: 2.5em;
        font-weight: bold;
    }

    .page-g-8-com__section-subtitle {
        text-align: center;
        color: var(--page-g-8-com-text-light);
        margin-bottom: 40px;
        font-size: 1.2em;
    }

    /* Hero Section */
    .page-g-8-com__hero-section {
        position: relative;
        text-align: center;
        padding: 10px 20px 80px; /* Small top padding, more bottom for content */
        background-color: var(--page-g-8-com-bg-dark);
        overflow: hidden;
        box-sizing: border-box;
    }

    .page-g-8-com__hero-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
        opacity: 0.3; /* Subtle background */
    }

    .page-g-8-com__hero-content {
        position: relative;
        z-index: 1;
        max-width: 900px;
        margin: 0 auto;
    }

    .page-g-8-com__hero-title {
        font-size: 3.5em;
        color: var(--page-g-8-com-primary-color);
        margin-bottom: 15px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    .page-g-8-com__hero-description {
        font-size: 1.3em;
        color: var(--page-g-8-com-text-light);
        margin-bottom: 30px;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .page-g-8-com__hero-cta-button {
        display: inline-block;
        background-color: var(--page-g-8-com-primary-color);
        color: var(--page-g-8-com-text-dark);
        padding: 15px 30px;
        border-radius: 50px;
        font-size: 1.2em;
        font-weight: bold;
        text-decoration: none;
        transition: background-color 0.3s ease, transform 0.2s ease;
        border: none;
        cursor: pointer;
    }

    .page-g-8-com__hero-cta-button:hover {
        background-color: #e6b800;
        transform: translateY(-2px);
    }

    /* Game Categories Section */
    .page-g-8-com__game-categories-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
        margin-top: 30px;
    }

    .page-g-8-com__game-category-card {
        background-color: var(--page-g-8-com-bg-light);
        border-radius: 15px;
        overflow: hidden;
        text-align: center;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 300px; /* Ensure cards have a minimum height */
    }

    .page-g-8-com__game-category-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
    }

    .page-g-8-com__game-category-image {
        width: 100%;
        height: 200px; /* Fixed height for consistent image size */
        object-fit: cover;
        border-bottom: 2px solid var(--page-g-8-com-primary-color);
        max-width: 100%;
        box-sizing: border-box;
    }
    .page-g-8-com__game-category-image img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .page-g-8-com__game-category-content {
        padding: 20px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .page-g-8-com__game-category-title {
        font-size: 1.5em;
        color: var(--page-g-8-com-primary-color);
        margin-bottom: 10px;
    }

    .page-g-8-com__game-category-description {
        font-size: 0.95em;
        color: var(--page-g-8-com-text-light);
        word-wrap: break-word; /* Ensure text wraps */
        overflow-wrap: break-word;
    }

    /* Promotions Section */
    .page-g-8-com__promotions-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }

    .page-g-8-com__promotion-card {
        background-color: var(--page-g-8-com-bg-light);
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        flex-direction: column;
    }

    .page-g-8-com__promotion-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }

    .page-g-8-com__promotion-image {
        width: 100%;
        height: 220px;
        object-fit: cover;
        max-width: 100%;
        box-sizing: border-box;
    }
    .page-g-8-com__promotion-image img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .page-g-8-com__promotion-content {
        padding: 20px;
        flex-grow: 1;
    }

    .page-g-8-com__promotion-title {
        font-size: 1.4em;
        color: var(--page-g-8-com-primary-color);
        margin-bottom: 10px;
    }

    .page-g-8-com__promotion-description {
        font-size: 0.95em;
        color: var(--page-g-8-com-text-light);
        margin-bottom: 15px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .page-g-8-com__promotion-button {
        display: inline-block;
        background-color: var(--page-g-8-com-accent-color);
        color: var(--page-g-8-com-text-light);
        padding: 10px 20px;
        border-radius: 25px;
        font-size: 0.9em;
        font-weight: bold;
        text-decoration: none;
        transition: background-color 0.3s ease;
        border: none;
        cursor: pointer;
        align-self: flex-start; /* Align button to start */
    }

    .page-g-8-com__promotion-button:hover {
        background-color: #0056b3;
    }

    /* Providers & Payments Section */
    .page-g-8-com__logo-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
        justify-items: center;
        align-items: center;
    }

    .page-g-8-com__logo-item {
        background-color: var(--page-g-8-com-bg-light);
        padding: 15px;
        border-radius: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100px;
        width: 100%;
        max-width: 200px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: transform 0.2s ease;
        box-sizing: border-box; /* Crucial for responsive width */
    }

    .page-g-8-com__logo-item:hover {
        transform: translateY(-3px);
    }

    .page-g-8-com__logo-image {
        max-width: 100%;
        max-height: 70px; /* Constrain logo height */
        object-fit: contain;
        /* filter: grayscale(100%) brightness(180%); - Removed as per strict instructions */
        transition: opacity 0.3s ease;
    }
    /* Optional: subtle effect without changing color */
    .page-g-8-com__logo-item:hover .page-g-8-com__logo-image {
        opacity: 0.8;
    }

    /* FAQ Section */
    .page-g-8-com__faq-container {
        max-width: 800px;
        margin: 0 auto;
    }

    .page-g-8-com__faq-item {
        background-color: var(--page-g-8-com-bg-light);
        margin-bottom: 15px;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .page-g-8-com__faq-question {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        cursor: pointer;
        background-color: var(--page-g-8-com-bg-medium);
        transition: background-color 0.3s ease;
        user-select: none;
    }

    .page-g-8-com__faq-question:hover {
        background-color: var(--page-g-8-com-bg-dark);
    }

    .page-g-8-com__faq-question h3 {
        margin: 0;
        font-size: 1.2em;
        color: var(--page-g-8-com-primary-color);
        pointer-events: none; /* Prevent h3 from blocking click event */
        word-wrap: break-word;
        overflow-wrap: break-word;
        flex-grow: 1;
        padding-right: 10px; /* Space for toggle icon */
    }

    .page-g-8-com__faq-toggle {
        font-size: 1.8em;
        font-weight: bold;
        color: var(--page-g-8-com-primary-color);
        transition: transform 0.3s ease;
        pointer-events: none; /* Prevent toggle icon from blocking click event */
        width: 25px; /* Fixed width to prevent layout shift */
        text-align: center;
    }

    .page-g-8-com__faq-item.active .page-g-8-com__faq-toggle {
        transform: rotate(45deg); /* Rotate '+' to 'x' or '−' */
    }

    .page-g-8-com__faq-answer {
        max-height: 0;
        overflow: hidden;
        padding: 0 15px;
        opacity: 0;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
        color: var(--page-g-8-com-text-light);
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .page-g-8-com__faq-item.active .page-g-8-com__faq-answer {
        max-height: 2000px !important; /* Sufficiently large */
        padding: 20px 15px !important;
        opacity: 1;
    }

    /* Call to Action Section */
    .page-g-8-com__cta-section {
        text-align: center;
        background-color: var(--page-g-8-com-primary-color);
        padding: 60px 20px;
        color: var(--page-g-8-com-text-dark);
    }

    .page-g-8-com__cta-title {
        font-size: 2.5em;
        margin-bottom: 20px;
        color: var(--page-g-8-com-text-dark);
    }

    .page-g-8-com__cta-description {
        font-size: 1.2em;
        margin-bottom: 30px;
        color: var(--page-g-8-com-text-dark);
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    .page-g-8-com__cta-button {
        display: inline-block;
        background-color: var(--page-g-8-com-accent-color);
        color: var(--page-g-8-com-text-light);
        padding: 15px 35px;
        border-radius: 50px;
        font-size: 1.2em;
        font-weight: bold;
        text-decoration: none;
        transition: background-color 0.3s ease, transform 0.2s ease;
        border: none;
        cursor: pointer;
    }

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

    /* Floating Buttons */
    .page-g-8-com__floating-buttons {
        position: fixed;
        bottom: 20px;
        right: 20px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        z-index: 1000;
    }

    .page-g-8-com__floating-button {
        background-color: var(--page-g-8-com-primary-color);
        color: var(--page-g-8-com-text-dark);
        padding: 12px 20px;
        border-radius: 30px;
        text-align: center;
        font-weight: bold;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        cursor: pointer;
        transition: background-color 0.3s ease;
        border: none;
        font-size: 1em;
    }

    .page-g-8-com__floating-button--login {
        background-color: var(--page-g-8-com-accent-color);
        color: var(--page-g-8-com-text-light);
    }

    .page-g-8-com__floating-button:hover {
        background-color: #e6b800;
    }

    .page-g-8-com__floating-button--login:hover {
        background-color: #0056b3;
    }

    /* Responsive Adjustments */
    @media (max-width: 1024px) {
        .page-g-8-com__hero-title {
            font-size: 3em;
        }
        .page-g-8-com__hero-description {
            font-size: 1.1em;
        }
        .page-g-8-com__section-title {
            font-size: 2em;
        }
    }

    @media (max-width: 768px) {
        .page-g-8-com__section {
            padding: 30px 15px;
        }
        .page-g-8-com__hero-section {
            padding-bottom: 60px;
        }
        .page-g-8-com__hero-title {
            font-size: 2.5em;
        }
        .page-g-8-com__hero-description {
            font-size: 1em;
        }
        .page-g-8-com__hero-cta-button {
            padding: 12px 25px;
            font-size: 1.1em;
        }
        .page-g-8-com__section-title {
            font-size: 1.8em;
            margin-bottom: 25px;
        }
        .page-g-8-com__section-subtitle {
            font-size: 1em;
            margin-bottom: 30px;
        }

        .page-g-8-com__game-categories-grid,
        .page-g-8-com__promotions-grid,
        .page-g-8-com__logo-grid {
            grid-template-columns: 1fr;
            gap: 20px;
        }

        /* List item responsive requirements */
        .page-g-8-com__game-category-card,
        .page-g-8-com__promotion-card,
        .page-g-8-com__logo-item,
        .page-g-8-com__faq-item {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
        }
        .page-g-8-com__game-category-content,
        .page-g-8-com__promotion-content,
        .page-g-8-com__faq-question,
        .page-g-8-com__faq-answer {
            padding-left: 15px !important;
            padding-right: 15px !important;
            box-sizing: border-box !important;
        }

        .page-g-8-com__game-category-description,
        .page-g-8-com__promotion-description,
        .page-g-8-com__faq-question h3,
        .page-g-8-com__faq-answer p {
            word-wrap: break-word !important;
            overflow-wrap: break-word !important;
            word-break: break-word !important;
        }
        
        .page-g-8-com__game-category-image,
        .page-g-8-com__promotion-image {
            max-width: 100% !important;
            height: auto !important;
            object-fit: cover !important;
        }
        .page-g-8-com__game-category-image img,
        .page-g-8-com__promotion-image img {
            max-width: 100% !important;
            height: auto !important;
            display: block !important;
        }

        .page-g-8-com__floating-buttons {
            bottom: 15px;
            right: 15px;
            flex-direction: row; /* Side-by-side on mobile */
            width: calc(100% - 30px); /* Adjust width */
            justify-content: space-around;
            left: 15px; /* Center on mobile */
        }
        .page-g-8-com__floating-button {
            flex: 1; /* Distribute space evenly */
            padding: 10px 15px;
            font-size: 0.9em;
        }

        .page-g-8-com__cta-title {
            font-size: 2em;
        }
        .page-g-8-com__cta-description {
            font-size: 1em;
        }
        .page-g-8-com__cta-button {
            padding: 12px 25px;
            font-size: 1.1em;
        }
    }

    @media (max-width: 480px) {
        .page-g-8-com__hero-title {
            font-size: 2em;
        }
        .page-g-8-com__hero-description {
            font-size: 0.9em;
        }
        .page-g-8-com__hero-cta-button {
            padding: 10px 20px;
            font-size: 1em;
        }
        .page-g-8-com__section-title {
            font-size: 1.5em;
        }
        .page-g-8-com__game-category-title {
            font-size: 1.3em;
        }
        .page-g-8-com__promotion-title {
            font-size: 1.2em;
        }
        .page-g-8-com__faq-question h3 {
            font-size: 1.1em;
        }
    }
  