body {
    background-color: #000000;
    color: #FFFFFF;
}

.page-tobet88net {
    font-family: 'Arial', sans-serif;
    color: #FFFFFF;
    background-color: #000000;
}

.page-tobet88net__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, assuming body handles header-offset */
    padding-bottom: 40px;
    text-align: center;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-tobet88net__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
    overflow: hidden;
    box-sizing: border-box;
}

.page-tobet88net__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.page-tobet88net__hero-content {
    max-width: 900px;
    padding: 0 20px;
    color: #FFFFFF;
}

.page-tobet88net__hero-title {
    font-size: 2.8em;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-tobet88net__hero-description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #F0F0F0;
}

.page-tobet88net__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 20px;
}

.page-tobet88net__btn-primary,
.page-tobet88net__btn-secondary,
.page-tobet88net__btn-small,
.page-tobet88net__btn-readmore {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    text-align: center;
}

.page-tobet88net__btn-primary {
    background-color: #FFD700;
    color: #000000;
    border: 2px solid #FFD700;
}

.page-tobet88net__btn-primary:hover {
    background-color: #FFE54C;
    border-color: #FFE54C;
}

.page-tobet88net__btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-tobet88net__btn-secondary:hover {
    background-color: #FFD700;
    color: #000000;
}

.page-tobet88net__section-title {
    font-size: 2.2em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-tobet88net__section-description {
    font-size: 1.05em;
    color: #F0F0F0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
    padding: 0 20px;
}

/* Games Section */
.page-tobet88net__games-section {
    padding: 60px 20px;
    background-color: #111111;
}

.page-tobet88net__games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-tobet88net__game-card {
    background-color: #222222;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-tobet88net__game-title {
    font-size: 1.5em;
    color: #FFD700;
    margin: 20px 0 10px 0;
    padding: 0 15px;
}

.page-tobet88net__game-title a {
    color: #FFD700;
    text-decoration: none;
}

.page-tobet88net__game-title a:hover {
    text-decoration: underline;
}

.page-tobet88net__game-description {
    font-size: 0.95em;
    color: #CCCCCC;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
    padding: 0 15px;
}

.page-tobet88net__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    background-color: #2563eb;
    color: #FFFFFF;
    border: 2px solid #2563eb;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.page-tobet88net__btn-small:hover {
    background-color: #1a4dbe;
    border-color: #1a4dbe;
}

/* Promotions Section */
.page-tobet88net__promotions-section {
    padding: 60px 20px;
    background-color: #000000;
}

.page-tobet88net__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-tobet88net__promo-card {
    background-color: #222222;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-tobet88net__promo-title {
    font-size: 1.6em;
    color: #FFD700;
    margin: 20px 0 10px 0;
    padding: 0 15px;
}

.page-tobet88net__promo-description {
    font-size: 0.95em;
    color: #CCCCCC;
    line-height: 1.5;
    margin-bottom: 25px;
    padding: 0 15px;
}

/* About Section */
.page-tobet88net__about-section {
    padding: 60px 20px;
    background-color: #111111;
}

.page-tobet88net__about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-tobet88net__about-image {
    width: 50%;
    height: auto;
    max-width: 500px;
    border-radius: 12px;
    object-fit: cover;
}

.page-tobet88net__about-text {
    width: 50%;
    text-align: left;
}

.page-tobet88net__about-text p {
    font-size: 1.05em;
    line-height: 1.7;
    color: #F0F0F0;
    margin-bottom: 20px;
}

.page-tobet88net__feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-tobet88net__feature-list li {
    font-size: 1em;
    color: #FFFFFF;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
}

.page-tobet88net__icon-check {
    color: #FFD700;
    margin-right: 10px;
    font-size: 1.2em;
    /* Placeholder for actual checkmark icon */
    content: '✔';
    display: inline-block;
    transform: translateY(-2px);
}

/* FAQ Section */
.page-tobet88net__faq-section {
    padding: 60px 20px;
    background-color: #000000;
}

.page-tobet88net__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-tobet88net__faq-item {
    background-color: #222222;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-tobet88net__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: #333333;
    color: #FFD700;
    font-size: 1.15em;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
}

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

.page-tobet88net__faq-qtext {
    flex-grow: 1;
    text-align: left;
    color: #FFD700;
    pointer-events: none; /* Prevent text from blocking click event */
}

.page-tobet88net__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #FFD700;
    pointer-events: none; /* Prevent toggle from blocking click event */
}

.page-tobet88net__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: #CCCCCC;
    background-color: #222222;
}

