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

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

.page-tg88cm__hero-section {
    background-color: #e0f2f7;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-tg88cm__hero-image-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    margin-bottom: 20px;
}

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

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

.page-tg88cm__hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: #2563eb;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

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

.page-tg88cm__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-tg88cm__btn-primary,
.page-tg88cm__btn-secondary,
.page-tg88cm__btn-small {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

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

.page-tg88cm__btn-primary:hover {
    background-color: #1e40af;
    border-color: #1e40af;
}

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

.page-tg88cm__btn-secondary:hover {
    background-color: #2563eb;
    color: #ffffff;
}

.page-tg88cm__btn-small {
    padding: 8px 15px;
    font-size: 0.9rem;
    border-radius: 5px;
    background-color: #64748b;
    color: #ffffff;
    border: 1px solid #64748b;
}

.page-tg88cm__btn-small:hover {
    background-color: #475569;
    border-color: #475569;
}

.page-tg88cm__section {
    padding: 60px 0;
}

.page-tg88cm__section-title {
    font-size: 2.5rem;
    color: #2563eb;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-tg88cm__section-description {
    font-size: 1.1rem;
    color: #64748b;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-tg88cm__dark-section {
    background-color: #2563eb;
    color: #ffffff;
}

.page-tg88cm__dark-section .page-tg88cm__section-title,
.page-tg88cm__dark-section .page-tg88cm__section-description,
.page-tg88cm__dark-section .page-tg88cm__guide-step-title,
.page-tg88cm__dark-section .page-tg88cm__guide-step-text,
.page-tg88cm__dark-section .page-tg88cm__transaction-title,
.page-tg88cm__dark-section .page-tg88cm__transaction-text,
.page-tg88cm__dark-section .page-tg88cm__text-link {
    color: #ffffff;
}

.page-tg88cm__dark-section .page-tg88cm__text-link:hover {
    color: #f0f0f0;
}

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

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

.page-tg88cm__feature-title {
    font-size: 1.5rem;
    color: #2563eb;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-tg88cm__feature-text {
    font-size: 1rem;
    color: #64748b;
}

.page-tg88cm__guide-section .page-tg88cm__container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.page-tg88cm__guide-step-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-tg88cm__guide-step-card .page-tg88cm__btn-primary,
.page-tg88cm__guide-step-card .page-tg88cm__btn-secondary {
    margin-top: 20px;
}

.page-tg88cm__guide-step-title {
    font-size: 1.8rem;
    color: #2563eb;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-tg88cm__guide-step-text {
    font-size: 1.05rem;
    color: #64748b;
    margin-bottom: 20px;
}

.page-tg88cm__guide-image {
    width: 100%;
    height: auto;
    max-width: 600px;
    margin: 20px auto;
    display: block;
    border-radius: 8px;
}

.page-tg88cm__app-download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.page-tg88cm__text-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    display: block;
}

.page-tg88cm__text-link:hover {
    text-decoration: underline;
}

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

.page-tg88cm__game-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.page-tg88cm__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-tg88cm__game-title {
    font-size: 1.4rem;
    color: #2563eb;
    margin: 20px 15px 10px 15px;
    font-weight: 600;
}

.page-tg88cm__game-description {
    font-size: 0.95rem;
    color: #64748b;
    padding: 0 15px;
    flex-grow: 1;
}

.page-tg88cm__game-card .page-tg88cm__btn-small {
    margin: 20px auto;
}

.page-tg88cm__transaction-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-tg88cm__transaction-card {
    background-color: #4a8dfc; /* A lighter shade of primary for contrast */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: #ffffff;
}

.page-tg88cm__transaction-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: #ffffff;
}

