/* General styling for .page-nh scope */
.page-nh {
    background-color: #08162B; /* Deep Navy as main background */
    color: #F3F8FF; /* Text Main */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Add some padding at the bottom */
}

.page-nh__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #F3F8FF;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
    font-weight: bold;
}

.page-nh__section-description {
    font-size: 1.1rem;
    color: #AFC4E8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    padding: 0 15px;
}

.page-nh__cta-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: #F3F8FF;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.page-nh__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(43, 115, 246, 0.4);
}

.page-nh__cta-button--centered {
    display: block;
    margin: 40px auto 20px auto;
    width: fit-content;
}

/* Hero Section */
.page-nh__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #113B7A; /* Primary color for hero background */
    overflow: hidden; /* Ensure no image overflow */
}

.page-nh__hero-content-wrapper {
    display: flex;
    flex-direction: column; /* Default to column for mobile first, will be row on desktop */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    gap: 30px;
}

.page-nh__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    aspect-ratio: 16/9; /* Maintain aspect ratio */
}

.page-nh__hero-text {
    text-align: center;
    max-width: 700px;
}

.page-nh__main-title {
    font-size: clamp(2rem, 5vw, 3rem); /* Clamp for responsive H1 */
    color: #F3F8FF;
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 700;
}

.page-nh__hero-description {
    font-size: 1.15rem;
    color: #AFC4E8;
    margin-bottom: 30px;
}

/* Why Choose Section */
.page-nh__why-choose-section {
    padding: 60px 20px;
    background-color: #08162B;
}

.page-nh__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-nh__benefit-item {
    background-color: #10233F; /* Card BG */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #244D84; /* Border color */
}

.page-nh__benefit-icon {
    width: 100%; /* Ensure image fills card */
    max-width: 250px; /* Max width for benefit icons */
    height: auto;
    min-height: 200px; /* Min size requirement */
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 8px;
    object-fit: cover;
}

.page-nh__benefit-title {
    font-size: 1.5rem;
    color: #F2C14E; /* Gold */
    margin-bottom: 10px;
    font-weight: 600;
}

.page-nh__benefit-description {
    font-size: 1rem;
    color: #AFC4E8;
}

/* Popular Games Section */
.page-nh__popular-games-section {
    padding: 60px 20px;
    background-color: #08162B;
}

.page-nh__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-nh__game-card {
    display: block;
    background-color: #10233F; /* Card BG */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #244D84; /* Border color */
}

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

.page-nh__game-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 3/2; /* Common aspect ratio for game cards */
    min-height: 200px; /* Min size requirement */
}

/* How to Play Section */
.page-nh__how-to-play-section {
    padding: 60px 20px;
    background-color: #113B7A; /* Primary color */
}

.page-nh__steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.page-nh__step-item {
    background-color: #10233F; /* Card BG */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #244D84; /* Border color */
    position: relative;
}

.page-nh__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #1D5FD1; /* Auxiliary color */
    color: #F3F8FF;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 0 0 5px rgba(29, 95, 209, 0.3);
}

.page-nh__step-title {
    font-size: 1.4rem;
    color: #F2C14E; /* Gold */
    margin-bottom: 10px;
    font-weight: 600;
}

.page-nh__step-description {
    font-size: 1rem;
    color: #AFC4E8;
}

/* Promotions Section */
.page-nh__promotions-section {
    padding: 60px 20px;
    background-color: #08162B;
}

.page-nh__promo-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #10233F; /* Card BG */
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #244D84;
}

.page-nh__promo-image {
    width: 100%;
    max-width: 800px; /* Max width for promo image */
    height: auto;
    min-height: 200px; /* Min size requirement */
    display: block;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.page-nh__promo-text {
    text-align: center;
}

.page-nh__promo-description {
    font-size: 1.1rem;
    color: #AFC4E8;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsible Gaming Section */
.page-nh__responsible-gaming-section {
    padding: 60px 20px;
    background-color: #113B7A;
}

/* FAQ Section */
.page-nh__faq-section {
    padding: 60px 20px;
    background-color: #08162B;
}

.page-nh__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-nh__faq-item {
    background-color: #10233F; /* Card BG */
    border: 1px solid #244D84; /* Border color */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-nh__faq-question {
    font-size: 1.3rem;
    color: #F3F8FF;
    padding: 20px 25px;
    cursor: pointer;
    margin: 0;
    position: relative;
    background-color: #1D5FD1; /* Auxiliary color for question background */
    font-weight: 600;
}

.page-nh__faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.page-nh__faq-item.active .page-nh__faq-question::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-nh__faq-answer {
    font-size: 1rem;
    color: #AFC4E8;
    padding: 0 25px 20px 25px;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background-color: #10233F; /* Card BG for answer */
}

.page-nh__faq-item.active .page-nh__faq-answer {
    max-height: 200px; /* Adjust as needed for content */
    padding-top: 15px;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .page-nh__hero-content-wrapper {
        flex-direction: row;
        text-align: left;
        padding: 40px 20px;
    }

    .page-nh__hero-image {
        width: 60%;
        max-width: 700px;
    }

    .page-nh__hero-text {
        text-align: left;
        max-width: 500px;
    }

    .page-nh__main-title {
        text-align: left;
    }

    .page-nh__hero-description {
        text-align: left;
    }

    .page-nh__cta-button {
        margin: 0;
    }

    .page-nh__promo-content {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        padding: 50px;
    }

    .page-nh__promo-image {
        width: 50%;
        margin-right: 30px;
    }

    .page-nh__promo-text {
        text-align: left;
    }

    .page-nh__promo-description {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .page-nh__hero-image,
    .page-nh__benefit-icon,
    .page-nh__game-image,
    .page-nh__promo-image {
        max-width: 100%;
        height: auto;
        display: block;
        /* Enforce image responsiveness for content area images */
        max-width: 100% !important;
        height: auto !important;
        min-height: 200px; /* Ensure minimum height */
    }

    .page-nh__main-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}

/* Ensure all images in .page-nh scope meet min-size requirement */
.page-nh img {
    min-width: 200px;
    min-height: 200px;
}