.page-game-strategies-baccarat {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #000000; /* Ensure main content area matches body background */
}

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

/* Hero Section */
.page-game-strategies-baccarat__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 600px;
    padding: 80px 0;
    background: linear-gradient(90deg, #000000 0%, #26A9E0 100%);
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-game-strategies-baccarat__hero-content {
    flex: 1;
    padding-right: 40px;
    max-width: 600px;
    z-index: 1;
}

.page-game-strategies-baccarat__main-title {
    font-size: 3.2em;
    color: #FFFFFF;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-strategies-baccarat__hero-description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

.page-game-strategies-baccarat__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-game-strategies-baccarat__btn-primary,
.page-game-strategies-baccarat__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word;
}

.page-game-strategies-baccarat__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-game-strategies-baccarat__btn-primary:hover {
    background-color: #1a7fb3;
    border-color: #1a7fb3;
}

.page-game-strategies-baccarat__btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.page-game-strategies-baccarat__btn-secondary:hover {
    background-color: #FFFFFF;
    color: #26A9E0;
}

.page-game-strategies-baccarat__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.page-game-strategies-baccarat__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Sections General */
.page-game-strategies-baccarat__intro-section,
.page-game-strategies-baccarat__strategies-section,
.page-game-strategies-baccarat__tips-section,
.page-game-strategies-baccarat__download-section,
.page-game-strategies-baccarat__video-section,
.page-game-strategies-baccarat__faq-section,
.page-game-strategies-baccarat__cta-final {
    padding: 60px 0;
}

.page-game-strategies-baccarat__dark-bg {
    background-color: #1a1a1a; /* Darker than body, but still dark */
    color: #ffffff;
}

.page-game-strategies-baccarat__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-game-strategies-baccarat__text-block {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    text-align: justify;
}

/* Strategy Grid */
.page-game-strategies-baccarat__strategy-grid,
.page-game-strategies-baccarat__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-game-strategies-baccarat__strategy-card,
.page-game-strategies-baccarat__tip-card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-strategies-baccarat__strategy-card:hover,
.page-game-strategies-baccarat__tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-game-strategies-baccarat__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-game-strategies-baccarat__card-title,
.page-game-strategies-baccarat__tip-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-game-strategies-baccarat__card-link {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-game-strategies-baccarat__card-link:hover {
    color: #1a7fb3;
    text-decoration: underline;
}

.page-game-strategies-baccarat__card-text,
.page-game-strategies-baccarat__tip-text {
    font-size: 1em;
    color: #f0f0f0;
    text-align: justify;
    margin-bottom: 10px;
}

/* Download Section */
.page-game-strategies-baccarat__download-section {
    text-align: center;
    background-color: #0d0d0d; /* Slightly different dark background */
}

.page-game-strategies-baccarat__download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-game-strategies-baccarat__download-image {
    max-width: 700px;
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Video Section */
.page-game-strategies-baccarat__video-section {
    text-align: center;
    background-color: #1a1a1a; /* Consistent dark background */
}

.page-game-strategies-baccarat__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 40px auto;
    background-color: #000;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-game-strategies-baccarat__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer; /* Indicate clickable */
}

.page-game-strategies-baccarat__video-cta {
    margin-top: 30px;
}

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

.page-game-strategies-baccarat__faq-list {
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-strategies-baccarat__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-game-strategies-baccarat__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;
    transition: background-color 0.3s ease;
}

.page-game-strategies-baccarat__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-game-strategies-baccarat__faq-question h3 {
    margin: 0;
    color: #26A9E0;
}

.page-game-strategies-baccarat__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

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

.page-game-strategies-baccarat__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-game-strategies-baccarat__faq-item.active .page-game-strategies-baccarat__faq-answer {
    max-height: 1000px !important; /* Sufficient height for content */
    padding: 15px 25px 25px;
}

.page-game-strategies-baccarat__faq-answer p {
    margin: 0;
    padding-top: 10px;
}

/* Final CTA Section */
.page-game-strategies-baccarat__cta-final {
    text-align: center;
    padding-bottom: 80px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-game-strategies-baccarat__hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: var(--header-offset, 120px);
    }

    .page-game-strategies-baccarat__hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .page-game-strategies-baccarat__hero-image-wrapper {
        justify-content: center;
    }

    .page-game-strategies-baccarat__main-title {
        font-size: 2.8em;
    }

    .page-game-strategies-baccarat__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-game-strategies-baccarat__container {
        padding: 0 15px;
    }

    .page-game-strategies-baccarat__hero-section {
        min-height: auto;
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-game-strategies-baccarat__main-title {
        font-size: 2.2em;
    }

    .page-game-strategies-baccarat__hero-description {
        font-size: 1em;
    }

    .page-game-strategies-baccarat__cta-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px; /* Add padding to container */
    }

    .page-game-strategies-baccarat__btn-primary,
    .page-game-strategies-baccarat__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-game-strategies-baccarat__section-title {
        font-size: 1.8em;
    }

    .page-game-strategies-baccarat__strategy-grid,
    .page-game-strategies-baccarat__tips-grid {
        grid-template-columns: 1fr;
    }

    /* Images */
    .page-game-strategies-baccarat img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Image containers */
    .page-game-strategies-baccarat__hero-image-wrapper,
    .page-game-strategies-baccarat__strategy-card,
    .page-game-strategies-baccarat__tip-card,
    .page-game-strategies-baccarat__download-section,
    .page-game-strategies-baccarat__video-section,
    .page-game-strategies-baccarat__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Video */
    .page-game-strategies-baccarat video,
    .page-game-strategies-baccarat__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Video containers */
    .page-game-strategies-baccarat__video-section,
    .page-game-strategies-baccarat__video-container,
    .page-game-strategies-baccarat__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-game-strategies-baccarat__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset for video section */
    }
}