/* style/nh.css */
/* body 已 padding-top: var(--header-offset)；页面禁止再写该变量 */

:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

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

.page-nh__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 60px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--color-background);
}

.page-nh__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

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

.page-nh__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 0 20px;
    color: var(--color-text-main);
}

.page-nh__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: bold;
    color: var(--color-gold);
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.7);
}

.page-nh__hero-description {
    font-size: 1.1em;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    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__btn-primary, .page-nh__btn-secondary {
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.page-nh__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid var(--color-glow);
    box-shadow: 0 0 15px var(--color-glow);
}

.page-nh__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px var(--color-glow);
    opacity: 0.9;
}

.page-nh__btn-secondary {
    background-color: transparent;
    color: var(--color-glow);
    border: 2px solid var(--color-glow);
}

.page-nh__btn-secondary:hover {
    transform: translateY(-3px);
    background-color: var(--color-glow);
    color: var(--color-background);
    box-shadow: 0 0 10px var(--color-glow);
}

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

.page-nh__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-gold);
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.5);
}

.page-nh__text-block {
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--color-text-secondary);
}

.page-nh__introduction-section,
.page-nh__how-to-play-section,
.page-nh__bonuses-section {
    padding: 60px 0;
    background-color: var(--color-background);
    color: var(--color-text-main);
}

.page-nh__dark-section {
    background-color: var(--color-card-bg);
    padding: 60px 0;
    color: var(--color-text-main);
}

.page-nh__text-main {
    color: var(--color-text-main);
}

.page-nh__text-secondary {
    color: var(--color-text-secondary);
}

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

.page-nh__feature-card,
.page-nh__game-card {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

.page-nh__card-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--color-gold);
}

.page-nh__steps-list,
.page-nh__bonuses-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-nh__list-item {
    background-color: var(--color-card-bg);
    border-left: 5px solid var(--color-primary);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-nh__list-item strong {
    color: var(--color-text-main);
}

.page-nh__list-item a {
    color: var(--color-glow);
    text-decoration: none;
    font-weight: bold;
}

.page-nh__list-item a:hover {
    text-decoration: underline;
}

.page-nh__play-button {
    margin-top: 20px;
    width: 100%;
}

.page-nh__view-all-cta {
    text-align: center;
    margin-top: 50px;
}

.page-nh__faq-section {
    padding: 60px 0;
    background-color: var(--color-background);
}

.page-nh__faq-list {
    margin-top: 40px;
}

.page-nh__faq-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    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: 20px 25px;
    cursor: pointer;
    list-style: none;
    outline: none;
    color: var(--color-text-main);
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

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

.page-nh__faq-item summary:hover {
    background-color: var(--color-deep-green);
}

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

.page-nh__faq-qtext {
    flex-grow: 1;
    color: var(--color-text-main);
}

.page-nh__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--color-glow);
}

.page-nh__faq-answer {
    padding: 15px 25px 20px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-size: 1em;
    border-top: 1px solid var(--color-divider);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-nh__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-nh__section-title {
        font-size: 2em;
    }
    .page-nh__hero-image {
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    .page-nh__hero-section {
        padding-bottom: 40px;
    }
    .page-nh__hero-content {
        padding: 0 15px;
    }
    .page-nh__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }
    .page-nh__hero-description {
        font-size: 1em;
    }
    .page-nh__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-nh__btn-primary, .page-nh__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-nh__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-nh__introduction-section,
    .page-nh__how-to-play-section,
    .page-nh__bonuses-section,
    .page-nh__dark-section,
    .page-nh__faq-section {
        padding: 40px 0;
    }
    .page-nh__container {
        padding: 0 15px;
    }
    .page-nh__features-grid,
    .page-nh__games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-nh__feature-icon,
    .page-nh__game-thumbnail {
        height: 180px;
    }
    .page-nh__faq-item summary {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-nh__faq-answer {
        padding: 10px 20px 15px;
    }
    /* Mobile image responsiveness */
    .page-nh img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-nh__section,
    .page-nh__card,
    .page-nh__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
     .page-nh__hero-section {
        padding-top: 10px !important;
    }
}

@media (max-width: 480px) {
    .page-nh__main-title {
        font-size: clamp(1.5em, 8vw, 2.2em);
    }
    .page-nh__section-title {
        font-size: 1.6em;
    }
    .page-nh__hero-image {
        max-height: 300px;
    }
    .page-nh__feature-card,
    .page-nh__game-card {
        padding: 20px;
    }
    .page-nh__card-title {
        font-size: 1.3em;
    }
    .page-nh__feature-icon,
    .page-nh__game-thumbnail {
        height: 150px;
    }
}