:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --dark-bg-color: #121212; /* Body background from shared.css */
    --light-text-color: #FFFFFF;
    --dark-text-color: #333333;
    --register-button-color: #C30808;
    --login-button-color: #C30808;
    --button-text-color: #FFFF00;
}

.page-resources-78win-game-strategies {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--light-text-color); /* Default text color for dark body background */
    background-color: var(--dark-bg-color); /* Ensure consistency with body background */
}

/* Hero Section */
.page-resources-78win-game-strategies__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background-color: var(--primary-color); /* Using brand color for hero background */
    color: var(--light-text-color);
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-resources-78win-game-strategies__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-bottom: 40px;
}

.page-resources-78win-game-strategies__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--light-text-color);
    line-height: 1.2;
}

.page-resources-78win-game-strategies__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--light-text-color);
}

.page-resources-78win-game-strategies__hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-resources-78win-game-strategies__btn-primary,
.page-resources-78win-game-strategies__btn-secondary {
    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;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-78win-game-strategies__btn-primary {
    background-color: var(--register-button-color); /* Using custom color for register */
    color: var(--button-text-color); /* Using custom color for button text */
    border: 2px solid var(--register-button-color);
}

.page-resources-78win-game-strategies__btn-primary:hover {
    background-color: #a30606;
    border-color: #a30606;
}

.page-resources-78win-game-strategies__btn-secondary {
    background-color: transparent;
    color: var(--light-text-color);
    border: 2px solid var(--light-text-color);
}

.page-resources-78win-game-strategies__btn-secondary:hover {
    background-color: var(--light-text-color);
    color: var(--primary-color);
}

.page-resources-78win-game-strategies__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-resources-78win-game-strategies__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Subtle background image */
}

/* Content Area */
.page-resources-78win-game-strategies__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--dark-bg-color); /* Content area background */
    color: var(--light-text-color); /* Text color for dark background */
}

.page-resources-78win-game-strategies__section-title {
    font-size: 2.5em;
    color: var(--light-text-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-resources-78win-game-strategies__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.page-resources-78win-game-strategies__text-block {
    margin-bottom: 40px;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for text blocks */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-78win-game-strategies__sub-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-resources-78win-game-strategies__text-block p {
    margin-bottom: 15px;
    color: var(--light-text-color);
}

.page-resources-78win-game-strategies__text-block strong {
    color: var(--secondary-color);
}

.page-resources-78win-game-strategies__text-block ul,
.page-resources-78win-game-strategies__text-block ol {
    margin-left: 20px;
    margin-bottom: 15px;
    color: var(--light-text-color);
}

.page-resources-78win-game-strategies__text-block li {
    margin-bottom: 8px;
}

.page-resources-78win-game-strategies__content-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px 0;
    display: block; /* Ensure it behaves as a block element */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-resources-78win-game-strategies__faq-container {
    max-width: 900px;
    margin: 40px auto;
}

.page-resources-78win-game-strategies__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Darker background for FAQ items */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-78win-game-strategies__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: var(--primary-color); /* Question background with brand color */
    color: var(--light-text-color);
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-resources-78win-game-strategies__faq-question:hover {
    background-color: #015f30;
}

.page-resources-78win-game-strategies__faq-question h3 {
    margin: 0;
    color: var(--light-text-color);
}

.page-resources-78win-game-strategies__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-78win-game-strategies__faq-item.active .page-resources-78win-game-strategies__faq-toggle {
    transform: rotate(45deg); /* Change to 'x' or '−' */
}

.page-resources-78win-game-strategies__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    background-color: rgba(255, 255, 255, 0.05); /* Answer background */
    color: var(--light-text-color);
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-resources-78win-game-strategies__faq-item.active .page-resources-78win-game-strategies__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px 25px;
}

.page-resources-78win-game-strategies__faq-answer p {
    margin: 0;
    color: var(--light-text-color);
}

.page-resources-78win-game-strategies__faq-answer a {
    color: var(--primary-color); /* Link color */
    text-decoration: underline;
}

/* Call to Action Section */
.page-resources-78win-game-strategies__cta-section {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    background-color: var(--primary-color); /* Using brand color for CTA background */
    color: var(--light-text-color);
    overflow: hidden;
}

.page-resources-78win-game-strategies__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--light-text-color);
    position: relative;
    z-index: 2;
}

.page-resources-78win-game-strategies__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: var(--light-text-color);
    position: relative;
    z-index: 2;
}

.page-resources-78win-game-strategies__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.page-resources-78win-game-strategies__cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15; /* Subtle background image */
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-78win-game-strategies__hero-title {
        font-size: 2.8em;
    }
    .page-resources-78win-game-strategies__section-title {
        font-size: 2em;
    }
    .page-resources-78win-game-strategies__sub-title {
        font-size: 1.6em;
    }
    .page-resources-78win-game-strategies__cta-title {
        font-size: 2.4em;
    }
}

@media (max-width: 768px) {
    .page-resources-78win-game-strategies {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-resources-78win-game-strategies__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-resources-78win-game-strategies__hero-title {
        font-size: 2.2em;
    }

    .page-resources-78win-game-strategies__hero-description {
        font-size: 1em;
    }

    .page-resources-78win-game-strategies__hero-cta {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px; /* Constrain button group width */
        margin: 0 auto;
    }

    .page-resources-78win-game-strategies__btn-primary,
    .page-resources-78win-game-strategies__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-resources-78win-game-strategies__content-area,
    .page-resources-78win-game-strategies__cta-section {
        padding: 40px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    
    .page-resources-78win-game-strategies__text-block {
        padding: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-resources-78win-game-strategies__sub-title {
        font-size: 1.4em;
    }

    /* Images responsiveness */
    .page-resources-78win-game-strategies img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Ensure content containers also adapt */
    .page-resources-78win-game-strategies__section,
    .page-resources-78win-game-strategies__card,
    .page-resources-78win-game-strategies__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-78win-game-strategies__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-resources-78win-game-strategies__faq-item.active .page-resources-78win-game-strategies__faq-answer {
        padding: 15px 20px;
    }

    .page-resources-78win-game-strategies__cta-title {
        font-size: 2em;
    }

    .page-resources-78win-game-strategies__cta-description {
        font-size: 1em;
    }

    .page-resources-78win-game-strategies__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px; /* Constrain button group width */
        margin: 0 auto;
    }
}