
    /* CSS for page-g-8888 */
.page-g-8888 {
    font-family: 'Arial', sans-serif;
    color: #333;
    background-color: #f8f8f8;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll from fixed buttons */
}

/* Hero Section */
.page-g-8888__hero-section {
    position: relative;
    padding: 10px 0 40px; /* Small padding-top as body already has header offset */
    background-color: #0d1a26; /* Dark background for hero */
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.page-g-8888__hero-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    filter: brightness(0.7); /* Slightly darken image for text readability, not changing color */
}

.page-g-8888__hero-content {
    position: relative;
    z-index: 10;
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-g-8888__hero-title {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #ffcc00; /* Gold color for highlight */
    word-wrap: break-word; /* Ensure title wraps on mobile */
    overflow-wrap: break-word;
}

.page-g-8888__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.page-g-8888__hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-g-8888__button {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none; /* For button-like links */
    display: inline-block;
    text-align: center;
}

.page-g-8888__button--primary {
    background-color: #ffcc00; /* Gold */
    color: #0d1a26;
    font-weight: bold;
}

.page-g-8888__button--primary:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
}

.page-g-8888__button--secondary {
    background-color: transparent;
    color: #ffcc00;
    border: 2px solid #ffcc00;
    font-weight: bold;
}

.page-g-8888__button--secondary:hover {
    background-color: #ffcc00;
    color: #0d1a26;
    transform: translateY(-2px);
}

/* General Section Styling */
.page-g-8888__about-section,
.page-g-8888__features-section,
.page-g-8888__promotions-section,
.page-g-8888__how-to-play-section,
.page-g-8888__faq-section,
.page-g-8888__cta-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-g-8888__section-title {
    font-size: 2em;
    color: #0d1a26;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

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

.page-g-8888__content-wrapper {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: left;
}

.page-g-8888__content-wrapper p {
    margin-bottom: 15px;
    color: #555;
}

.page-g-8888__image-centered {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    box-sizing: border-box; /* Ensure padding/border included in width */
    max-width: 100% !important; /* Mobile responsiveness */
    height: auto !important; /* Mobile responsiveness */
    overflow: hidden !important; /* Mobile responsiveness */
}

/* Features Section */
.page-g-8888__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-g-8888__feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* For list item mobile responsiveness */
}

.page-g-8888__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-g-8888__feature-icon {
    width: 100%;
    max-width: 150px; /* Adjust max-width as needed, min 200x200 for actual images */
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100% !important; /* Mobile responsiveness */
    height: auto !important; /* Mobile responsiveness */
    overflow: hidden !important; /* Mobile responsiveness */
}

.page-g-8888__feature-title {
    font-size: 1.3em;
    color: #0d1a26;
    margin-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.page-g-8888__feature-description {
    color: #666;
}

/* How To Play Section */
.page-g-8888__steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.page-g-8888__steps-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
    padding: 25px;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex: 1;
    min-width: 280px;
    max-width: 45%; /* Adjust for 2 columns on desktop */
    box-sizing: border-box; /* Required for list items */
}

.page-g-8888__step-number {
    font-size: 1.8em;
    font-weight: bold;
    color: #ffcc00;
    background-color: #0d1a26;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.page-g-8888__step-title {
    font-size: 1.2em;
    color: #0d1a26;
    margin-top: 0;
    margin-bottom: 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.page-g-8888__step-content p {
    color: #666;
    margin: 0;
}

/* FAQ Section */
.page-g-8888__faq-list {
    max-width: 800px;
    margin: 30px auto 0;
    text-align: left;
}

.page-g-8888__faq-item {
    background-color: #fff;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    box-sizing: border-box; /* For list item mobile responsiveness */
}

.page-g-8888__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    background-color: #f0f0f0;
    color: #0d1a26;
    font-weight: bold;
    transition: background-color 0.3s ease;
    user-select: none;
}

.page-g-8888__faq-question:hover {
    background-color: #e0e0e0;
}

.page-g-8888__faq-q-text {
    margin: 0;
    font-size: 1.1em;
    flex-grow: 1;
    pointer-events: none; /* Crucial for FAQ click functionality */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.page-g-8888__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
    pointer-events: none; /* Crucial for FAQ click functionality */
    flex-shrink: 0;
}

.page-g-8888__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: #555;
    text-align: left;
}

.page-g-8888__faq-answer p {
    margin-top: 0;
    margin-bottom: 15px;
}

.page-g-8888__faq-item.active .page-g-8888__faq-answer {
    max-height: 2000px !important; /* Sufficiently large value */
    padding: 20px !important; /* Final padding */
    opacity: 1;
}

.page-g-8888__faq-item.active .page-g-8888__faq-toggle {
    transform: rotate(45deg); /* Change '+' to 'x' or similar, or just rotate */
    content: '−'; /* This won't work directly, JS handles text change */
}


/* CTA Section */
.page-g-8888__cta-description {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 30px;
}

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

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

.page-g-8888__floating-button {
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
    min-width: 100px;
}

.page-g-8888__floating-button--register {
    background-color: #ffcc00; /* Gold */
    color: #0d1a26;
}

.page-g-8888__floating-button--register:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
}

.page-g-8888__floating-button--login {
    background-color: #0d1a26; /* Dark Blue */
    color: #ffcc00;
    border: 1px solid #ffcc00;
}

.page-g-8888__floating-button--login:hover {
    background-color: #1a344d;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-g-8888__hero-title {
        font-size: 2em;
    }

    .page-g-8888__hero-description {
        font-size: 1em;
    }

    .page-g-8888__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-g-8888__button {
        width: 80%;
        margin: 0 auto;
    }

    .page-g-8888__section-title {
        font-size: 1.7em;
    }

    .page-g-8888__about-section,
    .page-g-8888__features-section,
    .page-g-8888__promotions-section,
    .page-g-8888__how-to-play-section,
    .page-g-8888__faq-section,
    .page-g-8888__cta-section {
        padding: 30px 15px;
    }

    /* List item mobile responsiveness */
    .page-g-8888__feature-item,
    .page-g-8888__steps-item,
    .page-g-8888__faq-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 15px !important; /* Adjust padding for mobile */
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .page-g-8888__steps-list {
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-g-8888__feature-icon,
    .page-g-8888__image-centered {
        max-width: 100% !important;
        height: auto !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .page-g-8888__faq-question {
        padding: 15px !important;
    }

    .page-g-8888__faq-answer {
        padding: 0 15px !important; /* Adjust initial padding */
    }

    .page-g-8888__faq-item.active .page-g-8888__faq-answer {
        padding: 15px !important; /* Adjust active padding */
    }

    .page-g-8888__floating-buttons {
        right: 10px;
        bottom: 10px;
    }
    .page-g-8888__floating-button {
        min-width: unset;
        width: 120px;
        padding: 8px 15px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .page-g-8888__hero-title {
        font-size: 1.8em;
    }
    .page-g-8888__section-title {
        font-size: 1.5em;
    }
    .page-g-8888__floating-buttons {
        right: 5px;
        bottom: 5px;
    }
    .page-g-8888__floating-button {
        width: 100px;
        padding: 7px 10px;
        font-size: 0.85em;
    }
}
  