.fun88-app-page,
.fun88-brand-page,
.fun88-deposit-page,
.fun88-promo-page,
.fun88-account-page,
.fun88-rg-page,
.fun88-vip-page,
.fun88-withdraw-page {
    background: var(--fun88-page);
    color: var(--fun88-text);
}

.fun88-app-container,
.fun88-brand-container,
.fun88-deposit-container,
.fun88-promo-container,
.fun88-account-container,
.fun88-rg-container,
.fun88-vip-container,
.fun88-withdraw-container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding-inline: 20px;
}

.fun88-app-hero,
.fun88-brand-hero,
.fun88-deposit-hero,
.fun88-promo-hero,
.fun88-account-hero,
.fun88-rg-hero,
.fun88-vip-hero,
.fun88-withdraw-hero {
    padding: 34px 0;
    color: #ffffff;
    background: var(--fun88-brand-blue-dark);
}

.fun88-app-hero-grid,
.fun88-brand-hero__wrap,
.fun88-deposit-hero__wrap,
.fun88-promo-hero__wrap,
.fun88-account-hero__wrap,
.fun88-rg-hero__wrap,
.fun88-vip-hero__wrap,
.fun88-withdraw-hero__wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 30px;
    align-items: center;
}

.fun88-app-hero-content h1,
.fun88-brand-hero__content h1,
.fun88-deposit-hero__content h1,
.fun88-promo-hero__content h1,
.fun88-account-hero__content h1,
.fun88-rg-hero__content h1,
.fun88-vip-hero__content h1,
.fun88-withdraw-hero__content h1 {
    margin: 0 0 12px;
    color: #ffffff;
}

.fun88-app-hero-desc,
.fun88-brand-hero__content p,
.fun88-deposit-hero__content p,
.fun88-promo-hero__content p,
.fun88-account-hero__content p,
.fun88-rg-hero__content p,
.fun88-vip-hero__content p,
.fun88-withdraw-hero__content p {
    margin: 0;
    color: #ffffff;
}

.fun88-app-meta,
.fun88-deposit-hero__meta,
.fun88-promo-hero__meta,
.fun88-account-hero__meta,
.fun88-rg-hero__meta,
.fun88-vip-hero__meta,
.fun88-withdraw-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding: 0;
    margin: 16px 0 0;
    color: #ffffff;
    font-size: 14px;
    list-style: none;
}

.fun88-app-hero-media,
.fun88-brand-hero__panel,
.fun88-deposit-hero__panel,
.fun88-promo-hero__media,
.fun88-account-hero__media,
.fun88-rg-hero__media,
.fun88-vip-hero__media,
.fun88-withdraw-hero__panel {
    padding: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.fun88-app-hero-media img,
.fun88-brand-hero__panel img,
.fun88-deposit-hero__panel img,
.fun88-promo-hero__media img,
.fun88-account-hero__media img,
.fun88-rg-hero__media img,
.fun88-vip-hero__media img,
.fun88-withdraw-hero__panel img {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
}

.fun88-brand-hero__panel-top,
.fun88-brand-hero__panel-caption,
.fun88-app-hero-media-card,
.fun88-vip-hero__media {
    color: var(--fun88-text);
}

.fun88-app-layout,
.fun88-brand-layout,
.fun88-deposit-layout,
.fun88-promo-layout,
.fun88-account-layout,
.fun88-rg-layout,
.fun88-vip-layout,
.fun88-withdraw-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 24px;
    align-items: start;
    padding-block: 30px 44px;
}

.fun88-app-main,
.fun88-brand-main,
.fun88-deposit-main,
.fun88-promo-main,
.fun88-account-main,
.fun88-rg-main,
.fun88-vip-main,
.fun88-withdraw-main {
    min-width: 0;
}

.fun88-app-sidebar,
.fun88-brand-sidebar,
.fun88-deposit-sidebar,
.fun88-promo-sidebar,
.fun88-account-sidebar,
.fun88-rg-sidebar,
.fun88-vip-sidebar,
.fun88-withdraw-sidebar {
    position: sticky;
    top: 18px;
}

.fun88-sidebar-card,
.fun88-brand-nav,
.fun88-deposit-nav,
.fun88-promo-nav,
.fun88-account-nav,
.fun88-rg-nav,
.fun88-vip-nav,
.fun88-withdraw-nav {
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--fun88-border);
    border-radius: var(--fun88-radius);
}

.fun88-sidebar-card h3,
.fun88-brand-nav h3,
.fun88-deposit-nav h3,
.fun88-promo-nav h3,
.fun88-account-nav h3,
.fun88-rg-nav h3,
.fun88-vip-nav h3,
.fun88-withdraw-nav h3 {
    margin: 0 0 10px;
    color: var(--fun88-brand-blue-dark);
}

