.page-game-guides {
    color: #ffffff; /* Body background is dark, so text should be light */
    background-color: #000; /* Ensure main content background is dark to match body */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.page-game-guides__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header, default 120px */
    background: linear-gradient(135deg, #26A9E0, #000); /* Blend brand color with dark background */
    color: #ffffff;
    text-align: center;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    overflow: hidden; /* Prevent content overflow */
}

.page-game-guides__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 2;
}

.page-game-guides__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    color: #ffffff;
}

.page-game-guides__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-game-guides__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

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

.page-game-guides__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Make it a subtle background image */
    filter: none; /* Ensure no filter is applied */
}

.page-game-guides__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-game-guides__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.page-game-guides__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    border-radius: 2px;
}

.page-game-guides__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0; /* Light text for dark background */
}

.page-game-guides__introduction-section {
    padding: 60px 0;
    background-color: #0d0d0d; /* Slightly lighter dark background */
}

.page-game-guides__game-types-section {
    padding: 60px 0;
    background-color: #000;
}

.page-game-guides__game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-game-guides__game-card {
    background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent white for cards */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.page-game-guides__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-game-guides__card-image {
    width: 100%;
    height: 200px; /* Fixed height for card images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    filter: none; /* Ensure no filter is applied */
}

.page-game-guides__card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-game-guides__card-title a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-game-guides__card-title a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.page-game-guides__card-description {
    font-size: 1em;
    color: #cccccc;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow description to take available space */
}

.page-game-guides__strategy-section {
    padding: 60px 0;
    background-color: #0d0d0d;
}

.page-game-guides__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-game-guides__strategy-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-game-guides__strategy-item-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-game-guides__strategy-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    filter: none; /* Ensure no filter is applied */
}

.page-game-guides__getting-started-section {
    padding: 60px 0;
    background-color: #000;
}

.page-game-guides__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-game-guides__step-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.page-game-guides__step-icon {
    width: 60px;
    height: 60px;
    background-color: #26A9E0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(38, 169, 224, 0.5);
}

.page-game-guides__step-title {
    font-size: 1.7em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-game-guides__faq-section {
    padding: 60px 0;
    background-color: #0d0d0d;
}

.page-game-guides__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-game-guides__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-game-guides__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #1a1a1a; /* Darker background for question */
    transition: background-color 0.3s ease;
}

.page-game-guides__faq-question:hover {
    background-color: #2a2a2a;
}

.page-game-guides__faq-question-text {
    font-size: 1.2em;
    color: #ffffff;
    margin: 0;
}

.page-game-guides__faq-toggle {
    font-size: 1.8em;
    color: #26A9E0;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-game-guides__faq-item.active .page-game-guides__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
}

.page-game-guides__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    background-color: rgba(255, 255, 255, 0.02); /* Very subtle background for answer */
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

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

.page-game-guides__faq-answer p {
    color: #cccccc;
    margin-bottom: 15px;
}

.page-game-guides__cta-section {
    background-color: #26A9E0; /* Brand color background for CTA */
    padding: 80px 20px;
    text-align: center;
    color: #ffffff;
}

.page-game-guides__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-game-guides__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

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

/* --- Buttons --- */
.page-game-guides__btn-primary,
.page-game-guides__btn-secondary,
.page-game-guides__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
}

.page-game-guides__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #000000; /* Changed to black for contrast */
    border: 2px solid #EA7C07;
}

.page-game-guides__btn-primary:hover {
    background-color: #d16e06;
    border-color: #d16e06;
    transform: translateY(-3px);
    color: #000000; /* Ensure hover state also has black text */
}

.page-game-guides__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-game-guides__btn-secondary:hover {
    background-color: #ffffff;
    color: #26A9E0; /* Brand blue text on white background, good contrast */
    transform: translateY(-3px);
}

.page-game-guides__btn-tertiary {
    background-color: #26A9E0;
    color: #000000; /* Changed to black for contrast */
    border: 2px solid #26A9E0;
    padding: 10px 20px;
    font-size: 1em;
}

.page-game-guides__btn-tertiary:hover {
    background-color: #1f8cc3;
    border-color: #1f8cc3;
    transform: translateY(-3px);
    color: #000000; /* Ensure hover state also has black text */
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-game-guides__hero-title {
        font-size: 3em;
    }
    .page-game-guides__hero-description {
        font-size: 1.2em;
    }
    .page-game-guides__section-title {
        font-size: 2em;
    }
    .page-game-guides__cta-title {
        font-size: 2.5em;
    }
}

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

    .page-game-guides__hero-section {
        padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
        min-height: 60vh;
        padding-bottom: 40px;
    }

    .page-game-guides__hero-title {
        font-size: 2.2em;
    }
    .page-game-guides__hero-description {
        font-size: 1.1em;
    }

    .page-game-guides__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* Images responsiveness */
    .page-game-guides img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* All containers that might hold images or other content */
    .page-game-guides__section,
    .page-game-guides__card,
    .page-game-guides__container,
    .page-game-guides__game-card,
    .page-game-guides__strategy-item,
    .page-game-guides__step-item,
    .page-game-guides__faq-item,
    .page-game-guides__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Ensure text blocks don't cause overflow */
    .page-game-guides__text-block {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Buttons responsiveness */
    .page-game-guides__btn-primary,
    .page-game-guides__btn-secondary,
    .page-game-guides__btn-tertiary,
    .page-game-guides a[class*="button"],
    .page-game-guides a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px; /* Adjust padding for smaller screens */
    }

    .page-game-guides__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-game-guides__faq-question {
        padding: 15px 20px;
    }

    .page-game-guides__faq-answer {
        padding: 0 20px;
    }

    .page-game-guides__faq-item.active .page-game-guides__faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-game-guides__hero-title {
        font-size: 1.8em;
    }
    .page-game-guides__hero-description {
        font-size: 1em;
    }
    .page-game-guides__section-title {
        font-size: 1.8em;
    }
    .page-game-guides__cta-title {
        font-size: 2em;
    }
    .page-game-guides__game-cards,
    .page-game-guides__strategy-grid,
    .page-game-guides__steps-grid {
        grid-template-columns: 1fr; /* Stack cards vertically */
    }
}