/* style/resources-slot-game-strategies.css */

/* Base styles for the page content */
.page-resources-slot-game-strategies {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

/* Hero Section */
.page-resources-slot-game-strategies__hero-section {
    position: relative;
    width: 100%;
    height: 70vh; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: #ffffff;
    padding-top: 0; /* Header offset already on main */
}

.page-resources-slot-game-strategies__hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
}

.page-resources-slot-game-strategies__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Make the link clickable over the video */
    cursor: pointer;
}

.page-resources-slot-game-strategies__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 1;
}

.page-resources-slot-game-strategies__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.page-resources-slot-game-strategies__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

/* General Section Styles */
.page-resources-slot-game-strategies__content-section {
    padding: 60px 0;
    /* Background color will be set by specific classes like dark-bg or light-bg */
}

.page-resources-slot-game-strategies__dark-bg {
    background-color: #1a1a2e;
    color: #ffffff;
}

.page-resources-slot-game-strategies__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-resources-slot-game-strategies__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
}

.page-resources-slot-game-strategies__text-block {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: inherit; /* Inherit from parent section for contrast */
}

.page-resources-slot-game-strategies__text-block p {
    margin-bottom: 1em;
}

/* CTA Buttons */
.page-resources-slot-game-strategies__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-resources-slot-game-strategies__cta-buttons--center {
    justify-content: center;
    margin-top: 30px;
}

.page-resources-slot-game-strategies__btn-primary,
.page-resources-slot-game-strategies__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-resources-slot-game-strategies__btn-primary {
    background-color: #26A9E0; /* Main brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-resources-slot-game-strategies__btn-primary:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
}

.page-resources-slot-game-strategies__btn-secondary {
    background-color: transparent;
    color: #26A9E0; /* Main brand color */
    border: 2px solid #26A9E0;
}

.page-resources-slot-game-strategies__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Grid Layout for Cards */
.page-resources-slot-game-strategies__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-slot-game-strategies__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark background */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: inherit; /* Inherit from parent section for contrast */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-resources-slot-game-strategies__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-slot-game-strategies__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure it respects max-width */
    object-fit: cover; /* Maintain aspect ratio and cover container */
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

.page-resources-slot-game-strategies__card-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-resources-slot-game-strategies__card p {
    font-size: 1em;
    color: inherit; /* Inherit from parent section for contrast */
}

/* FAQ Section */
.page-resources-slot-game-strategies__faq-section {
    padding: 60px 0;
}

.page-resources-slot-game-strategies__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-resources-slot-game-strategies__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter dark for FAQ items */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-slot-game-strategies__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05); /* Even lighter dark for question */
    transition: background-color 0.3s ease;
}

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

.page-resources-slot-game-strategies__faq-heading {
    font-size: 1.2em;
    color: #ffffff;
    margin: 0;
    flex-grow: 1;
    text-align: left;
}

.page-resources-slot-game-strategies__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #26A9E0;
    margin-left: 20px;
    transition: transform 0.3s ease;
    line-height: 1; /* Adjust line height for better alignment */
    width: 20px; /* Fixed width to prevent shift */
    text-align: center;
}

.page-resources-slot-game-strategies__faq-item.active .page-resources-slot-game-strategies__faq-toggle {
    transform: rotate(45deg); /* Plus to X for active */
    color: #ffffff;
}

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

.page-resources-slot-game-strategies__faq-item.active .page-resources-slot-game-strategies__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 15px 25px 25px;
}

.page-resources-slot-game-strategies__faq-answer p {
    margin: 0;
}

/* Final CTA Section */
.page-resources-slot-game-strategies__cta-final-section {
    padding: 80px 0;
    text-align: center;
    background-color: #1a1a2e;
    color: #ffffff;
}

.page-resources-slot-game-strategies__cta-final-section .page-resources-slot-game-strategies__container {
    background-color: rgba(38, 169, 224, 0.1); /* Light transparent brand color background */
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-slot-game-strategies__cta-final-section .page-resources-slot-game-strategies__section-title {
    color: #26A9E0;
    margin-bottom: 20px;
}

.page-resources-slot-game-strategies__cta-final-section .page-resources-slot-game-strategies__description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-slot-game-strategies__hero-title {
        font-size: 2.8em;
    }
    .page-resources-slot-game-strategies__hero-description {
        font-size: 1.1em;
    }
    .page-resources-slot-game-strategies__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources-slot-game-strategies {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources-slot-game-strategies__hero-section {
        height: 60vh;
        padding-top: var(--header-offset, 120px) !important; /* Ensure video area is not covered on mobile */
    }
    .page-resources-slot-game-strategies__hero-title {
        font-size: 2em;
    }
    .page-resources-slot-game-strategies__hero-description {
        font-size: 1em;
    }
    .page-resources-slot-game-strategies__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-slot-game-strategies__btn-primary,
    .page-resources-slot-game-strategies__btn-secondary {
        width: 100% !important; /* Force full width on mobile */
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-resources-slot-game-strategies__grid {
        grid-template-columns: 1fr;
    }
    .page-resources-slot-game-strategies__container {
        padding: 0 15px; /* Add padding for mobile content */
    }
    .page-resources-slot-game-strategies__card {
        padding: 20px;
    }
    .page-resources-slot-game-strategies__faq-question {
        padding: 15px 20px;
    }
    .page-resources-slot-game-strategies__faq-heading {
        font-size: 1.1em;
    }
    .page-resources-slot-game-strategies__faq-answer {
        padding: 0 20px;
    }
    .page-resources-slot-game-strategies__faq-item.active .page-resources-slot-game-strategies__faq-answer {
        padding: 10px 20px 20px;
    }
    .page-resources-slot-game-strategies__content-section,
    .page-resources-slot-game-strategies__faq-section,
    .page-resources-slot-game-strategies__cta-final-section {
        padding: 40px 0;
    }

    /* Mobile image responsive optimization */
    .page-resources-slot-game-strategies img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Mobile video responsive optimization */
    .page-resources-slot-game-strategies video,
    .page-resources-slot-game-strategies__hero-video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-slot-game-strategies__video-link,
    .page-resources-slot-game-strategies__hero-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Ensure all content containers are constrained */
    .page-resources-slot-game-strategies__section,
    .page-resources-slot-game-strategies__card,
    .page-resources-slot-game-strategies__container,
    .page-resources-slot-game-strategies__text-block,
    .page-resources-slot-game-strategies__faq-list,
    .page-resources-slot-game-strategies__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-resources-slot-game-strategies__hero-title {
        font-size: 1.8em;
    }
    .page-resources-slot-game-strategies__section-title {
        font-size: 1.8em;
    }
    .page-resources-slot-game-strategies__card-title {
        font-size: 1.3em;
    }
    .page-resources-slot-game-strategies__faq-heading {
        font-size: 1em;
    }
}