.fun88-sidebar-card ul,
.fun88-brand-nav ul,
.fun88-deposit-nav ul,
.fun88-promo-nav ul,
.fun88-account-nav ul,
.fun88-rg-nav ul,
.fun88-vip-nav ul,
.fun88-withdraw-nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.fun88-sidebar-card a,
.fun88-brand-nav a,
.fun88-deposit-nav a,
.fun88-promo-nav a,
.fun88-account-nav a,
.fun88-rg-nav a,
.fun88-vip-nav a,
.fun88-withdraw-nav a {
    display: flex;
    min-height: 48px;
    align-items: center;
    padding: 7px 8px;
    color: var(--fun88-text);
    border-bottom: 1px solid var(--fun88-border);
    text-decoration: none;
}

.fun88-sidebar-card a:hover,
.fun88-brand-nav a:hover,
.fun88-deposit-nav a:hover,
.fun88-promo-nav a:hover,
.fun88-account-nav a:hover,
.fun88-rg-nav a:hover,
.fun88-vip-nav a:hover,
.fun88-withdraw-nav a:hover {
    color: var(--fun88-brand-blue);
    background: var(--fun88-brand-blue-light);
}

.fun88-content-card,
.fun88-brand-card,
.fun88-deposit-card,
.fun88-promo-card,
.fun88-account-card,
.fun88-rg-card,
.fun88-vip-card,
.fun88-withdraw-card {
    padding: 26px;
    margin-bottom: 18px;
    background: #ffffff;
    border: 1px solid var(--fun88-border);
    border-radius: var(--fun88-radius);
}

.fun88-section-title,
.fun88-brand-heading,
.fun88-deposit-heading,
.fun88-promo-heading,
.fun88-account-heading,
.fun88-rg-heading,
.fun88-vip-heading,
.fun88-withdraw-heading {
    margin-bottom: 18px;
}

.fun88-section-title h2,
.fun88-brand-heading h2,
.fun88-deposit-heading h2,
.fun88-promo-heading h2,
.fun88-account-heading h2,
.fun88-rg-heading h2,
.fun88-vip-heading h2,
.fun88-withdraw-heading h2 {
    margin: 0 0 7px;
    color: var(--fun88-brand-blue-dark);
}

.fun88-section-title p,
.fun88-brand-heading p,
.fun88-deposit-heading p,
.fun88-promo-heading p,
.fun88-account-heading p,
.fun88-rg-heading p,
.fun88-vip-heading p,
.fun88-withdraw-heading p {
    margin: 0;
    color: var(--fun88-muted);
}

.fun88-brand-hero__panel-media {
    display: flex;
    justify-content: center;
}

.fun88-guide-content {
    padding-top: 12px;
}

.fun88-content-card h3,
.fun88-brand-card h3,
.fun88-deposit-card h3,
.fun88-promo-card h3,
.fun88-account-card h3,
.fun88-rg-card h3,
.fun88-vip-card h3,
.fun88-withdraw-card h3 {
    color: var(--fun88-ink);
}

.fun88-download-grid,
.fun88-steps-grid,
.fun88-two-col,
.fun88-advantage-grid,
.fun88-brand-topic-list,
.fun88-guide-grid,
.fun88-link-grid,
.fun88-split,
.fun88-deposit-steps,
.fun88-method-grid,
.fun88-time-grid,
.fun88-support-grid,
.fun88-promo-two-col,
.fun88-benefit-cards,
.fun88-claim-steps,
.fun88-account-feature-grid,
.fun88-account-highlight,
.fun88-account-steps,
.fun88-account-two-col,
.fun88-account-link-grid,
.fun88-rg-advice-grid,
.fun88-rg-risk-grid,
.fun88-rg-support-grid,
.fun88-rg-link-grid,
.fun88-vip-level-grid,
.fun88-vip-points,
.fun88-vip-two-col,
.fun88-steps,
.fun88-benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.fun88-promo-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.fun88-advantage-stack,
.fun88-highlight-strip,
.fun88-rg-quiz {
    display: grid;
    gap: 12px;
}

.fun88-highlight-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
}

