.page-tt88game {
    font-family: Arial, sans-serif;
    background-color: #000000; /* Nền đen theo yêu cầu */
    color: #ffffff; /* Chữ trắng mặc định */
}

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

.page-tt88game__hero-section {
    padding-top: 10px; /* Nhỏ hơn để tránh double padding với body */
    padding-bottom: 40px;
    text-align: center;
    background-color: #1a1a1a;
    overflow: hidden;
}

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

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

.page-tt88game__hero-content {
    padding: 0 20px;
}

.page-tt88game__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    color: #ffcc00; /* Vàng */
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-tt88game__hero-description {
    font-size: 1.1em;
    color: #f0f0f0;
    max-width: 800px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.page-tt88game__cta-button {
    display: inline-block;
    background-color: #ffcc00; /* Vàng */
    color: #000000;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-tt88game__cta-button:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
}

.page-tt88game__about-section,
.page-tt88game__promotions-section,
.page-tt88game__guide-section,
.page-tt88game__why-choose-section,
.page-tt88game__app-section,
.page-tt88game__faq-section,
.page-tt88game__cta-final-section {
    padding: 60px 0;
    background-color: #1a1a1a;
    text-align: center;
}

.page-tt88game__section-title {
    font-size: 2.5em;
    color: #ffcc00;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-tt88game__text-block {
    font-size: 1.05em;
    color: #e0e0e0;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto 20px auto;
    text-align: left;
}

.page-tt88game__games-section {
    padding: 60px 0;
    background-color: #0d0d0d;
    text-align: center;
}

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

.page-tt88game__game-card {
    background-color: #252525;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.page-tt88game__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}

.page-tt88game__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-tt88game__game-title {
    font-size: 1.8em;
    color: #ffcc00;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-tt88game__game-description {
    font-size: 1em;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-tt88game__btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #ffcc00;
    border: 2px solid #ffcc00;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-tt88game__btn-secondary:hover {
    background-color: #ffcc00;
    color: #000000;
}

.page-tt88game__promo-content,
.page-tt88game__guide-wrapper,
.page-tt88game__app-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
    text-align: left;
}

.page-tt88game__promo-image,
.page-tt88game__guide-image,
.page-tt88game__app-image {
    width: 50%;
    max-width: 600px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-tt88game__promo-text,
.page-tt88game__guide-steps,
.page-tt88game__app-text {
    width: 50%;
}

.page-tt88game__promo-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px 0;
    text-align: left;
}

.page-tt88game__promo-list li {
    font-size: 1.05em;
    color: #f0f0f0;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-tt88game__promo-list li::before {
    content: '★';
    color: #ffcc00;
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1;
}

.page-tt88game__sub-title {
    font-size: 1.8em;
    color: #ffcc00;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-tt88game__step-list {
    list-style: decimal;
    padding-left: 25px;
    margin: 20px 0 30px 0;
    text-align: left;
}

.page-tt88game__step-list li {
    font-size: 1.05em;
    color: #f0f0f0;
    margin-bottom: 10px;
    line-height: 1.6;
}

.page-tt88game__step-list strong {
    color: #ffcc00;
}

.page-tt88game__related-link {
    margin-top: 20px;
    font-size: 0.95em;
    color: #cccccc;
}

.page-tt88game__related-link a {
    color: #ffcc00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-tt88game__related-link a:hover {
    text-decoration: underline;
    color: #e6b800;
}

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

.page-tt88game__feature-item {
    background-color: #252525;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tt88game__feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}

.page-tt88game__feature-icon {
    width: 100%;
    height: 180px; /* Chiều cao cố định cho icon */
    object-fit: contain;
    margin-bottom: 20px;
    filter: brightness(1.2); /* Làm sáng hình ảnh một chút để nổi bật trên nền đen */
}

.page-tt88game__feature-title {
    font-size: 1.6em;
    color: #ffcc00;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-tt88game__feature-description {
    font-size: 1em;
    color: #e0e0e0;
    line-height: 1.6;
}

.page-tt88game__app-content .page-tt88game__cta-button--primary {
    background-color: #ffcc00;
    color: #000000;
}

.page-tt88game__app-content .page-tt88game__cta-button--primary:hover {
    background-color: #e6b800;
}

.page-tt88game__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-tt88game__faq-item {
    background-color: #252525;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-tt88game__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: #333333;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
}

.page-tt88game__faq-question:hover {
    background-color: #444444;
}

.page-tt88game__faq-qtext {
    font-size: 1.2em;
    color: #ffcc00;
    font-weight: bold;
    pointer-events: none;
}

.page-tt88game__faq-toggle {
    font-size: 1.8em;
    color: #ffcc00;
    font-weight: bold;
    line-height: 1;
    pointer-events: none;
    transition: transform 0.3s ease;
}

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

.page-tt88game__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    opacity: 0;
    color: #e0e0e0;
    font-size: 1em;
    line-height: 1.6;
    text-align: left;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
}

.page-tt88game__faq-item.active .page-tt88game__faq-answer {
    max-height: 2000px !important; /* Đủ lớn để chứa mọi nội dung */
    padding: 20px 25px !important;
    opacity: 1;
}

.page-tt88game__cta-final-section {
    background-color: #0d0d0d;
    padding-bottom: 80px;
}

.page-tt88game__cta-button--final {
    padding: 20px 40px;
    font-size: 1.3em;
    background-color: #ffcc00;
    color: #000000;
}

.page-tt88game__cta-button--final:hover {
    background-color: #e6b800;
}

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

    .page-tt88game__section-title {
        font-size: 2em;
    }

    .page-tt88game__promo-content,
    .page-tt88game__guide-wrapper,
    .page-tt88game__app-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .page-tt88game__promo-image,
    .page-tt88game__guide-image,
    .page-tt88game__app-image {
        width: 80%;
        max-width: 600px;
    }

    .page-tt88game__promo-text,
    .page-tt88game__guide-steps,
    .page-tt88game__app-text {
        width: 90%;
    }

    .page-tt88game__promo-list,
    .page-tt88game__step-list {
        text-align: center;
        padding-left: 0;
    }
    
    .page-tt88game__promo-list li {
        padding-left: 0;
        position: relative;
        margin-bottom: 15px;
    }
    
    .page-tt88game__promo-list li::before {
        left: 50%;
        transform: translateX(-50%) translateY(-150%);
        top: 0;
    }

    .page-tt88game__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-tt88game__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }

    .page-tt88game__main-title {
        font-size: clamp(1.5em, 7vw, 2.5em);
        margin-bottom: 10px;
    }

    .page-tt88game__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-tt88game__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-tt88game__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-tt88game__text-block {
        font-size: 0.95em;
        text-align: left;
        padding: 0 15px;
    }

    .page-tt88game__games-section,
    .page-tt88game__about-section,
    .page-tt88game__promotions-section,
    .page-tt88game__guide-section,
    .page-tt88game__why-choose-section,
    .page-tt88game__app-section,
    .page-tt88game__faq-section,
    .page-tt88game__cta-final-section {
        padding: 40px 0;
    }

    .page-tt88game__games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .page-tt88game__game-title {
        font-size: 1.5em;
    }

    .page-tt88game__game-description {
        font-size: 0.9em;
    }

    .page-tt88game__btn-secondary {
        font-size: 0.9em;
        padding: 10px 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-tt88game__promo-image,
    .page-tt88game__guide-image,
    .page-tt88game__app-image {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto;
        margin-right: auto;
    }

    .page-tt88game__promo-text,
    .page-tt88game__guide-steps,
    .page-tt88game__app-text {
        width: 100% !important;
        padding: 0 15px;
    }

    .page-tt88game__promo-list,
    .page-tt88game__step-list {
        text-align: left;
        padding-left: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .page-tt88game__promo-list li {
        padding-left: 25px;
        margin-bottom: 10px;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }
    .page-tt88game__promo-list li::before {
        left: 0;
        transform: none;
        top: 0;
    }

    .page-tt88game__step-list li {
        font-size: 0.95em;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }

    .page-tt88game__sub-title {
        font-size: 1.5em;
    }

    .page-tt88game__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .page-tt88game__feature-icon {
        height: 150px;
    }

    .page-tt88game__feature-title {
        font-size: 1.4em;
    }

    .page-tt88game__feature-description {
        font-size: 0.9em;
    }

    .page-tt88game__faq-list {
        padding: 0 15px;
    }

    .page-tt88game__faq-question {
        padding: 15px 20px;
    }

    .page-tt88game__faq-qtext {
        font-size: 1.1em;
    }

    .page-tt88game__faq-toggle {
        font-size: 1.5em;
    }

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

    .page-tt88game__cta-button--final {
        padding: 15px 30px;
        font-size: 1.1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Universal image responsive styles */
    .page-tt88game img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-tt88game__section,
    .page-tt88game__card,
    .page-tt88game__container,
    .page-tt88game__game-card,
    .page-tt88game__feature-item,
    .page-tt88game__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}