/* style/resources-casino-game-guide.css */

/* Base styles for the page content, ensuring text visibility on dark background */
.page-resources-casino-game-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: #222; /* Inherit or explicitly set for consistency */
    padding-bottom: 60px; /* Space above footer */
}

/* Container for content, centered and max-width */
.page-resources-casino-game-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section styling */
.page-resources-casino-game-guide__section {
    padding: 60px 0;
    text-align: center;
}

.page-resources-casino-game-guide__section-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff; /* White for titles on dark background */
    font-weight: bold;
}

.page-resources-casino-game-guide__section-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: #f0f0f0; /* Slightly off-white for description */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-resources-casino-game-guide__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    min-height: 600px;
    background-color: #017439; /* Brand primary color for hero background */
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    padding-bottom: 60px;
    overflow: hidden; /* Ensure no image overflow */
}

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

.page-resources-casino-game-guide__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-resources-casino-game-guide__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-resources-casino-game-guide__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 0;
}

.page-resources-casino-game-guide__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

/* Call to Action Buttons */
.page-resources-casino-game-guide__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.page-resources-casino-game-guide__btn-register,
.page-resources-casino-game-guide__btn-login,
.page-resources-casino-game-guide__btn-register-small,
.page-resources-casino-game-guide__btn-contact {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box; /* Ensure padding is included in width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    min-width: 150px; /* Ensure buttons are not too small */
}

.page-resources-casino-game-guide__btn-register,
.page-resources-casino-game-guide__btn-register-small {
    background-color: #C30808; /* Custom color for Register */
    color: #FFFF00; /* Custom color for Register text */
    border: 2px solid #C30808;
}

.page-resources-casino-game-guide__btn-register:hover,
.page-resources-casino-game-guide__btn-register-small:hover {
    background-color: #a00606;
    transform: translateY(-2px);
}

.page-resources-casino-game-guide__btn-login {
    background-color: #C30808; /* Custom color for Login */
    color: #FFFF00; /* Custom color for Login text */
    border: 2px solid #C30808;
}

.page-resources-casino-game-guide__btn-login:hover {
    background-color: #a00606;
    transform: translateY(-2px);
}

.page-resources-casino-game-guide__btn-contact {
    background-color: #FFFFFF; /* White background */
    color: #017439; /* Brand primary color text */
    border: 2px solid #017439;
}

.page-resources-casino-game-guide__btn-contact:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* Video Section */
.page-resources-casino-game-guide__video-section {
    background-color: #222;
    padding: 60px 0;
}

.page-resources-casino-game-guide__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources-casino-game-guide__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer; /* Indicate clickable */
    min-width: 200px;
    min-height: 200px;
}

/* Game Types Section */
.page-resources-casino-game-guide__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-casino-game-guide__game-card {
    background: rgba(255, 255, 255, 0.1); /* Slightly transparent white for cards */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px 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;
    min-height: 400px; /* Ensure cards have a minimum height */
    color: #ffffff;
}

.page-resources-casino-game-guide__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-resources-casino-game-guide__game-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

