/* style/nh.css */

/* --- Base Styles --- */
.page-nh {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333333; /* Assume light body background, use dark text */
    background-color: var(--color-background, #f8f8f8); /* Default light background */
}

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

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

.page-nh__section:nth-of-type(even) {
    background-color: #f2f2f2; /* Light grey for alternating sections */
}

.page-nh__section-title {
    font-size: 38px;
    font-weight: 700;
    color: #C91F17; /* Main brand color */
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.page-nh__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #C91F17, #E53935);
    border-radius: 2px;
}

.page-nh__section-title--light {
    color: #FFF5E1; /* Text Main color */
}
.page-nh__section-title--light::after {
    background: linear-gradient(to right, #F4D34D, #FFCC66); /* Gold gradient */
}

.page-nh__text-block {
    font-size: 18px;
    text-align: center;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-nh__text-block--light {
    color: #FFF5E1; /* Text Main color */
}

.page-nh__highlight {
    font-weight: bold;
    color: #C91F17; /* Main brand color */
}
.page-nh__text-block--light .page-nh__highlight {
    color: #FFCC66; /* Glow color for highlights on dark background */
}


/* --- 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, body handles header offset */
    overflow: hidden;
    background-color: #B71C1C; /* Background color */
}

.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; /* Ensure content is above any potential background elements */
}

.page-nh__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-nh__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.page-nh__hero-image img:hover {
    transform: scale(1.02);
}

.page-nh__hero-content {
    text-align: center;
    width: 100%;
    max-width: 800px;
}

.page-nh__main-title {
    font-size: clamp(32px, 4.5vw, 56px); /* Use clamp for H1 */
    font-weight: 900;
    color: #FFF5E1; /* Text Main color */
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.page-nh__hero-description {
    font-size: clamp(16px, 2vw, 22px);
    color: #FFF5E1; /* Text Main color */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-nh__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button gradient */
    color: #7A0E0E; /* Deep Red for text on gold button */
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid #F2B544; /* Border color */
}

.page-nh__cta-button:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.page-nh__cta-button--small {
    padding: 12px 30px;
    font-size: 18px;
    margin-top: 25px;
}
.page-nh__cta-button--gold {
    background: linear-gradient(180deg, #F4D34D 0%, #FFCC66 100%); /* Gold gradient */
    color: #7A0E0E; /* Deep Red for text on gold button */
    border: 2px solid #F2B544; /* Border color */
}
.page-nh__cta-button--gold:hover {
    background: linear-gradient(180deg, #FFCC66 0%, #F4D34D 100%);
}


/* --- Grid Containers --- */
.page-nh__grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}
.page-nh__grid-container--2-col {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}


/* --- Card Styles --- */
.page-nh__card {
    background-color: #D32F2F; /* Card BG color */
    color: #FFF5E1; /* Text Main color */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #F2B544; /* Border color */
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-nh__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #F2B544;
}

.page-nh__card-title {
    font-size: 24px;
    font-weight: 700;
    color: #FFCC66; /* Glow color for titles */
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-nh__card-text {
    font-size: 16px;
    color: #FFF5E1; /* Text Main color */
    flex-grow: 1; /* Allow text to take up available space */
}

.page-nh__card--game .page-nh__card-image {
    height: 200px; /* Slightly smaller for game cards */
}
.page-nh__game-link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    background: linear-gradient(180deg, #F4D34D 0%, #FFCC66 100%); /* Gold gradient */
    color: #7A0E0E; /* Deep Red */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 1px solid #F2B544;
}
.page-nh__game-link:hover {
    background: linear-gradient(180deg, #FFCC66 0%, #F4D34D 100%);
    transform: translateY(-2px);
}


/* --- List Styles (Bonuses, Steps, Tips) --- */
.page-nh__bonus-list,
.page-nh__step-list,
.page-nh__tip-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-nh__bonus-item,
.page-nh__step-item,
.page-nh__tip-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}
.page-nh__bonus-item:hover,
.page-nh__step-item:hover,
.page-nh__tip-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-nh__bonus-title,
.page-nh__step-title,
.page-nh__tip-title {
    font-size: 22px;
    font-weight: 700;
    color: #C91F17; /* Main brand color */
    margin-bottom: 10px;
}

.page-nh__bonus-description,
.page-nh__step-description,
.page-nh__tip-description {
    font-size: 16px;
    color: #555;
}

/* Specific for Step List */
.page-nh__step-list {
    counter-reset: step-counter;
}
.page-nh__step-item {
    display: flex;
    align-items: flex-start;
    text-align: left;
    background-color: #fefefe;
}
.page-nh__step-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #E53935; /* Auxiliary color */
    color: #FFF5E1;
    border-radius: 50%;
    font-weight: bold;
    font-size: 20px;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.page-nh__step-title {
    margin-top: 0;
}


/* --- Security Section --- */
.page-nh__security .page-nh__card {
    background-color: #B71C1C; /* Background color */
    color: #FFF5E1;
}
.page-nh__security .page-nh__card-title {
    color: #FFCC66;
}
.page-nh__security .page-nh__card-text {
    color: #FFF5E1;
}


/* --- FAQ Section --- */
.page-nh__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

details.page-nh__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #F2B544; /* Border color */
    overflow: hidden;
    background: #D32F2F; /* Card BG color */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
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: #FFF5E1; /* Text Main color */
}
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: #C91F17; /* Main brand color for hover */
}
.page-nh__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #FFF5E1; /* Text Main color */
}
.page-nh__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: #FFCC66; /* Glow color */
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}
details.page-nh__faq-item .page-nh__faq-answer {
    padding: 0 25px 25px;
    background: #B71C1C; /* Background color for answer */
    border-radius: 0 0 8px 8px;
    color: #FFF5E1; /* Text Main color */
}
details.page-nh__faq-item .page-nh__faq-answer p {
    margin: 0;
    font-size: 16px;
    color: #FFF5E1; /* Text Main color */
}


