.page-nh {
    background-color: #0D0E12; /* Custom background color */
    color: #FFF3E6; /* Custom main text color */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

.page-nh__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-nh__section-spacing {
    padding: 60px 0;
}

.page-nh__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 40px;
    background-color: #0D0E12;
}

.page-nh__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Limit height for desktop */
    overflow: hidden;
}

.page-nh__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-nh__hero-content {
    padding: 20px 20px 0;
    max-width: 900px;
    margin-top: -80px; /* Overlap slightly with image for visual flow */
    position: relative; /* Ensure it's above the image if any overlap */
    z-index: 2;
    background-color: #0D0E12; /* Match body bg for seamless transition */
    padding-top: 40px; /* Add padding to top for content */
    border-radius: 10px 10px 0 0;
}

.page-nh__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    color: #FFB04D; /* Glow color for main title */
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 176, 77, 0.5);
}

.page-nh__lead-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF3E6;
}

.page-nh__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 500px; /* Limit width of button group */
    margin-left: auto;
    margin-right: auto;
}

.page-nh__btn-primary,
.page-nh__btn-secondary,
.page-nh__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-nh__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Custom button gradient */
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-nh__btn-primary:hover {
    background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

.page-nh__btn-secondary {
    background-color: transparent;
    color: #FF8C1A;
    border: 2px solid #FF8C1A;
    box-shadow: 0 2px 10px rgba(255, 140, 26, 0.2);
}

.page-nh__btn-secondary:hover {
    background-color: #FF8C1A;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-nh__btn-tertiary {
    background-color: #A84F0C; /* Border color for tertiary */
    color: #FFF3E6;
    border: none;
    padding: 10px 20px;
    font-size: 0.95rem;
    border-radius: 5px;
}

.page-nh__btn-tertiary:hover {
    background-color: #D96800; /* Deep Orange */
    transform: translateY(-1px);
}

.page-nh__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #FFB04D; /* Glow color */
    text-shadow: 0 0 8px rgba(255, 176, 77, 0.3);
}

.page-nh__section-description {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #FFF3E6;
}

/* Intro Section */
.page-nh__intro-section {
    background-color: #0D0E12;
}

/* Features Section */
.page-nh__features-section {
    background-color: #17191F; /* Card BG color */
}

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

.page-nh__feature-card {
    background-color: #0D0E12; /* Background color for feature cards */
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #A84F0C; /* Border color */
    transition: transform 0.3s ease;
}

.page-nh__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

.page-nh__feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #FFA53A; /* Auxiliary color for titles */
}

.page-nh__feature-text {
    font-size: 1rem;
    color: #FFF3E6;
}

/* How To Play Section */
.page-nh__how-to-play-section {
    background-color: #0D0E12;
}

.page-nh__steps-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0 auto;
    max-width: 800px;
}

.page-nh__step-item {
    background-color: #17191F; /* Card BG color */
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 5px solid #FF8C1A;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

.page-nh__step-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FFB04D;
}

.page-nh__step-text {
    font-size: 1rem;
    color: #FFF3E6;
}

.page-nh__step-text a {
    color: #FFA53A;
    text-decoration: underline;
}

.page-nh__step-text a:hover {
    color: #FFB04D;
}

/* Promotions Section */
.page-nh__promotions-section {
    background-color: #17191F; /* Card BG color */
}

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

.page-nh__promo-card {
    background-color: #0D0E12;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #A84F0C;
    transition: transform 0.3s ease;
}

.page-nh__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

.page-nh__promo-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #FFA53A;
}

.page-nh__promo-text {
    font-size: 1rem;
    color: #FFF3E6;
    margin-bottom: 20px;
}

.page-nh__center-button {
    text-align: center;
    margin-top: 50px;
}

/* Security Section */
.page-nh__security-section {
    background-color: #0D0E12;
}

