/* General Styling for Nổ Hũ Page */
.page-no-hu {
    font-family: Arial, sans-serif;
    color: var(--Text-Main); /* Using Text Main for general text */
    background-color: var(--Deep-Navy); /* Page body background from shared.css */
    line-height: 1.6;
}

.page-no-hu__content-area {
    max-width: 1170px;
    margin: 0 auto;
    padding: 40px 16px;
    box-sizing: border-box;
}

.page-no-hu__section-title {
    font-size: 2.5em;
    color: var(--Gold);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-no-hu__section-description {
    font-size: 1.1em;
    color: var(--Text-Secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-no-hu__hero-section {
    padding-top: 10px; /* Small top padding, relying on body padding-top for header offset */
    padding-bottom: 60px;
    background: var(--Deep-Navy); /* Explicitly set for this section */
}

.page-no-hu__hero-container {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 40px 16px;
    gap: 40px;
}

.page-no-hu__hero-content {
    flex: 1 1 45%;
    min-width: 300px;
    color: var(--Text-Main);
    text-align: left;
}

.page-no-hu__hero-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 font size */
    color: var(--Gold);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-no-hu__hero-description {
    font-size: 1.15em;
    color: var(--Text-Secondary);
    margin-bottom: 30px;
}

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

.page-no-hu__hero-main-img {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    display: block; /* Ensure it behaves as a block element */
    margin: 0 auto; /* Center image */
}

.page-no-hu__hero-cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    margin-top: 30px;
}

/* Buttons */
.page-no-hu__btn-primary,
.page-no-hu__btn-secondary,
.page-no-hu__btn-small {
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
}

.page-no-hu__btn-primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: var(--Text-Main);
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-no-hu__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-no-hu__btn-secondary {
    background: transparent;
    color: var(--Glow);
    border: 2px solid var(--Glow);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-no-hu__btn-secondary:hover {
    background: var(--Glow);
    color: var(--Deep-Navy);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-no-hu__btn-small {
    padding: 8px 15px;
    font-size: 0.9em;
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: var(--Text-Main);
    border: none;
}
.page-no-hu__btn-small:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Intro Section (Why ibet188) */
.page-no-hu__intro-section {
    padding: 60px 0;
    background-color: var(--Deep-Navy); /* Using Deep Navy as dark section background */
}

.page-no-hu__dark-section .page-no-hu__section-title {
    color: var(--Gold);
}
.page-no-hu__dark-section .page-no-hu__section-description {
    color: var(--Text-Secondary);
}

.page-no-hu__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-no-hu__feature-item {
    background-color: var(--Card-B-G); /* Card background color */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--Border);
    color: var(--Text-Main);
}

.page-no-hu__icon-box-media {
    width: 200px; /* Fixed width for circular image */
    height: 200px; /* Fixed height for circular image */
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--Glow);
    box-shadow: 0 0 15px rgba(79, 168, 255, 0.5);
    display: flex; /* Use flex to center image within */
    justify-content: center;
    align-items: center;
}

.page-no-hu__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure image covers the circular area */
    border-radius: 50%;
    display: block;
}

.page-no-hu__feature-title {
    font-size: 1.5em;
    color: var(--Gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-no-hu__feature-text {
    font-size: 1em;
    color: var(--Text-Secondary);
}

/* Game Types Section */
.page-no-hu__game-types-section {
    padding: 60px 0;
    background-color: var(--Deep-Navy);
}

.page-no-hu__game-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-no-hu__game-type-card {
    background-color: var(--Card-B-G);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--Border);
    text-align: center;
    color: var(--Text-Main);
}

.page-no-hu__game-type-img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-no-hu__game-type-title {
    font-size: 1.4em;
    color: var(--Gold);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-no-hu__game-type-text {
    font-size: 0.95em;
    color: var(--Text-Secondary);
    margin-bottom: 20px;
}

/* Guide Section */
.page-no-hu__guide-section {
    padding: 60px 0;
    background-color: var(--Deep-Navy);
}

.page-no-hu__guide-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-no-hu__guide-image {
    flex: 1 1 45%;
    min-width: 300px;
}

.page-no-hu__guide-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    display: block;
}

.page-no-hu__guide-steps {
    flex: 1 1 45%;
    min-width: 300px;
}

.page-no-hu__guide-step-item {
    background-color: var(--Card-B-G);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border: 1px solid var(--Border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-no-hu__guide-step-number {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--Glow);
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(79, 168, 255, 0.1);
    border-radius: 50%;
}

.page-no-hu__guide-step-title {
    font-size: 1.3em;
    color: var(--Gold);
    margin-bottom: 5px;
    font-weight: bold;
}

.page-no-hu__guide-step-text {
    font-size: 0.95em;
    color: var(--Text-Secondary);
}

.page-no-hu__guide-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Promotion Section */
.page-no-hu__promo-section {
    padding: 60px 0;
    background-color: var(--Deep-Navy);
}

.page-no-hu__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-no-hu__promo-card {
    background-color: var(--Card-B-G);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--Border);
    text-align: center;
    color: var(--Text-Main);
}

.page-no-hu__promo-img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-no-hu__promo-title {
    font-size: 1.4em;
    color: var(--Gold);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-no-hu__promo-text {
    font-size: 0.95em;
    color: var(--Text-Secondary);
    margin-bottom: 20px;
}

.page-no-hu__view-all-promos {
    text-align: center;
    margin-top: 40px;
}

/* FAQ Section */
.page-no-hu__faq-section {
    padding: 60px 0;
    background-color: var(--Deep-Navy);
}

.page-no-hu__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-no-hu__faq-item {
    background-color: var(--Card-B-G);
    border: 1px solid var(--Border);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.page-no-hu__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--Text-Main);
    cursor: pointer;
    background-color: var(--Card-B-G);
    border-bottom: 1px solid var(--Divider);
    list-style: none; /* For details/summary element */
}

.page-no-hu__faq-item[open] .page-no-hu__faq-question {
    border-bottom: 1px solid var(--Divider);
}

.page-no-hu__faq-item[open] > summary {
    background-color: var(--Card-B-G); /* Keep background consistent when open */
}

.page-no-hu__faq-question::-webkit-details-marker {
    display: none;
}
.page-no-hu__faq-question::marker {
    display: none;
}

.page-no-hu__faq-qtext {
    flex-grow: 1;
    color: var(--Gold);
}

.page-no-hu__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--Glow);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-no-hu__faq-item[open] .page-no-hu__faq-toggle {
    transform: rotate(45deg); /* Change + to X visually */
}

.page-no-hu__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: var(--Text-Secondary);
    background-color: var(--Card-B-G);
}
.page-no-hu__faq-answer p {
    margin: 0;
    color: var(--Text-Secondary);
}


