
    /* CSS for page-tg88-mb */
.page-tg88-mb {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
    padding-top: 10px; /* Small decorative top padding, body will handle main header offset */
}

.page-tg88-mb__section-title {
    font-size: 2.5em;
    color: #1a237e; /* Dark blue */
    text-align: center;
    margin-bottom: 30px;
    padding: 0 15px;
    font-weight: bold;
}

.page-tg88-mb__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    padding: 0 15px;
    color: #555;
}

.page-tg88-mb__highlight {
    color: #ff5722; /* Orange for highlights */
    font-weight: bold;
}

/* Buttons */
.page-tg88-mb__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}

.page-tg88-mb__btn--primary {
    background-color: #ff5722; /* Orange */
    color: #fff;
    border: none;
}

.page-tg88-mb__btn--primary:hover {
    background-color: #e64a19; /* Darker orange */
    transform: translateY(-2px);
}

.page-tg88-mb__btn--secondary {
    background-color: #1a237e; /* Dark blue */
    color: #fff;
    border: 2px solid #1a237e;
    margin-left: 20px;
}

.page-tg88-mb__btn--secondary:hover {
    background-color: #283593; /* Lighter dark blue */
    border-color: #283593;
    transform: translateY(-2px);
}

.page-tg88-mb__btn--center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 300px;
    margin-top: 40px;
}

/* Hero Section */
.page-tg88-mb__hero-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    gap: 40px;
}

.page-tg88-mb__hero-content {
    max-width: 600px;
    text-align: left;
}

.page-tg88-mb__hero-title {
    font-size: 3.5em;
    color: #1a237e;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-tg88-mb__hero-description {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 30px;
}

.page-tg88-mb__hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Adjust gap for mobile */
}

.page-tg88-mb__hero-image-wrapper {
    flex-shrink: 0;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
}

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

/* Advantages Section */
.page-tg88-mb__advantages-section {
    padding: 80px 20px;
    background-color: #f0f4f8;
}

.page-tg88-mb__advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-tg88-mb__advantage-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-tg88-mb__advantage-item:hover {
    transform: translateY(-5px);
}

.page-tg88-mb__advantage-icon {
    width: 200px; /* Enforce minimum size for images */
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-tg88-mb__advantage-title {
    font-size: 1.5em;
    color: #1a237e;
    margin-bottom: 10px;
}

.page-tg88-mb__advantage-description {
    font-size: 1em;
    color: #666;
}

/* Download Section */
.page-tg88-mb__download-section {
    padding: 80px 20px;
    background-color: #fff;
    text-align: center;
}

.page-tg88-mb__download-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.page-tg88-mb__step-item {
    background-color: #f0f4f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    flex: 1 1 calc(25% - 30px); /* 4 items per row */
    min-width: 220px;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive lists */
}

.page-tg88-mb__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #ff5722;
    color: #fff;
    border-radius: 50%;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-tg88-mb__step-title {
    font-size: 1.4em;
    color: #1a237e;
    margin-bottom: 10px;
}

.page-tg88-mb__step-description {
    font-size: 1em;
    color: #666;
}

.page-tg88-mb__qr-codes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
}

.page-tg88-mb__qr-item {
    text-align: center;
}

.page-tg88-mb__qr-image {
    width: 250px; /* Minimum size */
    height: 250px;
    border: 5px solid #1a237e;
    border-radius: 10px;
    margin-bottom: 15px;
    display: block;
    object-fit: contain;
}

.page-tg88-mb__qr-label {
    font-size: 1.1em;
    color: #1a237e;
    font-weight: bold;
}

/* Games Section */
.page-tg88-mb__games-section {
    padding: 80px 20px;
    background-color: #f0f4f8;
}

.page-tg88-mb__game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 50px auto;
}

.page-tg88-mb__game-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
    box-sizing: border-box; /* Crucial for responsive lists */
}

.page-tg88-mb__game-card:hover {
    transform: translateY(-5px);
}

