.page-resources-luck8one-game-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
}

/* Hero Section */
.page-resources-luck8one-game-guide__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    background-color: #f0f8ff; /* Light blue tint for hero */
    text-align: center;
    overflow: hidden;
    padding-bottom: 60px;
}

.page-resources-luck8one-game-guide__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.page-resources-luck8one-game-guide__main-title {
    font-size: 2.8em;
    color: #26A9E0;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-resources-luck8one-game-guide__intro-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #555555;
}

.page-resources-luck8one-game-guide__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-resources-luck8one-game-guide__btn-primary,
.page-resources-luck8one-game-guide__btn-secondary,
.page-resources-luck8one-game-guide__btn-login {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-luck8one-game-guide__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-resources-luck8one-game-guide__btn-primary:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
}

.page-resources-luck8one-game-guide__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-resources-luck8one-game-guide__btn-secondary:hover {
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-resources-luck8one-game-guide__btn-login {
    background-color: #EA7C07;
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

.page-resources-luck8one-game-guide__btn-login:hover {
    background-color: #d46c00;
    border-color: #d46c00;
}

.page-resources-luck8one-game-guide__hero-image-wrapper {
    margin-top: 40px;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-resources-luck8one-game-guide__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* General Section Styling */
.page-resources-luck8one-game-guide__section {
    padding: 60px 20px;
    background-color: var(--background-color, #FFFFFF);
}

.page-resources-luck8one-game-guide__section:nth-of-type(even) {
    background-color: #f9f9f9; /* Light grey for alternating sections */
}

.page-resources-luck8one-game-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-resources-luck8one-game-guide__section-title {
    font-size: 2.2em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-resources-luck8one-game-guide__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    border-radius: 2px;
}

.page-resources-luck8one-game-guide__sub-title {
    font-size: 1.6em;
    color: #333333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources-luck8one-game-guide__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #555555;
}

.page-resources-luck8one-game-guide__list,
.page-resources-luck8one-game-guide__numbered-list {
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-resources-luck8one-game-guide__list-item {
    margin-bottom: 10px;
    color: #555555;
}

.page-resources-luck8one-game-guide__list {
    list-style: disc inside;
}

.page-resources-luck8one-game-guide__numbered-list {
    list-style: decimal inside;
}

.page-resources-luck8one-game-guide__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
    filter: none !important; /* Prohibit CSS filters */
}

/* FAQ Section */
.page-resources-luck8one-game-guide__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-resources-luck8one-game-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    color: #333333;
    background-color: #fdfdfd;
    transition: background-color 0.3s ease;
}

.page-resources-luck8one-game-guide__faq-question:hover {
    background-color: #f5f5f5;
}

.page-resources-luck8one-game-guide__faq-title {
    font-size: 1.1em;
    color: #26A9E0;
}

.page-resources-luck8one-game-guide__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-resources-luck8one-game-guide__faq-item.active .page-resources-luck8one-game-guide__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.page-resources-luck8one-game-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
}

.page-resources-luck8one-game-guide__faq-item.active .page-resources-luck8one-game-guide__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

.page-resources-luck8one-game-guide__faq-answer p {
    margin-bottom: 0;
}

/* Links within content */
.page-resources-luck8one-game-guide a {
    color: #26A9E0;
    text-decoration: none;
}

.page-resources-luck8one-game-guide a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources-luck8one-game-guide__main-title {
        font-size: 2.2em;
    }

    .page-resources-luck8one-game-guide__intro-text {
        font-size: 1em;
    }

    .page-resources-luck8one-game-guide__section-title {
        font-size: 1.8em;
    }

    .page-resources-luck8one-game-guide__sub-title {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .page-resources-luck8one-game-guide__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
        padding-bottom: 40px;
        padding-left: 0;
        padding-right: 0;
    }

    .page-resources-luck8one-game-guide__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-luck8one-game-guide__main-title {
        font-size: 1.8em;
    }

    .page-resources-luck8one-game-guide__intro-text {
        font-size: 0.95em;
    }

    .page-resources-luck8one-game-guide__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-resources-luck8one-game-guide__btn-primary,
    .page-resources-luck8one-game-guide__btn-secondary,
    .page-resources-luck8one-game-guide__btn-login {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95em;
        white-space: normal !important;
        word-wrap: break-word !important;
        text-align: center;
    }

    .page-resources-luck8one-game-guide__section {
        padding: 40px 15px;
    }

    .page-resources-luck8one-game-guide__container {
        padding: 0 10px;
    }

    .page-resources-luck8one-game-guide__section-title {
        font-size: 1.5em;
        margin-bottom: 30px;
    }

    .page-resources-luck8one-game-guide__sub-title {
        font-size: 1.2em;
        margin-top: 25px;
    }

    .page-resources-luck8one-game-guide__paragraph,
    .page-resources-luck8one-game-guide__list-item {
        font-size: 1em;
    }

    /* Mobile image responsiveness */
    .page-resources-luck8one-game-guide img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: unset;
        min-height: unset;
    }

    .page-resources-luck8one-game-guide__hero-image-wrapper,
    .page-resources-luck8one-game-guide__container,
    .page-resources-luck8one-game-guide__section,
    .page-resources-luck8one-game-guide__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-luck8one-game-guide__faq-question {
        padding: 15px 20px;
    }

    .page-resources-luck8one-game-guide__faq-answer {
        padding: 0 20px;
    }

    .page-resources-luck8one-game-guide__faq-item.active .page-resources-luck8one-game-guide__faq-answer {
        padding: 10px 20px;
    }
}