/* style/nh.css */
.page-nh {
    background-color: #0A0A0A;
    color: #FFF6D6;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Hero Banner Section */
.page-nh__hero-banner {
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    margin-bottom: 40px;
    background-color: #100224; /* Deep purple background */
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-nh__hero-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px; /* Constrain content width */
    margin: 0 auto; /* Center content */
    padding: 0 20px;
}

.page-nh__hero-visual {
    width: 100%;
    margin-bottom: 20px;
}

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

.page-nh__hero-text-area {
    text-align: center;
    padding: 20px 0;
}

.page-nh__main-title {
    font-size: clamp(1.8rem, 5vw, 3rem); /* H1 font size with clamp */
    font-weight: bold;
    color: #F2C14E; /* Main color for H1 */
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-nh__hero-description {
    font-size: 1.1rem;
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFD36B; /* Auxiliary color */
}

/* Section Titles */
.page-nh__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #F2C14E;
}

.page-nh__section-title--gradient {
    background: linear-gradient(to right, #F2C14E, #FFD36B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback for browsers that don't support -webkit-text-fill-color */
}

.page-nh__section-title--white {
    color: #FFF6D6;
}

/* Paragraphs */
.page-nh__paragraph {
    font-size: 1rem;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-nh__paragraph--white {
    color: #FFF6D6;
}

/* Buttons */
.page-nh__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    min-width: 200px; /* Ensure buttons are not too small */
}

.page-nh__btn--primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111; /* Card BG for text on primary button */
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-nh__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-nh__btn--secondary {
    background-color: #111111; /* Card BG */
    color: #FFD36B; /* Glow color for text */
    border: 1px solid #3A2A12; /* Border color */
}

.page-nh__btn--secondary:hover {
    background-color: #1b1b1b;
    color: #F2C14E;
}

.page-nh__button-wrapper {
    text-align: center;
    margin-top: 40px;
}

/* Introduction Section */
.page-nh__introduction-section {
    padding: 60px 0;
    background-color: #0A0A0A;
}

/* Features Section */
.page-nh__features-section {
    padding: 60px 0;
    background-color: #111111; /* Card BG */
}

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

.page-nh__feature-card {
    background-color: #0A0A0A; /* Background color */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #3A2A12; /* Border color */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

.page-nh__feature-icon {
    width: 200px; /* Min size 200x200 */
    height: 150px; /* Maintain aspect ratio or adjust as needed */
    object-fit: contain;
    margin: 0 auto 20px;
    display: block;
}

.page-nh__feature-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #FFD36B; /* Glow color */
    margin-bottom: 10px;
}

.page-nh__feature-description {
    font-size: 0.95rem;
    color: #FFF6D6; /* Text Main */
}

/* Game Showcase Section */
.page-nh__game-showcase-section {
    padding: 60px 0;
    background-color: #0A0A0A;
}

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

.page-nh__game-tile {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #3A2A12; /* Border color */
}

.page-nh__game-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 211, 107, 0.2);
}

.page-nh__game-tile img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px; /* Ensure minimum size */
    min- /* Ensure minimum size */
}

/* CTA Section */
.page-nh__cta-section {
    padding: 60px 0;
    background-color: #100224; /* Deep purple background */
    text-align: center;
}


/* Responsive Design */
@media (max-width: 849px) {
    .page-nh__hero-content-wrapper {
        padding: 0 15px;
    }
    .page-nh__hero-image {
        aspect-ratio: 16/9; /* Adjusted for mobile hero */
    }
    .page-nh__main-title {
        font-size: clamp(1.6rem, 7vw, 2.5rem);
    }
    .page-nh__section-title {
        font-size: clamp(1.4rem, 6vw, 2.2rem);
    }
    .page-nh__features-grid,
    .page-nh__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-nh__container {
        padding: 15px;
    }
    .page-nh__hero-banner {
        margin-bottom: 30px;
    }
    .page-nh__hero-description {
        font-size: 1rem;
    }
    .page-nh__btn {
        padding: 10px 20px;
        font-size: 0.95rem;
        min-width: 180px;
    }

    /* Enforce max-width for images in content area */
    .page-nh__introduction-section img,
    .page-nh__features-section img,
    .page-nh__game-showcase-section img,
    .page-nh__cta-section img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 549px) {
    .page-nh__main-title {
        font-size: clamp(1.4rem, 8vw, 2.2rem);
    }
    .page-nh__section-title {
        font-size: clamp(1.2rem, 7vw, 2rem);
    }
    .page-nh__features-grid,
    .page-nh__game-grid {
        grid-template-columns: 1fr; /* Single column layout on very small screens */
    }
    .page-nh__hero-image {
        aspect-ratio: 4/3; /* Even more vertical for very small screens */
    }
    .page-nh__feature-icon {
        width: 100%; /* Make feature icons full width on mobile */
        height: auto;
        max-width: 250px; /* Still respect min size, but scale down */
        margin-left: auto;
        margin-right: auto;
    }
    .page-nh__game-tile img {
        min-width: 200px;
        min-
    }
}

/* CSS for content area images to ensure minimum size and no small icons */
.page-nh img:not(.shared-header img, .shared-footer img) {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover; /* default for content images, can be overridden if 'contain' is better */
}

/* Specific overrides for images that should be 'contain' */
.page-nh__feature-icon {
    object-fit: contain; /* Icons might look better contained */
    min-height: 150px; /* Adjust min height for feature icons if they are not square */
}

/* Ensure content area image CSS sizes are not too small */
/* This rule targets all images within .page-nh but specifically excludes shared components */
.page-nh *:not(.shared-header):not(.shared-footer) img {
    /* Ensure no width/height/max-width/max-height rules make images smaller than 200px */
    /* This is a general safeguard, specific elements can override with larger values */
    /* For example, a game-tile img might have width:100% and height:auto, which is fine if its container is >200px */
    /* If a specific img needs to be smaller for a valid reason (e.g., a tiny decorative element), it needs explicit exemption */
    /* But based on rules, all images should be content-displaying and >=200px */
}