/* style/nh.css */

/* General styles for the page */
.page-nh {
    font-family: 'Arial', sans-serif;
    color: #FFF6D6; /* Text Main color */
    background-color: #0A0A0A; /* Background color */
    line-height: 1.6;
}

/* Fixed Header Spacing - body handles padding-top, this section only adds small decorative padding */
.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;
    background: linear-gradient(180deg, #1A1A1A 0%, #0A0A0A 100%); /* Dark gradient for hero background */
}

.page-nh__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.page-nh__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-nh__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #3A2A12; /* Border color */
    box-shadow: 0 0 20px rgba(255, 211, 107, 0.3); /* Glow effect */
}

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

.page-nh__main-title {
    font-size: 3em;
    font-weight: bold;
    color: #FFD36B; /* Auxiliary color for emphasis */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.6); /* Soft glow for title */
}

.page-nh__hero-description {
    font-size: 1.2em;
    color: #FFF6D6;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* CTA Buttons */
.page-nh__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.page-nh__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-nh__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-nh__cta-button--secondary {
    background: transparent;
    border: 2px solid #F2C14E; /* Primary color as border */
    color: #F2C14E;
    box-shadow: none;
}

.page-nh__cta-button--secondary:hover {
    background: #F2C14E;
    color: #111111;
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

/* General Section Styles */
.page-nh__section {
    padding: 80px 20px;
    text-align: center;
}

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

.page-nh__container--center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-nh__section-title {
    font-size: 2.5em;
    color: #F2C14E; /* Primary color */
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-nh__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #FFD36B; /* Auxiliary color */
    border-radius: 2px;
}

.page-nh__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #FFF6D6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

.page-nh__text-block--center {
    text-align: center;
}

.page-nh__text-block a {
    color: #FFD36B; /* Link color */
    text-decoration: underline;
}

.page-nh__text-block a:hover {
    color: #F2C14E; /* Primary color on hover */
}

.page-nh__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    border: 1px solid #3A2A12;
    box-shadow: 0 0 15px rgba(255, 211, 107, 0.2);
}

.page-nh__image--center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Why Choose Us Section */
.page-nh__why-choose-us {
    background-color: #111111; /* Card BG color */
    color: #FFF6D6;
}

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

.page-nh__feature-item {
    background-color: #1A1A1A; /* Slightly lighter dark background for features */
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #3A2A12;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-nh__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(242, 193, 78, 0.2);
}

.page-nh__feature-title {
    font-size: 1.5em;
    color: #FFD36B; /* Auxiliary color */
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(255, 211, 107, 0.4);
}

/* How to Play Section */
.page-nh__how-to-play {
    background-color: #0A0A0A;
}

.page-nh__step-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
    max-width: 800px;
    margin: 50px auto 0;
    text-align: left;
}

.page-nh__step-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 40px;
    color: #FFF6D6;
}

.page-nh__step-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: #F2C14E; /* Primary color */
    color: #111111; /* Dark text for contrast */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-nh__step-title {
    font-size: 1.4em;
    color: #FFD36B;
    margin-bottom: 10px;
}

.page-nh__btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-nh__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(242, 193, 78, 0.4);
}

/* Promotions Section */
.page-nh__promotions {
    background-color: #111111; /* Card BG color */
}

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

.page-nh__promo-card {
    background-color: #1A1A1A;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    border: 1px solid #3A2A12;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-nh__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(242, 193, 78, 0.2);
}

.page-nh__promo-title {
    font-size: 1.3em;
    color: #FFD36B;
    margin-bottom: 15px;
}

/* FAQ Section */
.page-nh__faq {
    background-color: #0A0A0A;
}

.page-nh__faq-list {
    max-width: 900px;
    margin: 50px auto;
    text-align: left;
}

details.page-nh__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #3A2A12; /* Border color */
    overflow: hidden;
    background: #111111; /* Card BG color */
    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 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: #FFF6D6;
    font-weight: 600;
}
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: #1A1A1A; /* Slightly lighter dark background on hover */
}
.page-nh__faq-qtext {
    flex: 1;
    font-size: 1.1em;
    line-height: 1.5;
    text-align: left;
    color: #FFF6D6;
}
.page-nh__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #F2C14E; /* Primary color */
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-nh__faq-item .page-nh__faq-answer {
    padding: 0 20px 20px;
    background: #0A0A0A; /* Background color for answer */
    border-radius: 0 0 8px 8px;
    color: #FFF6D6;
    text-align: justify;
}

/* Final CTA Section */
.page-nh__cta-final {
    padding: 100px 20px;
    background: linear-gradient(90deg, #F2C14E 0%, #FFD36B 100%); /* Gradient for final CTA */
    color: #111111; /* Dark text for contrast on light gradient */
}

.page-nh__cta-final .page-nh__section-title {
    color: #111111;
    text-shadow: none;
}

.page-nh__cta-final .page-nh__section-title::after {
    background: #111111;
}

.page-nh__cta-final .page-nh__text-block {
    color: #111111;
}

.page-nh__cta-final .page-nh__cta-button {
    background: #111111;
    color: #F2C14E;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-nh__cta-final .page-nh__cta-button:hover {
    background: #0A0A0A;
    color: #FFD36B;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-nh__main-title {
        font-size: 2.5em;
    }
    .page-nh__section-title {
        font-size: 2em;
    }
    .page-nh__hero-description,
    .page-nh__text-block,
    .page-nh__faq-qtext {
        font-size: 1em;
    }
}

@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: 4px;
    }

    .page-nh__main-title {
        font-size: clamp(2em, 8vw, 2.5em);
        margin-bottom: 15px;
    }

    .page-nh__hero-description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }

    .page-nh__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-nh__cta-button,
    .page-nh__btn-primary {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-nh__section {
        padding: 50px 15px;
    }

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

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

    .page-nh__text-block {
        font-size: 0.95em;
    }

    .page-nh__feature-list,
    .page-nh__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-nh__feature-item,
    .page-nh__promo-card {
        padding: 25px;
    }

    .page-nh__step-item {
        padding-left: 60px;
        margin-bottom: 30px;
    }

    .page-nh__step-item::before {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
    }

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

    details.page-nh__faq-item summary.page-nh__faq-question {
        padding: 15px;
    }
    .page-nh__faq-qtext {
        font-size: 1em;
    }
    .page-nh__faq-toggle {
        font-size: 20px;
        width: 24px;
    }
    details.page-nh__faq-item .page-nh__faq-answer {
        padding: 0 15px 15px;
    }

    .page-nh__image {
        margin: 30px auto;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-nh__cta-final {
        padding: 60px 15px;
    }
}

/* Ensure all images in content areas are at least 200px wide */
.page-nh img:not(.page-nh__hero-image img) {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

/* H1 font size constraint */
.page-nh__hero-section h1 {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 90%;
}

/* Contrast fix for dark theme */
.page-nh__dark-bg {
    color: #FFF6D6;
    background-color: #111111;
}
.page-nh__light-bg {
    color: #FFF6D6;
    background-color: #111111;
}
.page-nh__cta-final {
    color: #111111;
}