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

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

.page-nh__section {
    padding: 60px 20px;
    position: relative;
}

.page-nh__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

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

.page-nh__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

.page-nh__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for aesthetic */
    overflow: hidden;
    margin-bottom: 30px;
}

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

.page-nh__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 15px;
}

.page-nh__hero-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 font size */
    font-weight: 900;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

.page-nh__hero-description {
    font-size: 1.2em;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-nh__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-nh__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
    opacity: 0.9;
}

.page-nh__btn-secondary {
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.page-nh__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
    background: var(--primary-color);
    color: #ffffff;
}

.page-nh__btn-small {
    padding: 10px 20px;
    font-size: 1em;
}

/* Intro Section */
.page-nh__intro-section {
    background-color: var(--background-color);
    padding-bottom: 20px;
}

/* Why Choose Section */
.page-nh__why-choose-section {
    background-color: var(--card-bg); /* Dark background for this section */
    color: var(--text-main);
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-nh__why-choose-section .page-nh__section-title {
    color: var(--gold-color);
}

.page-nh__why-choose-section .page-nh__section-text {
    color: var(--text-secondary);
}

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

.page-nh__feature-card {
    background-color: var(--deep-green);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.page-nh__feature-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-nh__feature-title {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-nh__feature-description {
    font-size: 1em;
    color: var(--text-secondary);
}

/* Guide Section */
.page-nh__guide-section {
    background-color: var(--background-color);
}

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

.page-nh__guide-step {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-nh__step-title {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-nh__step-description {
    font-size: 0.95em;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Game Types Section */
.page-nh__game-types-section {
    background-color: var(--card-bg);
    color: var(--text-main);
}

.page-nh__game-types-section .page-nh__section-title {
    color: var(--gold-color);
}

.page-nh__game-types-section .page-nh__section-text {
    color: var(--text-secondary);
}

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

.page-nh__game-card {
    background-color: var(--deep-green);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    text-align: center;
}

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

.page-nh__game-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-nh__game-title {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-nh__game-description {
    font-size: 0.9em;
    color: var(--text-secondary);
}

/* Promotions Section */
.page-nh__promotions-section {
    background-color: var(--background-color);
}

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

.page-nh__promo-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    text-align: center;
}

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

.page-nh__promo-image {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-nh__promo-title {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-nh__promo-description {
    font-size: 0.9em;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-nh__cta-bottom {
    text-align: center;
    margin-top: 50px;
}

/* Tips Section */
.page-nh__tips-section {
    background-color: var(--card-bg);
    color: var(--text-main);
}

.page-nh__tips-section .page-nh__section-title {
    color: var(--gold-color);
}

.page-nh__tips-section .page-nh__section-text {
    color: var(--text-secondary);
}

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

.page-nh__tip-item {
    background-color: var(--deep-green);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-nh__tip-title {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-nh__tip-description {
    font-size: 1em;
    color: var(--text-secondary);
}

/* FAQ Section */
.page-nh__faq-section {
    background-color: var(--background-color);
}

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

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

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

.page-nh__faq-question::-webkit-details-marker, /* Hide default marker for Chrome/Safari */
.page-nh__faq-question::marker { /* Hide default marker for Firefox */
    display: none;
}

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

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

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

.page-nh__faq-answer p {
    margin-bottom: 15px;
}

.page-nh__faq-answer .page-nh__btn-primary,
.page-nh__faq-answer .page-nh__btn-secondary {
    margin-top: 10px;
    margin-right: 10px;
}

/* Conclusion Section */
.page-nh__conclusion-section {
    background-color: var(--background-color);
    padding-bottom: 80px;
}

.page-nh__conclusion-section .page-nh__section-title {
    color: var(--gold-color);
}

.page-nh__conclusion-section .page-nh__section-text {
    color: var(--text-secondary);
}

/* General Image Styling */
.page-nh img {
    max-width: 100%;
    height: auto;
    display: block; /* Ensures proper display for responsiveness */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-nh__section-title {
        font-size: 2em;
    }
    .page-nh__hero-title {
        font-size: clamp(2em, 4vw, 3em);
    }
    .page-nh__hero-description {
        font-size: 1.1em;
    }
    .page-nh__features-grid,
    .page-nh__guide-steps,
    .page-nh__game-cards-grid,
    .page-nh__promotions-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-nh__section {
        padding: 40px 15px;
    }
    .page-nh__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-nh__section-text {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-nh__hero-section {
        padding-bottom: 40px;
    }
    .page-nh__hero-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 15px;
    }
    .page-nh__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-nh__cta-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: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Ensure all images are responsive */
    .page-nh img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* All containers that might hold images/videos/buttons */
    .page-nh__section,
    .page-nh__container,
    .page-nh__card,
    .page-nh__hero-image-wrapper,
    .page-nh__cta-buttons,
    .page-nh__features-grid,
    .page-nh__guide-steps,
    .page-nh__game-cards-grid,
    .page-nh__promotions-grid,
    .page-nh__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    .page-nh__hero-section {
        padding-top: 10px !important; /* body handles --header-offset, this is for aesthetic */
    }
    
    .page-nh__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-nh__faq-answer {
        padding: 15px 20px;
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .page-nh__section-title {
        font-size: 1.5em;
    }
    .page-nh__hero-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }
    .page-nh__feature-title,
    .page-nh__step-title,
    .page-nh__game-title,
    .page-nh__promo-title,
    .page-nh__tip-title {
        font-size: 1.2em;
    }
}