:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --btn-button: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    --bg-card-bg: #17191F;
    --bg-background: #0D0E12;
    --text-main: #FFF3E6;
    --border-border: #A84F0C;
    --glow-glow: #FFB04D;
    --deep-orange: #D96800;
}

.page-nh {
    background-color: var(--bg-background);
    color: var(--text-main);
    line-height: 1.6;
    font-family: Arial, sans-serif; /* Roboto would be preferred but generic sans-serif is safer */
}

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

/* Hero Section */
.page-nh__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles main offset */
    padding-bottom: 50px;
    text-align: center;
    overflow: hidden; /* Ensure image doesn't overflow if larger than container */
}

.page-nh__hero-image-wrapper {
    width: 100%;
    margin-bottom: 20px; /* Space between image and text */
}

.page-nh__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-nh__hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.page-nh__hero-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Enhance readability */
}

.page-nh__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-nh__hero-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-nh__hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-nh__section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    padding-top: 50px;
}

.page-nh__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

/* Game Grid Section */
.page-nh__games-section {
    padding-bottom: 50px;
}

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

.page-nh__game-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-border); /* Add border */
}

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

.page-nh__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency in cards */
    object-fit: cover;
    margin-bottom: 15px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-nh__game-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    padding: 0 15px;
}

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

.page-nh__game-title a:hover {
    color: var(--glow-glow);
}

.page-nh__game-description {
    font-size: 0.95em;
    margin-bottom: 20px;
    padding: 0 15px;
}

.page-nh__game-button {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-nh__game-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-nh__view-all-button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-nh__view-all-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.page-nh__features-section {
    padding-bottom: 50px;
}

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

.page-nh__feature-card {
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-border);
}

.page-nh__feature-icon {
    width: 200px; /* Small icon size is forbidden, so these are content images */
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-nh__feature-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
}

.page-nh__feature-description {
    font-size: 1em;
}

/* Promotions Section */
.page-nh__promotions-section {
    padding-bottom: 50px;
}

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

.page-nh__promotions-image {
    flex: 1 1 45%; /* Adjust flex basis for responsiveness */
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-nh__promotions-text {
    flex: 1 1 45%;
    padding: 20px;
    border-radius: 12px;
    background-color: var(--bg-card-bg); /* Use card background for text block */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-border);
}

.page-nh__promotions-text p {
    font-size: 1.1em;
    margin-bottom: 25px;
}

.page-nh__promotions-button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-nh__promotions-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* How To Play Section */
.page-nh__how-to-play-section {
    padding-bottom: 50px;
}

.page-nh__how-to-play-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.page-nh__steps-list {
    flex: 1 1 45%;
    padding: 20px;
    border-radius: 12px;
    background-color: var(--bg-card-bg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-border);
}

.page-nh__step-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.page-nh__step-item:last-child {
    margin-bottom: 0;
}

.page-nh__step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2em;
    font-weight: 700;
    margin-right: 15px;
    flex-shrink: 0;
}

.page-nh__step-text {
    font-size: 1em;
    flex-grow: 1;
}

.page-nh__how-to-play-image {
    flex: 1 1 45%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

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

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

.page-nh__faq-item {
    background-color: var(--bg-card-bg);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-border);
}

.page-nh__faq-item:last-child {
    margin-bottom: 0;
}

.page-nh__faq-question {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
    cursor: pointer; /* Indicate interactivity for potential JS toggle */
}

.page-nh__faq-answer {
    font-size: 1em;
    line-height: 1.7;
    /* For JS toggle, this would be hidden by default */
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .page-nh__hero-title {
        font-size: clamp(2em, 5vw, 3em);
    }

    .page-nh__promotions-content,
    .page-nh__how-to-play-content {
        flex-direction: column;
    }

    .page-nh__promotions-image,
    .page-nh__promotions-text,
    .page-nh__steps-list,
    .page-nh__how-to-play-image {
        flex: 1 1 100%;
    }
}

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

    .page-nh__hero-section {
        padding-bottom: 30px;
    }

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

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

    .page-nh__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-nh__section-title {
        font-size: 2em;
        margin-bottom: 25px;
        padding-top: 30px;
    }

    .page-nh__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

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

    .page-nh__game-card,
    .page-nh__feature-card,
    .page-nh__promotions-text,
    .page-nh__steps-list,
    .page-nh__faq-item {
        padding: 20px;
    }

    /* Enforce mobile image responsiveness and min size */
    .page-nh__hero-image,
    .page-nh__game-image,
    .page-nh__feature-icon,
    .page-nh__promotions-image,
    .page-nh__how-to-play-image {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }

    /* Content area images must not be smaller than 200px */
    .page-nh img { /* This selector covers all images within .page-nh */
        min-width: 200px;
        min-height: 200px;
    }
    /* Specific overrides if needed, but general rule is better */
    .page-nh__game-image { height: auto; } /* Let height adjust to maintain aspect ratio */
}