.fun88-advantage-grid,
.fun88-brand-topic-list,
.fun88-method-grid,
.fun88-account-feature-grid,
.fun88-rg-advice-grid,
.fun88-rg-risk-grid,
.fun88-rg-support-grid,
.fun88-vip-level-grid,
.fun88-benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fun88-mini-card,
.fun88-feature-item,
.fun88-advantage-item,
.fun88-guide-card,
.fun88-highlight-item,
.fun88-link-card,
.fun88-deposit-step,
.fun88-method-card,
.fun88-time-card,
.fun88-support-item,
.fun88-promo-feature,
.fun88-benefit-card,
.fun88-claim-step,
.fun88-account-feature,
.fun88-account-highlight-item,
.fun88-account-step,
.fun88-rg-advice-item,
.fun88-rg-quiz-item,
.fun88-rg-support-card,
.fun88-rg-link-card,
.fun88-vip-level-card,
.fun88-vip-point,
.fun88-step,
.fun88-benefit-item {
    padding: 16px;
    background: var(--fun88-page);
    border: 1px solid var(--fun88-border);
    border-radius: 6px;
}

.fun88-step-block {
    padding: 18px;
    background: var(--fun88-page);
    border: 1px solid var(--fun88-border);
    border-radius: 6px;
}

.fun88-step-list {
    padding-left: 22px;
    margin-bottom: 0;
}

.fun88-step-list li + li {
    margin-top: 8px;
}

.fun88-summary-text {
    margin: 16px 0 0;
    color: var(--fun88-muted);
}

.fun88-link-card,
.fun88-rg-link-card {
    display: flex;
    min-height: 48px;
    align-items: center;
    color: var(--fun88-brand-blue-dark);
    font-weight: 700;
    text-decoration: none;
}

.fun88-link-card:hover,
.fun88-rg-link-card:hover {
    background: var(--fun88-brand-blue-light);
}

.fun88-deposit-step-num,
.fun88-claim-step-num,
.fun88-account-step-num,
.fun88-rg-advice-num,
.fun88-vip-point-num,
.fun88-step-num,
.fun88-advantage-num,
.fun88-benefit-index {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: #ffffff;
    background: var(--fun88-brand-blue);
    border-radius: 50%;
    font-weight: 800;
}

.fun88-figure,
.fun88-brand-figure,
.fun88-deposit-figure,
.fun88-promo-figure,
.fun88-account-figure,
.fun88-vip-figure,
.fun88-withdraw-figure {
    margin: 18px 0;
}

.fun88-figure img,
.fun88-brand-figure img,
.fun88-deposit-figure img,
.fun88-promo-figure img,
.fun88-account-figure img,
.fun88-vip-figure img,
.fun88-withdraw-figure img {
    width: 100%;
    border: 1px solid var(--fun88-border);
    border-radius: 8px;
}

.fun88-figure figcaption,
.fun88-brand-figure figcaption,
.fun88-deposit-figure figcaption,
.fun88-promo-figure figcaption,
.fun88-account-figure figcaption,
.fun88-vip-figure figcaption,
.fun88-withdraw-figure figcaption {
    margin-top: 8px;
    color: var(--fun88-muted);
    font-size: 13px;
    text-align: center;
}

.fun88-notice-box,
.fun88-tip-box,
.fun88-soft-box,
.fun88-account-note,
.fun88-account-soft,
.fun88-account-tip,
.fun88-rg-tip,
.fun88-rg-warning,
.fun88-rg-risk-box,
.fun88-vip-note,
.fun88-vip-soft,
.fun88-vip-final {
    padding: 16px 18px;
    margin-block: 16px;
    color: var(--fun88-text);
    background: var(--fun88-warning);
    border: 1px solid #edc397;
    border-left: 4px solid var(--fun88-brand-orange);
    border-radius: 6px;
}

.fun88-feature-list,
.fun88-payment-list,
.fun88-terms-list,
.fun88-faq-list {
    display: grid;
    gap: 10px;
}

.fun88-faq-item,
.fun88-term-item {
    padding: 14px 16px;
    background: var(--fun88-page);
    border: 1px solid var(--fun88-border);
    border-radius: 6px;
}

.fun88-faq-item summary,
.fun88-term-item summary {
    display: flex;
    min-height: 48px;
    align-items: center;
    cursor: pointer;
}

.fun88-table-wrap,
.fun88-vip-table-wrap {
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
}

.fun88-table,
.fun88-compare-table,
.fun88-vip-table,
.fun88-table-wrap table,
.fun88-vip-table-wrap table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

.fun88-table th,
.fun88-table td,
.fun88-compare-table th,
.fun88-compare-table td,
.fun88-vip-table th,
.fun88-vip-table td,
.fun88-table-wrap th,
.fun88-table-wrap td,
.fun88-vip-table-wrap th,
.fun88-vip-table-wrap td {
    padding: 11px 12px;
    border: 1px solid var(--fun88-border);
    text-align: left;
    vertical-align: top;
}

.fun88-table th,
.fun88-compare-table th,
.fun88-vip-table th,
.fun88-table-wrap th,
.fun88-vip-table-wrap th {
    color: #ffffff;
    background: var(--fun88-brand-blue);
}

