.page-nh {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-color);
}

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

/* Color Contrast Adjustments based on body background (assuming shared.css provides --bg-color as dark) */
.page-nh {
    color: #FFF1E8; /* Text Main */
    background-color: #140C0C; /* Background */
}

.page-nh__light-bg {
    background-color: #2A1212; /* Card BG */
    color: #FFF1E8; /* Text Main */
}

.page-nh__dark-section {
    background-color: #140C0C; /* Background */
    color: #FFF1E8; /* Text Main */
}

.page-nh__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #F3C54D; /* Gold */
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.2;
}

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

.page-nh__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em);
    font-weight: 900;
    color: #F3C54D; /* Gold */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-nh__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, not --header-offset */
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #140C0C; /* Ensure background matches dark section */
}

.page-nh__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Adjust based on typical hero aspect ratio */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-nh__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Min size constraint */
}

.page-nh__hero-content {
    position: relative;
    z-index: 10;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -100px; /* Adjust to slightly overlap the image for visual flow */
    background: linear-gradient(0deg, #140C0C 0%, rgba(20,12,12,0.8) 50%, rgba(20,12,12,0) 100%); /* Subtle gradient for text readability */
}

.page-nh__hero-description {
    font-size: 1.2em;
    color: #FFF1E8;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-nh__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.page-nh__cta-buttons--center {
    margin-top: 40px;
}

.page-nh__btn-primary,
.page-nh__btn-secondary,
.page-nh__btn-play {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-nh__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button custom color */
    color: #140C0C; /* Dark text for light button */
    border: 2px solid transparent;
}

.page-nh__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 176, 74, 0.4);
}

.page-nh__btn-secondary {
    background: transparent;
    color: #F3C54D; /* Gold */
    border: 2px solid #F3C54D; /* Gold */
}

.page-nh__btn-secondary:hover {
    background: #F3C54D;
    color: #140C0C; /* Dark text for light button */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 197, 77, 0.4);
}

.page-nh__btn-play {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button custom color */
    color: #140C0C; /* Dark text for light button */
    border: none;
    padding: 10px 20px;
    font-size: 1em;
}

.page-nh__btn-play:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.page-nh__intro-section,
.page-nh__benefits-section,
.page-nh__promotions-section,
.page-nh__conclusion-section {
    padding: 80px 0;
}

.page-nh__games-section,
.page-nh__register-guide,
.page-nh__faq-section {
    padding: 80px 0;
}

.page-nh__image-content {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

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

.page-nh__game-card {
    background-color: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-nh__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px;
    min-height: 200px;
}

.page-nh__game-title {
    font-size: 1.5em;
    color: #F3C54D; /* Gold */
    margin-bottom: 10px;
}

.page-nh__game-description {
    color: #FFF1E8;
    font-size: 0.95em;
    flex-grow: 1;
    margin-bottom: 20px;
}

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

.page-nh__benefit-item {
    background-color: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-nh__benefit-title {
    font-size: 1.4em;
    color: #F3C54D; /* Gold */
    margin-bottom: 10px;
}

.page-nh__benefit-text {
    color: #FFF1E8;
    font-size: 1em;
}

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

.page-nh__step-item {
    background-color: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-nh__step-title {
    font-size: 1.4em;
    color: #F3C54D; /* Gold */
    margin-bottom: 10px;
}

.page-nh__step-text {
    color: #FFF1E8;
    font-size: 1em;
}

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

.page-nh__promo-card {
    background-color: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-nh__promo-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px;
    min-height: 200px;
}

.page-nh__promo-title {
    font-size: 1.5em;
    color: #F3C54D; /* Gold */
    margin-bottom: 10px;
}

.page-nh__promo-text {
    color: #FFF1E8;
    font-size: 0.95em;
}

.page-nh__faq-list {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-nh__faq-item {
    background-color: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #FFF1E8;
}

.page-nh__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #F3C54D; /* Gold */
    cursor: pointer;
    user-select: none;
    background-color: #2A1212;
    position: relative;
}

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

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

.page-nh__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1em;
    line-height: 1.6;
    color: #FFF1E8;
    /* For details tag, browser handles show/hide. For div, JS will control max-height */
}

.page-nh__faq-answer p {
    margin: 0;
}

/* Ensure all images are responsive by default */
.page-nh img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
    .page-nh__hero-content {
        margin-top: -80px;
    }

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

    .page-nh__section-title {
        font-size: 2em;
    }

    .page-nh__intro-section,
    .page-nh__benefits-section,
    .page-nh__promotions-section,
    .page-nh__conclusion-section,
    .page-nh__games-section,
    .page-nh__register-guide,
    .page-nh__faq-section {
        padding: 60px 0;
    }

    .page-nh__container {
        padding: 20px;
    }

    .page-nh__games-grid,
    .page-nh__benefits-list,
    .page-nh__steps-grid,
    .page-nh__promotions-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

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

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-nh__hero-section {
        padding-top: 10px !important;
    }
    .page-nh__hero-content {
        padding: 30px 15px;
        margin-top: -60px; /* Adjusted overlap */
    }
    .page-nh__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em) !important;
    }
    .page-nh__hero-description {
        font-size: 1em !important;
    }

    /* 其他内容模块 */
    .page-nh__intro-section,
    .page-nh__benefits-section,
    .page-nh__promotions-section,
    .page-nh__conclusion-section,
    .page-nh__games-section,
    .page-nh__register-guide,
    .page-nh__faq-section {
        padding: 40px 0 !important;
    }
    .page-nh__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-nh__section-title {
        font-size: 1.8em !important;
        margin-bottom: 20px !important;
    }
    .page-nh__section-description {
        font-size: 0.95em !important;
        margin-bottom: 30px !important;
    }

    /* 产品展示图区域 */
    .page-nh__games-grid {
        grid-template-columns: 1fr !important; /* Single column for games */
        gap: 20px !important;
        overflow-x: hidden !important;
    }
    .page-nh__game-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 15px !important;
    }
    .page-nh__game-image {
        height: auto !important;
        max-height: 250px !important; /* Limit height for aesthetic */
        min-width: 200px !important;
        min-height: 200px !important;
    }

    /* 通用图片与容器 */
    .page-nh img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important; /* Ensure minimum size */
        min-height: 200px !important;
    }
    .page-nh__image-content,
    .page-nh__promo-image {
        height: auto !important;
        max-height: 250px !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    /* 按钮与按钮容器 */
    .page-nh__cta-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow: hidden !important;
    }
    .page-nh__btn-primary,
    .page-nh__btn-secondary,
    .page-nh__btn-play,
    .page-nh a[class*="button"],
    .page-nh a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px !important;
        font-size: 1em !important;
    }

    /* FAQ */
    .page-nh__faq-question {
        font-size: 1em !important;
        padding: 15px !important;
    }
    .page-nh__faq-answer {
        padding: 0 15px 15px 15px !important;
    }

    /* General text readability */
    .page-nh {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }
}