/* style/nh.css */
.page-nh {
    font-family: Arial, sans-serif;
    color: #FFF6D6; /* Text Main */
    background-color: #0A0A0A; /* Background */
}

.page-nh__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding as body handles main offset */
    padding-bottom: 60px;
    background-color: #0A0A0A;
    overflow: hidden;
}

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

.page-nh__hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 900px;
    margin: 0 auto 40px;
}

.page-nh__hero-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    color: #F2C14E;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.6);
}

.page-nh__hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #FFF6D6;
    margin-bottom: 30px;
}

.page-nh__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-nh__btn-primary,
.page-nh__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-nh__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111; /* Dark text for bright button */
    border: none;
}

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

.page-nh__btn-secondary {
    background: transparent;
    color: #F2C14E;
    border: 2px solid #F2C14E;
}

.page-nh__btn-secondary:hover {
    background: #F2C14E;
    color: #111111;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

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

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

.page-nh__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #F2C14E;
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 0 0 8px rgba(255, 211, 107, 0.4);
}

.page-nh__section-description {
    font-size: 1.1rem;
    color: #FFF6D6;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.page-nh__about-slots .page-nh__content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-nh__about-slots .page-nh__text-block {
    flex: 1;
}

.page-nh__about-slots .page-nh__text-block p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #FFF6D6;
}

.page-nh__image-content {
    flex: 1;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.page-nh__dark-section {
    background-color: #111111; /* Card BG */
}

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

.page-nh__feature-card,
.page-nh__card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-nh__feature-card:hover,
.page-nh__game-card:hover,
.page-nh__promo-card:hover,
.page-nh__step-card:hover,
.page-nh__reason-card:hover,
.page-nh__faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-nh__feature-icon {
    width: 100%;
    height: auto;
    max-width: 150px;
    margin: 0 auto 20px;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-nh__feature-title {
    font-size: 1.5rem;
    color: #F2C14E;
    margin-bottom: 15px;
}

.page-nh__feature-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #FFF6D6;
}

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

.page-nh__game-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-nh__game-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.page-nh__game-title a {
    color: #F2C14E;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-nh__game-title a:hover {
    color: #FFD36B;
}

.page-nh__game-description {
    font-size: 1rem;
    color: #FFF6D6;
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-nh__btn-play {
    display: inline-block;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: opacity 0.3s ease;
}

.page-nh__btn-play:hover {
    opacity: 0.9;
}

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

.page-nh__promo-title {
    font-size: 1.5rem;
    color: #F2C14E;
    margin-bottom: 10px;
}

.page-nh__promo-text {
    font-size: 1rem;
    color: #FFF6D6;
    line-height: 1.6;
}

.page-nh__cta-buttons {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

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

.page-nh__step-icon {
    width: 100%;
    height: auto;
    max-width: 120px;
    margin: 0 auto 20px;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-nh__step-title {
    font-size: 1.5rem;
    color: #F2C14E;
    margin-bottom: 10px;
}

.page-nh__step-text {
    font-size: 1rem;
    color: #FFF6D6;
    line-height: 1.6;
}

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

.page-nh__reason-title {
    font-size: 1.5rem;
    color: #F2C14E;
    margin-bottom: 10px;
}

.page-nh__reason-text {
    font-size: 1rem;
    color: #FFF6D6;
    line-height: 1.6;
}

.page-nh__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.page-nh__faq-item {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 8px;
    padding: 20px 30px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.page-nh__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #F2C14E;
    padding: 0;
    outline: none;
}

.page-nh__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-nh__faq-item[open] .page-nh__faq-toggle {
    content: "−";
}

.page-nh__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.page-nh__faq-toggle {
    font-size: 1.5rem;
    margin-left: 15px;
    color: #F2C14E;
    transition: transform 0.3s ease;
}

.page-nh__faq-item[open] .page-nh__faq-toggle {
    transform: rotate(45deg); /* Change to X or similar */
}

.page-nh__faq-answer {
    padding-top: 15px;
    font-size: 1rem;
    line-height: 1.7;
    color: #FFF6D6;
}

.page-nh__cta-final .page-nh__btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
    margin-top: 30px;
}

.page-nh__text-center {
    text-align: center;
}

/* General image and container responsive styles */
.page-nh img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .page-nh {
        font-size: 16px;
        line-height: 1.6;
    }

    /* HERO 主图区域 */
    .page-nh__hero-section {
        flex-direction: column;
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 40px;
    }

    .page-nh__hero-content {
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .page-nh__hero-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }

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

    .page-nh__hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    /* 产品展示图区域, 通用图片与容器 */
    .page-nh__container,
    .page-nh__section-spacing {
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .page-nh__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .page-nh__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .page-nh__about-slots .page-nh__content-grid {
        flex-direction: column;
        gap: 30px;
    }

    .page-nh__features-grid,
    .page-nh__games-grid,
    .page-nh__promo-grid,
    .page-nh__steps-grid,
    .page-nh__reasons-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-nh__feature-card,
    .page-nh__game-card,
    .page-nh__promo-card,
    .page-nh__step-card,
    .page-nh__reason-card,
    .page-nh__faq-item,
    .page-nh__card {
        padding: 20px;
        box-sizing: border-box !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .page-nh img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* 按钮与按钮容器 */
    .page-nh__cta-button,
    .page-nh__btn-primary,
    .page-nh__btn-secondary,
    .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-left: 15px;
        padding-right: 15px;
        text-align: center;
    }
    
    .page-nh__cta-buttons,
    .page-nh__button-group,
    .page-nh__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column;
    }

    /* 其他内容模块 */
    .page-nh__feature-icon,
    .page-nh__step-icon {
        max-width: 100px;
    }

    .page-nh__faq-item summary {
        font-size: 1.1rem;
    }

    .page-nh__faq-answer {
        font-size: 0.95rem;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .page-nh__container {
        padding: 0 30px;
    }

    .page-nh__hero-title {
        font-size: 3rem;
    }

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

    .page-nh__hero-buttons {
        gap: 15px;
    }

    .page-nh__about-slots .page-nh__content-grid {
        flex-direction: column;
    }

    .page-nh__image-content {
        max-width: 80%;
    }
}