/* style/nh.css */

:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --bg-dark: #0A0A0A;
    --card-bg: #111111;
    --text-main: #FFF6D6;
    --border-color: #3A2A12;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --glow-color: #FFD36B;
}

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

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

.page-nh__section-title {
    font-size: 36px;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-nh__text-block {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--text-main);
}

.page-nh__highlight {
    color: var(--secondary-color);
    font-weight: bold;
}

.page-nh__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Button styles */
.page-nh__cta-button,
.page-nh__secondary-button {
    display: inline-block;
    padding: 15px 40px;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
}

.page-nh__cta-button {
    background: var(--button-gradient);
    color: #000;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-nh__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-nh__secondary-button {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-nh__secondary-button:hover {
    background-color: var(--secondary-color);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.page-nh__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Image styles */
.page-nh img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-nh__image-wrapper {
    margin: 40px auto;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-nh__image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

/* HERO Section */
.page-nh__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles header offset */
    background-color: var(--bg-dark);
    overflow: hidden;
}

.page-nh__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-nh__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-nh__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
}

.page-nh__main-title {
    font-size: clamp(28px, 5vw, 48px);
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 15px var(--glow-color);
}

.page-nh__hero-description {
    font-size: 20px;
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Introduction Section */
.page-nh__introduction-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.page-nh__feature-item {
    text-align: center;
}

.page-nh__feature-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-nh__feature-item p {
    font-size: 16px;
    color: var(--text-main);
}

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

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

.page-nh__game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
}

.page-nh__card-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
    text-align: center;
}

.page-nh__game-card p {
    font-size: 16px;
    color: var(--text-main);
    text-align: center;
}

/* Guide Section */
.page-nh__guide-section {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: #f8f8f8; /* Light background for contrast */
    color: #333333; /* Dark text for contrast */
}

.page-nh__section-title.page-nh__text-contrast-fix {
    color: #333333;
    text-shadow: none;
}

.page-nh__text-block.page-nh__text-contrast-fix {
    color: #333333;
}

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

.page-nh__step-item {
    text-align: center;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    color: #333333;
}

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

.page-nh__step-item p {
    font-size: 16px;
    color: #555555;
}

/* Strategy Section */
.page-nh__strategy-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.page-nh__strategy-item {
    padding: 25px;
    text-align: left;
}

.page-nh__strategy-heading {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-nh__strategy-item p {
    font-size: 16px;
    color: var(--text-main);
}

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

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

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

.page-nh__promo-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-nh__promo-card p {
    font-size: 16px;
    color: var(--text-main);
}

/* Platform Features Section */
.page-nh__platform-features-section {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: #f8f8f8; /* Light background for contrast */
    color: #333333; /* Dark text for contrast */
}

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

.page-nh__feature-item.page-nh__card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    color: #333333;
    text-align: left;
}

.page-nh__feature-heading {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-nh__feature-item p {
    font-size: 16px;
    color: #555555;
}

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

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

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

details.page-nh__faq-item summary.page-nh__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--text-main);
    font-size: 18px;
    font-weight: bold;
}

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

details.page-nh__faq-item summary.page-nh__faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.page-nh__faq-qtext {
    flex: 1;
    line-height: 1.5;
    text-align: left;
    color: var(--primary-color);
}

.page-nh__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--secondary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
    line-height: 1;
}

details.page-nh__faq-item .page-nh__faq-answer {
    padding: 0 25px 20px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0 0 10px 10px;
    color: var(--text-main);
    font-size: 16px;
}

.page-nh__faq-answer p {
    margin-top: 10px;
    margin-bottom: 0;
}

/* Conclusion Section */
.page-nh__conclusion-section {
    padding-top: 60px;
    padding-bottom: 80px;
    text-align: center;
}

.page-nh__conclusion-section .page-nh__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-nh__container {
        padding: 30px 15px;
    }

    .page-nh__section-title {
        font-size: 30px;
        margin-bottom: 30px;
    }

    .page-nh__text-block {
        font-size: 17px;
    }

    .page-nh__main-title {
        font-size: clamp(24px, 6vw, 40px);
    }

    .page-nh__hero-description {
        font-size: 18px;
    }

    .page-nh__cta-button,
    .page-nh__secondary-button {
        padding: 12px 30px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .page-nh__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-nh__hero-image img {
        border-radius: 8px;
    }

    .page-nh__section-title {
        font-size: 26px;
        margin-bottom: 25px;
    }

    .page-nh__text-block {
        font-size: 16px;
    }

    .page-nh__main-title {
        font-size: clamp(22px, 7vw, 36px);
        margin-bottom: 15px;
    }

    .page-nh__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .page-nh__cta-button,
    .page-nh__secondary-button {
        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__button-group {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-nh__features-grid,
    .page-nh__game-cards-grid,
    .page-nh__steps-grid,
    .page-nh__strategy-list,
    .page-nh__promo-grid,
    .page-nh__features-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-nh__game-card img {
        
    }

    .page-nh__feature-title,
    .page-nh__step-title,
    .page-nh__strategy-heading,
    .page-nh__promo-title,
    .page-nh__feature-heading {
        font-size: 20px;
    }

    .page-nh img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-nh__section,
    .page-nh__card,
    .page-nh__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    details.page-nh__faq-item summary.page-nh__faq-question {
        padding: 15px;
        font-size: 16px;
    }

    .page-nh__faq-qtext {
        font-size: 16px;
    }

    .page-nh__faq-toggle {
        font-size: 24px;
        width: 24px;
        margin-left: 10px;
    }

    details.page-nh__faq-item .page-nh__faq-answer {
        padding: 0 15px 15px;
        font-size: 15px;
    }
}

/* Contrast fixes for light background sections */
.page-nh__light-bg {
    background-color: #f8f8f8;
    color: #333333;
}

.page-nh__text-contrast-fix {
    color: #333333;
    text-shadow: none;
}

/* Card background for light sections should also be light */
.page-nh__guide-section .page-nh__card,
.page-nh__platform-features-section .page-nh__card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
}

.page-nh__guide-section .page-nh__card p,
.page-nh__platform-features-section .page-nh__card p {
    color: #555555;
}

.page-nh__guide-section .page-nh__highlight,
.page-nh__platform-features-section .page-nh__highlight {
    color: var(--primary-color); /* Ensure brand color stands out */
}