.page-resources-casino-game-guide__game-title {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-resources-casino-game-guide__game-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources-casino-game-guide__game-title a:hover {
    color: #FFFF00; /* Yellow hover for links */
}

.page-resources-casino-game-guide__game-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* Get Started Section */
.page-resources-casino-game-guide__get-started {
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
}

.page-resources-casino-game-guide__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-casino-game-guide__step-card {
    background: rgba(255, 255, 255, 0.1); /* Slightly transparent white for cards */
    border-radius: 10px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    color: #ffffff;
}

.page-resources-casino-game-guide__step-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-resources-casino-game-guide__step-text {
    font-size: 1em;
    color: #f0f0f0;
    flex-grow: 1;
}

.page-resources-casino-game-guide__btn-register-small {
    margin-top: 20px;
    align-self: flex-start;
    padding: 10px 20px;
    font-size: 0.9em;
}

/* Benefits Section */
.page-resources-casino-game-guide__benefits {
    background-color: #222;
    color: #ffffff;
}

.page-resources-casino-game-guide__benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-casino-game-guide__benefit-card {
    background: rgba(255, 255, 255, 0.1); /* Slightly transparent white for cards */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 350px;
    color: #ffffff;
}

.page-resources-casino-game-guide__benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-resources-casino-game-guide__benefit-icon {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

.page-resources-casino-game-guide__benefit-title {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-resources-casino-game-guide__benefit-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* Tips & Strategies Section */
.page-resources-casino-game-guide__tips-strategies {
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
}

.page-resources-casino-game-guide__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-resources-casino-game-guide__tip-card {
    background: rgba(255, 255, 255, 0.1); /* Slightly transparent white for cards */
    border-radius: 10px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    min-height: 200px;
    color: #ffffff;
}

.page-resources-casino-game-guide__tip-title {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-resources-casino-game-guide__tip-text {
    font-size: 1em;
    color: #f0f0f0;
}

.page-resources-casino-game-guide__strategy-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

/* FAQ Section */
.page-resources-casino-game-guide__faq-section {
    background-color: #222;
    color: #ffffff;
}

.page-resources-casino-game-guide__faq-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-resources-casino-game-guide__faq-item {
    background: rgba(255, 255, 255, 0.1); /* Slightly transparent white */
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-resources-casino-game-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.3s ease;
}

.page-resources-casino-game-guide__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-casino-game-guide__faq-question h3 {
    margin: 0;
    color: inherit;
    font-size: 1em; /* Adjust to fit parent font size */
}

.page-resources-casino-game-guide__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-resources-casino-game-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

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

.page-resources-casino-game-guide__faq-answer p {
    margin: 0;
    color: inherit;
}

/* Bottom CTA Section */
.page-resources-casino-game-guide__cta-bottom {
    padding: 80px 0;
    background-color: #017439;
    color: #ffffff;
}

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

    .page-resources-casino-game-guide__hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        max-width: 100%;
    }

    .page-resources-casino-game-guide__hero-image-wrapper {
        justify-content: center;
    }

    .page-resources-casino-game-guide__main-title {
        font-size: 3em;
    }
}

@media (max-width: 768px) {
    .page-resources-casino-game-guide__section-title {
        font-size: 2em;
    }

    .page-resources-casino-game-guide__main-title {
        font-size: 2.5em;
    }

    .page-resources-casino-game-guide__description {
        font-size: 1em;
    }

    .page-resources-casino-game-guide__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px; /* Constrain button group width */
        margin-left: auto;
        margin-right: auto;
    }

    .page-resources-casino-game-guide__btn-register,
    .page-resources-casino-game-guide__btn-login,
    .page-resources-casino-game-guide__btn-register-small,
    .page-resources-casino-game-guide__btn-contact {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Mobile image responsiveness */
    .page-resources-casino-game-guide img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px;
        min-height: 200px;
    }
    
    /* Mobile video responsiveness */
    .page-resources-casino-game-guide video,
    .page-resources-casino-game-guide__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px;
        min-height: 200px;
    }

    /* Video container mobile adaptation */
    .page-resources-casino-game-guide__video-section,
    .page-resources-casino-game-guide__video-container,
    .page-resources-casino-game-guide__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Content containers mobile adaptation */
    .page-resources-casino-game-guide__section,
    .page-resources-casino-game-guide__card,
    .page-resources-casino-game-guide__container,
    .page-resources-casino-game-guide__game-card,
    .page-resources-casino-game-guide__step-card,
    .page-resources-casino-game-guide__benefit-card,
    .page-resources-casino-game-guide__tip-card,
    .page-resources-casino-game-guide__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: auto;
        margin-right: auto;
    }

    .page-resources-casino-game-guide__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Ensure content area images are not smaller than 200px */
.page-resources-casino-game-guide__game-image,
.page-resources-casino-game-guide__benefit-icon,
.page-resources-casino-game-guide__strategy-image,
.page-resources-casino-game-guide__hero-image {
    min-width: 200px;
    min-height: 200px;
}

/* No CSS filter on images */
.page-resources-casino-game-guide img {
    filter: none;
}