.fun88-app-actions,
.fun88-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.fun88-btn-primary,
.fun88-btn-main,
.fun88-btn-outline,
.fun88-btn-sub {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid var(--fun88-brand-blue);
    border-radius: 6px;
    font-weight: 750;
    text-decoration: none;
}

.fun88-btn-primary,
.fun88-btn-main {
    color: #111827;
    background: var(--fun88-brand-orange);
    border-color: #d9680b;
}

.fun88-btn-outline,
.fun88-btn-sub {
    color: var(--fun88-brand-blue-dark);
    background: #ffffff;
}

.fun88-cta-box {
    padding: 24px;
    color: #ffffff;
    background: var(--fun88-brand-blue-dark);
    border-radius: 8px;
}

.fun88-cta-box h2,
.fun88-cta-box p {
    color: #ffffff;
}

@media (max-width: 900px) {
    .fun88-app-hero-grid,
    .fun88-brand-hero__wrap,
    .fun88-deposit-hero__wrap,
    .fun88-promo-hero__wrap,
    .fun88-account-hero__wrap,
    .fun88-rg-hero__wrap,
    .fun88-vip-hero__wrap,
    .fun88-withdraw-hero__wrap,
    .fun88-app-layout,
    .fun88-brand-layout,
    .fun88-deposit-layout,
    .fun88-promo-layout,
    .fun88-account-layout,
    .fun88-rg-layout,
    .fun88-vip-layout,
    .fun88-withdraw-layout {
        grid-template-columns: 1fr;
    }

    .fun88-app-sidebar,
    .fun88-brand-sidebar,
    .fun88-deposit-sidebar,
    .fun88-promo-sidebar,
    .fun88-account-sidebar,
    .fun88-rg-sidebar,
    .fun88-vip-sidebar,
    .fun88-withdraw-sidebar {
        position: static;
    }

    .fun88-sidebar-card ul,
    .fun88-brand-nav ul,
    .fun88-deposit-nav ul,
    .fun88-promo-nav ul,
    .fun88-account-nav ul,
    .fun88-rg-nav ul,
    .fun88-vip-nav ul,
    .fun88-withdraw-nav ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fun88-promo-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .fun88-app-container,
    .fun88-brand-container,
    .fun88-deposit-container,
    .fun88-promo-container,
    .fun88-account-container,
    .fun88-rg-container,
    .fun88-vip-container,
    .fun88-withdraw-container {
        padding-inline: 14px;
    }

    .fun88-app-hero,
    .fun88-brand-hero,
    .fun88-deposit-hero,
    .fun88-promo-hero,
    .fun88-account-hero,
    .fun88-rg-hero,
    .fun88-vip-hero,
    .fun88-withdraw-hero {
        padding: 28px 0;
    }

    .fun88-app-layout,
    .fun88-brand-layout,
    .fun88-deposit-layout,
    .fun88-promo-layout,
    .fun88-account-layout,
    .fun88-rg-layout,
    .fun88-vip-layout,
    .fun88-withdraw-layout {
        gap: 16px;
        padding-block: 20px 30px;
    }

    .fun88-content-card,
    .fun88-brand-card,
    .fun88-deposit-card,
    .fun88-promo-card,
    .fun88-account-card,
    .fun88-rg-card,
    .fun88-vip-card,
    .fun88-withdraw-card {
        padding: 20px 16px;
    }

    .fun88-advantage-grid,
    .fun88-brand-topic-list,
    .fun88-method-grid,
    .fun88-promo-feature-grid,
    .fun88-account-feature-grid,
    .fun88-rg-advice-grid,
    .fun88-rg-risk-grid,
    .fun88-rg-support-grid,
    .fun88-vip-level-grid,
    .fun88-benefit-grid,
    .fun88-download-grid,
    .fun88-steps-grid,
    .fun88-two-col,
    .fun88-guide-grid,
    .fun88-link-grid,
    .fun88-split,
    .fun88-deposit-steps,
    .fun88-time-grid,
    .fun88-support-grid,
    .fun88-promo-two-col,
    .fun88-benefit-cards,
    .fun88-claim-steps,
    .fun88-account-highlight,
    .fun88-account-steps,
    .fun88-account-two-col,
    .fun88-account-link-grid,
    .fun88-vip-points,
    .fun88-vip-two-col,
    .fun88-steps,
    .fun88-highlight-strip {
        grid-template-columns: 1fr;
    }

    .fun88-app-actions,
    .fun88-cta-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .fun88-btn-primary,
    .fun88-btn-main,
    .fun88-btn-outline,
    .fun88-btn-sub {
        width: 100%;
    }
}
