.page-casino-table-games {
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    color: #333333; /* Dark text for default light body background */
    background-color: #f5f5f5; /* A very light background to give some depth */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-casino-table-games__hero-section {
    position: relative;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    overflow: hidden;
    color: #ffffff; /* Light text for hero content over dark image */
    text-align: center;
}

.page-casino-table-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.page-casino-table-games__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-casino-table-games__hero-content {
    z-index: 1;
    max-width: 800px;
}

.page-casino-table-games__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main title */
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.page-casino-table-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
}

.page-casino-table-games__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-casino-table-games__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.page-casino-table-games__button--primary {
    background-color: #FFD700; /* Gold button */
    color: #8B0000; /* Deep red text for contrast */
    border: 2px solid #FFD700;
}

.page-casino-table-games__button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-casino-table-games__button--secondary {
    background-color: #8B0000; /* Deep red button */
    color: #FFD700; /* Gold text for contrast */
    border: 2px solid #8B0000;
}

.page-casino-table-games__button--secondary:hover {
    background-color: #6b0000;
    transform: translateY(-2px);
}

.page-casino-table-games__section-title {
    font-size: 2.5em;
    color: #8B0000; /* Deep red for section titles */
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
    position: relative;
}

.page-casino-table-games__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-casino-table-games__sub-title {
    font-size: 1.8em;
    color: #8B0000;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-casino-table-games__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-casino-table-games__paragraph a {
    color: #8B0000;
    text-decoration: underline;
}

.page-casino-table-games__paragraph a:hover {
    color: #FFD700;
}

.page-casino-table-games__introduction-section,
.page-casino-table-games__why-choose-section,
.page-casino-table-games__strategy-section,
.page-casino-table-games__cta-section,
.page-casino-table-games__faq-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.page-casino-table-games__games-showcase-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.page-casino-table-games__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-casino-table-games__game-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino-table-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-casino-table-games__game-card img {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #eee;
}

.page-casino-table-games__card-title {
    font-size: 1.5em;
    color: #8B0000; /* Deep red for card titles */
    margin: 20px 15px 10px;
    min-height: 60px;
}

.page-casino-table-games__card-title a {
    color: #8B0000;
    text-decoration: none;
}

.page-casino-table-games__card-title a:hover {
    color: #FFD700;
}

.page-casino-table-games__card-description {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px;
    margin-bottom: 20px;
    min-height: 80px;
}

.page-casino-table-games__card-button {
    display: inline-block;
    background-color: #FFD700;
    color: #8B0000;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.page-casino-table-games__card-button:hover {
    background-color: #e6c200;
}

.page-casino-table-games__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-casino-table-games__feature-item {
    background-color: #fcfcfc;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-casino-table-games__feature-title {
    font-size: 1.6em;
    color: #8B0000;
    margin-bottom: 15px;
}

.page-casino-table-games__strategy-image {
    display: block;
    margin: 30px auto 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-casino-table-games__faq-item {
    background-color: #fcfcfc;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-casino-table-games__faq-question {
    font-size: 1.4em;
    color: #8B0000;
    margin-bottom: 10px;
}

.page-casino-table-games__faq-answer {
    font-size: 1.05em;
    color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-casino-table-games__main-title {
        font-size: 3em;
    }
    .page-casino-table-games__section-title {
        font-size: 2em;
    }
    .page-casino-table-games__hero-section {
        min-height: 500px;
    }
    .page-casino-table-games__hero-image img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .page-casino-table-games__main-title {
        font-size: 2.2em;
    }
    .page-casino-table-games__hero-description {
        font-size: 1.1em;
    }
    .page-casino-table-games__section-title {
        font-size: 1.8em;
    }
    .page-casino-table-games__sub-title {
        font-size: 1.5em;
    }
    .page-casino-table-games__paragraph,
    .page-casino-table-games__card-description,
    .page-casino-table-games__faq-answer {
        font-size: 1em;
    }
    .page-casino-table-games__hero-buttons {
        flex-direction: column;
    }
    .page-casino-table-games__button {
        width: 100%;
    }
    .page-casino-table-games__game-card img,
    .page-casino-table-games__strategy-image {
        max-width: 100%;
        height: auto; /* Ensure images are responsive and don't overflow */
        min-width: 200px; /* Enforce minimum size */
        min-height: 200px;
    }
    /* Ensure all images within .page-casino-table-games are responsive and at least 200px */
    .page-casino-table-games img {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }
    .page-casino-table-games__introduction-section,
    .page-casino-table-games__why-choose-section,
    .page-casino-table-games__strategy-section,
    .page-casino-table-games__cta-section,
    .page-casino-table-games__faq-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .page-casino-table-games__main-title {
        font-size: 1.8em;
    }
    .page-casino-table-games__section-title {
        font-size: 1.5em;
    }
    .page-casino-table-games__hero-section {
        padding: 60px 15px;
        min-height: 400px;
    }
    .page-casino-table-games__button {
        font-size: 1em;
        padding: 12px 25px;
    }
    .page-casino-table-games__game-grid {
        gap: 20px;
    }
    .page-casino-table-games__feature-grid {
        gap: 20px;
    }
    .page-casino-table-games__game-card img {
        height: 200px;
    }
}