/* style/nh.css */

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

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

/* General container for content sections */
.page-nh__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Section Titles */
.page-nh__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem); /* Responsive font size for H2 */
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
}

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

/* Links within text blocks */
.page-nh__text-block a {
    color: var(--glow-color);
    text-decoration: none;
    font-weight: bold;
}

.page-nh__text-block a:hover {
    text-decoration: underline;
}

/* Buttons - Primary */
.page-nh__btn-primary {
    display: inline-block;
    background: var(--btn-gradient);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

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

/* Buttons - Secondary */
.page-nh__btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--glow-color);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 2px solid var(--glow-color);
    cursor: pointer;
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-nh__btn-secondary:hover {
    background-color: var(--glow-color);
    color: var(--bg-color-main);
    border-color: var(--glow-color);
}

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

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

/* Hero Section */
.page-nh__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Stack image then content */
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    overflow: hidden; /* Prevent content overflow */
}

.page-nh__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit hero image height */
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and content */
}

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

.page-nh__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-nh__hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem); /* Responsive font size for H1 */
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 900;
    text-shadow: 0 0 15px var(--glow-color);
}

.page-nh__hero-description {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-color-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-nh__hero-cta {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    gap: 20px;
    justify-content: center;
}

/* Introduction Section - Dark background */
.page-nh__introduction-section.page-nh__dark-section {
    background-color: var(--deep-green-color); /* Deep green for contrast */
    padding: 80px 0;
}

/* Why Choose Section */
.page-nh__why-choose-section {
    padding: 80px 0;
}

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

.page-nh__feature-card {
    text-align: center;
    background-color: var(--bg-color-card);
    padding: 30px;
}

.page-nh__feature-icon {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-nh__feature-title {
    font-size: 1.5rem;
    color: var(--glow-color);
    margin-bottom: 15px;
    font-weight: 700;
}

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

/* CTA at bottom of sections */
.page-nh__cta-bottom {
    text-align: center;
    margin-top: 50px;
}

/* Popular Games Section - Dark background */
.page-nh__popular-games-section.page-nh__dark-section {
    background-color: var(--deep-green-color);
    padding: 80px 0;
}

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

.page-nh__game-card {
    background-color: var(--bg-color-card);
    text-align: center;
    padding: 20px;
}

.page-nh__game-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-nh__game-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-nh__game-title a {
    color: var(--gold-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-nh__game-title a:hover {
    color: var(--glow-color);
    text-decoration: underline;
}

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

/* Guide Section */
.page-nh__guide-section {
    padding: 80px 0;
}

.page-nh__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-nh__guide-item {
    background-color: var(--bg-color-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-nh__guide-step-title {
    font-size: 1.3rem;
    color: var(--glow-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.page-nh__guide-item p {
    color: var(--text-color-secondary);
    font-size: 1rem;
}

/* Tips & Strategies Section - Dark background */
.page-nh__tips-strategies-section.page-nh__dark-section {
    background-color: var(--deep-green-color);
    padding: 80px 0;
}

.page-nh__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-nh__tip-item {
    background-color: var(--bg-color-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-nh__tip-title {
    font-size: 1.3rem;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.page-nh__tip-item p {
    color: var(--text-color-secondary);
    font-size: 1rem;
}

/* Exclusive Offers Section */
.page-nh__exclusive-offers-section {
    padding: 80px 0;
}

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

.page-nh__offer-card {
    text-align: center;
    background-color: var(--bg-color-card);
    padding: 30px;
}

.page-nh__offer-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-nh__offer-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-nh__offer-title a {
    color: var(--glow-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-nh__offer-title a:hover {
    color: var(--gold-color);
    text-decoration: underline;
}

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

/* FAQ Section - Dark background */
.page-nh__faq-section.page-nh__dark-section {
    background-color: var(--deep-green-color);
    padding: 80px 0;
}

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

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

.page-nh__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color-main);
    list-style: none; /* Remove default marker */
}

.page-nh__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for Webkit browsers */
}

.page-nh__faq-question {
    flex-grow: 1;
    color: var(--glow-color);
}

.page-nh__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold-color);
    transition: transform 0.3s ease;
}

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

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

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

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

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

/* Images Global Responsive & Minimum Size */
.page-nh img {
    min-width: 200px;
    min-height: 200px;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Default for most content images */
}

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

    .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: 2rem;
        margin-bottom: 30px;
    }

    .page-nh__hero-title {
        font-size: 3rem;
    }

    .page-nh__hero-description {
        font-size: 1.1rem;
    }

    .page-nh__hero-cta {
        flex-direction: column; /* Stack buttons vertically */
        align-items: center;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        gap: 10px;
    }

    .page-nh__btn-primary,
    .page-nh__btn-secondary,
    .page-nh a[class*="button"],
    .page-nh a[class*="btn"] {
        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__cta-buttons,
    .page-nh__button-group,
    .page-nh__btn-container,
    .page-nh__final-cta {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    
    /* Ensure all images are responsive on mobile */
    .page-nh img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-nh__hero-image-wrapper {
        margin-bottom: 20px;
    }

    .page-nh__hero-content {
        padding: 0 15px;
    }

    .page-nh__features-grid,
    .page-nh__game-cards-grid,
    .page-nh__offers-grid {
        grid-template-columns: 1fr;
    }

    .page-nh__feature-card,
    .page-nh__game-card,
    .page-nh__offer-card {
        padding: 20px;
    }

    .page-nh__guide-item,
    .page-nh__tip-item,
    .page-nh__faq-item {
        padding: 20px;
    }

    .page-nh__faq-item summary {
        font-size: 1.1rem;
        padding: 15px 20px;
    }

    .page-nh__faq-answer {
        padding: 0 20px 15px 20px;
    }
}