/* style/nh.css */

/* Variables for colors */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

/* Base styles for the page content, considering body background #f4f4f4 (light) */
.page-nh {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light background */
    line-height: 1.6;
    background-color: #f4f4f4; /* Ensure contrast with body background */
}

.page-nh__section {
    padding: 60px 0;
    text-align: center;
}

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

.page-nh__section-title {
    font-size: 2.8em;
    color: var(--color-primary);
    margin-bottom: 25px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.page-nh__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #333333; /* Ensure readability on light background */
}

.page-nh__light-bg {
    background-color: #f4f4f4;
    color: #333333;
}

.page-nh__dark-bg {
    background-color: var(--color-background);
    color: var(--color-text-main);
}

.page-nh__dark-bg .page-nh__section-title {
    color: var(--color-gold);
}

.page-nh__dark-bg .page-nh__paragraph {
    color: var(--color-text-secondary);
}

/* Hero Section */
.page-nh__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
    background-color: var(--color-background);
    overflow: hidden;
}

.page-nh__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Limit height for hero image */
    overflow: hidden;
}

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

.page-nh__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 40px auto 0 auto;
    padding: 0 20px;
    text-align: center;
    color: var(--color-text-main);
}

.page-nh__hero-title {
    font-size: clamp(2.5em, 5vw, 3.8em);
    font-weight: 900;
    color: var(--color-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-nh__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.page-nh__btn-primary,
.page-nh__btn-secondary,
.page-nh__btn-small {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-nh__btn-primary {
    background: var(--color-button-gradient);
    color: #ffffff;
    border: 2px solid var(--color-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-nh__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-nh__btn-secondary:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.page-nh__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    background: var(--color-button-gradient);
    color: #ffffff;
    border: none;
    border-radius: 5px;
}

.page-nh__btn-small:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-1px);
}

/* About Slot Section */
.page-nh__about-slot .page-nh__paragraph {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-nh__image-full-width {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
    margin: 40px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Why Choose Section */
.page-nh__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-nh__feature-item {
    background-color: var(--color-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    text-align: center;
    color: var(--color-text-main);
    transition: transform 0.3s ease;
}

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

.page-nh__feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-nh__feature-title {
    font-size: 1.5em;
    color: var(--color-gold);
    margin-bottom: 15px;
}

.page-nh__feature-description {
    font-size: 1em;
    color: var(--color-text-secondary);
}

/* Game Types Section */
.page-nh__game-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-nh__card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    color: var(--color-text-main);
}

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

.page-nh__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-nh__card-title {
    font-size: 1.4em;
    color: var(--color-gold);
    padding: 15px 20px 0;
}

.page-nh__card-description {
    font-size: 0.95em;
    color: var(--color-text-secondary);
    padding: 10px 20px 20px;
}

.page-nh__cta-bottom {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Strategy Section */
.page-nh__strategy-list {
    margin-top: 40px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.page-nh__strategy-item {
    background-color: var(--color-deep-green);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    color: var(--color-text-main);
}

.page-nh__strategy-heading {
    font-size: 1.3em;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.page-nh__strategy-item .page-nh__paragraph {
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

.page-nh__image-center {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 40px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

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

.page-nh__promo-card {
    text-align: center;
    padding-bottom: 20px;
}

.page-nh__promo-card .page-nh__card-title {
    padding-top: 20px;
    font-size: 1.3em;
}

.page-nh__promo-card .page-nh__card-description {
    padding-bottom: 15px;
}

.page-nh__promo-note {
    margin-top: 30px;
    font-style: italic;
    color: #555555;
}

.page-nh__promo-note a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: bold;
}

.page-nh__promo-note a:hover {
    text-decoration: underline;
}

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

.page-nh__step-item {
    background-color: var(--color-deep-green);
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    color: var(--color-text-main);
}

.page-nh__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--color-gold);
    margin-bottom: 15px;
}

.page-nh__step-title {
    font-size: 1.4em;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.page-nh__step-description {
    font-size: 0.95em;
    color: var(--color-text-secondary);
}

/* FAQ Section */
.page-nh__faq-list {
    margin-top: 40px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-nh__faq-item {
    background-color: #ffffff; /* Light background for FAQ items */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    color: #333333; /* Dark text for light background */
    padding: 0;
}

.page-nh__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    color: var(--color-primary);
    list-style: none;
}

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

.page-nh__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--color-primary);
}

.page-nh__faq-item[open] .page-nh__faq-toggle {
    transform: rotate(45deg);
}

.page-nh__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
}

.page-nh__faq-answer .page-nh__paragraph {
    margin-bottom: 0;
}

/* Conclusion Section */
.page-nh__conclusion .page-nh__paragraph {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-nh__hero-title {
        font-size: 3em;
    }
    .page-nh__section-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-nh {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-nh__section {
        padding: 40px 0;
    }
    .page-nh__container {
        padding: 0 15px;
    }
    .page-nh__hero-title {
        font-size: 2.5em !important;
    }
    .page-nh__hero-description {
        font-size: 1.1em;
    }
    .page-nh__section-title {
        font-size: 1.8em;
    }
    .page-nh__paragraph {
        font-size: 1em;
    }
    .page-nh__hero-cta-buttons,
    .page-nh__cta-bottom {
        flex-direction: column;
        gap: 15px;
    }
    .page-nh__btn-primary,
    .page-nh__btn-secondary,
    .page-nh__btn-small {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-nh__feature-grid,
    .page-nh__game-type-grid,
    .page-nh__promo-grid,
    .page-nh__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-nh__feature-item,
    .page-nh__game-type-card,
    .page-nh__promo-card,
    .page-nh__step-item,
    .page-nh__faq-item {
        padding: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-nh img,
    .page-nh video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-nh__hero-image-wrapper,
    .page-nh__image-full-width,
    .page-nh__image-center,
    .page-nh__card-image,
    .page-nh__feature-icon {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-nh__hero-section {
        padding-top: 10px !important; /* Small top padding for hero on mobile */
    }
    .page-nh__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-nh__faq-answer {
        padding: 0 20px 15px;
    }
    .page-nh__promo-note {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .page-nh__hero-title {
        font-size: 2em !important;
    }
    .page-nh__section-title {
        font-size: 1.6em;
    }
    .page-nh__hero-description {
        font-size: 0.95em;
    }
    .page-nh__hero-cta-buttons a,
    .page-nh__cta-bottom a {
        font-size: 0.95em;
    }
}