/* style/nh.css */

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

.page-nh {
    font-family: Arial, sans-serif;
    color: var(--text-main); /* Default text color for the page, assuming dark body bg */
    background-color: var(--bg-dark); /* Ensure consistency if body background is overridden */
}

.page-nh__dark-bg {
    background-color: var(--bg-dark);
    color: var(--text-main);
}

.page-nh__card-bg {
    background-color: var(--bg-card);
    color: var(--text-secondary);
}

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

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

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

/* Hero Section */
.page-nh__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
}

.page-nh__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-bottom: 30px;
}

.page-nh__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--text-main);
}

.page-nh__hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

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

.page-nh__hero-image {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 30px var(--glow-color);
    margin-top: 30px;
}

/* Buttons */
.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; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-nh__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

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

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

.page-nh__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--text-main);
    transform: translateY(-2px);
}

.page-nh__cta-center {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Sections */
.page-nh__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-main);
}

.page-nh__section-description {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: var(--text-secondary);
}

.page-nh__sub-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-main);
}

/* Intro Section */
.page-nh__intro-section {
    padding: 80px 0;
}

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

.page-nh__intro-text {
    flex: 1;
}

.page-nh__intro-text p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.page-nh__intro-image {
    flex: 1;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Game Types Section */
.page-nh__game-types-section {
    padding: 80px 0;
    text-align: center;
}

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

.page-nh__game-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-nh__game-card:hover {
    transform: translateY(-5px);
}

.page-nh__game-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-nh__game-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-main);
}

.page-nh__game-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Tips Section */
.page-nh__tips-section {
    padding: 80px 0;
}

.page-nh__tips-grid {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.page-nh__tips-image {
    flex: 1;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-nh__tips-list {
    flex: 1;
    list-style: none;
    padding: 0;
}

.page-nh__tips-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    line-height: 1.7;
}

.page-nh__tips-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
}

.page-nh__tips-footer {
    margin-top: 40px;
    text-align: center;
    font-style: italic;
}

/* Promotions Section */
.page-nh__promotions-section {
    padding: 80px 0;
    text-align: center;
}

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

.page-nh__promo-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: left;
    transition: transform 0.3s ease;
}

.page-nh__promo-card:hover {
    transform: translateY(-5px);
}

.page-nh__promo-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-main);
}

.page-nh__promo-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Register Section */
.page-nh__register-section {
    padding: 80px 0;
    text-align: center;
}

.page-nh__register-steps {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-nh__register-steps li {
    background-color: var(--bg-card);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
    padding-left: 50px;
}

.page-nh__register-steps li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: var(--text-main);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

/* Download Section */
.page-nh__download-section {
    padding: 80px 0;
    text-align: center;
}

.page-nh__download-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-nh__download-image {
    flex: 1;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-nh__download-text {
    flex: 1;
    text-align: left;
}

.page-nh__download-text ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-nh__download-text ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.page-nh__download-text ul li::before {
    content: '📱'; /* Example icon */
    position: absolute;
    left: 0;
    top: 0;
}

/* FAQ Section */
.page-nh__faq-section {
    padding: 80px 0;
}

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

.page-nh__faq-item {
    background-color: var(--bg-card);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-nh__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    background-color: var(--divider-color);
    border-bottom: 1px solid var(--border-color);
}

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

.page-nh__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--text-main);
}

.page-nh__faq-item[open] .page-nh__faq-question {
    border-bottom: 1px solid var(--border-color);
}

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

.page-nh__faq-answer {
    padding: 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Remove default details marker */
.page-nh__faq-item > summary {
    list-style: none;
}

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

/* Conclusion Section */
.page-nh__conclusion-section {
    padding: 80px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-nh__hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .page-nh__intro-grid, .page-nh__download-content {
        flex-direction: column;
    }

    .page-nh__tips-grid {
        flex-direction: column-reverse; /* Image below text on smaller screens */
    }

    .page-nh__intro-image, .page-nh__download-image, .page-nh__tips-image {
        max-width: 100%;
    }

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

@media (max-width: 768px) {
    .page-nh__container {
        padding: 15px;
    }

    .page-nh__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles header offset */
    }

    .page-nh__hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .page-nh__hero-description {
        font-size: 1rem;
    }

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

    .page-nh__btn-primary, .page-nh__btn-secondary {
        width: 100% !important;
        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__cta-center {
        flex-direction: column;
        gap: 15px;
    }

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

    .page-nh__section-description {
        font-size: 0.95rem;
    }

    .page-nh__sub-title {
        font-size: 1.5rem;
    }

    .page-nh__game-card, .page-nh__promo-card {
        padding: 20px;
    }

    .page-nh__game-title, .page-nh__promo-title {
        font-size: 1.4rem;
    }

    .page-nh__game-description, .page-nh__promo-desc {
        font-size: 0.9rem;
    }

    .page-nh__faq-question {
        font-size: 1.1rem;
        padding: 15px;
    }

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

    /* Mobile image and video responsiveness */
    .page-nh img, .page-nh video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-nh__section, .page-nh__card, .page-nh__container, .page-nh__video-section,
    .page-nh__video-container, .page-nh__video-wrapper, .page-nh__cta-buttons,
    .page-nh__button-group, .page-nh__btn-container, .page-nh__download-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-nh__tips-grid, .page-nh__intro-grid {
        gap: 20px;
    }
}