.page-tobet88net__faq-answer p {
    padding-top: 20px;
    padding-bottom: 20px;
    margin: 0;
    line-height: 1.6;
}

.page-tobet88net__faq-item.active .page-tobet88net__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to show all content */
    padding: 20px 25px !important;
    opacity: 1;
}

/* News Section */
.page-tobet88net__news-section {
    padding: 60px 20px;
    background-color: #111111;
}

.page-tobet88net__news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

.page-tobet88net__news-card {
    background-color: #222222;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

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

.page-tobet88net__news-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-tobet88net__news-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-tobet88net__news-title a {
    color: #FFD700;
    text-decoration: none;
}

.page-tobet88net__news-title a:hover {
    text-decoration: underline;
}

.page-tobet88net__news-meta {
    font-size: 0.85em;
    color: #64748b; /* Auxiliary color for meta info */
    margin-bottom: 15px;
}

.page-tobet88net__news-excerpt {
    font-size: 0.95em;
    color: #CCCCCC;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-tobet88net__btn-readmore {
    align-self: flex-start;
    padding: 8px 18px;
    font-size: 0.9em;
    background-color: #2563eb;
    color: #FFFFFF;
    border: 1px solid #2563eb;
    border-radius: 5px;
    text-decoration: none;
}

.page-tobet88net__btn-readmore:hover {
    background-color: #1a4dbe;
    border-color: #1a4dbe;
}

.page-tobet88net__news-cta {
    text-align: center;
    margin-top: 20px;
}

/* CTA Section */
.page-tobet88net__cta-section {
    padding: 60px 20px;
    background-color: #2563eb; /* Brand blue background */
    color: #FFFFFF;
    text-align: center;
}

.page-tobet88net__cta-title {
    font-size: 2.5em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-tobet88net__cta-description {
    font-size: 1.1em;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* General image styling for content area */
.page-tobet88net img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Mobile Responsive Styles --- */
@media (max-width: 768px) {
    .page-tobet88net {
        font-size: 15px;
        line-height: 1.6;
    }

    /* HERO Section */
    .page-tobet88net__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }

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

    .page-tobet88net__hero-description {
        font-size: 1em;
    }

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

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

    /* Section Titles and Descriptions */
    .page-tobet88net__section-title {
        font-size: 1.8em;
        padding: 0 15px;
    }

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

    /* Games Section */
    .page-tobet88net__games-section,
    .page-tobet88net__promotions-section,
    .page-tobet88net__about-section,
    .page-tobet88net__faq-section,
    .page-tobet88net__news-section,
    .page-tobet88net__cta-section {
        padding: 40px 15px;
    }

    .page-tobet88net__games-grid,
    .page-tobet88net__promotions-grid,
    .page-tobet88net__news-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* About Section */
    .page-tobet88net__about-content {
        flex-direction: column;
        gap: 30px;
    }

    .page-tobet88net__about-image,
    .page-tobet88net__about-text {
        width: 100%;
        max-width: 100%;
    }

    .page-tobet88net__about-text p {
        font-size: 1em;
    }

    .page-tobet88net__feature-list li {
        font-size: 0.95em;
    }

    /* FAQ Section */
    .page-tobet88net__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

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

    .page-tobet88net__faq-answer p {
        padding-top: 15px;
        padding-bottom: 15px;
    }

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

    /* News Section */
    .page-tobet88net__news-image {
        height: 180px;
    }

    .page-tobet88net__news-title {
        font-size: 1.2em;
    }

    .page-tobet88net__news-excerpt {
        font-size: 0.9em;
    }

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

    .page-tobet88net__cta-description {
        font-size: 1em;
        padding: 0 15px;
    }

    /* Universal Image Adaptation for Mobile */
    .page-tobet88net img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .page-tobet88net__hero-image-wrapper,
    .page-tobet88net__games-grid,
    .page-tobet88net__promotions-grid,
    .page-tobet88net__about-content,
    .page-tobet88net__news-grid,
    .page-tobet88net__faq-list,
    .page-tobet88net__hero-cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-tobet88net__feature-list {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-tobet88net__feature-list li {
        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;
    }
}

@media (max-width: 480px) {
    .page-tobet88net__hero-title {
        font-size: 1.8em;
    }
    .page-tobet88net__section-title {
        font-size: 1.6em;
    }
    .page-tobet88net__cta-title {
        font-size: 1.8em;
    }
    .page-tobet88net__btn-primary, .page-tobet88net__btn-secondary {
        font-size: 0.95em;
    }
}