.page-game-guides {
    font-family: Arial, sans-serif;
    color: #333333; /* Dark text on light body background */
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
}

/* Responsive adjustments for overall padding to prevent horizontal scroll */
@media (max-width: 768px) {
    .page-game-guides {
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box; /* Include padding in element's total width */
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
}

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

/* Hero Section */
.page-game-guides__hero-section {
    position: relative;
    overflow: hidden;
    background-color: #000080; /* Auxiliary color for hero background */
    color: #ffffff; /* White text on dark background */
    padding: 80px 20px 40px; /* Adjust padding for hero content */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-game-guides__hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-bottom: 30px;
}

.page-game-guides__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Primary color for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

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

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

.page-game-guides__hero-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-guides__hero-button--primary {
    background-color: #FFD700; /* Primary color for main CTA */
    color: #000080; /* Dark text on primary button */
}

.page-game-guides__hero-button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-game-guides__hero-button--secondary {
    background-color: #4d4da6; /* Lighter shade of auxiliary color */
    color: #ffffff;
    border: 2px solid #FFD700;
}

.page-game-guides__hero-button--secondary:hover {
    background-color: #6666b3;
    transform: translateY(-2px);
}

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

.page-game-guides__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    display: block;
}

/* General Section Styling */
.page-game-guides__introduction-section,
.page-game-guides__detail-guides-section,
.page-game-guides__strategy-spotlight-section,
.page-game-guides__baccarat-strategy-section,
.page-game-guides__additional-resources-section,
.page-game-guides__cta-download-section,
.page-game-guides__faq-section {
    padding: 60px 0;
    background-color: #ffffff; /* Default light background for sections */
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-game-guides__introduction-section {
    background-color: #f9f9f9;
}

.page-game-guides__introduction-title,
.page-game-guides__detail-guides-title,
.page-game-guides__strategy-spotlight-title,
.page-game-guides__baccarat-strategy-title,
.page-game-guides__additional-resources-title,
.page-game-guides__cta-download-title,
.page-game-guides__faq-title {
    font-size: 2.5em;
    color: #000080; /* Auxiliary color for main headings */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-game-guides__introduction-text,
.page-game-guides__detail-guides-description,
.page-game-guides__strategy-spotlight-text,
.page-game-guides__baccarat-strategy-text,
.page-game-guides__additional-resources-text,
.page-game-guides__cta-download-description,
.page-game-guides__faq-answer {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #555555;
}

/* Detail Guides Section */
.page-game-guides__guide-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-game-guides__guide-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-game-guides__guide-card:hover {
    transform: translateY(-5px);
}

.page-game-guides__guide-card-image {
    width: 100%;
    height: 250px; /* Fixed height for card images */
    overflow: hidden;
}

.page-game-guides__guide-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-game-guides__guide-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-game-guides__guide-card-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-game-guides__guide-card-title a {
    color: #000080;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-game-guides__guide-card-title a:hover {
    color: #FFD700;
}

.page-game-guides__guide-card-text {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-game-guides__guide-card-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FFD700;
    color: #000080;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    align-self: flex-start;
}

.page-game-guides__guide-card-button:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

/* Strategy Spotlight & Baccarat Strategy Sections */
.page-game-guides__strategy-spotlight-section,
.page-game-guides__baccarat-strategy-section {
    background-color: #f9f9f9;
}

.page-game-guides__strategy-spotlight-subtitle,
.page-game-guides__baccarat-strategy-subtitle {
    font-size: 1.8em;
    color: #000080;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-game-guides__strategy-spotlight-list,
.page-game-guides__baccarat-strategy-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-game-guides__strategy-spotlight-list li,
.page-game-guides__baccarat-strategy-list li {
    background-color: #ffffff;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 5px solid #FFD700;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 1.05em;
    color: #444444;
}

.page-game-guides__strategy-spotlight-list li strong,
.page-game-guides__baccarat-strategy-list li strong {
    color: #000080;
}

.page-game-guides__strategy-spotlight-button,
.page-game-guides__baccarat-strategy-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #000080;
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
}

.page-game-guides__strategy-spotlight-button:hover,
.page-game-guides__baccarat-strategy-button:hover {
    background-color: #4d4da6;
    transform: translateY(-2px);
}

/* Additional Resources Section */
.page-game-guides__resource-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-game-guides__resource-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #FFD700;
    color: #000080;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-game-guides__resource-button:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

/* CTA Download Section */
.page-game-guides__cta-download-section {
    background-color: #000080; /* Dark background for strong CTA */
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
}

.page-game-guides__cta-download-title {
    color: #FFD700;
    font-size: 3em;
    margin-bottom: 25px;
}

.page-game-guides__cta-download-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #f0f0f0;
}

.page-game-guides__cta-download-button {
    display: inline-block;
    padding: 18px 40px;
    background-color: #FFD700;
    color: #000080;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.4em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-game-guides__cta-download-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

/* FAQ Section */
.page-game-guides__faq-section {
    background-color: #ffffff;
}

.page-game-guides__faq-list {
    margin-top: 40px;
}

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

.page-game-guides__faq-question {
    font-size: 1.3em;
    color: #000080;
    padding: 20px;
    cursor: pointer;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

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

.page-game-guides__faq-question::after {
    content: '+';
    font-size: 1.5em;
    font-weight: bold;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-game-guides__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-game-guides__faq-answer {
    padding: 0 20px 20px;
    font-size: 1.05em;
    color: #555555;
    display: none; /* Hidden by default */
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    max-height: 0;
}

.page-game-guides__faq-answer.open {
    display: block; /* Controlled by JS */
    max-height: 200px; /* Max height for animation */
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-game-guides__hero-title {
        font-size: 2.8em;
    }
    .page-game-guides__hero-description {
        font-size: 1.1em;
    }
    .page-game-guides__introduction-title,
    .page-game-guides__detail-guides-title,
    .page-game-guides__strategy-spotlight-title,
    .page-game-guides__baccarat-strategy-title,
    .page-game-guides__additional-resources-title,
    .page-game-guides__cta-download-title,
    .page-game-guides__faq-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    /* Ensure images in content sections are responsive and not too small */
    .page-game-guides__guide-card-image img,
    .page-game-guides__hero-image img {
        max-width: 100%;
        height: auto; /* Ensure aspect ratio is maintained */
        display: block;
    }

    /* All img elements within .page-game-guides must adhere to min-width/height 200px */
    .page-game-guides img:not(.page-game-guides__hero-image img) {
        min-width: 200px; /* Global minimum for content images */
        min-height: 200px;
        width: 100%; /* Make them fill container, but respect min size */
        height: auto;
    }
    .page-game-guides__hero-title {
        font-size: 2.2em;
    }
    .page-game-guides__hero-description {
        font-size: 1em;
    }
    .page-game-guides__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-game-guides__hero-button {
        width: 100%;
        max-width: 300px;
    }
    .page-game-guides__introduction-title,
    .page-game-guides__detail-guides-title,
    .page-game-guides__strategy-spotlight-title,
    .page-game-guides__baccarat-strategy-title,
    .page-game-guides__additional-resources-title,
    .page-game-guides__cta-download-title,
    .page-game-guides__faq-title {
        font-size: 1.8em;
    }
    .page-game-guides__guide-list {
        grid-template-columns: 1fr;
    }
    .page-game-guides__guide-card-image {
        height: 200px; /* Adjust height for mobile */
    }
    .page-game-guides__strategy-spotlight-subtitle,
    .page-game-guides__baccarat-strategy-subtitle {
        font-size: 1.5em;
    }
    .page-game-guides__resource-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-game-guides__resource-button {
        width: 100%;
        max-width: 300px;
    }
    .page-game-guides__cta-download-title {
        font-size: 2.5em;
    }
    .page-game-guides__cta-download-button {
        font-size: 1.2em;
        padding: 15px 30px;
    }
    .page-game-guides__faq-question {
        font-size: 1.1em;
    }
    /* Ensure content area does not cause horizontal scroll */
    .page-game-guides__container {
        padding: 0 10px; /* Adjust container padding */
    }
    .page-game-guides__hero-section {
        padding: 60px 10px 30px;
    }
    .page-game-guides__introduction-section,
    .page-game-guides__detail-guides-section,
    .page-game-guides__strategy-spotlight-section,
    .page-game-guides__baccarat-strategy-section,
    .page-game-guides__additional-resources-section,
    .page-game-guides__cta-download-section,
    .page-game-guides__faq-section {
        padding: 40px 0;
    }
}

/* Ensure button and link text colors have good contrast */
.page-game-guides__hero-button--primary {
    color: #000080; /* Dark text on gold button */
}
.page-game-guides__hero-button--secondary {
    color: #ffffff; /* White text on dark blue button */
}
.page-game-guides__guide-card-button {
    color: #000080; /* Dark text on gold button */
}
.page-game-guides__strategy-spotlight-button,
.page-game-guides__baccarat-strategy-button {
    color: #ffffff; /* White text on dark blue button */
}
.page-game-guides__resource-button {
    color: #000080; /* Dark text on gold button */
}
.page-game-guides__cta-download-button {
    color: #000080; /* Dark text on gold button */
}
.page-game-guides__guide-card-title a {
    color: #000080; /* Dark text for link */
}
.page-game-guides__guide-card-title a:hover {
    color: #FFD700; /* Gold hover for link */
}