.page-tg88-2026 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

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

.page-tg88-2026__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #2563eb;
    padding-top: 10px; /* Minimal top padding, assuming body has padding-top from shared.css */
}

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

.page-tg88-2026__hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    color: #ffffff;
    padding: 40px 20px 20px;
    text-align: center;
    box-sizing: border-box;
}

.page-tg88-2026__hero-title {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
    color: #ffffff;
}

.page-tg88-2026__hero-description {
    font-size: clamp(1em, 1.5vw, 1.2em);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-tg88-2026__hero-cta-button,
.page-tg88-2026__button-primary,
.page-tg88-2026__button-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-tg88-2026__hero-cta-button {
    background-color: #2563eb;
    color: #ffffff;
    border: 2px solid #2563eb;
    font-size: 1.1em;
}

.page-tg88-2026__hero-cta-button:hover {
    background-color: #1e40af;
    border-color: #1e40af;
    transform: translateY(-2px);
}

.page-tg88-2026__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #2563eb;
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
}

.page-tg88-2026__introduction-section,
.page-tg88-2026__guide-section,
.page-tg88-2026__app-section,
.page-tg88-2026__faq-section,
.page-tg88-2026__conclusion-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-tg88-2026__games-section,
.page-tg88-2026__finance-section,
.page-tg88-2026__promotions-section {
    padding: 60px 0;
    background-color: #2563eb;
    color: #ffffff;
}

.page-tg88-2026__games-section .page-tg88-2026__section-title,
.page-tg88-2026__finance-section .page-tg88-2026__section-title,
.page-tg88-2026__promotions-section .page-tg88-2026__section-title {
    color: #ffffff;
}

.page-tg88-2026__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-tg88-2026__text-block a {
    color: #2563eb;
    text-decoration: underline;
}

.page-tg88-2026__dark-section .page-tg88-2026__text-block a {
    color: #a7d0ff;
}

.page-tg88-2026__button-primary {
    background-color: #2563eb;
    color: #ffffff;
    border: 2px solid #2563eb;
    margin-top: 20px;
    margin-right: 15px;
}

.page-tg88-2026__button-primary:hover {
    background-color: #1e40af;
    border-color: #1e40af;
    transform: translateY(-2px);
}

.page-tg88-2026__button-secondary {
    background-color: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
    margin-top: 20px;
}

.page-tg88-2026__button-secondary:hover {
    background-color: #2563eb;
    color: #ffffff;
    transform: translateY(-2px);
}

.page-tg88-2026__dark-section .page-tg88-2026__button-secondary {
    color: #ffffff;
    border-color: #ffffff;
}

.page-tg88-2026__dark-section .page-tg88-2026__button-secondary:hover {
    background-color: #ffffff;
    color: #2563eb;
}

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

.page-tg88-2026__game-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tg88-2026__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-tg88-2026__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-tg88-2026__game-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-tg88-2026__game-description {
    font-size: 0.95em;
    color: #f0f0f0;
    margin-bottom: 20px;
}

.page-tg88-2026__additional-games {
    text-align: center;
    margin-top: 50px;
}

