.page-no-hu-loai-hinh-game {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light body background */
    background-color: #ffffff; /* Assuming body background is white */
}

/* Hero Section */
.page-no-hu-loai-hinh-game__hero-section {
    padding-top: 10px; /* Small top padding as shared.css handles body padding-top */
    padding-bottom: 60px;
    background-color: #ffffff; /* Light background for hero */
}

.page-no-hu-loai-hinh-game__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: 20px 15px;
}

.page-no-hu-loai-hinh-game__hero-content {
    flex: 1 1 45%;
    min-width: 300px;
    color: #333333; /* Dark text for light background */
}

.page-no-hu-loai-hinh-game__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #017439; /* Brand color for H1 */
}

.page-no-hu-loai-hinh-game__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #555555;
}

.page-no-hu-loai-hinh-game__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-no-hu-loai-hinh-game__btn-primary,
.page-no-hu-loai-hinh-game__btn-secondary {
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    max-width: 200px; /* Max width for individual buttons on desktop */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-no-hu-loai-hinh-game__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-no-hu-loai-hinh-game__btn-primary:hover {
    background-color: #a30606;
    border-color: #a30606;
}

.page-no-hu-loai-hinh-game__btn-secondary {
    background-color: #017439; /* Primary brand color */
    color: #ffffff;
    border: 2px solid #017439;
}

.page-no-hu-loai-hinh-game__btn-secondary:hover {
    background-color: #005a2e;
    border-color: #005a2e;
}

.page-no-hu-loai-hinh-game__hero-image {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: center;
}

.page-no-hu-loai-hinh-game__hero-side-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    display: block; /* Ensure it behaves as a block element */
}

/* General Sections */
.page-no-hu-loai-hinh-game__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 15px;
}

.page-no-hu-loai-hinh-game__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: #017439; /* Brand color for section titles */
}

.page-no-hu-loai-hinh-game__section-description {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 40px;
    color: #555555;
}

.page-no-hu-loai-hinh-game__text-block {
    margin-bottom: 20px;
    font-size: 1.05em;
    color: #333333;
}

/* Intro Section */
.page-no-hu-loai-hinh-game__intro-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Game Types Section */
.page-no-hu-loai-hinh-game__game-types-section {
    background-color: #017439; /* Dark background for this section */
    color: #ffffff; /* White text for dark background */
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-no-hu-loai-hinh-game__game-types-section .page-no-hu-loai-hinh-game__section-title,
.page-no-hu-loai-hinh-game__game-types-section .page-no-hu-loai-hinh-game__section-description {
    color: #ffffff; /* Ensure white text on dark background */
}

.page-no-hu-loai-hinh-game__game-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-no-hu-loai-hinh-game__game-type-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white card background */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-no-hu-loai-hinh-game__game-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.page-no-hu-loai-hinh-game__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-no-hu-loai-hinh-game__card-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #FFFF00; /* Yellow for card titles on dark background */
}

.page-no-hu-loai-hinh-game__card-text {
    font-size: 1em;
    color: #f0f0f0; /* Slightly off-white for body text */
}

/* Why Nohu09 Section & Tips Section (Similar Grid Layout) */
.page-no-hu-loai-hinh-game__why-nohu09-section,
.page-no-hu-loai-hinh-game__tips-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-no-hu-loai-hinh-game__why-nohu09-section .page-no-hu-loai-hinh-game__section-title {
    color: #017439;
}

.page-no-hu-loai-hinh-game__tips-section {
    background-color: #017439; /* Dark background */
    color: #ffffff; /* White text */
}

.page-no-hu-loai-hinh-game__tips-section .page-no-hu-loai-hinh-game__section-title {
    color: #ffffff; /* White title */
}

.page-no-hu-loai-hinh-game__content-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.page-no-hu-loai-hinh-game__text-content {
    flex: 1 1 50%;
    min-width: 300px;
}

.page-no-hu-loai-hinh-game__image-column {
    flex: 1 1 40%;
    min-width: 300px;
    text-align: center;
}

.page-no-hu-loai-hinh-game__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    display: block;
}

.page-no-hu-loai-hinh-game__feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-no-hu-loai-hinh-game__feature-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.05em;
    color: inherit; /* Inherit color from parent section */
}

.page-no-hu-loai-hinh-game__feature-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #FFFF00; /* Yellow checkmark */
}

/* CTA Section */
.page-no-hu-loai-hinh-game__cta-section {
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: center;
    background-color: #f8f8f8; /* Light background */
}

