/* style/resources-hb888-latest-gameplay-analysis.css */
:root {
    --primary-color: #0A192F;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: #1a2a44; /* Body background from shared.css */
}

.page-resources-hb888-latest-gameplay-analysis {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Light text on dark body background */
    background-color: var(--background-dark);
    line-height: 1.6;
    padding-bottom: 60px; /* General padding for main content */
}

.page-resources-hb888-latest-gameplay-analysis__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-resources-hb888-latest-gameplay-analysis__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(10, 25, 47, 0.8) 50%, var(--primary-color) 100%);
    overflow: hidden;
    position: relative;
}

.page-resources-hb888-latest-gameplay-analysis__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-resources-hb888-latest-gameplay-analysis__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-resources-hb888-latest-gameplay-analysis__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources-hb888-latest-gameplay-analysis__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
    margin-top: -80px; /* Overlay on image */
    padding-top: 100px; /* Adjust padding due to negative margin */
}

.page-resources-hb888-latest-gameplay-analysis__hero-title {
    font-size: 3.2em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.page-resources-hb888-latest-gameplay-analysis__hero-description {
    font-size: 1.2em;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-hb888-latest-gameplay-analysis__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-resources-hb888-latest-gameplay-analysis__cta-button:hover {
    background: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.page-resources-hb888-latest-gameplay-analysis__cta-button--small {
    padding: 10px 25px;
    font-size: 16px;
    margin-top: 15px;
}

/* General Section Styles */
.page-resources-hb888-latest-gameplay-analysis__section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-hb888-latest-gameplay-analysis__section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-resources-hb888-latest-gameplay-analysis__paragraph {
    font-size: 1.1em;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-resources-hb888-latest-gameplay-analysis__image-wrapper {
    margin: 40px 0;
    text-align: center;
}

.page-resources-hb888-latest-gameplay-analysis__image-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
}

/* Game Analysis Section */
.page-resources-hb888-latest-gameplay-analysis__game-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-hb888-latest-gameplay-analysis__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-hb888-latest-gameplay-analysis__game-card-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
}

/* Strategy Section */
.page-resources-hb888-latest-gameplay-analysis__strategy-item {
    background: rgba(255, 255, 255, 0.05);
    border-left: 5px solid var(--secondary-color);
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 5px;
}

.page-resources-hb888-latest-gameplay-analysis__strategy-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* New Features Section */
.page-resources-hb888-latest-gameplay-analysis__feature-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-resources-hb888-latest-gameplay-analysis__feature-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-hb888-latest-gameplay-analysis__feature-title {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* Getting Started Section */
.page-resources-hb888-latest-gameplay-analysis__getting-started-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-resources-hb888-latest-gameplay-analysis__getting-started-title {
    font-size: 1.6em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* FAQ Section */
.page-resources-hb888-latest-gameplay-analysis__faq-section {
    padding-bottom: 80px;
}

.page-resources-hb888-latest-gameplay-analysis__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.page-resources-hb888-latest-gameplay-analysis__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 20px;
    opacity: 0;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.03);
}

.page-resources-hb888-latest-gameplay-analysis__faq-item.active .page-resources-hb888-latest-gameplay-analysis__faq-answer {
    max-height: 2000px !important;
    padding: 20px !important;
    opacity: 1;
}

.page-resources-hb888-latest-gameplay-analysis__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--primary-color);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-resources-hb888-latest-gameplay-analysis__faq-question:hover {
    background: rgba(10, 25, 47, 0.8);
    border-color: var(--secondary-color);
}

.page-resources-hb888-latest-gameplay-analysis__faq-question:active {
    background: rgba(10, 25, 47, 0.9);
}

.page-resources-hb888-latest-gameplay-analysis__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--text-light);
}

.page-resources-hb888-latest-gameplay-analysis__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--secondary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-resources-hb888-latest-gameplay-analysis__faq-item.active .page-resources-hb888-latest-gameplay-analysis__faq-toggle {
    color: var(--secondary-color);
    transform: rotate(45deg); /* Optional: rotate for 'x' effect */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-hb888-latest-gameplay-analysis__hero-title {
        font-size: 2.8em;
    }

    .page-resources-hb888-latest-gameplay-analysis__hero-description {
        font-size: 1.1em;
    }

    .page-resources-hb888-latest-gameplay-analysis__section-title {
        font-size: 2em;
    }

    .page-resources-hb888-latest-gameplay-analysis__paragraph {
        font-size: 1em;
    }

    .page-resources-hb888-latest-gameplay-analysis__feature-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-resources-hb888-latest-gameplay-analysis__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-resources-hb888-latest-gameplay-analysis__hero-image img {
        border-radius: 4px;
    }
    
    .page-resources-hb888-latest-gameplay-analysis__hero-content {
        margin-top: -60px;
        padding-top: 80px;
    }

    .page-resources-hb888-latest-gameplay-analysis__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-resources-hb888-latest-gameplay-analysis__hero-description {
        font-size: 0.95em;
        margin-bottom: 25px;
    }

    .page-resources-hb888-latest-gameplay-analysis__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-resources-hb888-latest-gameplay-analysis__cta-button--small {
        max-width: fit-content !important; /* Allow small buttons to be smaller */
        width: auto !important;
    }

    .page-resources-hb888-latest-gameplay-analysis__section {
        padding: 40px 0;
    }

    .page-resources-hb888-latest-gameplay-analysis__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-resources-hb888-latest-gameplay-analysis__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-resources-hb888-latest-gameplay-analysis img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    
    .page-resources-hb888-latest-gameplay-analysis__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-resources-hb888-latest-gameplay-analysis__game-card, 
    .page-resources-hb888-latest-gameplay-analysis__strategy-item, 
    .page-resources-hb888-latest-gameplay-analysis__feature-item, 
    .page-resources-hb888-latest-gameplay-analysis__getting-started-item {
        padding: 20px;
        margin-bottom: 20px;
    }

    .page-resources-hb888-latest-gameplay-analysis__game-card-title, 
    .page-resources-hb888-latest-gameplay-analysis__strategy-title, 
    .page-resources-hb888-latest-gameplay-analysis__feature-title, 
    .page-resources-hb888-latest-gameplay-analysis__getting-started-title {
        font-size: 1.3em;
    }

    .page-resources-hb888-latest-gameplay-analysis__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-resources-hb888-latest-gameplay-analysis__faq-question h3 {
        font-size: 1em;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-resources-hb888-latest-gameplay-analysis__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    
    .page-resources-hb888-latest-gameplay-analysis__faq-answer {
        padding: 0 15px;
    }
    
    .page-resources-hb888-latest-gameplay-analysis__faq-item.active .page-resources-hb888-latest-gameplay-analysis__faq-answer {
        padding: 15px !important;
    }
}

@media (max-width: 480px) {
    .page-resources-hb888-latest-gameplay-analysis__hero-title {
        font-size: 1.8em;
    }

    .page-resources-hb888-latest-gameplay-analysis__hero-description {
        font-size: 0.9em;
    }

    .page-resources-hb888-latest-gameplay-analysis__cta-button {
        font-size: 15px;
        padding: 10px 25px;
    }

    .page-resources-hb888-latest-gameplay-analysis__section-title {
        font-size: 1.6em;
    }
}