/* style/nh.css */

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

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

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

.page-nh__section-title {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--page-nh-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-nh__text-block {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--page-nh-text-main);
}

.page-nh__text-color-dark {
    color: #333333; /* For sections with light background */
}

/* Hero Section */
.page-nh__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom for content */
    overflow: hidden;
}

.page-nh__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.7); /* Darken image for text readability */
}

.page-nh__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--page-nh-text-main);
    max-width: 900px;
    padding: 20px;
}

.page-nh__main-title {
    font-size: clamp(32px, 5vw, 56px);
    color: var(--page-nh-gold);
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-nh__hero-description {
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: 30px;
    line-height: 1.5;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    color: var(--page-nh-text-main);
}

.page-nh__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--page-nh-button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-nh__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-nh__cta-button--small {
    padding: 12px 25px;
    font-size: 16px;
}

/* Intro Section */
.page-nh__intro-section {
    padding: 60px 0;
    background-color: var(--page-nh-dark-bg);
}

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

.page-nh__light-bg {
    background-color: #ffffff;
    color: #333333;
}

/* Game Types Section */
.page-nh__game-types {
    padding: 60px 0;
}

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

.page-nh__card {
    background-color: var(--page-nh-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--page-nh-text-main);
    border: 1px solid var(--page-nh-border);
}

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

.page-nh__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-nh__card-title {
    font-size: 24px;
    color: var(--page-nh-gold);
    padding: 20px 20px 10px;
    font-weight: bold;
}

.page-nh__card-description {
    font-size: 15px;
    padding: 0 20px 20px;
    line-height: 1.6;
    color: var(--page-nh-text-secondary);
}

/* Guide Section */
.page-nh__guide-section {
    padding: 60px 0;
}

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

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

.page-nh__step-number {
    font-size: 48px;
    color: var(--page-nh-gold);
    font-weight: bold;
    margin-bottom: 15px;
    background: var(--page-nh-deep-green);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--page-nh-glow);
    box-shadow: 0 0 15px var(--page-nh-glow);
}

.page-nh__step-title {
    font-size: 22px;
    color: var(--page-nh-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

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

/* Promotions Section */
.page-nh__promotions-section {
    padding: 60px 0;
}

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

.page-nh__promo-card {
    background-color: var(--page-nh-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--page-nh-text-main);
    border: 1px solid var(--page-nh-border);
}

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

.page-nh__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-nh__promo-title {
    font-size: 22px;
    color: var(--page-nh-gold);
    padding: 20px 20px 10px;
    font-weight: bold;
}

.page-nh__promo-description {
    font-size: 15px;
    padding: 0 20px 20px;
    line-height: 1.6;
    color: var(--page-nh-text-secondary);
}

/* Features Section */
.page-nh__features-section {
    padding: 60px 0;
}

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

.page-nh__feature-item {
    background-color: var(--page-nh-card-bg);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--page-nh-border);
}

.page-nh__feature-title {
    font-size: 20px;
    color: var(--page-nh-gold);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-nh__feature-description {
    font-size: 15px;
    color: var(--page-nh-text-secondary);
    line-height: 1.6;
}

.page-nh__feature-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    margin-top: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-nh-border);
}

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

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

.page-nh__faq-item {
    background-color: var(--page-nh-card-bg);
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid var(--page-nh-border);
    overflow: hidden;
    color: var(--page-nh-text-main);
}

.page-nh__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    background-color: var(--page-nh-deep-green);
    color: var(--page-nh-gold);
    border-bottom: 1px solid var(--page-nh-divider);
    list-style: none; /* For <details> tag */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

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

.page-nh__faq-toggle {
    font-size: 24px;
    line-height: 1;
    margin-left: 15px;
}

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

/* CTA Section */
.page-nh__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--page-nh-background);
}

/* Global image styles for content area */
.page-nh img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-nh__hero-content {
        padding: 15px;
    }
    .page-nh__main-title {
        font-size: clamp(30px, 4.5vw, 48px);
    }
    .page-nh__hero-description {
        font-size: clamp(15px, 1.8vw, 18px);
    }
    .page-nh__section-title {
        font-size: clamp(26px, 3.5vw, 38px);
    }
    .page-nh__card-title {
        font-size: 22px;
    }
    .page-nh__step-title {
        font-size: 20px;
    }
    .page-nh__promo-title {
        font-size: 20px;
    }
    .page-nh__feature-title {
        font-size: 18px;
    }
    .page-nh__faq-question {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .page-nh__container {
        padding: 0 15px;
    }
    .page-nh__hero-section {
        min-height: 400px;
        padding: 10px 0 40px 0;
    }
    .page-nh__hero-content {
        padding: 10px;
    }
    .page-nh__main-title {
        font-size: clamp(28px, 6vw, 40px);
    }
    .page-nh__hero-description {
        font-size: clamp(14px, 2.5vw, 16px);
    }
    .page-nh__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-nh__section-title {
        font-size: clamp(24px, 5vw, 32px);
        margin-bottom: 30px;
    }
    .page-nh__card-grid, .page-nh__steps, .page-nh__promo-grid, .page-nh__feature-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-nh__card-image, .page-nh__promo-image {
        height: 180px;
    }
    .page-nh__card, .page-nh__step-item, .page-nh__promo-card, .page-nh__feature-item {
        padding: 20px;
    }
    .page-nh__step-number {
        width: 70px;
        height: 70px;
        font-size: 40px;
    }
    .page-nh__text-block, .page-nh__card-description, .page-nh__step-description, .page-nh__promo-description, .page-nh__feature-description, .page-nh__faq-answer p {
        font-size: 14px;
    }
    .page-nh__faq-question {
        font-size: 16px;
        padding: 15px;
    }
    .page-nh__faq-toggle {
        font-size: 20px;
    }

    /* Mobile specific overrides for images, videos, buttons */
    .page-nh img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-nh__hero-section, .page-nh__intro-section, .page-nh__game-types, .page-nh__guide-section, .page-nh__promotions-section, .page-nh__features-section, .page-nh__faq-section, .page-nh__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-nh__cta-button, .page-nh__cta-button--small {
        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;
    }
    .page-nh__step-item .page-nh__cta-button--small {
        max-width: fit-content !important;
        width: auto !important;
        margin-left: auto;
        margin-right: auto;
    }
    /* Ensure containers for buttons also respond */
    .page-nh__cta-section > .page-nh__container {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .page-nh__main-title {
        font-size: clamp(26px, 7vw, 36px);
    }
    .page-nh__hero-description {
        font-size: clamp(14px, 3vw, 15px);
    }
    .page-nh__section-title {
        font-size: clamp(22px, 6vw, 28px);
    }
    .page-nh__cta-button {
        font-size: 15px;
    }
    .page-nh__step-number {
        width: 60px;
        height: 60px;
        font-size: 36px;
    }
}