.page-tg88-mb__game-icon {
    width: 80px; /* gamelogo type, CSS controls size */
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.page-tg88-mb__game-title {
    font-size: 1.3em;
    color: #1a237e;
    margin-bottom: 10px;
}

.page-tg88-mb__game-description {
    font-size: 0.95em;
    color: #666;
}

/* Login Guide Section */
.page-tg88-mb__login-guide-section {
    padding: 80px 20px;
    background-color: #fff;
    text-align: center;
}

.page-tg88-mb__login-steps {
    max-width: 800px;
    margin: 0 auto 50px auto;
    list-style: none; /* Remove default list styling */
    padding: 0;
    text-align: left;
}

.page-tg88-mb__login-step-item {
    background-color: #f0f4f8;
    margin-bottom: 15px;
    padding: 20px 25px;
    border-left: 5px solid #ff5722;
    border-radius: 5px;
    font-size: 1.1em;
    color: #333;
    box-sizing: border-box; /* Crucial for responsive lists */
    word-wrap: break-word; /* Ensure text breaks */
    overflow-wrap: break-word; /* Ensure text breaks */
    word-break: break-word; /* Ensure text breaks for long keywords */
}

.page-tg88-mb__login-step-item a {
    color: #1a237e;
    text-decoration: underline;
    font-weight: bold;
}

.page-tg88-mb__login-step-item a:hover {
    color: #ff5722;
}

/* FAQ Section */
.page-tg88-mb__faq-section {
    padding: 80px 20px;
    background-color: #f0f4f8;
}

.page-tg88-mb__faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-tg88-mb__faq-item {
    background-color: #fff;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-tg88-mb__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #1a237e; /* Dark blue background for question */
    color: #fff;
    font-weight: bold;
    font-size: 1.2em;
    user-select: none;
    transition: background-color 0.3s ease;
}

.page-tg88-mb__faq-question:hover {
    background-color: #283593; /* Lighter dark blue on hover */
}

.page-tg88-mb__faq-question-title {
    margin: 0;
    font-size: 1.2em;
    color: #fff;
    pointer-events: none; /* Prevent h3 from blocking click on parent */
    flex-grow: 1;
}

.page-tg88-mb__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    margin-left: 15px;
    pointer-events: none; /* Prevent span from blocking click on parent */
    transition: transform 0.3s ease;
}

.page-tg88-mb__faq-item.active .page-tg88-mb__faq-toggle {
    transform: rotate(45deg); /* Change '+' to 'x' or '-' */
}

.page-tg88-mb__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    background-color: #fcfcfc;
    color: #333;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

.page-tg88-mb__faq-answer p {
    margin: 0;
    padding-bottom: 20px;
}

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

/* CTA Section */
.page-tg88-mb__cta-section {
    padding: 80px 20px;
    background-color: #1a237e; /* Dark blue background */
    color: #fff;
    text-align: center;
}

.page-tg88-mb__cta-section .page-tg88-mb__section-title {
    color: #fff;
}

.page-tg88-mb__cta-section .page-tg88-mb__section-description {
    color: #e0e0e0;
    margin-bottom: 50px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-tg88-mb__hero-title {
        font-size: 3em;
    }
    .page-tg88-mb__hero-description {
        font-size: 1.1em;
    }
    .page-tg88-mb__hero-section {
        padding: 50px 20px;
    }
    .page-tg88-mb__section-title {
        font-size: 2em;
    }
    .page-tg88-mb__advantages-grid,
    .page-tg88-mb__download-steps,
    .page-tg88-mb__game-categories {
        gap: 20px;
    }
    .page-tg88-mb__step-item {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .page-tg88-mb__hero-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 15px;
    }
    .page-tg88-mb__hero-content {
        text-align: center;
    }
    .page-tg88-mb__hero-title {
        font-size: 2.5em;
    }
    .page-tg88-mb__hero-description {
        font-size: 1em;
    }
    .page-tg88-mb__hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .page-tg88-mb__btn--secondary {
        margin-left: 0;
        margin-top: 15px;
    }
    .page-tg88-mb__section-title {
        font-size: 1.8em;
    }
    .page-tg88-mb__advantages-section,
    .page-tg88-mb__download-section,
    .page-tg88-mb__games-section,
    .page-tg88-mb__login-guide-section,
    .page-tg88-mb__faq-section,
    .page-tg88-mb__cta-section {
        padding: 50px 15px;
    }
    .page-tg88-mb__advantages-grid,
    .page-tg88-mb__game-categories {
        grid-template-columns: 1fr; /* 1 item per row */
    }
    .page-tg88-mb__step-item {
        flex: 1 1 100%; /* 1 item per row */
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 20px;
    }
    .page-tg88-mb__download-steps {
        padding: 0 !important; /* Remove padding from container */
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-tg88-mb__qr-codes {
        flex-direction: column;
        align-items: center;
    }
    .page-tg88-mb__qr-image {
        width: 200px;
        height: 200px;
    }
    .page-tg88-mb__login-steps {
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-tg88-mb__login-step-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 15px;
        font-size: 1em;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }
    .page-tg88-mb__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-tg88-mb__faq-question-title {
        font-size: 1em;
    }
    .page-tg88-mb__faq-answer {
        padding: 0 20px;
    }
    .page-tg88-mb__faq-item.active .page-tg88-mb__faq-answer {
        padding: 15px 20px !important;
    }
}
  