/* Final CTA Section */
.page-no-hu__cta-final-section {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(180deg, #113B7A 0%, #08162B 100%); /* Gradient for final CTA */
}

.page-no-hu__cta-final-content .page-no-hu__section-title {
    color: var(--Gold);
}

.page-no-hu__cta-final-content .page-no-hu__section-description {
    color: var(--Text-Secondary);
    margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-no-hu__hero-container {
        flex-direction: column;
        text-align: center;
    }
    .page-no-hu__hero-content {
        text-align: center;
    }
    .page-no-hu__hero-cta-buttons {
        justify-content: center;
    }
    .page-no-hu__guide-grid {
        flex-direction: column;
    }
    .page-no-hu__guide-image,
    .page-no-hu__guide-steps {
        flex: 1 1 100%;
    }
}


@media (max-width: 768px) {
    /* General */
    .page-no-hu__content-area {
        padding: 20px 15px;
    }
    .page-no-hu__section-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-no-hu__section-description {
        font-size: 1em;
        margin-bottom: 25px;
    }

    /* HERO Section */
    .page-no-hu__hero-section {
        padding-top: 10px !important; /* Small top padding, relying on body padding-top */
        padding-bottom: 30px;
    }
    .page-no-hu__hero-container {
        padding: 20px 15px;
        gap: 20px;
    }
    .page-no-hu__hero-title {
        font-size: 2.2em;
    }
    .page-no-hu__hero-description {
        font-size: 1em;
    }
    .page-no-hu__hero-cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        width: 100%; /* Ensure container takes full width */
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px; /* Add padding to container */
    }

    /* Buttons */
    .page-no-hu__btn-primary,
    .page-no-hu__btn-secondary,
    .page-no-hu__btn-small {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px; /* Ensure padding for text */
        padding-right: 15px;
    }
    .page-no-hu__guide-cta {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }

    /* Module 1 (Intro Section) */
    .page-no-hu__intro-section {
        padding: 30px 0;
    }
    .page-no-hu__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-no-hu__icon-box-media {
        width: 150px; /* Adjust size for mobile, keep square */
        height: 150px;
    }

    /* Game Types Section */
    .page-no-hu__game-types-section {
        padding: 30px 0;
    }
    .page-no-hu__game-types-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-no-hu__game-type-img {
         /* Adjust height */
    }

    /* Guide Section */
    .page-no-hu__guide-section {
        padding: 30px 0;
    }
    .page-no-hu__guide-grid {
        gap: 20px;
    }
    .page-no-hu__guide-step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        padding: 15px;
    }
    .page-no-hu__guide-step-number {
        font-size: 1.5em;
        width: 35px;
        height: 35px;
    }
    .page-no-hu__guide-step-title {
        font-size: 1.2em;
    }

    /* Promotion Section */
    .page-no-hu__promo-section {
        padding: 30px 0;
    }
    .page-no-hu__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-no-hu__promo-img {
         /* Adjust height */
    }
    .page-no-hu__view-all-promos {
        padding: 0 15px; /* Add padding to container */
        box-sizing: border-box;
    }


    /* FAQ Section */
    .page-no-hu__faq-section {
        padding: 30px 0;
    }
    .page-no-hu__faq-list {
        margin-top: 25px;
    }
    .page-no-hu__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-no-hu__faq-toggle {
        font-size: 1.2em;
    }
    .page-no-hu__faq-answer {
        padding: 10px 20px 15px;
        font-size: 0.9em;
    }

    /* Final CTA Section */
    .page-no-hu__cta-final-section {
        padding: 30px 0;
    }
    .page-no-hu__cta-final-content .page-no-hu__section-description {
        margin-bottom: 25px;
    }
    .page-no-hu__cta-final-section .page-no-hu__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }

    /* Universal image responsive rule for content area */
    .page-no-hu img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    /* Exception for circular images */
    .page-no-hu__icon-box-media img {
        height: 100% !important; /* Keep height 100% to fill circular container */
        object-fit: cover !important;
    }

    /* All containers with images or buttons need proper mobile width */
    .page-no-hu__hero-container,
    .page-no-hu__content-area,
    .page-no-hu__features-grid,
    .page-no-hu__game-types-grid,
    .page-no-hu__guide-grid,
    .page-no-hu__promo-grid,
    .page-no-hu__faq-list,
    .page-no-hu__cta-final-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* padding-left and padding-right already handled by .page-no-hu__content-area and specific button containers */
    }
    .page-no-hu__hero-cta-buttons,
    .page-no-hu__guide-cta,
    .page-no-hu__view-all-promos,
    .page-no-hu__cta-final-section .page-no-hu__cta-buttons {
        overflow: hidden !important; /* Ensure no overflow */
    }
}