/* Base styles for the Nổ Hũ page */
.page-no-hu {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #FFFFFF; /* Default background */
    padding-bottom: 40px;
}

/* Top Section - Hero */
.page-no-hu__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, shared.css handles body padding-top */
    background-color: #017439; /* Brand color for hero background */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.page-no-hu__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Max height for hero image */
    overflow: hidden;
}

.page-no-hu__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-no-hu__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
}

.page-no-hu__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-no-hu__description {
    font-size: clamp(1em, 1.5vw, 1.2em);
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-no-hu__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-no-hu__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-no-hu__btn-primary {
    background-color: #C30808; /* Đăng ký/Login color */
    color: #FFFF00; /* Đăng ký/Login font color */
    border: 2px solid #C30808;
}

.page-no-hu__btn-primary:hover {
    background-color: #e02020;
    border-color: #e02020;
}

.page-no-hu__btn-secondary {
    background-color: #FFFFFF;
    color: #017439;
    border: 2px solid #017439;
}

.page-no-hu__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #017439;
}

.page-no-hu__btn-light {
    background-color: #FFFFFF;
    color: #017439;
    border: 2px solid #FFFFFF;
}

.page-no-hu__btn-light:hover {
    background-color: #f0f0f0;
    color: #017439;
}

/* General Section Styling */
.page-no-hu__section {
    padding: 50px 0;
    background-color: #FFFFFF;
}

.page-no-hu__dark-section {
    background-color: #017439;
    color: #ffffff;
}

.page-no-hu__container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-no-hu__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #017439;
}

.page-no-hu__dark-section .page-no-hu__section-title {
    color: #FFFFFF;
}

.page-no-hu__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-no-hu__dark-section .page-no-hu__text-block {
    color: #f0f0f0;
}

.page-no-hu__image-content {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Game Types Section */
.page-no-hu__grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-no-hu__card {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-no-hu__card:hover {
    transform: translateY(-5px);
}

.page-no-hu__card-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #017439;
}

.page-no-hu__card-text {
    font-size: 1em;
    line-height: 1.7;
}

.page-no-hu__list {
    list-style: none;
    padding-left: 0;
}

.page-no-hu__list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    font-size: 1em;
}

.page-no-hu__list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #017439;
}

/* Strategies Section */
.page-no-hu__list--strategy li h3 {
    font-size: 1.25em;
    color: #017439;
    margin-bottom: 5px;
}

.page-no-hu__list--strategy li p {
    font-size: 0.95em;
    margin-bottom: 15px;
    text-align: justify;
}

/* Promotions Section */
.page-no-hu__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-no-hu__promo-card {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-no-hu__promo-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-no-hu__promo-text {
    font-size: 0.95em;
    margin-bottom: 25px;
    line-height: 1.7;
    color: #f0f0f0;
}

/* Safety Section */
.page-no-hu__info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-no-hu__info-card {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-no-hu__info-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #017439;
}

.page-no-hu__info-text {
    font-size: 0.95em;
    line-height: 1.7;
}

/* Guide Section */
.page-no-hu__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-no-hu__step-card {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #333333;
    border: 1px solid #e0e0e0;
    text-align: center;
}

.page-no-hu__step-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #017439;
}

.page-no-hu__step-text {
    font-size: 0.95em;
    line-height: 1.6;
}

.page-no-hu__cta-buttons--centered {
    margin-top: 40px;
}

/* FAQ Section */
.page-no-hu__faq-list {
    margin-top: 30px;
}

.page-no-hu__faq-item {
    background-color: #f8f8f8;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}

.page-no-hu__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: 600;
    color: #017439;
    cursor: pointer;
    list-style: none;
    position: relative;
}

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

.page-no-hu__faq-qtext {
    flex-grow: 1;
}

.page-no-hu__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-no-hu__faq-item[open] .page-no-hu__faq-toggle {
    transform: rotate(45deg);
}

.page-no-hu__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    line-height: 1.7;
    color: #555555;
}

/* Conclusion Section */
.page-no-hu__conclusion .page-no-hu__section-title,
.page-no-hu__conclusion .page-no-hu__text-block {
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-no-hu__hero-content {
        padding: 30px 20px;
    }

    .page-no-hu__main-title {
        font-size: 2.8em;
    }

    .page-no-hu__description {
        font-size: 1.1em;
    }

    .page-no-hu__section-title {
        font-size: 2.2em;
    }

    .page-no-hu__card-title, .page-no-hu__promo-title, .page-no-hu__info-title, .page-no-hu__step-title {
        font-size: 1.3em;
    }

    .page-no-hu__faq-question {
        font-size: 1.05em;
    }
}

@media (max-width: 768px) {
    .page-no-hu {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-no-hu__hero-section {
        padding-top: 10px !important; /* Fixed top padding */
    }

    .page-no-hu__hero-content {
        padding: 25px 15px;
    }

    .page-no-hu__main-title {
        font-size: 2.2em !important;
    }

    .page-no-hu__description {
        font-size: 1em !important;
    }

    .page-no-hu__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-no-hu__btn {
        padding: 12px 20px !important;
        font-size: 1em !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-no-hu__section {
        padding: 30px 0;
    }

    .page-no-hu__container {
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-no-hu__section-title {
        font-size: 1.8em !important;
        margin-bottom: 25px;
    }

    .page-no-hu__text-block {
        font-size: 0.95em !important;
        text-align: left;
    }

    .page-no-hu__image-content {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 20px auto !important;
    }

    /* Card & Grid Layouts */
    .page-no-hu__grid-cards, .page-no-hu__promo-grid, .page-no-hu__info-grid, .page-no-hu__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    .page-no-hu__card, .page-no-hu__promo-card, .page-no-hu__info-card, .page-no-hu__step-card {
        padding: 20px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-no-hu__card-title, .page-no-hu__promo-title, .page-no-hu__info-title, .page-no-hu__step-title {
        font-size: 1.2em !important;
        margin-bottom: 10px;
    }

    .page-no-hu__card-text, .page-no-hu__promo-text, .page-no-hu__info-text, .page-no-hu__step-text {
        font-size: 0.9em !important;
    }

    .page-no-hu__list li {
        font-size: 0.95em !important;
    }

    /* FAQ Section */
    .page-no-hu__faq-item {
        margin-bottom: 10px;
    }

    .page-no-hu__faq-question {
        padding: 15px 20px !important;
        font-size: 1em !important;
    }

    .page-no-hu__faq-answer {
        padding: 0 20px 15px !important;
        font-size: 0.95em !important;
    }
}