/* style/nh.css */

/* Variables for colors */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-bg-card: #11271B;
    --color-bg-main: #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;
    --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* General page styling */
.page-nh {
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

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

.page-nh__section-title {
    font-size: 2.5em;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

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

/* Buttons */
.page-nh__btn-primary,
.page-nh__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-nh__btn-primary {
    background: var(--btn-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-nh__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-nh__btn-secondary {
    background: var(--color-bg-card);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: 0 4px 10px rgba(17, 168, 78, 0.2);
}

.page-nh__btn-secondary:hover {
    transform: translateY(-3px);
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(17, 168, 78, 0.4);
}

.page-nh__cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-nh__cta-buttons--center {
    justify-content: center;
}

/* Hero Section */
.page-nh__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding */
    background-color: var(--color-bg-main);
    overflow: hidden;
}

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

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

.page-nh__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 40px 20px 60px;
    background-color: var(--color-bg-main); /* Ensure content has a background */
    position: relative;
    z-index: 2;
}

.page-nh__main-title {
    font-size: 3em;
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

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

/* Section styles */
.page-nh__intro-section,
.page-nh__advantages-section,
.page-nh__guide-section,
.page-nh__games-section,
.page-nh__tips-section,
.page-nh__promo-section,
.page-nh__faq-section,
.page-nh__cta-final-section {
    padding: 60px 0;
    background-color: var(--color-bg-main);
}

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

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

.page-nh__advantage-item {
    background-color: var(--color-bg-card);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
}

.page-nh__advantage-icon {
    width: 100%; /* Ensure image fills card width */
    max-width: 250px; /* Max size for card image */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-nh__advantage-title {
    font-size: 1.5em;
    color: var(--color-gold);
    margin-bottom: 10px;
    font-weight: bold;
}

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

/* Guide Section */
.page-nh__guide-subtitle {
    font-size: 2em;
    color: var(--color-primary);
    margin-top: 50px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

.page-nh__guide-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.page-nh__guide-item:nth-child(even) {
    flex-direction: row-reverse;
}

.page-nh__guide-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--color-border);
    object-fit: cover;
}

.page-nh__guide-list {
    list-style: decimal;
    padding-left: 25px;
    color: var(--color-text-secondary);
    font-size: 1.1em;
    flex: 1;
    min-width: 300px;
}

.page-nh__guide-list li {
    margin-bottom: 15px;
}

.page-nh__guide-list li strong {
    color: var(--color-text-main);
}

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

.page-nh__game-card {
    background-color: var(--color-bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
    text-align: center;
    padding-bottom: 20px;
}

.page-nh__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-nh__game-title {
    font-size: 1.4em;
    color: var(--color-gold);
    margin-bottom: 10px;
    padding: 0 15px;
    font-weight: bold;
}

.page-nh__game-description {
    color: var(--color-text-secondary);
    font-size: 0.95em;
    padding: 0 15px;
}

/* Tips Section */
.page-nh__tips-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-nh__tips-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--color-border);
    object-fit: cover;
}

.page-nh__tips-list {
    list-style: disc;
    padding-left: 25px;
    color: var(--color-text-secondary);
    font-size: 1.1em;
    flex: 1;
    min-width: 300px;
}

.page-nh__tips-list li {
    margin-bottom: 10px;
    color: var(--color-text-secondary);
}

.page-nh__tips-list li strong {
    color: var(--color-text-main);
}

/* Promo Section */
.page-nh__promo-list {
    list-style: disc;
    padding-left: 25px;
    margin-top: 20px;
    margin-bottom: 30px;
    color: var(--color-text-secondary);
    font-size: 1.1em;
}

.page-nh__promo-list li {
    margin-bottom: 10px;
}

.page-nh__promo-list li strong {
    color: var(--color-text-main);
}

/* FAQ Section */
.page-nh__faq-list {
    margin-top: 40px;
}

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

.page-nh__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--color-text-main);
    background-color: var(--color-deep-green); /* Slightly different background for question */
    border-bottom: 1px solid var(--color-divider);
}

.page-nh__faq-question::-webkit-details-marker { /* Hide default marker for Chrome/Safari */
    display: none;
}

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

.page-nh__faq-answer {
    padding: 20px 25px;
    font-size: 1.05em;
    color: var(--color-text-secondary);
}

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

/* Final CTA Section */
.page-nh__cta-final-section {
    padding-bottom: 80px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-nh__main-title {
        font-size: 2.5em;
    }
    .page-nh__section-title {
        font-size: 2em;
    }
    .page-nh__hero-description {
        font-size: 1.1em;
    }
    .page-nh__advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-nh__guide-item {
        flex-direction: column;
        text-align: center;
    }
    .page-nh__guide-item:nth-child(even) {
        flex-direction: column;
    }
    .page-nh__guide-image {
        max-width: 100%;
        margin-bottom: 20px;
    }
    .page-nh__tips-content {
        flex-direction: column;
        align-items: center;
    }
    .page-nh__tips-image {
        max-width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .page-nh {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-nh__container {
        padding: 0 15px;
    }

    .page-nh__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-nh__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-nh__hero-description {
        font-size: 1em;
    }
    .page-nh__hero-content {
        padding: 30px 15px 40px;
    }

    .page-nh__btn-primary,
    .page-nh__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        margin-bottom: 10px; /* Add space between stacked buttons */
    }
    .page-nh__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        padding: 0 15px;
    }
    .page-nh__cta-buttons > * {
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Images responsive */
    .page-nh img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Image containers responsive */
    .page-nh__hero-image-wrapper,
    .page-nh__advantage-item,
    .page-nh__guide-item,
    .page-nh__game-card,
    .page-nh__tips-content,
    .page-nh__promo-section,
    .page-nh__faq-section,
    .page-nh__cta-final-section,
    .page-nh__advantages-grid,
    .page-nh__game-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-nh__hero-section {
        padding-top: 10px !important;
    }
    .page-nh__intro-section,
    .page-nh__advantages-section,
    .page-nh__guide-section,
    .page-nh__games-section,
    .page-nh__tips-section,
    .page-nh__promo-section,
    .page-nh__faq-section,
    .page-nh__cta-final-section {
        padding: 40px 0;
    }

    .page-nh__guide-list,
    .page-nh__tips-list,
    .page-nh__promo-list {
        padding-left: 20px;
        font-size: 1em;
    }

    .page-nh__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-nh__faq-answer {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-nh__game-image {
        height: 180px; /* Adjust height for mobile cards */
    }
}

@media (max-width: 480px) {
    .page-nh__main-title {
        font-size: 1.8em;
    }
    .page-nh__section-title {
        font-size: 1.6em;
    }
    .page-nh__hero-description {
        font-size: 0.95em;
    }
}