/* style/resources-game-strategy.css */

/* Base styles for the page content */
.page-resources-game-strategy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
    padding-top: 0; /* Handled by shared.css body padding or first section */
}

/* Fixed header offset - apply to the first meaningful section if body padding is not set by shared.css */
/* Assuming shared.css handles body padding-top, so this section won't add extra padding. */
/* If shared.css does not handle body padding, the first section (hero) should have padding-top: var(--header-offset, 120px); */
.page-resources-game-strategy__hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height for hero */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is not covered by fixed header */
}

.page-resources-game-strategy__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-resources-game-strategy__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: 2;
}

.page-resources-game-strategy__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    color: #ffffff;
}

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

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

.page-resources-game-strategy__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* General section styling */
.page-resources-game-strategy__intro-section,
.page-resources-game-strategy__game-strategies,
.page-resources-game-strategy__casino-strategies,
.page-resources-game-strategy__cockfighting-strategy,
.page-resources-game-strategy__responsible-gambling,
.page-resources-game-strategy__faq-section,
.page-resources-game-strategy__cta-section {
    padding: 80px 0;
}

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

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

.page-resources-game-strategy__sub-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand primary color for subtitles */
}

.page-resources-game-strategy__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
}

/* Color contrast classes */
.page-resources-game-strategy__dark-bg {
    background-color: #1a1a1a; /* Slightly lighter than body background for contrast */
    color: #ffffff;
}

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

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

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

.page-resources-game-strategy__btn-primary:hover {
    background-color: #1e87b6;
    border-color: #1e87b6;
}

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

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

.page-resources-game-strategy__cta-center {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

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

.page-resources-game-strategy__card {
    background-color: #ffffff;
    color: #333333;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-resources-game-strategy__card:hover {
    transform: translateY(-5px);
}

.page-resources-game-strategy__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-resources-game-strategy__card-title {
    font-size: 1.5em;
    color: #26A9E0;
    padding: 15px 20px 10px;
}

.page-resources-game-strategy__card-text {
    padding: 0 20px 20px;
    flex-grow: 1; /* Ensures text block fills available space */
}

/* Content Images */
.page-resources-game-strategy__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Video Section */
.page-resources-game-strategy__video-section {
    text-align: center;
    margin-top: 50px;
    padding: 40px 0;
    background-color: #1a1a1a; /* Dark background for video */
    border-radius: 8px;
}

.page-resources-game-strategy__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto 20px;
    background-color: #000;
}

.page-resources-game-strategy__video-link {
    position: absolute; /* Make the link cover the entire wrapper */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    text-decoration: none; /* Remove underline from link */
    cursor: pointer;
}

.page-resources-game-strategy__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    object-fit: cover; /* Ensure video fills the space */
}

.page-resources-game-strategy__video-caption {
    font-style: italic;
    margin-top: 15px;
    color: #f0f0f0;
}

/* Responsible Gambling List */
.page-resources-game-strategy__responsibility-list {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    max-width: 800px;
}

.page-resources-game-strategy__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    font-size: 1.1em;
}

.page-resources-game-strategy__list-item::before {
    content: '✅';
    margin-right: 10px;
    font-size: 1.2em;
}

/* FAQ Section */
.page-resources-game-strategy__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-resources-game-strategy__faq-item {
    background-color: #f0f0f0; /* Light background for FAQ items */
    color: #333333;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.page-resources-game-strategy__faq-question:hover {
    background-color: #d0d0d0;
}

.page-resources-game-strategy__faq-item[open] .page-resources-game-strategy__faq-question {
    background-color: #d0d0d0;
}

.page-resources-game-strategy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

.page-resources-game-strategy__faq-answer {
    padding: 20px 25px;
    font-size: 1.1em;
    line-height: 1.7;
    background-color: #ffffff;
    color: #333333;
    border-top: 1px solid #e0e0e0;
}

.page-resources-game-strategy__faq-answer p:last-child {
    margin-bottom: 0;
}

/* CTA section */
.page-resources-game-strategy__cta-section {
    text-align: center;
    padding: 60px 0;
    background-color: #26A9E0; /* Primary brand color as background */
    color: #ffffff;
}

.page-resources-game-strategy__cta-section .page-resources-game-strategy__section-title {
    color: #ffffff;
}

.page-resources-game-strategy__cta-actions {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Specific button styling for CTA section to ensure contrast */
.page-resources-game-strategy__cta-section .page-resources-game-strategy__btn-primary {
    background-color: #ffffff;
    color: #26A9E0;
    border-color: #ffffff;
}

.page-resources-game-strategy__cta-section .page-resources-game-strategy__btn-primary:hover {
    background-color: #f0f0f0;
    color: #1e87b6;
    border-color: #f0f0f0;
}

.page-resources-game-strategy__cta-section .page-resources-game-strategy__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.page-resources-game-strategy__cta-section .page-resources-game-strategy__btn-secondary:hover {
    background-color: #ffffff;
    color: #26A9E0;
    border-color: #ffffff;
}

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

@media (max-width: 768px) {
    .page-resources-game-strategy__hero-section {
        height: auto;
        min-height: 60vh;
        padding: 40px 0;
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
    }
    .page-resources-game-strategy__hero-title {
        font-size: 2.2em;
    }
    .page-resources-game-strategy__hero-description {
        font-size: 1em;
    }
    .page-resources-game-strategy__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-game-strategy__btn-primary,
    .page-resources-game-strategy__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-resources-game-strategy__cta-center,
    .page-resources-game-strategy__cta-actions {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to prevent content from touching edges */
    }

    .page-resources-game-strategy__intro-section,
    .page-resources-game-strategy__game-strategies,
    .page-resources-game-strategy__casino-strategies,
    .page-resources-game-strategy__cockfighting-strategy,
    .page-resources-game-strategy__responsible-gambling,
    .page-resources-game-strategy__faq-section,
    .page-resources-game-strategy__cta-section {
        padding: 40px 0;
    }
    .page-resources-game-strategy__container {
        padding: 0 15px; /* Ensure content has side padding */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-resources-game-strategy__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-resources-game-strategy__sub-title {
        font-size: 1.4em;
    }
    .page-resources-game-strategy__text-block,
    .page-resources-game-strategy__list-item,
    .page-resources-game-strategy__faq-answer {
        font-size: 1em;
    }

    /* Images responsiveness */
    .page-resources-game-strategy img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-game-strategy__card-image {
        height: auto; /* Allow card images to adapt height */
    }

    /* Video responsiveness */
    .page-resources-game-strategy__video-section,
    .page-resources-game-strategy__video-container,
    .page-resources-game-strategy__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important;
    }
    .page-resources-game-strategy__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-resources-game-strategy__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-resources-game-strategy__faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-resources-game-strategy__hero-title {
        font-size: 1.8em;
    }
    .page-resources-game-strategy__section-title {
        font-size: 1.5em;
    }
    .page-resources-game-strategy__hero-actions {
        flex-direction: column;
    }
}