.page-game-bai-poker {
    font-family: 'Arial', sans-serif;
    color: #333333;
    background-color: #F4F7FB;
}

.page-game-bai-poker__container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-game-bai-poker__container--flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-game-bai-poker__hero-section {
    padding-top: 10px;
    padding-bottom: 40px;
    text-align: center;
    background-color: #F4F7FB;
    color: #1F2D3D;
}

.page-game-bai-poker__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #1F2D3D;
}

.page-game-bai-poker__description {
    font-size: 1.15em;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-bai-poker__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.page-game-bai-poker__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-game-bai-poker__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

.page-game-bai-poker__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-game-bai-poker__btn-secondary {
    background-color: #ffffff;
    color: #2F6BFF;
    border: 2px solid #2F6BFF;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-game-bai-poker__btn-secondary:hover {
    transform: translateY(-2px);
    background-color: #f0f7ff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-game-bai-poker__btn-small {
    padding: 10px 20px;
    font-size: 0.95em;
    border-radius: 6px;
}

.page-game-bai-poker__btn-link {
    background: none;
    color: #2F6BFF;
    border: none;
    padding: 0;
    font-size: 1em;
    text-decoration: underline;
    margin-top: 10px;
}

.page-game-bai-poker__btn-link:hover {
    color: #4A8BFF;
    text-decoration: none;
}

.page-game-bai-poker__hero-image-wrapper {
    margin: 40px 0 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

.page-game-bai-poker__image-caption {
    font-style: italic;
    font-size: 0.9em;
    color: #666666;
    margin-top: 10px;
}

.page-game-bai-poker__section {
    padding: 60px 0;
    background-color: #F4F7FB;
    color: #1F2D3D;
}

.page-game-bai-poker__section:nth-of-type(even) {
    background-color: #eaf3ff;
}

.page-game-bai-poker__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #1F2D3D;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.3;
}

.page-game-bai-poker__subsection-title {
    font-size: 2em;
    font-weight: 600;
    color: #1F2D3D;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 25px;
}

.page-game-bai-poker__text-block {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 25px;
    text-align: justify;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-bai-poker__text-block--center {
    text-align: center;
}

.page-game-bai-poker__features-grid,
.page-game-bai-poker__game-card-grid,
.page-game-bai-poker__steps-grid,
.page-game-bai-poker__strategy-grid,
.page-game-bai-poker__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-game-bai-poker__feature-card,
.page-game-bai-poker__game-card,
.page-game-bai-poker__step-card,
.page-game-bai-poker__strategy-card,
.page-game-bai-poker__promo-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #1F2D3D;
}

.page-game-bai-poker__feature-card:hover,
.page-game-bai-poker__game-card:hover,
.page-game-bai-poker__step-card:hover,
.page-game-bai-poker__strategy-card:hover,
.page-game-bai-poker__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-game-bai-poker__feature-title,
.page-game-bai-poker__game-title,
.page-game-bai-poker__step-title,
.page-game-bai-poker__strategy-title,
.page-game-bai-poker__promo-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2F6BFF;
}

.page-game-bai-poker__feature-description,
.page-game-bai-poker__game-description,
.page-game-bai-poker__step-description,
.page-game-bai-poker__strategy-description,
.page-game-bai-poker__promo-description {
    font-size: 1em;
    line-height: 1.6;
    color: #333333;
}

.page-game-bai-poker__game-image-wrapper,
.page-game-bai-poker__promo-image-wrapper {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-game-bai-poker__game-image,
.page-game-bai-poker__promo-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-game-bai-poker__game-trial-section {
    margin-top: 60px;
    padding: 40px;
    background-color: #eaf3ff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-game-bai-poker__game-trial-frame {
    border: 1px solid #D6E2FF;
    border-radius: 8px;
    margin-top: 30px;
    width: 100%;
    min-height: 600px;
    display: block;
}

.page-game-bai-poker__cta-buttons--center {
    margin-top: 30px;
}

.page-game-bai-poker__step-icon-wrapper {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    border-radius: 50%;
    background-color: #F4F7FB;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-game-bai-poker__step-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.page-game-bai-poker__faq-section {
    padding: 60px 0;
    background-color: #F4F7FB;
}

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

.page-game-bai-poker__faq-item {
    background-color: #ffffff;
    border: 1px solid #D6E2FF;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    color: #1F2D3D;
}

.page-game-bai-poker__faq-item[open] {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-game-bai-poker__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1em;
    color: #2F6BFF;
    list-style: none;
    position: relative;
}

.page-game-bai-poker__faq-question::-webkit-details-marker {
    display: none;
}

.page-game-bai-poker__faq-question::marker {
    display: none;
}

.page-game-bai-poker__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.2s ease;
}

.page-game-bai-poker__faq-item[open] .page-game-bai-poker__faq-toggle {
    transform: rotate(45deg);
}

.page-game-bai-poker__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    line-height: 1.6;
    color: #333333;
}

