.page-resources-8k8app-guide {
    color: #ffffff; /* Light text for dark body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.page-resources-8k8app-guide__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    text-align: center;
    overflow: hidden; /* Contain image */
    background-color: #0A1931; /* Fallback background for hero */
}

.page-resources-8k8app-guide__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-resources-8k8app-guide__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 900px;
    width: 90%;
    z-index: 10;
    padding: 20px;
    box-sizing: border-box;
}

.page-resources-8k8app-guide__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-8k8app-guide__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.page-resources-8k8app-guide__hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-resources-8k8app-guide__hero-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-resources-8k8app-guide__hero-button--primary {
    background-color: #FFD700;
    color: #0A1931;
}

.page-resources-8k8app-guide__hero-button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-resources-8k8app-guide__hero-button--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-resources-8k8app-guide__hero-button--secondary:hover {
    background-color: #FFD700;
    color: #0A1931;
    transform: translateY(-2px);
}

.page-resources-8k8app-guide__content-area {
    max-width: 800px; /* Article content width */
    margin: 40px auto;
    padding: 20px;
    background-color: #0A1931; /* Dark blue background for content section */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-8k8app-guide__section-title {
    font-size: 2.5em;
    color: #FFD700;
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 15px;
}

.page-resources-8k8app-guide__sub-section-title {
    font-size: 1.8em;
    color: #f0f0f0;
    margin-top: 30px;
    margin-bottom: 20px;
    border-left: 4px solid #FFD700;
    padding-left: 15px;
}

.page-resources-8k8app-guide__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #cccccc;
}

.page-resources-8k8app-guide__ordered-list,
.page-resources-8k8app-guide__unordered-list {
    margin-bottom: 20px;
    padding-left: 25px;
}

.page-resources-8k8app-guide__list-item {
    margin-bottom: 10px;
    color: #cccccc;
    font-size: 1.1em;
}

.page-resources-8k8app-guide__list-item-title {
    color: #FFD700;
    font-size: 1.2em;
    margin-bottom: 5px;
}

.page-resources-8k8app-guide__inline-link {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources-8k8app-guide__inline-link:hover {
    color: #e6c200;
    text-decoration: underline;
}

.page-resources-8k8app-guide__button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #FFD700;
    color: #0A1931;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1em;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-resources-8k8app-guide__button:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-resources-8k8app-guide__button--small {
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-resources-8k8app-guide__button--large {
    padding: 15px 30px;
    font-size: 1.1em;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.page-resources-8k8app-guide__game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-resources-8k8app-guide__game-card {
    background-color: #1a2b45; /* Slightly lighter dark blue for cards */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-resources-8k8app-guide__game-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 15px;
    display: block;
}

.page-resources-8k8app-guide__game-card-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-resources-8k8app-guide__game-card-description {
    font-size: 0.95em;
    color: #cccccc;
    margin-bottom: 20px;
    padding: 0 15px;
    flex-grow: 1;
}

.page-resources-8k8app-guide__faq-container {
    margin-top: 30px;
}

.page-resources-8k8app-guide__faq-item {
    background-color: #1a2b45;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-resources-8k8app-guide__faq-question {
    font-size: 1.3em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-resources-8k8app-guide__faq-answer {
    font-size: 1em;
    color: #cccccc;
}

.page-resources-8k8app-guide__final-cta {
    text-align: center;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

@media (max-width: 768px) {
    .page-resources-8k8app-guide__hero-title {
        font-size: 2.5em;
    }

    .page-resources-8k8app-guide__hero-description {
        font-size: 1em;
    }

    .page-resources-8k8app-guide__hero-buttons {
        flex-direction: column;
    }

    .page-resources-8k8app-guide__hero-button {
        width: 80%;
    }

    .page-resources-8k8app-guide__section-title {
        font-size: 2em;
    }

    .page-resources-8k8app-guide__sub-section-title {
        font-size: 1.5em;
    }

    .page-resources-8k8app-guide__paragraph,
    .page-resources-8k8app-guide__list-item,
    .page-resources-8k8app-guide__game-card-description,
    .page-resources-8k8app-guide__faq-answer {
        font-size: 0.95em;
    }
    
    /* Mobile content area images must not overflow */
    .page-resources-8k8app-guide img {
        max-width: 100%;
        height: auto;
    }

    .page-resources-8k8app-guide__content-area {
        padding: 15px;
        margin: 20px auto;
    }

    .page-resources-8k8app-guide__game-categories {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-resources-8k8app-guide__hero-title {
        font-size: 2em;
    }

    .page-resources-8k8app-guide__hero-description {
        font-size: 0.9em;
    }

    .page-resources-8k8app-guide__hero-button {
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-resources-8k8app-guide__section-title {
        font-size: 1.8em;
    }

    .page-resources-8k8app-guide__sub-section-title {
        font-size: 1.3em;
    }
}