.page-tg88cm__transaction-text {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-tg88cm__transaction-image {
    width: 100%;
    height: auto;
    max-width: 600px;
    margin: 20px auto;
    display: block;
    border-radius: 8px;
}

.page-tg88cm__promotions-section {
    background-color: #f0f8ff;
}

.page-tg88cm__promotion-highlight {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    max-width: 1000px;
    margin: 40px auto;
}

.page-tg88cm__promotion-image {
    flex-shrink: 0;
    width: 350px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.page-tg88cm__promotion-content {
    flex-grow: 1;
    text-align: left;
}

.page-tg88cm__promotion-title {
    font-size: 1.8rem;
    color: #2563eb;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-tg88cm__promotion-text {
    font-size: 1.05rem;
    color: #64748b;
    margin-bottom: 20px;
}

.page-tg88cm__promotion-text-more {
    font-size: 1rem;
    color: #64748b;
    text-align: center;
    margin-top: 30px;
}

.page-tg88cm__faq-list {
    max-width: 900px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-tg88cm__faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.page-tg88cm__faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-tg88cm__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    user-select: none;
    background-color: #f0f0f0;
    color: #2563eb;
    font-weight: 600;
    font-size: 1.1rem;
}

.page-tg88cm__faq-qtext {
    flex-grow: 1;
    pointer-events: none;
}

.page-tg88cm__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    pointer-events: none;
    transition: transform 0.3s ease;
}

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

.page-tg88cm__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    color: #64748b;
    font-size: 1rem;
}

.page-tg88cm__faq-item.active .page-tg88cm__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
}

.page-tg88cm__cta-contact {
    text-align: center;
    margin-top: 40px;
}

.page-tg88cm__cta-contact p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 20px;
}

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

.page-tg88cm__conclusion-section .page-tg88cm__section-title {
    color: #ffffff;
}

.page-tg88cm__conclusion-section .page-tg88cm__section-description {
    color: #f0f0f0;
    margin-bottom: 40px;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-tg88cm__hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .page-tg88cm__hero-description {
        font-size: 1rem;
    }

    .page-tg88cm__section-title {
        font-size: 2rem;
    }

    .page-tg88cm__promotion-highlight {
        flex-direction: column;
        text-align: center;
    }

    .page-tg88cm__promotion-image {
        width: 100%;
        max-width: 500px;
        height: auto;
        margin: 0 auto 20px auto;
    }

    .page-tg88cm__promotion-content {
        text-align: center;
    }

    .page-tg88cm__game-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .page-tg88cm {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-tg88cm__container {
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-tg88cm__hero-image-wrapper {
        max-height: 300px;
    }

    .page-tg88cm__hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 10px;
    }

    .page-tg88cm__hero-description {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .page-tg88cm__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-tg88cm__btn-primary,
    .page-tg88cm__btn-secondary,
    .page-tg88cm__btn-small,
    .page-tg88cm a[class*="button"],
    .page-tg88cm a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px;
    }

    .page-tg88cm__section {
        padding: 40px 0;
    }

    .page-tg88cm__section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .page-tg88cm__section-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .page-tg88cm__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-tg88cm__feature-item {
        padding: 25px;
    }

    .page-tg88cm__guide-step-card {
        padding: 25px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-tg88cm__guide-step-title {
        font-size: 1.5rem;
    }

    .page-tg88cm__guide-step-text {
        font-size: 0.95rem;
    }

    .page-tg88cm__guide-image,
    .page-tg88cm__transaction-image,
    .page-tg88cm__promotion-image,
    .page-tg88cm img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
        box-sizing: border-box !important;
    }

    .page-tg88cm__app-download-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-tg88cm__games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-tg88cm__game-image {
        height: 160px;
    }

    .page-tg88cm__transaction-steps {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-tg88cm__transaction-card {
        padding: 25px;
    }

    .page-tg88cm__transaction-title {
        font-size: 1.5rem;
    }

    .page-tg88cm__promotion-highlight {
        flex-direction: column;
        padding: 25px;
        margin: 30px auto;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-tg88cm__promotion-image {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .page-tg88cm__promotion-title {
        font-size: 1.5rem;
    }

    .page-tg88cm__promotion-text {
        font-size: 0.95rem;
    }

    .page-tg88cm__faq-list {
        margin: 30px auto;
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-tg88cm__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .page-tg88cm__faq-answer {
        padding: 15px 20px !important;
        font-size: 0.95rem;
    }

    .page-tg88cm__cta-contact {
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-tg88cm__conclusion-section {
        padding: 50px 0;
    }

    .page-tg88cm__conclusion-section .page-tg88cm__section-description {
        margin-bottom: 30px;
    }
}