.page-nh__security-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0 auto;
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-nh__security-item {
    background-color: #17191F;
    padding: 25px;
    border-radius: 10px;
    border-bottom: 3px solid #FF8C1A;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

.page-nh__security-heading {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FFB04D;
}

.page-nh__security-text {
    font-size: 1rem;
    color: #FFF3E6;
    margin-bottom: 10px;
}

.page-nh__link {
    color: #FFA53A;
    text-decoration: underline;
    font-size: 0.95rem;
}

.page-nh__link:hover {
    color: #FFB04D;
}

/* FAQ Section */
.page-nh__faq-section {
    background-color: #17191F;
}

.page-nh__faq-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.page-nh__faq-item {
    background-color: #0D0E12;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #A84F0C;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-nh__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #FFA53A;
    cursor: pointer;
    list-style: none; /* Hide default marker */
    position: relative;
    outline: none;
}

.page-nh__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-nh__faq-qtext {
    flex-grow: 1;
}

.page-nh__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-nh__faq-item[open] .page-nh__faq-toggle {
    transform: rotate(45deg); /* Rotate '+' to 'x' or just change to '-' */
}

.page-nh__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: #FFF3E6;
    line-height: 1.6;
}

/* Why Choose Section */
.page-nh__why-choose-section {
    background-color: #0D0E12;
}

.page-nh__benefits-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0 auto;
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-nh__benefit-item {
    background-color: #17191F;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #A84F0C;
    transition: transform 0.3s ease;
}

.page-nh__benefit-item:hover {
    transform: translateY(-5px);
}

.page-nh__benefit-heading {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FFB04D;
}

.page-nh__benefit-text {
    font-size: 1rem;
    color: #FFF3E6;
}

/* --- Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
    .page-nh {
        font-size: 15px;
        line-height: 1.5;
    }

    .page-nh__container {
        padding: 0 15px;
    }

    .page-nh__section-spacing {
        padding: 40px 0;
    }

    /* HERO 主图区域 */
    .page-nh__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        padding-bottom: 30px;
    }

    .page-nh__hero-content {
        margin-top: -60px; /* Adjust overlap for mobile */
        padding-top: 30px;
    }

    .page-nh__main-title {
        font-size: 2rem; /* Smaller H1 for mobile */
        margin-bottom: 10px;
    }

    .page-nh__lead-text {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    /* 按钮与按钮容器 */
    .page-nh__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        max-width: 300px; /* Constrain width */
        padding: 0 15px;
        box-sizing: border-box !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    .page-nh__btn-primary,
    .page-nh__btn-secondary,
    .page-nh__btn-tertiary {
        width: 100% !important; /* Full width for buttons */
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-nh__section-title {
        font-size: 2rem; /* Smaller section titles */
        margin-bottom: 30px;
    }

    .page-nh__section-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    /* 通用图片与容器 */
    .page-nh img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    
    .page-nh__hero-image {
        max-height: 300px; /* Limit hero image height on mobile */
    }

    /* 产品展示图区域 (Features Grid, Promo Grid) */
    .page-nh__features-grid,
    .page-nh__promo-grid,
    .page-nh__security-list,
    .page-nh__benefits-list {
        grid-template-columns: 1fr; /* Single column layout for grids */
        gap: 20px;
    }

    .page-nh__feature-image,
    .page-nh__promo-image {
        height: 180px; /* Adjust card image height */
    }

    .page-nh__feature-card,
    .page-nh__promo-card,
    .page-nh__step-item,
    .page-nh__security-item,
    .page-nh__benefit-item {
        padding: 20px;
        margin-bottom: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-nh__feature-title,
    .page-nh__promo-title,
    .page-nh__step-title,
    .page-nh__security-heading,
    .page-nh__benefit-heading {
        font-size: 1.3rem;
    }

    /* 其他内容模块 (FAQ) */
    .page-nh__faq-item summary {
        padding: 15px 20px;
        font-size: 1.1rem;
    }

    .page-nh__faq-answer {
        padding: 0 20px 15px;
    }
}

/* --- Responsive Styles (max-width: 1024px) - For tablets --- */
@media (max-width: 1024px) {
    .page-nh__container {
        padding: 0 25px;
    }

    .page-nh__hero-content {
        margin-top: -70px; /* Adjust overlap */
    }

    .page-nh__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

    .page-nh__lead-text {
        font-size: 1.1rem;
    }

    .page-nh__section-title {
        font-size: 2.2rem;
    }

    .page-nh__features-grid,
    .page-nh__promo-grid,
    .page-nh__security-list,
    .page-nh__benefits-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }

    .page-nh__feature-image,
    .page-nh__promo-image {
        height: 180px;
    }
}