
    .page-88xeng {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

/* Base styles for sections */
.page-88xeng__hero-section,
.page-88xeng__game-categories,
.page-88xeng__why-choose,
.page-88xeng__promotions,
.page-88xeng__news,
.page-88xeng__faq-section,
.page-88xeng__cta-section {
    padding: 20px 15px;
    margin-bottom: 30px;
    text-align: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* Header offset for the first section */
.page-88xeng__hero-section {
    padding-top: calc(var(--header-offset, 122px) + 10px); /* Small padding on top, assuming body padding is handled by shared CSS */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('[GALLERY:hero:1920x1080:betting,casino,mobile]');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding-bottom: 50px;
}

.page-88xeng__hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-88xeng__main-title {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.page-88xeng__hero-subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #eee;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.page-88xeng__hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.page-88xeng__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: nowrap; /* Prevent text wrapping in buttons */
}

.page-88xeng__button--primary {
    background-color: #ff4d4d; /* Red */
    color: #fff;
    border: 2px solid #ff4d4d;
}

.page-88xeng__button--primary:hover {
    background-color: #e60000;
    border-color: #e60000;
    transform: translateY(-2px);
}

.page-88xeng__button--secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.page-88xeng__button--secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.page-88xeng__section-title {
    font-size: 2em;
    margin-bottom: 30px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.page-88xeng__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: #ff4d4d;
}

/* Floating Register/Login Buttons */
.page-88xeng__floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.page-88xeng__floating-buttons .page-88xeng__button {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-88xeng__button--register {
    background-color: #28a745; /* Green */
    border-color: #28a745;
}

.page-88xeng__button--register:hover {
    background-color: #218838;
    border-color: #218838;
}

.page-88xeng__button--login {
    background-color: #007bff; /* Blue */
    border-color: #007bff;
}

.page-88xeng__button--login:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Game Categories Grid */
.page-88xeng__category-grid,
.page-88xeng__features-grid,
.page-88xeng__promo-grid,
.page-88xeng__news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 10px; /* Adjust padding for grid container */
}

.page-88xeng__category-item,
.page-88xeng__feature-item,
.page-88xeng__promo-item,
.page-88xeng__news-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0 0.3s ease;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-88xeng__category-item:hover,
.page-88xeng__feature-item:hover,
.page-88xeng__promo-item:hover,
.page-88xeng__news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-88xeng__category-image,
.page-88xeng__feature-icon,
.page-88xeng__promo-image,
.page-88xeng__news-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block; /* Ensure image takes full width of container */
    object-fit: cover; /* Cover the area without distortion */
}

.page-88xeng__category-image,
.page-88xeng__promo-image,
.page-88xeng__news-image {
    width: 100%;
    height: 180px; /* Fixed height for consistency */
}

.page-88xeng__feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.page-88xeng__category-title,
.page-88xeng__feature-title,
.page-88xeng__promo-title,
.page-88xeng__news-title {
    font-size: 1.3em;
    color: #ff4d4d;
    margin-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.page-88xeng__category-description,
.page-88xeng__feature-description,
.page-88xeng__promo-description,
.page-88xeng__news-excerpt {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 15px;
    flex-grow: 1; /* Allow description to take available space */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.page-88xeng__button--category,
.page-88xeng__button--promo,
.page-88xeng__button--news {
    background-color: #ff4d4d;
    color: #fff;
    padding: 8px 18px;
    font-size: 0.9em;
    border-radius: 5px;
    margin-top: auto; /* Push button to the bottom */
}

.page-88xeng__button--category:hover,
.page-88xeng__button--promo:hover,
.page-88xeng__button--news:hover {
    background-color: #e60000;
}

.page-88xeng__news-date {
    font-size: 0.85em;
    color: #777;
    margin-bottom: 10px;
}

/* Call to Action Section */
.page-88xeng__cta-section {
    background-color: #2c3e50;
    color: #fff;
    padding: 50px 20px;
    border-radius: 10px;
    margin-top: 50px;
}

.page-88xeng__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

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

/* FAQ Section */
.page-88xeng__faq-section {
    padding: 20px 15px;
    margin-bottom: 30px;
    text-align: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.page-88xeng__faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    box-sizing: border-box;
    padding: 0 10px;
}

.page-88xeng__faq-item {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    box-sizing: border-box;
}

.page-88xeng__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #ff4d4d;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
}

.page-88xeng__faq-question:hover {
    background-color: #e60000;
}

.page-88xeng__faq-question-text {
    margin: 0;
    font-size: 1.1em;
    flex-grow: 1;
    pointer-events: none; /* Crucial for click event on parent div */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.page-88xeng__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 10px;
    pointer-events: none; /* Crucial for click event on parent div */
    transition: transform 0.3s ease;
}

.page-88xeng__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    background-color: #f0f0f0;
    color: #333;
    box-sizing: border-box;
}

.page-88xeng__faq-answer p {
    margin: 0;
    padding-bottom: 10px; /* Adjust as needed for content spacing */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.page-88xeng__faq-item.active .page-88xeng__faq-answer {
    max-height: 2000px !important; /* Sufficiently large */
    padding: 20px 20px !important;
    opacity: 1;
}

.page-88xeng__faq-item.active .page-88xeng__faq-toggle {
    transform: rotate(45deg); /* Change '+' to 'X' or '−' */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-88xeng__main-title {
        font-size: 1.8em;
    }

    .page-88xeng__hero-subtitle {
        font-size: 1em;
    }

    .page-88xeng__section-title {
        font-size: 1.6em;
    }

    .page-88xeng__hero-actions {
        flex-direction: column;
        gap: 10px;
    }

    .page-88xeng__button {
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

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

    .page-88xeng__floating-buttons .page-88xeng__button {
        flex: 1;
        margin: 0 5px;
    }

    .page-88xeng__category-grid,
    .page-88xeng__features-grid,
    .page-88xeng__promo-grid,
.page-88xeng__news-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
        gap: 20px;
    }

    .page-88xeng__category-item,
    .page-88xeng__feature-item,
    .page-88xeng__promo-item,
    .page-88xeng__news-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 15px !important;
    }

    .page-88xeng__category-image,
    .page-88xeng__feature-icon,
    .page-88xeng__promo-image,
    .page-88xeng__news-image {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    .page-88xeng__faq-container {
        padding: 0 10px;
    }

    .page-88xeng__faq-question {
        padding: 12px 15px;
    }

    .page-88xeng__faq-question-text {
        font-size: 1em;
    }

    .page-88xeng__faq-answer {
        padding: 0 15px;
    }

    .page-88xeng__faq-item.active .page-88xeng__faq-answer {
        padding: 15px 15px !important;
    }

    .page-88xeng__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-88xeng__main-title {
        font-size: 1.5em;
    }
    .page-88xeng__hero-subtitle {
        font-size: 0.9em;
    }
    .page-88xeng__section-title {
        font-size: 1.4em;
    }
    .page-88xeng__floating-buttons {
        bottom: 5px;
        left: 5px;
        right: 5px;
        width: calc(100% - 10px);
    }
    .page-88xeng__floating-buttons .page-88xeng__button {
        padding: 8px 15px;
        font-size: 0.8em;
    }
}
  