.page-bj66livelogin {
    font-family: 'Arial', sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

.page-bj66livelogin__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-bj66livelogin__dark-bg {
    background-color: #2563eb;
    color: #ffffff;
}

.page-bj66livelogin__light-bg {
    background-color: #f8f9fa;
    color: #333333;
}

.page-bj66livelogin__hero-section {
    padding-top: 10px; /* Adjusted to avoid double padding with body */
    padding-bottom: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-bj66livelogin__hero-image-container {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-bj66livelogin__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-bj66livelogin__hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-bj66livelogin__main-title {
    font-size: clamp(2em, 5vw, 3em);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-bj66livelogin__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.page-bj66livelogin__section-title {
    font-size: clamp(1.8em, 4vw, 2.5em);
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: inherit;
}

.page-bj66livelogin__text-block {
    font-size: 1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-bj66livelogin__btn-primary,
.page-bj66livelogin__btn-secondary,
.page-bj66livelogin__btn-game,
.page-bj66livelogin__floating-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-bj66livelogin__btn-primary {
    background-color: #2563eb;
    color: #ffffff;
    border: 2px solid #2563eb;
}

.page-bj66livelogin__btn-primary:hover {
    background-color: #1a4ed8;
    border-color: #1a4ed8;
}

.page-bj66livelogin__btn-secondary {
    background-color: #ffffff;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.page-bj66livelogin__btn-secondary:hover {
    background-color: #f0f8ff;
    color: #1a4ed8;
    border-color: #1a4ed8;
}

.page-bj66livelogin__cta-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-bj66livelogin__info-section,
.page-bj66livelogin__guide-section,
.page-bj66livelogin__promo-section,
.page-bj66livelogin__support-section,
.page-bj66livelogin__faq-section,
.page-bj66livelogin__final-cta {
    padding: 60px 0;
}

.page-bj66livelogin__game-showcase {
    padding: 60px 0;
    text-align: center;
}

.page-bj66livelogin__games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
    justify-items: center;
}

.page-bj66livelogin__game-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333333;
    max-width: 400px;
    width: 100%;
    box-sizing: border-box;
}

.page-bj66livelogin__game-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-bj66livelogin__game-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-bj66livelogin__game-description {
    font-size: 0.95em;
    color: #555555;
    margin-bottom: 20px;
    padding: 0 15px;
}

.page-bj66livelogin__btn-game {
    background-color: #64748b;
    color: #ffffff;
    border: 2px solid #64748b;
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-bj66livelogin__btn-game:hover {
    background-color: #475569;
    border-color: #475569;
}

.page-bj66livelogin__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-bj66livelogin__guide-item {
    background-color: #ffffff;
    border-left: 5px solid #2563eb;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 1.05em;
}

.page-bj66livelogin__promo-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-bj66livelogin__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-bj66livelogin__promo-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 1.05em;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.page-bj66livelogin__promo-item::before {
    content: '✅';
    margin-right: 10px;
}

.page-bj66livelogin__support-channels {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-bj66livelogin__channel-item {
    background-color: #ffffff;
    color: #2563eb;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-weight: 600;
    text-align: center;
    flex: 1 1 auto;
    min-width: 200px;
    max-width: 300px;
    box-sizing: border-box;
}

.page-bj66livelogin__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-bj66livelogin__faq-item {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-bj66livelogin__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1em;
    user-select: none;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-bj66livelogin__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-bj66livelogin__faq-qtext {
    pointer-events: none; /* Prevent text from blocking click event */
}

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

.page-bj66livelogin__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;
    font-size: 1em;
    background-color: rgba(255, 255, 255, 0.05);
}

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

.page-bj66livelogin__faq-item.active .page-bj66livelogin__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.page-bj66livelogin__final-cta {
    text-align: center;
}

.page-bj66livelogin__floating-login-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 90%;
    max-width: 350px;
    box-sizing: border-box;
}

.page-bj66livelogin__floating-button {
    background-color: #ef4444; /* Eye-catching color */
    color: #ffffff;
    padding: 15px 20px;
    font-size: 1.1em;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: block;
    text-align: center;
    animation: pulse 2s infinite;
    border: none;
}

.page-bj66livelogin__floating-button:hover {
    background-color: #dc2626;
}

@keyframes pulse {
    0% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
    100% { transform: translateX(-50%) scale(1); }
}

/* Responsive Styles for Mobile */
@media (max-width: 768px) {
    .page-bj66livelogin__container {
        padding: 15px;
    }

    .page-bj66livelogin__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }

    .page-bj66livelogin__hero-image-container {
        max-height: 300px;
    }

    .page-bj66livelogin__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-bj66livelogin__main-title {
        font-size: 2em; /* Adjusted for mobile readability */
    }

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

    .page-bj66livelogin__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-bj66livelogin__text-block {
        font-size: 0.95em;
    }

    .page-bj66livelogin__btn-primary,
    .page-bj66livelogin__btn-secondary,
    .page-bj66livelogin__btn-game {
        max-width: 100% !important;
        width: 100% !important;
        padding: 10px 15px;
        font-size: 0.95em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-bj66livelogin__cta-container {
        flex-direction: column;
        gap: 15px;
    }

    .page-bj66livelogin__info-section,
    .page-bj66livelogin__guide-section,
    .page-bj66livelogin__promo-section,
    .page-bj66livelogin__support-section,
    .page-bj66livelogin__faq-section,
    .page-bj66livelogin__final-cta {
        padding: 40px 0;
    }

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

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

    .page-bj66livelogin__game-image {
        height: 200px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-bj66livelogin__guide-item,
    .page-bj66livelogin__promo-item,
    .page-bj66livelogin__channel-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 15px;
        margin-left: 0 !important;
        margin-right: 0 !important;
        word-wrap: break-word !important; /* Ensure text wraps */
    }

    .page-bj66livelogin__promo-image {
        margin: 20px auto;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-bj66livelogin__support-channels {
        flex-direction: column;
        gap: 15px;
    }

    .page-bj66livelogin__faq-question {
        font-size: 1em;
        padding: 15px;
    }

    .page-bj66livelogin__faq-answer {
        padding: 15px !important;
    }

    .page-bj66livelogin__floating-login-btn {
        width: calc(100% - 30px);
        left: 15px;
        transform: translateX(0%);
    }
}