.page-game-guides {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Dark body background #121212, so light text */
    background-color: transparent; /* Main content background is handled by body or specific sections */
}

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

/* Hero Section */
.page-game-guides__hero-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Ensure header offset */
}

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

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

/* CTA Button */
.page-game-guides__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin: 10px;
}

.page-game-guides__btn-primary {
    background-color: #C30808; /* Login/Register color */
    color: #FFFF00; /* Login/Register font color */
    border: 2px solid #C30808;
}

.page-game-guides__btn-primary:hover {
    background-color: #a30606;
    border-color: #a30606;
}

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

.page-game-guides__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
}

/* Section Titles */
.page-game-guides__section-title {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 40px;
    color: #FFFF00; /* Highlight titles with yellow */
}

/* Intro Section */
.page-game-guides__intro-section {
    padding: 60px 0;
    background-color: #1a1a1a; /* Slightly lighter dark background */
    color: #ffffff;
}

.page-game-guides__intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.page-game-guides__intro-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-game-guides__intro-content p {
    font-size: 1.1em;
    max-width: 800px;
}

/* Guides List Section (Cards) */
.page-game-guides__guides-list {
    padding: 60px 0;
    background-color: #121212; /* Body background color */
    color: #ffffff;
}

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

.page-game-guides__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

.page-game-guides__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-game-guides__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-game-guides__card-title {
    font-size: 1.4em;
    padding: 15px 20px 10px;
    color: #FFFF00; /* Highlight titles */
}

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

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

.page-game-guides__card-description {
    padding: 0 20px 15px;
    font-size: 1em;
    flex-grow: 1;
}

.page-game-guides__card-link {
    display: inline-block;
    background-color: #017439;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin: 0 20px 20px;
    align-self: flex-start;
    transition: background-color 0.3s ease;
}

.page-game-guides__card-link:hover {
    background-color: #005a2d;
}

/* Betting Tips Section */
.page-game-guides__betting-tips {
    padding: 60px 0;
    background-color: #1a1a1a;
    color: #ffffff;
}

.page-game-guides__content-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.page-game-guides__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-game-guides__content-block p {
    font-size: 1.1em;
    max-width: 800px;
}

.page-game-guides__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    max-width: 800px;
    text-align: left;
    width: 100%;
}

.page-game-guides__tips-list li {
    background-color: rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 5px solid #017439;
    border-radius: 5px;
    color: #ffffff;
}

.page-game-guides__list-title {
    font-size: 1.2em;
    margin: 0;
    color: #FFFF00;
}

/* FAQ Section */
.page-game-guides__faq-section {
    padding: 60px 0;
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
}

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

.page-game-guides__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    color: #ffffff;
}

.page-game-guides__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    list-style: none; /* For details/summary */
}

.page-game-guides__faq-question::-webkit-details-marker {
    display: none;
}

.page-game-guides__faq-qtext {
    flex-grow: 1;
    color: #FFFF00;
}

.page-game-guides__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #ffffff;
}

.page-game-guides__faq-item[open] .page-game-guides__faq-toggle {
    content: "−";
}

.page-game-guides__faq-answer {
    padding: 15px 25px;
    font-size: 1em;
    color: #ffffff;
}

.page-game-guides__faq-answer p {
    margin-bottom: 0;
}

/* CTA Section Bottom */
.page-game-guides__cta-section {
    padding: 60px 0;
    text-align: center;
    background-color: #1a1a1a;
    color: #ffffff;
}

.page-game-guides__cta-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

@media (max-width: 768px) {
    .page-game-guides__hero-section {
        padding: 80px 20px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
    }
    .page-game-guides__hero-title {
        font-size: 2em;
    }
    .page-game-guides__hero-description {
        font-size: 1em;
    }
    .page-game-guides__section-title {
        font-size: 1.8em;
    }
    .page-game-guides__intro-content {
        flex-direction: column;
    }
    .page-game-guides__grid {
        grid-template-columns: 1fr;
    }
    .page-game-guides__card-image {
        height: 180px;
    }
    .page-game-guides__card-title {
        font-size: 1.2em;
    }
    .page-game-guides__card-description {
        font-size: 0.9em;
    }
    .page-game-guides__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-game-guides__faq-answer {
        font-size: 0.9em;
        padding: 10px 20px;
    }

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

    .page-game-guides__section,
    .page-game-guides__card,
    .page-game-guides__container,
    .page-game-guides__intro-content,
    .page-game-guides__content-block,
    .page-game-guides__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile button responsiveness */
    .page-game-guides__cta-button,
    .page-game-guides__btn-primary,
    .page-game-guides__btn-secondary,
    .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;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .page-game-guides__cta-section .page-game-guides__cta-button {
        display: block;
        margin-bottom: 15px;
    }
    .page-game-guides__cta-section .page-game-guides__cta-button:last-child {
        margin-bottom: 0;
    }

    .page-game-guides__cta-buttons,
    .page-game-guides__button-group,
    .page-game-guides__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
}