/* style/resources-game-strategy.css */

/* Base styles for the page content */
.page-resources-game-strategy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light background */
    background-color: #FFFFFF; /* Page background color */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    overflow-x: hidden; /* Prevent horizontal scrolling on mobile */
}

/* Hero Section */
.page-resources-game-strategy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px; /* Minimum height for hero */
    overflow: hidden;
    padding: 40px 20px;
    color: #FFFFFF; /* Text color over hero image */
}

.page-resources-game-strategy__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: none; /* Ensure no filter is applied to the image */
}

.page-resources-game-strategy__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for readability */
    border-radius: 10px;
}

.page-resources-game-strategy__hero-title {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: #FCBC45; /* Highlight color for title */
}

.page-resources-game-strategy__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.page-resources-game-strategy__hero-button {
    display: inline-block;
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Dark text for the button */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.page-resources-game-strategy__hero-button:hover {
    background-color: #e0a53b; /* Slightly darker on hover */
}

/* Article Navigation (Table of Contents) */
.page-resources-game-strategy__article-navigation {
    background-color: #f8f8f8;
    padding: 30px 20px;
    border-bottom: 1px solid #eee;
}

.page-resources-game-strategy__container {
    max-width: 800px; /* Content width for readability */
    margin: 0 auto;
}

.page-resources-game-strategy__back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #000000; /* Main color for links */
    text-decoration: none;
    font-weight: bold;
}

.page-resources-game-strategy__back-link:hover {
    text-decoration: underline;
}

.page-resources-game-strategy__section-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 20px;
    text-align: center;
}

.page-resources-game-strategy__toc-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.page-resources-game-strategy__toc-list li {
    margin-bottom: 5px;
}

.page-resources-game-strategy__toc-list a {
    color: #000000;
    text-decoration: none;
    padding: 8px 15px;
    background-color: #f0f0f0;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources-game-strategy__toc-list a:hover {
    background-color: #FCBC45;
    color: #FFFFFF;
}

/* Article Content */
.page-resources-game-strategy__article-content {
    padding: 40px 20px;
}

.page-resources-game-strategy__section {
    margin-bottom: 50px;
}

.page-resources-game-strategy__section-heading {
    font-size: 2.2em;
    color: #000000;
    margin-bottom: 20px;
    border-bottom: 2px solid #FCBC45;
    padding-bottom: 10px;
}

.page-resources-game-strategy__sub-heading {
    font-size: 1.6em;
    color: #000000;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources-game-strategy__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #333333;
}

.page-resources-game-strategy__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #333333;
}

.page-resources-game-strategy__list li {
    margin-bottom: 10px;
}

.page-resources-game-strategy__content-image {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce minimum display size */
    min-height: 200px; /* Enforce minimum display size */
    filter: none; /* Ensure no filter is applied to the image */
}

/* Call to Action Buttons */
.page-resources-game-strategy__cta-buttons {
    text-align: center;
    margin-top: 50px;
}

.page-resources-game-strategy__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    margin: 0 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources-game-strategy__button--primary {
    background-color: #FCBC45; /* Login color */
    color: #000000; /* Dark text for contrast */
}

.page-resources-game-strategy__button--primary:hover {
    background-color: #e0a53b;
}

.page-resources-game-strategy__button--secondary {
    background-color: #000000; /* Main color */
    color: #FFFFFF; /* Register color */
    border: 1px solid #FCBC45;
}

.page-resources-game-strategy__button--secondary:hover {
    background-color: #333333;
    border-color: #e0a53b;
}

/* FAQ Section */
.page-resources-game-strategy__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.page-resources-game-strategy__faq-question {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 10px;
}

.page-resources-game-strategy__faq-answer {
    font-size: 1.1em;
    color: #333333;
}

/* Simple fade-in animation */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-resources-game-strategy {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
    }

    .page-resources-game-strategy__hero-title {
        font-size: 2em;
    }

    .page-resources-game-strategy__hero-description {
        font-size: 1em;
    }

    .page-resources-game-strategy__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-resources-game-strategy__toc-list {
        flex-direction: column;
        align-items: center;
    }

    .page-resources-game-strategy__toc-list a {
        width: 100%;
        text-align: center;
    }

    .page-resources-game-strategy__section-heading {
        font-size: 1.8em;
    }

    .page-resources-game-strategy__sub-heading {
        font-size: 1.4em;
    }

    .page-resources-game-strategy__paragraph,
    .page-resources-game-strategy__list li,
    .page-resources-game-strategy__faq-question,
    .page-resources-game-strategy__faq-answer {
        font-size: 1em;
    }

    .page-resources-game-strategy__button {
        display: block;
        margin: 15px auto;
        width: calc(100% - 20px);
    }

    /* Ensure content images do not overflow */
    .page-resources-game-strategy img {
        max-width: 100%;
        height: auto;
        /* min-width and min-height already applied in base styles, ensuring no smaller display */
    }
}