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

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

.page-tg88-v-pro__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, relies on body padding-top from shared.css */
    padding-bottom: 40px;
    text-align: center;
    overflow: hidden;
    background-color: #f0f0f0; /* Fallback for hero section background */
}

.page-tg88-v-pro__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px;
}

.page-tg88-v-pro__hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    margin-top: 20px;
}

.page-tg88-v-pro__main-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: #2563eb;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-tg88-v-pro__description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #64748b;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-tg88-v-pro__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-tg88-v-pro__cta-buttons--center {
    margin-top: 30px;
}

.page-tg88-v-pro__btn-primary,
.page-tg88-v-pro__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

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

.page-tg88-v-pro__btn-primary:hover {
    background-color: #1e4dbe;
    border-color: #1e4dbe;
}

.page-tg88-v-pro__btn-secondary {
    background-color: #ffffff;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.page-tg88-v-pro__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1e4dbe;
    border-color: #1e4dbe;
}

.page-tg88-v-pro__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #2563eb;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.page-tg88-v-pro__text-block {
    font-size: 1.1rem;
    color: #333333;
    margin-bottom: 20px;
    text-align: justify;
}

.page-tg88-v-pro__keyword {
    font-weight: 700;
    color: #2563eb;
}

.page-tg88-v-pro__link-text {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.page-tg88-v-pro__link-text:hover {
    text-decoration: underline;
}

/* Section Backgrounds */
.page-tg88-v-pro__light-bg {
    background-color: #ffffff;
    padding: 60px 0;
    color: #333333;
}

.page-tg88-v-pro__dark-bg {
    background-color: #2563eb;
    padding: 60px 0;
    color: #ffffff;
}

.page-tg88-v-pro__dark-bg .page-tg88-v-pro__section-title,
.page-tg88-v-pro__dark-bg .page-tg88-v-pro__keyword,
.page-tg88-v-pro__dark-bg .page-tg88-v-pro__link-text {
    color: #ffffff;
}

.page-tg88-v-pro__dark-bg .page-tg88-v-pro__text-block {
    color: #f0f0f0;
}

/* Features Section */
.page-tg88-v-pro__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-tg88-v-pro__feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    box-sizing: border-box;
}

.page-tg88-v-pro__feature-card:hover {
    transform: translateY(-10px);
}

.page-tg88-v-pro__feature-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Games Section */
.page-tg88-v-pro__games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-tg88-v-pro__game-card {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
    box-sizing: border-box;
}

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

.page-tg88-v-pro__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-tg88-v-pro__game-card .page-tg88-v-pro__card-title {
    color: #2563eb;
    font-size: 1.3rem;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-tg88-v-pro__game-card .page-tg88-v-pro__card-description {
    font-size: 0.95rem;
    color: #555555;
    padding: 0 15px;
}

/* Registration Section */
.page-tg88-v-pro__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-tg88-v-pro__step-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    box-sizing: border-box;
}

.page-tg88-v-pro__step-card .page-tg88-v-pro__card-title {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.page-tg88-v-pro__step-card .page-tg88-v-pro__card-description {
    color: #f0f0f0;
    font-size: 1rem;
}

/* Promotions Section */
.page-tg88-v-pro__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-tg88-v-pro__promo-card {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
    box-sizing: border-box;
}

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

.page-tg88-v-pro__promo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-tg88-v-pro__promo-card .page-tg88-v-pro__card-title {
    color: #2563eb;
    font-size: 1.3rem;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-tg88-v-pro__promo-card .page-tg88-v-pro__card-description {
    font-size: 0.95rem;
    color: #555555;
    padding: 0 15px;
}

/* Download Section */
.page-tg88-v-pro__download-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-tg88-v-pro__download-btn {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    color: #2563eb;
    padding: 15px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-tg88-v-pro__download-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-5px);
}

.page-tg88-v-pro__download-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    display: block;
}

.page-tg88-v-pro__download-text {
    font-size: 1.1rem;
}

/* FAQ Section */
.page-tg88-v-pro__faq-list {
    margin-top: 40px;
}

.page-tg88-v-pro__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-tg88-v-pro__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #ffffff;
    color: #2563eb;
    font-weight: 600;
    font-size: 1.15rem;
    transition: background-color 0.3s ease;
    user-select: none;
}

.page-tg88-v-pro__faq-question:hover {
    background-color: #f0f0f0;
}

.page-tg88-v-pro__faq-qtext {
    pointer-events: none; /* Prevent text from blocking click event */
    flex-grow: 1;
}

.page-tg88-v-pro__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    margin-left: 20px;
    pointer-events: none; /* Prevent toggle from blocking click event */
    transition: transform 0.3s ease;
}

.page-tg88-v-pro__faq-item.active .page-tg88-v-pro__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.page-tg88-v-pro__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: #555555;
    font-size: 1rem;
    background-color: #fcfcfc;
}

.page-tg88-v-pro__faq-item.active .page-tg88-v-pro__faq-answer {
    max-height: 2000px !important; /* Use !important to override max-height 0 */
    padding: 20px 25px !important;
    opacity: 1;
}

.page-tg88-v-pro__faq-answer p {
    margin-bottom: 0;
    color: #555555;
}

/* Contact Section */
.page-tg88-v-pro__contact-info {
    text-align: center;
    margin-top: 30px;
    font-size: 1.1rem;
    color: #f0f0f0;
}

.page-tg88-v-pro__contact-info p {
    margin-bottom: 10px;
}

.page-tg88-v-pro__contact-info strong {
    color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-tg88-v-pro__container {
        padding: 15px;
    }

    .page-tg88-v-pro__hero-section {
        padding-top: 10px !important;
        padding-bottom: 20px;
    }

    .page-tg88-v-pro__main-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .page-tg88-v-pro__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-tg88-v-pro__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }

    .page-tg88-v-pro__btn-primary,
    .page-tg88-v-pro__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-tg88-v-pro__section-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .page-tg88-v-pro__text-block {
        font-size: 0.95rem;
        text-align: left;
    }

    /* Universal image responsive rule */
    .page-tg88-v-pro img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        display: block;
    }

    /* Specific image sizes for mobile, maintaining aspect ratio */
    .page-tg88-v-pro__hero-image {
        max-height: 300px;
    }
    .page-tg88-v-pro__feature-image {
        max-width: 150px;
    }
    .page-tg88-v-pro__game-image {
        height: 150px;
    }
    .page-tg88-v-pro__promo-image {
        height: 180px;
    }

    .page-tg88-v-pro__light-bg,
    .page-tg88-v-pro__dark-bg {
        padding: 40px 0;
    }

    .page-tg88-v-pro__features-grid,
    .page-tg88-v-pro__games-grid,
    .page-tg88-v-pro__steps-grid,
    .page-tg88-v-pro__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-tg88-v-pro__feature-card,
    .page-tg88-v-pro__game-card,
    .page-tg88-v-pro__step-card,
    .page-tg88-v-pro__promo-card {
        padding: 20px;
    }

    .page-tg88-v-pro__download-options {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-tg88-v-pro__download-btn {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        justify-content: center;
        box-sizing: border-box !important;
    }

    .page-tg88-v-pro__download-icon {
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }

    .page-tg88-v-pro__download-text {
        font-size: 1rem;
    }

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

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

    .page-tg88-v-pro__contact-info {
        font-size: 1rem;
    }
}