.page-resources-game-guides {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #FFFFFF; /* Default light background */
}

/* Hero Section */
.page-resources-game-guides__hero-section {
    position: relative;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    color: #FFFFFF;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    background-color: #26A9E0; /* Brand primary color for hero background */
}

.page-resources-game-guides__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 2; /* Ensure content is above image */
}

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

.page-resources-game-guides__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-game-guides__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFFFFF;
}

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

/* General Section Styles */
.page-resources-game-guides__introduction-section,
.page-resources-game-guides__strategy-section,
.page-resources-game-guides__video-section,
.page-resources-game-guides__cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-resources-game-guides__game-categories,
.page-resources-game-guides__maximize-winnings,
.page-resources-game-guides__faq-section {
    padding: 80px 0;
    text-align: center;
    color: #FFFFFF;
}

.page-resources-game-guides__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

.page-resources-game-guides__dark-bg {
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-resources-game-guides__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    font-weight: bold;
    color: inherit; /* Inherit color from parent section (light/dark bg) */
}

.page-resources-game-guides__text-block {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 20px auto;
    color: inherit;
}

/* Buttons */
.page-resources-game-guides__btn-primary,
.page-resources-game-guides__btn-secondary,
.page-resources-game-guides__btn-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.page-resources-game-guides__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #FFFFFF;
    border: 2px solid transparent;
}

.page-resources-game-guides__btn-primary:hover {
    background-color: #d46d06;
}

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

.page-resources-game-guides__btn-secondary:hover {
    background-color: #e0e0e0;
    color: #26A9E0;
}

.page-resources-game-guides__btn-link {
    background-color: transparent;
    color: #FFFFFF; /* For dark sections */
    border: 2px solid #FFFFFF;
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: 15px;
}

.page-resources-game-guides__dark-bg .page-resources-game-guides__btn-link {
    color: #FFFFFF;
    border-color: #FFFFFF;
}

.page-resources-game-guides__light-bg .page-resources-game-guides__btn-link {
    color: #26A9E0;
    border-color: #26A9E0;
}

.page-resources-game-guides__btn-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}
.page-resources-game-guides__light-bg .page-resources-game-guides__btn-link:hover {
    background-color: #26A9E0;
    color: #FFFFFF;
}


/* Game Categories Grid */
.page-resources-game-guides__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
}

.page-resources-game-guides__card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: left;
    color: #333333;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.page-resources-game-guides__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-resources-game-guides__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #26A9E0;
}
.page-resources-game-guides__card-title a {
    color: #26A9E0;
    text-decoration: none;
}
.page-resources-game-guides__card-title a:hover {
    text-decoration: underline;
}

.page-resources-game-guides__card-text {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Strategy & Winning Lists */
.page-resources-game-guides__strategy-list,
.page-resources-game-guides__winning-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
}

.page-resources-game-guides__list-item {
    background-color: #f8f8f8; /* Light background for list items in light sections */
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #333333;
}
.page-resources-game-guides__dark-bg .page-resources-game-guides__list-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark sections */
    color: #FFFFFF;
}

.page-resources-game-guides__list-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    font-weight: bold;
    color: #26A9E0; /* Brand primary color */
}
.page-resources-game-guides__dark-bg .page-resources-game-guides__list-title {
    color: #FFFFFF; /* White for dark sections */
}

.page-resources-game-guides__list-text {
    font-size: 1em;
    margin-bottom: 10px;
}

/* Video Section */
.page-resources-game-guides__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 960px; /* Max width for video player */
    margin: 40px auto;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    /* Aspect ratio hack for responsive video */
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

.page-resources-game-guides__video,
.page-resources-game-guides__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}
.page-resources-game-guides__video-cta {
    margin-top: 40px;
}

/* FAQ Section */
.page-resources-game-guides__faq-list {
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
}

.page-resources-game-guides__faq-item {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white for dark sections */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-game-guides__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFFFFF;
    background-color: rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.page-resources-game-guides__faq-question:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

.page-resources-game-guides__faq-title {
    margin: 0;
    color: inherit;
}

.page-resources-game-guides__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-resources-game-guides__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);
    color: #FFFFFF;
}

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

.page-resources-game-guides__faq-answer p {
    margin-bottom: 10px;
    color: inherit;
}

/* Call to Action Section */
.page-resources-game-guides__cta-section {
    background-color: #FFFFFF;
    color: #333333;
}
.page-resources-game-guides__cta-section .page-resources-game-guides__section-title {
    color: #26A9E0;
}
.page-resources-game-guides__cta-section .page-resources-game-guides__text-block {
    color: #555555;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-game-guides__hero-title {
        font-size: 2.5em;
    }
    .page-resources-game-guides__section-title {
        font-size: 2em;
    }
    .page-resources-game-guides__grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-resources-game-guides__hero-section {
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Important for mobile fixed header */
        min-height: 400px;
    }
    .page-resources-game-guides__hero-title {
        font-size: 2em;
    }
    .page-resources-game-guides__hero-description {
        font-size: 1em;
    }
    .page-resources-game-guides__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-game-guides__btn-primary,
    .page-resources-game-guides__btn-secondary,
    .page-resources-game-guides__btn-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-resources-game-guides__hero-cta-buttons,
    .page-resources-game-guides__video-cta {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
        overflow: hidden !important;
    }

    .page-resources-game-guides__introduction-section,
    .page-resources-game-guides__game-categories,
    .page-resources-game-guides__strategy-section,
    .page-resources-game-guides__maximize-winnings,
    .page-resources-game-guides__video-section,
    .page-resources-game-guides__faq-section,
    .page-resources-game-guides__cta-section {
        padding: 40px 0;
    }
    .page-resources-game-guides__container {
        padding: 0 15px;
    }
    .page-resources-game-guides__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-resources-game-guides__text-block {
        font-size: 0.95em;
    }
    .page-resources-game-guides__grid {
        grid-template-columns: 1fr;
    }
    .page-resources-game-guides__card-image {
        height: 180px;
    }
    .page-resources-game-guides__card-title {
        font-size: 1.3em;
    }
    .page-resources-game-guides__list-title {
        font-size: 1.2em;
    }
    .page-resources-game-guides__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-resources-game-guides__faq-answer {
        padding: 0 20px;
    }
    .page-resources-game-guides__faq-item.active .page-resources-game-guides__faq-answer {
        padding: 10px 20px 20px 20px;
    }

    /* Image responsiveness for content area */
    .page-resources-game-guides img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-game-guides__card,
    .page-resources-game-guides__list-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Video responsiveness */
    .page-resources-game-guides video,
    .page-resources-game-guides__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-game-guides__video-section,
    .page-resources-game-guides__video-container,
    .page-resources-game-guides__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-resources-game-guides__video-wrapper {
        padding-bottom: 56.25% !important; /* Maintain aspect ratio */
        height: 0 !important;
    }
}