.page-no-hu-loai-hinh-game__cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* FAQ Section */
.page-no-hu-loai-hinh-game__faq-section {
    background-color: #017439; /* Dark background */
    color: #ffffff; /* White text */
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-no-hu-loai-hinh-game__faq-section .page-no-hu-loai-hinh-game__section-title {
    color: #ffffff;
}

.page-no-hu-loai-hinh-game__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-no-hu-loai-hinh-game__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white background */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-no-hu-loai-hinh-game__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    list-style: none; /* Hide default marker */
    color: #FFFF00; /* Yellow for FAQ questions */
}

.page-no-hu-loai-hinh-game__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-no-hu-loai-hinh-game__faq-item[open] .page-no-hu-loai-hinh-game__faq-toggle {
    content: '−';
}

.page-no-hu-loai-hinh-game__faq-qtext {
    flex-grow: 1;
    color: inherit;
}

.page-no-hu-loai-hinh-game__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: inherit;
}

.page-no-hu-loai-hinh-game__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #f0f0f0; /* Slightly off-white for answer text */
}

.page-no-hu-loai-hinh-game__faq-answer p {
    margin-bottom: 10px;
    color: inherit;
}

.page-no-hu-loai-hinh-game__faq-answer a {
    color: #FFFF00; /* Yellow for links in FAQ answers */
    text-decoration: underline;
}
.page-no-hu-loai-hinh-game__faq-answer a:hover {
    color: #ffffff;
}

/* General image styling to ensure responsiveness */
.page-no-hu-loai-hinh-game img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Keywords styling */
.page-no-hu-loai-hinh-game .keyword {
    font-weight: bold;
    color: inherit; /* Inherit color, but make it bold */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-no-hu-loai-hinh-game__hero-container {
        flex-direction: column;
        text-align: center;
    }
    .page-no-hu-loai-hinh-game__hero-content,
    .page-no-hu-loai-hinh-game__hero-image {
        flex: 1 1 100%;
    }
    .page-no-hu-loai-hinh-game__cta-buttons {
        justify-content: center;
    }
    .page-no-hu-loai-hinh-game__content-grid {
        flex-direction: column;
    }
    .page-no-hu-loai-hinh-game__text-content,
    .page-no-hu-loai-hinh-game__image-column {
        flex: 1 1 100%;
    }
    .page-no-hu-loai-hinh-game__image-column img {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    /* HERO Section */
    .page-no-hu-loai-hinh-game__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        padding-bottom: 40px !important;
    }
    .page-no-hu-loai-hinh-game__hero-container {
        padding: 15px !important;
        gap: 20px !important;
    }
    .page-no-hu-loai-hinh-game__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em) !important; /* Adjust H1 size for mobile */
        margin-bottom: 15px !important;
    }
    .page-no-hu-loai-hinh-game__hero-description {
        font-size: 1em !important;
        margin-bottom: 25px !important;
    }
    .page-no-hu-loai-hinh-game__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-no-hu-loai-hinh-game__btn-primary,
    .page-no-hu-loai-hinh-game__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 10px 15px !important;
        font-size: 0.95em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-no-hu-loai-hinh-game__hero-side-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* General Sections & Containers */
    .page-no-hu-loai-hinh-game__container {
        padding: 20px 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-no-hu-loai-hinh-game__section-title {
        font-size: clamp(1.5em, 7vw, 2em) !important; /* Adjust section title size for mobile */
        margin-bottom: 20px !important;
    }
    .page-no-hu-loai-hinh-game__section-description,
    .page-no-hu-loai-hinh-game__text-block,
    .page-no-hu-loai-hinh-game__feature-list li,
    .page-no-hu-loai-hinh-game__card-text {
        font-size: 0.95em !important;
    }

    /* Game Types Section (Grid becomes single column) */
    .page-no-hu-loai-hinh-game__game-type-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .page-no-hu-loai-hinh-game__game-type-card {
        padding: 20px !important;
    }
    .page-no-hu-loai-hinh-game__card-title {
        font-size: 1.3em !important;
    }
    .page-no-hu-loai-hinh-game__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Content Grids (Why Nohu09 & Tips) */
    .page-no-hu-loai-hinh-game__content-grid {
        flex-direction: column !important;
        gap: 30px !important;
    }
    .page-no-hu-loai-hinh-game__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* FAQ Section */
    .page-no-hu-loai-hinh-game__faq-item summary {
        padding: 15px 20px !important;
        font-size: 1em !important;
    }
    .page-no-hu-loai-hinh-game__faq-toggle {
        font-size: 1.2em !important;
    }
    .page-no-hu-loai-hinh-game__faq-answer {
        padding: 0 20px 15px !important;
        font-size: 0.9em !important;
    }

    /* All images in content area */
    .page-no-hu-loai-hinh-game img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    /* Ensure no horizontal overflow */
    .page-no-hu-loai-hinh-game {
        overflow-x: hidden;
    }
}