.page-bj66login {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #f8f9fa;
}

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

.page-bj66login__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    text-align: center;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 40px;
    background-color: #fff;
}

.page-bj66login__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px;
}

.page-bj66login__hero-content {
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.page-bj66login__main-title {
    font-size: 2.8em;
    color: #2563eb;
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: bold;
}

.page-bj66login__hero-description {
    font-size: 1.1em;
    color: #64748b;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-bj66login__section-title {
    font-size: 2.2em;
    color: #2563eb;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-bj66login__text-block {
    font-size: 1em;
    color: #333333;
    text-align: justify;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-bj66login__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    text-align: center;
}

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

.page-bj66login__btn-primary:hover {
    background-color: #1a4ed8;
    transform: translateY(-2px);
}

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

.page-bj66login__btn-secondary:hover {
    background-color: #e0e7ff;
    transform: translateY(-2px);
}

.page-bj66login__btn-small {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    text-align: center;
}

.page-bj66login__btn-small:hover {
    background-color: #1a4ed8;
}

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

.page-bj66login__dark-bg .page-bj66login__section-title,
.page-bj66login__dark-bg .page-bj66login__text-block,
.page-bj66login__dark-bg h3 {
    color: #ffffff;
}

.page-bj66login__about-section {
    padding: 60px 0;
    text-align: center;
}

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

.page-bj66login__feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.page-bj66login__feature-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-bj66login__feature-item h3 {
    font-size: 1.5em;
    color: #2563eb;
    margin-bottom: 10px;
}

.page-bj66login__feature-item p {
    font-size: 0.95em;
    color: #64748b;
}

.page-bj66login__guide-section {
    padding: 60px 0;
    text-align: center;
}

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

.page-bj66login__step-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    position: relative;
    padding-left: 60px;
}

.page-bj66login__step-number {
    position: absolute;
    top: 30px;
    left: 20px;
    font-size: 2em;
    font-weight: bold;
    color: #2563eb;
    line-height: 1;
}

.page-bj66login__step-item h3 {
    font-size: 1.4em;
    color: #2563eb;
    margin-bottom: 10px;
}

.page-bj66login__step-item p {
    font-size: 0.95em;
    color: #64748b;
}

.page-bj66login__games-section {
    padding: 60px 0;
    text-align: center;
}

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

.page-bj66login__game-card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-bj66login__game-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
    display: block;
}

.page-bj66login__game-card h3 {
    font-size: 1.3em;
    color: #2563eb;
    margin-bottom: 10px;
}

.page-bj66login__game-card p {
    font-size: 0.9em;
    color: #64748b;
    flex-grow: 1;
    margin-bottom: 15px;
}

.page-bj66login__promotions-section {
    padding: 60px 0;
    text-align: center;
}

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

.page-bj66login__promo-card {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.page-bj66login__promo-card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-bj66login__promo-card h3 {
    font-size: 1.4em;
    color: #2563eb;
    margin-bottom: 10px;
}

.page-bj66login__promo-card p {
    font-size: 0.95em;
    color: #64748b;
}

.page-bj66login__app-section {
    padding: 60px 0;
    text-align: center;
}

.page-bj66login__app-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-bj66login__app-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.page-bj66login__app-image-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-bj66login__app-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-bj66login__app-benefits {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-bj66login__app-benefits li {
    font-size: 1em;
    color: #ffffff;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-bj66login__app-benefits li::before {
    content: '✓';
    color: #a7ff83; /* Lighter green for contrast */
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-bj66login__faq-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

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

.page-bj66login__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-bj66login__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #f0f4f8;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.page-bj66login__faq-question:hover {
    background-color: #e0e7ff;
}

.page-bj66login__faq-qtext {
    font-size: 1.1em;
    font-weight: bold;
    color: #2563eb;
    pointer-events: none; /* Prevent text from blocking click */
}

.page-bj66login__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #2563eb;
    pointer-events: none; /* Prevent icon from blocking click */
    transition: transform 0.3s ease;
}

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

.page-bj66login__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: #333333;
}

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

.page-bj66login__faq-answer p {
    margin: 0;
    font-size: 0.95em;
    line-height: 1.7;
}

.page-bj66login__cta-final-section {
    padding: 80px 0;
    text-align: center;
}

.page-bj66login__floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #e0e7ff; /* Light blue background for visibility */
    color: #2563eb; /* Darker text for contrast */
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    z-index: 1000;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 250px;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-bj66login__floating-button:hover {
    background-color: #c4d7f8;
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-bj66login__main-title {
        font-size: 2.5em;
    }
    .page-bj66login__section-title {
        font-size: 2em;
    }
    .page-bj66login__features-grid,
    .page-bj66login__steps-grid,
    .page-bj66login__games-grid,
    .page-bj66login__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    .page-bj66login__app-layout {
        flex-direction: column;
        gap: 30px;
    }
    .page-bj66login__app-content, .page-bj66login__app-image-wrapper {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-bj66login__hero-section {
        padding-top: 10px !important; /* Ensure small padding, not header offset */
        padding-bottom: 20px;
    }
    .page-bj66login__hero-image {
        max-height: 300px;
    }
    .page-bj66login__main-title {
        font-size: 1.8em !important;
    }
    .page-bj66login__hero-description {
        font-size: 1em;
    }
    .page-bj66login__section-title {
        font-size: 1.6em !important;
    }
    .page-bj66login__text-block {
        font-size: 0.95em;
    }
    .page-bj66login__cta-button,
    .page-bj66login__btn-primary,
    .page-bj66login__btn-secondary,
    .page-bj66login a[class*="button"],
    .page-bj66login a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
        margin-bottom: 10px; /* Add space between stacked buttons */
    }
    .page-bj66login__cta-buttons,
    .page-bj66login__button-group,
    .page-bj66login__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px; /* Space between stacked buttons */
    }
    .page-bj66login img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-bj66login__container,
    .page-bj66login__hero-content,
    .page-bj66login__about-section,
    .page-bj66login__guide-section,
    .page-bj66login__games-section,
    .page-bj66login__promotions-section,
    .page-bj66login__app-section,
    .page-bj66login__faq-section,
    .page-bj66login__cta-final-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .page-bj66login__features-grid,
    .page-bj66login__steps-grid,
    .page-bj66login__games-grid,
    .page-bj66login__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-bj66login__step-item {
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
    }
    .page-bj66login__step-number {
        position: static;
        margin-bottom: 10px;
    }
    .page-bj66login__app-benefits li {
        font-size: 0.9em;
    }
    .page-bj66login__faq-question {
        padding: 15px;
    }
    .page-bj66login__faq-qtext {
        font-size: 1em;
    }
    .page-bj66login__faq-answer {
        padding: 0 15px;
    }
    .page-bj66login__faq-item.active .page-bj66login__faq-answer {
        padding: 15px !important;
    }
    .page-bj66login__floating-button {
        bottom: 15px;
        right: 15px;
        max-width: 180px;
        font-size: 0.9em;
        padding: 10px 15px;
    }
}