.page-t88 {
    font-family: 'Arial', sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

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

.page-t88__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    text-align: center;
    padding-top: 10px; /* Rely on body padding for header offset */
    padding-bottom: 40px;
    box-sizing: border-box;
}

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

.page-t88__hero-content {
    padding: 30px 20px;
    text-align: center;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 1) 100%);
    position: relative;
    z-index: 1;
    margin-top: -50px;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.page-t88__main-title {
    font-size: 2.8em;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 15px;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-t88__btn-primary,
.page-t88__btn-secondary,
.page-t88__btn-tertiary,
.page-t88__btn-link {
    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-t88__btn-primary {
    background-color: #2563eb;
    color: #ffffff;
    border: 2px solid #2563eb;
}

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

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

.page-t88__btn-secondary:hover {
    background-color: #e0f2fe;
    color: #1e40af;
    border-color: #1e40af;
    transform: translateY(-2px);
}

.page-t88__btn-tertiary {
    background-color: #64748b;
    color: #ffffff;
    border: 2px solid #64748b;
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-t88__btn-tertiary:hover {
    background-color: #475569;
    border-color: #475569;
}

.page-t88__btn-link {
    color: #2563eb;
    background: none;
    border: none;
    padding: 0;
    text-decoration: underline;
}

.page-t88__btn-link:hover {
    color: #1e40af;
}

.page-t88__section-title {
    font-size: 2.2em;
    color: #2563eb;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
}

.page-t88__section-description {
    font-size: 1.1em;
    color: #64748b;
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-t88__about-section,
.page-t88__features-section,
.page-t88__guide-section,
.page-t88__faq-section {
    padding: 60px 0;
}

.page-t88__promo-section,
.page-t88__games-section,
.page-t88__strategies-section,
.page-t88__contact-section {
    padding: 60px 0;
    background-color: #2563eb;
    color: #ffffff;
}

.page-t88__promo-section .page-t88__section-title,
.page-t88__games-section .page-t88__section-title,
.page-t88__strategies-section .page-t88__section-title,
.page-t88__contact-section .page-t88__section-title {
    color: #ffffff;
}

.page-t88__promo-section .page-t88__section-description,
.page-t88__games-section .page-t88__section-description,
.page-t88__strategies-section .page-t88__section-description,
.page-t88__contact-section .page-t88__section-description {
    color: #e0e7ff;
}

.page-t88__text-block {
    margin-bottom: 20px;
    font-size: 1.05em;
    color: #475569;
    text-align: justify;
}

.page-t88__text-block a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.page-t88__text-block a:hover {
    text-decoration: underline;
}

.page-t88__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin: 30px 0;
}

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

.page-t88__game-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

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

.page-t88__game-title {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-t88__game-description {
    font-size: 0.95em;
    color: #e0e7ff;
    margin-bottom: 20px;
}

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

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

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

.page-t88__feature-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-t88__feature-title {
    font-size: 1.4em;
    color: #2563eb;
    margin-bottom: 10px;
}

.page-t88__feature-description {
    font-size: 1em;
    color: #475569;
}

.page-t88__feature-description a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.page-t88__feature-description a:hover {
    text-decoration: underline;
}

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

.page-t88__promo-card {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

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

.page-t88__promo-title {
    font-size: 1.5em;
    color: #ffffff;
    margin: 20px 15px 10px;
}

.page-t88__promo-text {
    font-size: 0.95em;
    color: #e0e7ff;
    padding: 0 15px 25px;
}

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

.page-t88__step-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.page-t88__step-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background-color: #2563eb;
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.8em;
    font-weight: 700;
    margin: 0 auto 20px;
}

.page-t88__step-title {
    font-size: 1.4em;
    color: #2563eb;
    margin-bottom: 10px;
}

.page-t88__step-description {
    font-size: 1em;
    color: #475569;
}

.page-t88__step-description a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.page-t88__step-description a:hover {
    text-decoration: underline;
}

.page-t88__strategies-section .page-t88__container {
    max-width: 1000px;
}

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

.page-t88__strategy-card {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    padding-bottom: 20px;
}

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

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

.page-t88__strategy-title {
    font-size: 1.4em;
    color: #ffffff;
    margin: 0 15px 10px;
}

.page-t88__strategy-text {
    font-size: 0.95em;
    color: #e0e7ff;
    padding: 0 15px 15px;
}

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

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

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

.page-t88__faq-question:hover {
    background-color: #e2e8f0;
}

.page-t88__faq-qtext {
    font-size: 1.15em;
    color: #2563eb;
    font-weight: 600;
    pointer-events: none; /* Prevent text from blocking click */
}

.page-t88__faq-toggle {
    font-size: 1.5em;
    color: #2563eb;
    font-weight: 700;
    pointer-events: none; /* Prevent icon from blocking click */
    width: 20px;
    text-align: center;
}

.page-t88__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: #475569;
}

.page-t88__faq-answer p {
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.7;
}

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

.page-t88__contact-info {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
    color: #e0e7ff;
}

.page-t88__contact-info p {
    margin-bottom: 15px;
}

.page-t88__contact-info a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.page-t88__contact-info a:hover {
    text-decoration: underline;
}

.page-t88__floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ff0066; /* Hot pink for attention */
    color: #ffffff;
    padding: 15px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-t88__floating-button:hover {
    background-color: #cc0052;
    transform: translateY(-3px);
}

/* General image styling for responsive behavior */
.page-t88 img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile specific styles */
@media (max-width: 768px) {
    .page-t88__hero-section {
        padding-top: 10px !important; /* Keep small top padding */
        padding-bottom: 20px;
    }

    .page-t88__hero-content {
        margin-top: -20px;
        border-radius: 10px 10px 0 0;
        padding: 20px 15px;
    }

    .page-t88__main-title {
        font-size: 1.8em;
        margin-bottom: 10px;
    }

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

    .page-t88__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }

    .page-t88__btn-primary,
    .page-t88__btn-secondary,
    .page-t88__btn-tertiary,
    .page-t88__btn-link {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 15px !important;
        font-size: 1em !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-t88__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-t88__section-description {
        font-size: 1em;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .page-t88__about-section,
    .page-t88__features-section,
    .page-t88__guide-section,
    .page-t88__faq-section,
    .page-t88__promo-section,
    .page-t88__games-section,
    .page-t88__strategies-section,
    .page-t88__contact-section {
        padding: 40px 0;
    }

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

    .page-t88__text-block {
        font-size: 0.95em;
        padding: 0 5px;
    }

    .page-t88__games-grid,
    .page-t88__features-grid,
    .page-t88__promo-cards,
    .page-t88__guide-steps,
    .page-t88__strategy-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-t88__game-image,
    .page-t88__promo-image,
    .page-t88__strategy-image,
    .page-t88__feature-icon,
    .page-t88__image-full-width {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        display: block !important;
    }

    .page-t88__game-card,
    .page-t88__feature-item,
    .page-t88__promo-card,
    .page-t88__step-card,
    .page-t88__strategy-card {
        padding: 20px;
    }

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

    .page-t88__faq-qtext {
        font-size: 1em;
    }

    .page-t88__faq-answer {
        padding: 0 20px;
    }

    .page-t88__faq-item.active .page-t88__faq-answer {
        padding: 15px 20px !important;
    }

    .page-t88__floating-button {
        bottom: 15px;
        right: 15px;
        padding: 12px 20px;
        font-size: 0.9em;
        white-space: normal;
        word-wrap: break-word;
        text-align: center;
        max-width: calc(100% - 30px);
        width: auto;
    }
}