
    /* Page-specific CSS for ball365 */
    :root {
        --page-ball365__primary-color: #e44d26; /* Màu chủ đạo: đỏ cam */
        --page-ball365__secondary-color: #333; /* Màu nền phụ */
        --page-ball365__accent-color: #f7b731; /* Màu nhấn: vàng cam */
        --page-ball365__text-color-light: #f0f0f0; /* Màu chữ sáng */
        --page-ball365__text-color-dark: #333; /* Màu chữ tối */
        --page-ball365__background-dark: #1a1a1a; /* Nền tối */
        --page-ball365__background-light: #2a2a2a; /* Nền sáng hơn */
        --page-ball365__border-radius: 8px;
        --page-ball365__spacing-small: 10px;
        --page-ball365__spacing-medium: 20px;
        --page-ball365__spacing-large: 40px;
    }

    .page-ball365 {
        font-family: 'Roboto', sans-serif;
        color: var(--page-ball365__text-color-light);
        background-color: var(--page-ball365__background-dark);
        line-height: 1.6;
    }

    .page-ball365__section {
        padding: var(--page-ball365__spacing-large) var(--page-ball365__spacing-medium);
        max-width: 1200px;
        margin: 0 auto;
    }

    .page-ball365__hero-section {
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:hero:1920x1080:bong_da,ca_cuoc,the_thao]') no-repeat center center/cover;
        color: var(--page-ball365__text-color-light);
        text-align: center;
        padding: calc(var(--header-offset, 122px) + 10px) var(--page-ball365__spacing-medium) var(--page-ball365__spacing-large);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 450px;
    }

    .page-ball365__hero-title {
        font-size: 2.8em;
        margin-bottom: var(--page-ball365__spacing-small);
        color: var(--page-ball365__primary-color);
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }

    .page-ball365__hero-subtitle {
        font-size: 1.3em;
        margin-bottom: var(--page-ball365__spacing-medium);
        max-width: 800px;
    }

    .page-ball365__cta-button {
        display: inline-block;
        background-color: var(--page-ball365__primary-color);
        color: #fff;
        padding: 15px 30px;
        border-radius: var(--page-ball365__border-radius);
        text-decoration: none;
        font-weight: bold;
        transition: background-color 0.3s ease;
        border: none;
        cursor: pointer;
        font-size: 1.1em;
    }

    .page-ball365__cta-button:hover {
        background-color: #d1401f;
    }

    .page-ball365__floating-buttons {
        position: fixed;
        bottom: var(--page-ball365__spacing-medium);
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: var(--page-ball365__spacing-small);
        z-index: 1000;
    }

    .page-ball365__floating-button {
        background-color: var(--page-ball365__accent-color);
        color: var(--page-ball365__text-color-dark);
        padding: 12px 25px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: bold;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        transition: background-color 0.3s ease, transform 0.2s ease;
        border: none;
        cursor: pointer;
        font-size: 1em;
    }

    .page-ball365__floating-button:hover {
        background-color: #e6a72e;
        transform: scale(1.05) translateX(-50%);
    }

    .page-ball365__floating-button--register {
        background-color: var(--page-ball365__primary-color);
        color: #fff;
    }

    .page-ball365__floating-button--register:hover {
        background-color: #d1401f;
    }

    .page-ball365__section-title {
        font-size: 2.2em;
        color: var(--page-ball365__primary-color);
        text-align: center;
        margin-bottom: var(--page-ball365__spacing-large);
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }

    .page-ball365__game-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--page-ball365__spacing-medium);
        justify-items: center; /* Căn giữa các mục trong lưới */
    }

    .page-ball365__game-card {
        background-color: var(--page-ball365__background-light);
        border-radius: var(--page-ball365__border-radius);
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        width: 100%;
        max-width: 350px;
        box-sizing: border-box;
    }

    .page-ball365__game-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    }

    .page-ball365__game-image-wrapper {
        width: 100%;
        height: 200px; /* Chiều cao cố định cho hình ảnh */
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #000;
    }

    .page-ball365__game-image {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.3s ease;
    }

    .page-ball365__game-card:hover .page-ball365__game-image {
        transform: scale(1.05);
    }

    .page-ball365__game-content {
        padding: var(--page-ball365__spacing-medium);
    }

    .page-ball365__game-title {
        font-size: 1.5em;
        margin-bottom: var(--page-ball365__spacing-small);
        color: var(--page-ball365__accent-color);
    }

    .page-ball365__game-description {
        font-size: 0.95em;
        color: var(--page-ball365__text-color-light);
        margin-bottom: var(--page-ball365__spacing-medium);
    }

    .page-ball365__promo-section {
        background-color: var(--page-ball365__background-light);
    }

    .page-ball365__promo-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: var(--page-ball365__spacing-medium);
    }

    .page-ball365__promo-card {
        background-color: var(--page-ball365__background-dark);
        border-radius: var(--page-ball365__border-radius);
        padding: var(--page-ball365__spacing-medium);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        text-align: center;
        box-sizing: border-box;
    }

    .page-ball365__promo-title {
        font-size: 1.8em;
        color: var(--page-ball365__primary-color);
        margin-bottom: var(--page-ball365__spacing-small);
    }

    .page-ball365__promo-description {
        color: var(--page-ball365__text-color-light);
        margin-bottom: var(--page-ball365__spacing-medium);
    }

    .page-ball365__about-us-section {
        text-align: center;
    }

    .page-ball365__about-us-text {
        max-width: 800px;
        margin: 0 auto var(--page-ball365__spacing-large);
        font-size: 1.1em;
        color: var(--page-ball365__text-color-light);
    }

    .page-ball365__faq-section {
        background-color: var(--page-ball365__background-light);
    }

    .page-ball365__faq-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .page-ball365__faq-item {
        background-color: var(--page-ball365__background-dark);
        border-radius: var(--page-ball365__border-radius);
        margin-bottom: var(--page-ball365__spacing-small);
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        box-sizing: border-box;
    }

    .page-ball365__faq-question {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: var(--page-ball365__spacing-medium);
        cursor: pointer;
        user-select: none;
        background-color: var(--page-ball365__secondary-color);
        color: var(--page-ball365__text-color-light);
        font-weight: bold;
        transition: background-color 0.3s ease;
    }

    .page-ball365__faq-question:hover {
        background-color: #444;
    }

    .page-ball365__faq-question h3 {
        margin: 0;
        font-size: 1.1em;
        color: var(--page-ball365__accent-color);
        pointer-events: none; /* Ngăn h3 chặn sự kiện click */
    }

    .page-ball365__faq-toggle {
        font-size: 1.5em;
        line-height: 1;
        pointer-events: none; /* Ngăn nút chuyển đổi chặn sự kiện click */
        transition: transform 0.3s ease;
    }

    .page-ball365__faq-item.active .page-ball365__faq-toggle {
        transform: rotate(45deg);
    }

    .page-ball365__faq-answer {
        max-height: 0;
        overflow: hidden;
        padding: 0 var(--page-ball365__spacing-medium);
        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-ball365__text-color-light);
    }

    .page-ball365__faq-item.active .page-ball365__faq-answer {
        max-height: 2000px !important; /* Đủ lớn để chứa nội dung */
        padding: var(--page-ball365__spacing-medium) !important;
        opacity: 1;
    }

    /* Điều chỉnh Responsive */
    @media (max-width: 768px) {
        .page-ball365__hero-title {
            font-size: 2.2em;
        }

        .page-ball365__hero-subtitle {
            font-size: 1em;
        }

        .page-ball365__section-title {
            font-size: 1.8em;
        }

        .page-ball365__game-grid {
            grid-template-columns: 1fr;
        }

        .page-ball365__game-card {
            max-width: 100%;
        }

        .page-ball365__promo-grid {
            grid-template-columns: 1fr;
        }

        .page-ball365__floating-buttons {
            bottom: var(--page-ball365__spacing-small);
            gap: var(--page-ball365__spacing-small);
        }

        .page-ball365__floating-button {
            padding: 10px 20px;
            font-size: 0.9em;
        }

        .page-ball365__faq-question,
        .page-ball365__faq-answer {
            padding-left: var(--page-ball365__spacing-small) !important;
            padding-right: var(--page-ball365__spacing-small) !important;
        }

        .page-ball365__faq-item.active .page-ball365__faq-answer {
            padding: var(--page-ball365__spacing-medium) var(--page-ball365__spacing-small) !important;
        }
        
        /* Đảm bảo tất cả các mục dạng danh sách có chiều rộng đầy đủ trên di động */
        .page-ball365__game-card, .page-ball365__promo-card, .page-ball365__faq-item {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
        }
        .page-ball365__game-grid, .page-ball365__promo-grid, .page-ball365__faq-list {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            padding: 0 !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
        }
        .page-ball365__game-image, .page-ball365__promo-image {
            max-width: 100% !important;
            height: auto !important;
            box-sizing: border-box !important;
        }
        .page-ball365__game-image-wrapper {
            width: 100% !important;
            height: auto !important; /* Cho phép chiều cao tự điều chỉnh trên di động */
        }
        .page-ball365__game-description, .page-ball365__promo-description, .page-ball365__about-us-text, .page-ball365__faq-answer p {
            word-wrap: break-word !important;
            overflow-wrap: break-word !important;
            word-break: break-word !important;
        }
    }
  