
    /* CSS for page-888-bet */
.page-888-bet {
    font-family: 'Arial', sans-serif;
    color: #ffffff;
    background-color: #1a1a2e;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll due to fixed elements */
}

/* Base section styling */
.page-888-bet__hero-section,
.page-888-bet__about-section,
.page-888-bet__products-section,
.page-888-bet__promotions-section,
.page-888-bet__why-choose-section,
.page-888-bet__news-section,
.page-888-bet__faq-section,
.page-888-bet__cta-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Specific padding for hero to avoid double header offset */
.page-888-bet__hero-section {
    padding-top: 10px; /* Small decorative padding, relying on body for main offset */
    background: linear-gradient(135deg, #1a1a2e, #0f0f1d);
    position: relative;
    z-index: 1; /* Ensure hero is above other content when scrolling */
}

.page-888-bet__hero-title {
    font-size: 2.5em;
    color: #e94560;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-888-bet__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #cccccc;
}

.page-888-bet__hero-image-wrapper {
    margin: 0 auto;
    max-width: 800px; /* Constrain image width for better presentation */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-888-bet__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Floating Buttons */
.page-888-bet__floating-buttons-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.page-888-bet__floating-button {
    display: block;
    padding: 12px 25px;
    border-radius: 30px;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    font-size: 1.1em;
    color: #ffffff; /* Ensure high contrast */
}

.page-888-bet__floating-button--register {
    background: linear-gradient(90deg, #e94560, #ff6b81);
}

.page-888-bet__floating-button--login {
    background: linear-gradient(90deg, #00b894, #00d3a5);
}

.page-888-bet__floating-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
}

/* About Section */
.page-888-bet__about-section {
    background-color: #2c2c44;
    border-radius: 15px;
    margin-top: 40px;
    padding: 60px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-888-bet__about-title {
    font-size: 2em;
    color: #00b894;
    margin-bottom: 25px;
}

.page-888-bet__about-text {
    font-size: 1.05em;
    color: #e0e0e0;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-888-bet__about-image-wrapper {
    max-width: 700px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-888-bet__about-image {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Products Section */
.page-888-bet__products-title,
.page-888-bet__promotions-title,
.page-888-bet__why-choose-title,
.page-888-bet__news-title,
.page-888-bet__faq-title,
.page-888-bet__cta-title {
    font-size: 2em;
    color: #e94560;
    margin-bottom: 20px;
}

.page-888-bet__products-intro,
.page-888-bet__promotions-intro,
.page-888-bet__cta-description {
    font-size: 1.05em;
    color: #cccccc;
    margin-bottom: 40px;
}

.page-888-bet__product-grid,
.page-888-bet__promotion-list,
.page-888-bet__news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
    align-items: stretch;
}

.page-888-bet__product-item,
.page-888-bet__promotion-item,
.page-888-bet__news-item {
    background-color: #2c2c44;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 20px;
}

.page-888-bet__product-image,
.page-888-bet__promotion-image,
.page-888-bet__news-image {
    max-width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-888-bet__product-name,
.page-888-bet__promotion-name,
.page-888-bet__news-heading {
    font-size: 1.4em;
    color: #00b894;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-888-bet__product-description,
.page-888-bet__promotion-description,
.page-888-bet__news-excerpt {
    color: #e0e0e0;
    font-size: 0.95em;
    padding: 0 15px;
    flex-grow: 1; /* Make descriptions take available space */
}

.page-888-bet__news-date {
    font-size: 0.85em;
    color: #a0a0a0;
    margin-top: 10px;
    margin-bottom: 5px;
}

/* Why Choose Section */
.page-888-bet__why-choose-section {
    background-color: #1a1a2e;
}

.page-888-bet__why-choose-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-888-bet__why-choose-item {
    background-color: #2c2c44;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: left;
    transition: transform 0.3s ease;
    box-sizing: border-box; /* Crucial for list item responsiveness */
}

.page-888-bet__why-choose-item:hover {
    transform: translateY(-5px);
}

.page-888-bet__why-choose-heading {
    font-size: 1.3em;
    color: #e94560;
    margin-bottom: 10px;
}

.page-888-bet__why-choose-text {
    color: #e0e0e0;
    font-size: 0.95em;
}

/* FAQ Section */
.page-888-bet__faq-section {
    background-color: #21213a;
    border-radius: 15px;
    margin-top: 40px;
    padding: 60px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-888-bet__faq-container {
    max-width: 800px;
    margin: 30px auto 0 auto;
    text-align: left;
}

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

.page-888-bet__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    background-color: #3a3a5a;
    color: #ffffff;
    font-weight: bold;
    transition: background-color 0.3s ease;
    user-select: none;
}

.page-888-bet__faq-question:hover {
    background-color: #4a4a6a;
}

.page-888-bet__faq-question-text {
    margin: 0;
    font-size: 1.1em;
    color: #e94560;
    pointer-events: none; /* Prevent text from blocking click event on parent div */
}

.page-888-bet__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    pointer-events: none; /* Prevent toggle icon from blocking click event on parent div */
}

.page-888-bet__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px; /* Initial padding */
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    color: #e0e0e0;
    font-size: 0.95em;
}

.page-888-bet__faq-item.active .page-888-bet__faq-answer {
    max-height: 2000px !important; /* Sufficiently large for content */
    padding: 20px !important; /* Final padding when open */
    opacity: 1;
}

.page-888-bet__faq-item.active .page-888-bet__faq-toggle {
    transform: rotate(45deg); /* Change '+' to 'x' or '-' */
}

/* Call to Action Section */
.page-888-bet__cta-section {
    padding: 60px 20px;
    background: linear-gradient(90deg, #e94560, #ff6b81);
    border-radius: 15px;
    margin-top: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-888-bet__cta-title {
    color: #ffffff;
    font-size: 2.2em;
    margin-bottom: 20px;
}

.page-888-bet__cta-description {
    color: #f0f0f0;
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-888-bet__cta-button {
    display: inline-block;
    background-color: #1a1a2e;
    color: #ffffff;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-888-bet__cta-button:hover {
    background-color: #0f0f1d;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-888-bet__hero-title {
        font-size: 1.8em;
    }

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

    .page-888-bet__floating-buttons-wrapper {
        flex-direction: row;
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
        justify-content: space-around;
        bottom: 10px;
    }

    .page-888-bet__floating-button {
        flex: 1;
        padding: 10px 15px;
        font-size: 1em;
    }

    .page-888-bet__about-title,
    .page-888-bet__products-title,
    .page-888-bet__promotions-title,
    .page-888-bet__why-choose-title,
    .page-888-bet__news-title,
    .page-888-bet__faq-title,
    .page-888-bet__cta-title {
        font-size: 1.8em;
    }

    .page-888-bet__products-intro,
    .page-888-bet__promotions-intro,
    .page-888-bet__cta-description {
        font-size: 0.95em;
    }

    .page-888-bet__product-grid,
    .page-888-bet__promotion-list,
    .page-888-bet__news-grid,
    .page-888-bet__why-choose-list {
        grid-template-columns: 1fr; /* Stack items vertically */
    }

    .page-888-bet__product-item,
    .page-888-bet__promotion-item,
    .page-888-bet__news-item,
    .page-888-bet__why-choose-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-888-bet__why-choose-list {
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .page-888-bet__why-choose-item {
        text-align: center;
    }

    .page-888-bet__why-choose-heading {
        font-size: 1.2em;
    }

    .page-888-bet__why-choose-text {
        font-size: 0.9em;
    }

    .page-888-bet__faq-question {
        padding: 12px 15px;
        font-size: 0.95em;
    }

    .page-888-bet__faq-question-text {
        font-size: 1em;
    }

    .page-888-bet__faq-toggle {
        font-size: 1.3em;
    }

    .page-888-bet__faq-answer {
        padding: 0 15px; /* Adjust padding for mobile */
    }
    .page-888-bet__faq-item.active .page-888-bet__faq-answer {
        padding: 15px !important;
    }

    .page-888-bet__cta-button {
        padding: 12px 25px;
        font-size: 1.1em;
    }
}

/* Ensure images are always responsive */
.page-888-bet img {
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    word-wrap: break-word !important; /* Ensure text in alt attributes doesn't break layout */
    overflow-wrap: break-word !important;
}

/* Ensure containers for images are also responsive */
.page-888-bet__hero-image-wrapper,
.page-888-bet__about-image-wrapper,
.page-888-bet__product-image,
.page-888-bet__promotion-image,
.page-888-bet__news-image {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* Text wrapping for long content */
.page-888-bet p, .page-888-bet h1, .page-888-bet h2, .page-888-bet h3 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

  