.page-game-bai-poker__final-cta {
    background: linear-gradient(135deg, #2F6BFF 0%, #6FA3FF 100%);
    color: #ffffff;
    text-align: center;
    padding: 80px 0;
}

.page-game-bai-poker__final-cta .page-game-bai-poker__section-title {
    color: #ffffff;
    margin-bottom: 20px;
}

.page-game-bai-poker__final-cta .page-game-bai-poker__text-block {
    color: #e0eaff;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.page-game-bai-poker__final-cta .page-game-bai-poker__cta-buttons .page-game-bai-poker__btn-primary {
    background: #ffffff;
    color: #2F6BFF;
}

.page-game-bai-poker__final-cta .page-game-bai-poker__cta-buttons .page-game-bai-poker__btn-primary:hover {
    background: #f0f0f0;
}

.page-game-bai-poker__final-cta .page-game-bai-poker__cta-buttons .page-game-bai-poker__btn-secondary {
    background: none;
    color: #ffffff;
    border-color: #ffffff;
}

.page-game-bai-poker__final-cta .page-game-bai-poker__cta-buttons .page-game-bai-poker__btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-game-bai-poker__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }

    .page-game-bai-poker__section-title {
        font-size: 2.2em;
    }

    .page-game-bai-poker__subsection-title {
        font-size: 1.8em;
    }

    .page-game-bai-poker__game-trial-frame {
        min-height: 500px;
    }

    .page-game-bai-poker__hero-image-wrapper {
        margin-left: 15px;
        margin-right: 15px;
    }
}

@media (max-width: 768px) {
    /* 1. Top section title + dual CTA */
    .page-game-bai-poker__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }

    .page-game-bai-poker__main-title {
        font-size: 1.8em !important;
        margin-bottom: 10px;
    }

    .page-game-bai-poker__description {
        font-size: 1em !important;
        margin-bottom: 20px;
        padding: 0 15px;
    }

    .page-game-bai-poker__cta-buttons {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        padding: 0 15px !important;
        margin-bottom: 30px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-game-bai-poker__btn,
    .page-game-bai-poker__btn-primary,
    .page-game-bai-poker__btn-secondary,
    .page-game-bai-poker a[class*="button"],
    .page-game-bai-poker a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        font-size: 1em !important;
        padding: 12px 20px !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* 2. Single-column long article container */
    .page-game-bai-poker__container {
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-game-bai-poker__section {
        padding: 40px 0 !important;
    }

    .page-game-bai-poker__section-title {
        font-size: 1.8em !important;
        margin-bottom: 20px;
    }

    .page-game-bai-poker__subsection-title {
        font-size: 1.5em !important;
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .page-game-bai-poker__text-block {
        font-size: 1em !important;
        line-height: 1.5 !important;
        margin-bottom: 20px;
    }

    .page-game-bai-poker__feature-card,
    .page-game-bai-poker__game-card,
    .page-game-bai-poker__step-card,
    .page-game-bai-poker__strategy-card,
    .page-game-bai-poker__promo-card {
        padding: 20px !important;
    }

    .page-game-bai-poker__feature-title,
    .page-game-bai-poker__game-title,
    .page-game-bai-poker__step-title,
    .page-game-bai-poker__strategy-title,
    .page-game-bai-poker__promo-title {
        font-size: 1.3em !important;
        margin-bottom: 10px;
    }

    .page-game-bai-poker__feature-description,
    .page-game-bai-poker__game-description,
    .page-game-bai-poker__step-description,
    .page-game-bai-poker__strategy-description,
    .page-game-bai-poker__promo-description {
        font-size: 0.95em !important;
    }

    /* 3. General images and figure */
    .page-game-bai-poker img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-game-bai-poker__hero-image-wrapper {
        margin: 20px 0 0 !important;
        border-radius: 8px !important;
    }

    .page-game-bai-poker__game-image-wrapper,
    .page-game-bai-poker__promo-image-wrapper {
        margin-bottom: 15px !important;
        border-radius: 6px !important;
    }

    /* 4. Buttons and button containers (already covered in point 1 for CTA, and general buttons above) */
    /* Ensuring grid items stack */
    .page-game-bai-poker__features-grid,
    .page-game-bai-poker__game-card-grid,
    .page-game-bai-poker__steps-grid,
    .page-game-bai-poker__strategy-grid,
    .page-game-bai-poker__promo-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-top: 20px;
    }

    .page-game-bai-poker__game-trial-section {
        padding: 30px 15px !important;
        margin-top: 40px;
    }

    .page-game-bai-poker__game-trial-frame {
        min-height: 300px !important;
        margin-top: 20px;
    }

    .page-game-bai-poker__step-icon-wrapper {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }

    .page-game-bai-poker__step-icon {
        width: 60px;
        height: 60px;
    }

    /* 5. Registration tutorial and FAQ blocks */
    .page-game-bai-poker__faq-list {
        margin-top: 30px;
    }

    .page-game-bai-poker__faq-item {
        margin-bottom: 8px !important;
    }

    .page-game-bai-poker__faq-question {
        padding: 15px 20px !important;
        font-size: 1em !important;
    }

    .page-game-bai-poker__faq-answer {
        padding: 0 20px 15px !important;
        font-size: 0.95em !important;
    }

    .page-game-bai-poker__final-cta {
        padding: 60px 15px !important;
    }

    .page-game-bai-poker__final-cta .page-game-bai-poker__text-block {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .page-game-bai-poker__main-title {
        font-size: 1.6em !important;
    }

    .page-game-bai-poker__section-title {
        font-size: 1.6em !important;
    }

    .page-game-bai-poker__subsection-title {
        font-size: 1.3em !important;
    }
}