
    :root {
        --primary-color: #e0b300; /* Gold/Yellow for highlights */
        --secondary-color: #1a1a1a; /* Dark background */
        --text-color: #f0f0f0; /* Light text */
        --accent-color: #ff4500; /* Orange-red for strong actions */
        --soft-text-color: #ccc; /* Softer text */
        --border-color: #333;
        --card-bg: #222;
        --button-hover-bg: #c09a00;
    }

    .page-kp88 {
        font-family: 'Arial', sans-serif;
        color: var(--text-color);
        background-color: var(--secondary-color);
        line-height: 1.6;
        padding-bottom: 80px; /* Khoảng trống cho nút nổi */
    }

    .page-kp88__section {
        padding: 40px 20px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .page-kp88__hero-section {
        position: relative;
        background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), url('[GALLERY:hero:1920x1080:gaming,online_betting,kp88]') no-repeat center center/cover;
        color: #fff;
        text-align: center;
        padding: 80px 20px; /* Padding top includes a decorative offset */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 500px;
    }

    .page-kp88__hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: 1;
    }

    .page-kp88__hero-content {
        position: relative;
        z-index: 2;
        max-width: 800px;
        margin: 0 auto;
    }

    .page-kp88__hero-title {
        font-size: 3em;
        margin-bottom: 15px;
        color: var(--primary-color);
        text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    }

    .page-kp88__hero-description {
        font-size: 1.2em;
        margin-bottom: 30px;
        color: var(--soft-text-color);
    }

    .page-kp88__cta-buttons {
        display: flex;
        gap: 20px;
        justify-content: center;
    }

    .page-kp88__button {
        display: inline-block;
        padding: 12px 25px;
        background-color: var(--primary-color);
        color: var(--secondary-color);
        text-decoration: none;
        border-radius: 5px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        border: none;
        cursor: pointer;
        font-size: 1em;
    }

    .page-kp88__button:hover {
        background-color: var(--button-hover-bg);
    }

    .page-kp88__section-title {
        font-size: 2.5em;
        color: var(--primary-color);
        text-align: center;
        margin-bottom: 40px;
        position: relative;
        padding-bottom: 10px;
    }

    .page-kp88__section-title::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background-color: var(--accent-color);
        border-radius: 2px;
    }

    .page-kp88__text-content {
        font-size: 1.1em;
        color: var(--soft-text-color);
        margin-bottom: 20px;
        text-align: justify;
    }

    .page-kp88__image-container {
        text-align: center;
        margin: 40px 0;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .page-kp88__image {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.5);
        display: block;
        margin: 0 auto; /* Center the image */
    }

    .page-kp88__game-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
        margin-top: 30px;
    }

    .page-kp88__game-card {
        background-color: var(--card-bg);
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: 1px solid var(--border-color);
    }

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

    .page-kp88__game-card-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
        display: block;
    }

    .page-kp88__game-card-content {
        padding: 20px;
    }

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

    .page-kp88__game-card-description {
        font-size: 0.95em;
        color: var(--soft-text-color);
    }

    .page-kp88__list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-kp88__list-item {
        background-color: var(--card-bg);
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        border-left: 5px solid var(--primary-color);
        font-size: 1.05em;
        color: var(--text-color);
        box-sizing: border-box; /* Crucial for responsiveness */
    }

    .page-kp88__list-item strong {
        color: var(--primary-color);
    }

    .page-kp88__payment-grid,
    .page-kp88__provider-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
        margin-top: 30px;
        justify-items: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-kp88__logo-item {
        background-color: var(--card-bg);
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100px;
        width: 100%;
        max-width: 200px;
        box-sizing: border-box;
        border: 1px solid var(--border-color);
    }

    .page-kp88__logo-item-image {
        max-width: 100%;
        max-height: 70px;
        height: auto;
        display: block;
        object-fit: contain;
    }

    /* FAQ Styles */
    .page-kp88__faq-container {
        margin-top: 50px;
    }

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

    .page-kp88__faq-question {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        cursor: pointer;
        user-select: none;
        background-color: #2a2a2a;
        transition: background-color 0.3s ease;
    }

    .page-kp88__faq-question:hover {
        background-color: #3a3a3a;
    }

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

    .page-kp88__faq-toggle {
        font-size: 1.5em;
        font-weight: bold;
        color: var(--accent-color);
        pointer-events: none; /* Ngăn span chặn sự kiện click */
        transition: transform 0.3s ease;
    }

    .page-kp88__faq-item.active .page-kp88__faq-toggle {
        transform: rotate(45deg); /* Thay đổi '+' thành 'x' trực quan */
        color: var(--primary-color);
    }

    .page-kp88__faq-answer {
        max-height: 0;
        overflow: hidden;
        padding: 0 20px;
        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(--soft-text-color);
    }

    .page-kp88__faq-item.active .page-kp88__faq-answer {
        max-height: 2000px !important; /* Đủ lớn để chứa mọi nội dung */
        padding: 20px !important; /* Đảm bảo padding được áp dụng */
        opacity: 1;
    }

    .page-kp88__faq-answer p {
        margin: 0 0 10px 0;
        padding-bottom: 10px;
    }
    
    .page-kp88__floating-buttons {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: space-around;
        padding: 10px 0;
        background-color: rgba(26, 26, 26, 0.95);
        box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
        z-index: 1000;
        gap: 10px; 
    }

    .page-kp88__floating-button {
        flex: 1;
        text-align: center;
        padding: 12px 15px;
        background-color: var(--primary-color);
        color: var(--secondary-color);
        text-decoration: none;
        border-radius: 5px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        font-size: 1em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 48%; /* Điều chỉnh cho hai nút */
    }

    .page-kp88__floating-button--register {
        background-color: var(--accent-color);
    }

    .page-kp88__floating-button--login {
        background-color: var(--primary-color);
    }

    .page-kp88__floating-button--register:hover {
        background-color: #cc3700;
    }

    .page-kp88__floating-button--login:hover {
        background-color: var(--button-hover-bg);
    }

    /* Mobile Responsiveness */
    @media (max-width: 768px) {
        .page-kp88__hero-title {
            font-size: 2.2em;
        }

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

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

        .page-kp88__section {
            padding: 30px 15px;
        }

        .page-kp88__game-grid {
            grid-template-columns: 1fr;
            gap: 20px;
        }

        .page-kp88__list {
            grid-template-columns: 1fr;
            gap: 15px;
            padding: 0 !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
        }

        .page-kp88__list-item {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            padding: 15px !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
            word-wrap: break-word !important;
            overflow-wrap: break-word !important;
        }

        .page-kp88__payment-grid,
        .page-kp88__provider-grid {
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 15px;
            padding: 0 !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
        }
        
        .page-kp88__image {
            max-width: 100% !important;
            height: auto !important;
            box-sizing: border-box !important;
        }

        .page-kp88__image-container {
            width: 100% !important;
            max-width: 100% !important;
            overflow: hidden !important;
            box-sizing: border-box !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
        }

        .page-kp88__faq-question {
            padding: 12px 15px;
        }

        .page-kp88__faq-question h3 {
            font-size: 1.1em;
        }

        .page-kp88__faq-answer {
            padding: 0 15px;
        }

        .page-kp88__faq-item.active .page-kp88__faq-answer {
            padding: 15px !important;
        }

        .page-kp88__floating-buttons {
            padding: 8px 5px;
            gap: 5px;
        }
        .page-kp88__floating-button {
            padding: 10px 10px;
            font-size: 0.9em;
        }
    }

    @media (max-width: 480px) {
        .page-kp88__hero-title {
            font-size: 1.8em;
        }
        .page-kp88__hero-description {
            font-size: 0.9em;
        }
        .page-kp88__cta-buttons {
            flex-direction: column;
            gap: 10px;
        }
        .page-kp88__button {
            width: 100%;
            max-width: 250px;
        }
        .page-kp88__floating-button {
            font-size: 0.85em;
            padding: 8px 8px;
        }
    }
  