/* style/resources-new88-popular-game-strategies.css */

/* Base styles for the page content */
.page-resources-new88-popular-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 as #000000 */
}

/* Hero Section */
.page-resources-new88-popular-game-strategies__hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Desktop fixed header offset */
    box-sizing: border-box;
}

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

.page-resources-new88-popular-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: 2;
}

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

.page-resources-new88-popular-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-new88-popular-game-strategies__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

/* General Content Area */
.page-resources-new88-popular-game-strategies__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #ffffff; /* White background for content for contrast */
    color: #333333; /* Dark text for white background */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: -100px; /* Overlap with hero for visual effect */
    position: relative;
    z-index: 4;
}

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

.page-resources-new88-popular-game-strategies__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.8;
}

.page-resources-new88-popular-game-strategies__inline-link {
    color: #26A9E0;
    text-decoration: underline;
}

.page-resources-new88-popular-game-strategies__inline-link:hover {
    color: #EA7C07; /* Login color for hover */
}

/* Card Grid */
.page-resources-new88-popular-game-strategies__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.page-resources-new88-popular-game-strategies__card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #333333; /* Dark text for light card background */
}

.page-resources-new88-popular-game-strategies__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-new88-popular-game-strategies__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

.page-resources-new88-popular-game-strategies__card-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
    flex-grow: 1; /* Allow title to take available space */
}

.page-resources-new88-popular-game-strategies__card-text {
    font-size: 1em;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-resources-new88-popular-game-strategies__btn-text-link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
    align-self: flex-start; /* Align to start */
    margin-top: auto; /* Push to bottom */
}

.page-resources-new88-popular-game-strategies__btn-text-link:hover {
    text-decoration: underline;
    color: #EA7C07;
}


/* List Styles */
.page-resources-new88-popular-game-strategies__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 40px;
    font-size: 1.1em;
    color: #333333;
}

.page-resources-new88-popular-game-strategies__list-item {
    margin-bottom: 10px;
}

/* Call to Action Buttons */
.page-resources-new88-popular-game-strategies__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-resources-new88-popular-game-strategies__btn-primary,
.page-resources-new88-popular-game-strategies__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-resources-new88-popular-game-strategies__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-resources-new88-popular-game-strategies__btn-primary:hover {
    background-color: #1a7fb0;
    border-color: #1a7fb0;
    transform: translateY(-2px);
}

.page-resources-new88-popular-game-strategies__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-resources-new88-popular-game-strategies__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
    transform: translateY(-2px);
}

/* FAQ Section */
.page-resources-new88-popular-game-strategies__faq-container {
    margin-top: 50px;
    margin-bottom: 60px;
}

.page-resources-new88-popular-game-strategies__faq-item {
    background-color: #f0f0f0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    color: #333333;
}

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

.page-resources-new88-popular-game-strategies__faq-question:hover {
    background-color: #e0e0e0;
}

.page-resources-new88-popular-game-strategies__faq-question h3 {
    margin: 0;
    color: #26A9E0;
    flex-grow: 1;
}

.page-resources-new88-popular-game-strategies__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    margin-left: 20px;
    transition: transform 0.3s ease;
}

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

.page-resources-new88-popular-game-strategies__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #fdfdfd;
    color: #555555;
}

.page-resources-new88-popular-game-strategies__faq-item.active .page-resources-new88-popular-game-strategies__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

.page-resources-new88-popular-game-strategies__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}


/* CTA Banner */
.page-resources-new88-popular-game-strategies__cta-banner {
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
    border-radius: 10px;
    margin-top: 60px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-new88-popular-game-strategies__cta-banner-title {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #ffffff;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-resources-new88-popular-game-strategies__hero-title {
        font-size: 3em;
    }
    .page-resources-new88-popular-game-strategies__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources-new88-popular-game-strategies__hero-section {
        height: 70vh; /* Adjust hero height for mobile */
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    }

    .page-resources-new88-popular-game-strategies__hero-title {
        font-size: 2.2em;
    }

    .page-resources-new88-popular-game-strategies__hero-description {
        font-size: 1em;
    }

    .page-resources-new88-popular-game-strategies__content-area {
        padding: 20px 15px;
        margin-top: -50px;
    }

    .page-resources-new88-popular-game-strategies__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-resources-new88-popular-game-strategies__card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-resources-new88-popular-game-strategies__card-image {
        height: 200px;
    }

    .page-resources-new88-popular-game-strategies__card-title {
        font-size: 1.3em;
    }

    .page-resources-new88-popular-game-strategies__list {
        margin-left: 20px;
        font-size: 1em;
    }

    .page-resources-new88-popular-game-strategies__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px; /* Add horizontal padding to the container */
    }

    .page-resources-new88-popular-game-strategies__btn-primary,
    .page-resources-new88-popular-game-strategies__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-resources-new88-popular-game-strategies__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-resources-new88-popular-game-strategies__faq-answer {
        padding: 0 20px;
    }

    .page-resources-new88-popular-game-strategies__faq-item.active .page-resources-new88-popular-game-strategies__faq-answer {
        padding: 10px 20px;
    }

    .page-resources-new88-popular-game-strategies__cta-banner {
        padding: 40px 15px;
    }

    .page-resources-new88-popular-game-strategies__cta-banner-title {
        font-size: 1.8em;
    }

    .page-resources-new88-popular-game-strategies__cta-banner-description {
        font-size: 1em;
    }

    /* Mobile image responsive adaptation */
    .page-resources-new88-popular-game-strategies img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-resources-new88-popular-game-strategies__section,
    .page-resources-new88-popular-game-strategies__card,
    .page-resources-new88-popular-game-strategies__container,
    .page-resources-new88-popular-game-strategies__card-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* padding-left: 15px; remove here, handled by content-area padding */
        /* padding-right: 15px; remove here, handled by content-area padding */
        overflow: hidden; /* Ensure no overflow from children */
    }

    /* Video responsive adaptation (if any) */
    .page-resources-new88-popular-game-strategies video,
    .page-resources-new88-popular-game-strategies__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-resources-new88-popular-game-strategies__video-section,
    .page-resources-new88-popular-game-strategies__video-container,
    .page-resources-new88-popular-game-strategies__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Special handling for video section padding-top on mobile if it exists */
    .page-resources-new88-popular-game-strategies__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
}