.page-tg88-2026__guide-steps {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-tg88-2026__step-item {
    flex: 1;
    min-width: 280px;
    background-color: #f0f0f0;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-tg88-2026__step-title {
    font-size: 1.4em;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 15px;
}

.page-tg88-2026__step-description {
    font-size: 1em;
    color: #555555;
}

.page-tg88-2026__finance-content {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-tg88-2026__finance-item {
    flex: 1;
    min-width: 350px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-tg88-2026__finance-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-tg88-2026__finance-title {
    font-size: 1.6em;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-tg88-2026__app-download-options {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-tg88-2026__app-item {
    text-align: center;
    background-color: #f0f0f0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 280px;
    max-width: 350px;
}

.page-tg88-2026__app-icon {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-tg88-2026__app-os {
    font-size: 1.4em;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 15px;
}

.page-tg88-2026__promotion-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-tg88-2026__promotion-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-tg88-2026__promotion-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-tg88-2026__promotion-description {
    font-size: 1em;
    color: #f0f0f0;
}

.page-tg88-2026__faq-list {
    margin-top: 40px;
}

.page-tg88-2026__faq-item {
    background-color: #f0f0f0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-tg88-2026__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    user-select: none;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.page-tg88-2026__faq-question:hover {
    background-color: #f5f5f5;
}

.page-tg88-2026__faq-qtext {
    font-size: 1.2em;
    font-weight: 600;
    color: #2563eb;
    pointer-events: none; /* Prevent text from blocking click event */
}

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

.page-tg88-2026__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;
    background-color: #f0f0f0;
}

.page-tg88-2026__faq-item.active .page-tg88-2026__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to contain any content */
    padding: 20px !important;
    opacity: 1;
}

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

.page-tg88-2026__faq-answer p {
    margin-bottom: 15px;
    font-size: 1em;
    color: #555555;
}

.page-tg88-2026__conclusion-section {
    text-align: center;
    padding-bottom: 80px;
}

.page-tg88-2026__button-large {
    padding: 15px 35px;
    font-size: 1.2em;
    margin-top: 40px;
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    .page-tg88-2026__container {
        padding: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-tg88-2026__hero-section {
        padding-top: 10px !important;
    }

    .page-tg88-2026__hero-content {
        padding: 20px 15px 15px;
    }

    .page-tg88-2026__hero-title {
        font-size: 2em;
    }

    .page-tg88-2026__hero-description {
        font-size: 0.9em;
        margin-bottom: 20px;
    }

    .page-tg88-2026__hero-cta-button {
        font-size: 1em;
        padding: 10px 20px;
        width: 100% !important;
        max-width: 100% !important;
    }

    .page-tg88-2026__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
        margin-top: 40px;
    }

    .page-tg88-2026__introduction-section,
    .page-tg88-2026__games-section,
    .page-tg88-2026__guide-section,
    .page-tg88-2026__finance-section,
    .page-tg88-2026__app-section,
    .page-tg88-2026__promotions-section,
    .page-tg88-2026__faq-section,
    .page-tg88-2026__conclusion-section {
        padding: 40px 0;
    }

    .page-tg88-2026__text-block {
        font-size: 1em;
        text-align: left;
    }

    .page-tg88-2026__button-primary,
    .page-tg88-2026__button-secondary {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0;
        margin-bottom: 15px;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-tg88-2026__games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-tg88-2026__game-card {
        padding: 20px;
    }

    .page-tg88-2026__game-image {
        height: 180px;
    }

    .page-tg88-2026__guide-steps {
        flex-direction: column;
        gap: 20px;
    }

    .page-tg88-2026__step-item {
        padding: 20px;
    }

    .page-tg88-2026__finance-content {
        flex-direction: column;
        gap: 30px;
    }

    .page-tg88-2026__finance-item {
        padding: 20px;
    }

    .page-tg88-2026__app-download-options {
        flex-direction: column;
        gap: 30px;
    }

    .page-tg88-2026__app-item {
        max-width: 100%;
        padding: 20px;
    }

    .page-tg88-2026__promotion-item {
        padding: 20px;
    }

    .page-tg88-2026__faq-question {
        padding: 15px;
    }

    .page-tg88-2026__faq-qtext {
        font-size: 1.1em;
    }

    .page-tg88-2026__faq-answer {
        padding: 15px;
    }

    .page-tg88-2026__faq-item.active .page-tg88-2026__faq-answer {
        padding: 15px !important;
    }

    .page-tg88-2026__button-large {
        font-size: 1.1em;
        padding: 12px 25px;
    }

    /* Universal image and container responsive rules */
    .page-tg88-2026 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-tg88-2026__hero-image {
        height: 300px !important; /* Adjust hero image height for mobile */
    }
    .page-tg88-2026__section,
    .page-tg88-2026__card,
    .page-tg88-2026__container,
    .page-tg88-2026__games-grid,
    .page-tg88-2026__guide-steps,
    .page-tg88-2026__finance-content,
    .page-tg88-2026__app-download-options,
    .page-tg88-2026__promotion-list,
    .page-tg88-2026__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Ensure no horizontal scroll */
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-tg88-2026__promotion-item, .page-tg88-2026__faq-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }
}