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

/* Base styles for the specific page content */
.page-resources-game-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css (#0a0a0a) */
}

/* Section styling */
.page-resources-game-guide__hero-section {
    position: relative;
    padding: 80px 20px 40px;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #017439; /* Brand primary color for hero background */
    color: #ffffff;
    overflow: hidden;
}

.page-resources-game-guide__hero-content {
    max-width: 900px;
    z-index: 1;
    position: relative;
    margin-bottom: 40px;
}

.page-resources-game-guide__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-resources-game-guide__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #ffffff;
}

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

.page-resources-game-guide__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-top: 30px;
    z-index: 0;
}

.page-resources-game-guide__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-game-guide__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    color: #ffffff; /* Text color for dark body background */
}

.page-resources-game-guide__dark-bg {
    background-color: #0a0a0a;
    color: #ffffff;
}

.page-resources-game-guide__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand color for main titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-resources-game-guide__text-block {
    margin-bottom: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-resources-game-guide p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-resources-game-guide a {
    color: #C30808;
    text-decoration: underline;
}

.page-resources-game-guide a:hover {
    color: #ff0000;
    text-decoration: none;
}

.page-resources-game-guide__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-resources-game-guide__list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-resources-game-guide__image-container {
    margin: 40px 0;
    text-align: center;
}

.page-resources-game-guide__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Button styles */
.page-resources-game-guide__btn-primary,
.page-resources-game-guide__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

.page-resources-game-guide__btn-primary {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
}

.page-resources-game-guide__btn-primary:hover {
    background-color: #005a2e;
    border-color: #005a2e;
}

.page-resources-game-guide__btn-secondary {
    background-color: #ffffff;
    color: #017439;
    border: 2px solid #ffffff;
}

.page-resources-game-guide__btn-secondary:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
}

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

.page-resources-game-guide__cta-buttons--bottom {
    margin-top: 60px;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-resources-game-guide__faq-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #0a0a0a;
    color: #ffffff;
}

.page-resources-game-guide__faq-list {
    margin-top: 30px;
}

.page-resources-game-guide__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-resources-game-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-resources-game-guide__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-game-guide__faq-title {
    font-size: 1.3em;
    color: #ffffff;
    margin: 0;
    flex-grow: 1;
}

.page-resources-game-guide__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #C30808;
    margin-left: 20px;
    transition: transform 0.3s ease;
}

.page-resources-game-guide__faq-item.active .page-resources-game-guide__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-game-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
}

.page-resources-game-guide__faq-item.active .page-resources-game-guide__faq-answer {
    max-height: 1000px !important;
    padding: 15px 25px 25px;
}

.page-resources-game-guide__faq-answer p {
    margin-bottom: 0;
    color: #e0e0e0;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-game-guide__hero-title {
        font-size: 2.8em;
    }
    .page-resources-game-guide__section-title {
        font-size: 2em;
    }
    .page-resources-game-guide__sub-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-resources-game-guide__hero-section {
        padding: 60px 15px 30px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-resources-game-guide__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-resources-game-guide__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-resources-game-guide__hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .page-resources-game-guide__btn-primary,
    .page-resources-game-guide__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-resources-game-guide__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-resources-game-guide__content-area,
    .page-resources-game-guide__faq-section {
        padding: 40px 15px;
    }

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

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

    .page-resources-game-guide p,
    .page-resources-game-guide__list li {
        font-size: 1em;
    }

    /* Mobile image responsiveness */
    .page-resources-game-guide img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-resources-game-guide__section,
    .page-resources-game-guide__card,
    .page-resources-game-guide__container,
    .page-resources-game-guide__text-block,
    .page-resources-game-guide__image-container,
    .page-resources-game-guide__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-resources-game-guide__faq-question {
      padding: 15px 20px;
    }
    .page-resources-game-guide__faq-answer {
      padding: 0 20px;
    }
    .page-resources-game-guide__faq-item.active .page-resources-game-guide__faq-answer {
      padding: 10px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-resources-game-guide__hero-title {
        font-size: 1.8em;
    }
    .page-resources-game-guide__section-title {
        font-size: 1.5em;
    }
    .page-resources-game-guide__sub-title {
        font-size: 1.2em;
    }
    .page-resources-game-guide__faq-title {
      font-size: 1.1em;
    }
}