/* --- Final CTA Section --- */
.page-nh__cta-final {
    padding: 80px 0;
    background-color: #B71C1C; /* Background color */
    text-align: center;
}
.page-nh__cta-final .page-nh__container {
    background-color: #7A0E0E; /* Deep Red */
    border-radius: 15px;
    padding: 50px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 2px solid #F2B544; /* Border color */
}


/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-nh__section-title {
        font-size: 32px;
    }
    .page-nh__text-block {
        font-size: 17px;
    }
    .page-nh__grid-container {
        gap: 20px;
    }
    .page-nh__grid-container--2-col {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-nh {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-nh__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles header offset */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-nh__hero-image {
        border-radius: 8px;
        margin-bottom: 20px;
    }
    .page-nh__main-title {
        font-size: clamp(28px, 8vw, 40px);
        margin-bottom: 10px;
    }
    .page-nh__hero-description {
        font-size: clamp(15px, 4vw, 18px);
        margin-bottom: 25px;
    }
    .page-nh__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-nh__cta-button--small {
        padding: 10px 25px;
        font-size: 16px;
    }

    .page-nh__section {
        padding: 40px 0;
    }
    .page-nh__container {
        padding: 0 15px;
    }
    .page-nh__section-title {
        font-size: 28px;
        margin-bottom: 25px;
    }
    .page-nh__text-block {
        font-size: 16px;
    }

    .page-nh__grid-container {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .page-nh__grid-container--2-col {
        grid-template-columns: 1fr;
    }

    .page-nh__card {
        padding: 25px;
        border-radius: 10px;
    }
    .page-nh__card-image {
        height: 180px;
    }
    .page-nh__card-title {
        font-size: 20px;
    }
    .page-nh__card-text {
        font-size: 15px;
    }

    .page-nh__bonus-item,
    .page-nh__step-item,
    .page-nh__tip-item {
        padding: 20px;
        border-radius: 10px;
    }
    .page-nh__step-item::before {
        width: 35px;
        height: 35px;
        font-size: 18px;
        margin-right: 0;
        margin-bottom: 15px;
    }
    .page-nh__step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .page-nh__step-title {
        font-size: 19px;
    }
    .page-nh__bonus-description,
    .page-nh__step-description,
    .page-nh__tip-description {
        font-size: 15px;
    }

    details.page-nh__faq-item {
        border-radius: 10px;
    }
    details.page-nh__faq-item summary.page-nh__faq-question {
        padding: 15px 20px;
    }
    .page-nh__faq-qtext {
        font-size: 16px;
    }
    .page-nh__faq-toggle {
        font-size: 24px;
        width: 25px;
    }
    details.page-nh__faq-item .page-nh__faq-answer {
        padding: 0 20px 20px;
    }
    details.page-nh__faq-item .page-nh__faq-answer p {
        font-size: 15px;
    }

    .page-nh__cta-final {
        padding: 50px 0;
    }
    .page-nh__cta-final .page-nh__container {
        padding: 40px 20px;
        border-radius: 10px;
    }

    /* Image responsive styles */
    .page-nh img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-nh__section,
    .page-nh__card,
    .page-nh__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-nh__cta-buttons,
    .page-nh__button-group,
    .page-nh__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-nh__cta-buttons {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-nh__hero-section {
        padding-left: 10px;
        padding-right: 10px;
    }
    .page-nh__section-title {
        font-size: 24px;
    }
    .page-nh__card-image {
        height: 150px;
    }
    .page-nh__step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .page-nh__step-item::before {
        margin-bottom: 15px;
        margin-right: 0;
    }
    .page-nh__step-title {
        font-size: 18px;
    }
    .page-nh__faq-qtext {
        font-size: 15px;
    }
}