/* style/n-h.css */
.page-n-h {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

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

.page-n-h__hero {
    background: linear-gradient(135deg, #FFD700, #8B0000);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-n-h__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiM5OTAwMDAiIGZpbGwtb3BhY2l0eT0iMC4xIj48cGF0aCBkPSJNNiAxOC4zODVMMi4xMTUgMjJMMiAyNkw2IDMwTDEwIDMyLjM4NUwxMy44ODUgMjlMMTQgMjVMMTAgMjFMNiAxOC4zODV6TTM2IDE4LjM4NUwzMi4xMTUgMjJMMzIgMjZMMzYgMzBMNDAgMzIuMzg1TDQzLjg4NSAyOUw0NCAyNUw0MCAyMUwzNiAxOC4zODV6TTIxIDMuMzg1TDE3LjExNSA3TDE3IDExTDIxIDE1TDI1IDE3LjM4NUwyOC44ODUgMTRMMjkgMTBMMjUgNkwyMSAzLjM4NXpNNDYgMy4zODVMMzguMzg1IDcuMTM1TDQ2IDExTDQ5Ljg4NSAxNFYxMkw1My44ODUgN0w0NiAzLjM4NXpNNDYgMzguMzg1TDM4LjM4NSA0Mi4xMzVMNDYgNDZMNzAuMzg1IDQ5Ljg4NVY0Nkw1My44ODUgNDJMNDYgMzguMzg1eiIvPjwvZz48L2c+PC9zdmc+') repeat;
    opacity: 0.1;
    z-index: 0;
}

.page-n-h__hero > * {
    position: relative;
    z-index: 1;
}

.page-n-h__title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.page-n-h__subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #eee;
}

.page-n-h__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    border: none;
}

.page-n-h__btn--primary {
    background-color: #FFD700;
    color: #8B0000;
}

.page-n-h__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-n-h__btn--secondary {
    background-color: #8B0000;
    color: #FFD700;
    border: 2px solid #FFD700;
    margin-left: 15px;
}

.page-n-h__btn--secondary:hover {
    background-color: #a00000;
    transform: translateY(-2px);
}

.page-n-h__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-n-h__section {
    padding: 60px 0;
}

.page-n-h__section--intro {
    background-color: #fff;
}

.page-n-h__section--features {
    background-color: #f0f0f0;
}

.page-n-h__section--games {
    background-color: #fff;
}

.page-n-h__section--guide {
    background-color: #f0f0f0;
}

.page-n-h__section--promo {
    background-color: #fff;
}

.page-n-h__section--app {
    background-color: #f0f0f0;
}

.page-n-h__section--faq {
    background-color: #fff;
}

.page-n-h__section--cta {
    background: linear-gradient(90deg, #8B0000, #FFD700);
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.page-n-h__heading {
    font-size: 2.5em;
    color: #8B0000;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-n-h__section--cta .page-n-h__heading {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-n-h__description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: #555;
}

.page-n-h__section--cta .page-n-h__description {
    color: #eee;
}

.page-n-h__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

.page-n-h__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-n-h__text-content {
    flex: 1;
}

.page-n-h__text-content p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #444;
}

.page-n-h__text-content a {
    color: #8B0000;
    text-decoration: none;
    font-weight: bold;
}

.page-n-h__text-content a:hover {
    text-decoration: underline;
}

.page-n-h__image-wrapper {
    flex: 1;
    text-align: center;
}

.page-n-h__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-n-h__image--full-width {
    margin-top: 30px;
}

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

.page-n-h__feature-item, .page-n-h__promo-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-n-h__feature-item:hover, .page-n-h__promo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-n-h__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.page-n-h__feature-title, .page-n-h__promo-title {
    font-size: 1.4em;
    color: #8B0000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-n-h__feature-item p, .page-n-h__promo-item p {
    color: #555;
    font-size: 1em;
}

.page-n-h__game-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-n-h__game-list li {
    background-color: #fdfdfd;
    border-left: 5px solid #FFD700;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-n-h__game-title {
    font-size: 1.3em;
    color: #8B0000;
    margin-bottom: 10px;
}

.page-n-h__game-list p {
    color: #555;
}

.page-n-h__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-n-h__guide-list li {
    background-color: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.page-n-h__guide-list li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    background-color: #FFD700;
    color: #8B0000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2em;
    flex-shrink: 0;
}

.page-n-h__guide-title {
    font-size: 1.3em;
    color: #8B0000;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-n-h__guide-list p {
    color: #555;
    margin: 0;
}

.page-n-h__guide-list a {
    color: #8B0000;
    text-decoration: none;
    font-weight: bold;
}

.page-n-h__guide-list a:hover {
    text-decoration: underline;
}

.page-n-h__promo-image {
    max-width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-n-h__promo-note {
    text-align: center;
    margin-top: 40px;
    font-style: italic;
    color: #666;
}

.page-n-h__faq-item {
    background-color: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-n-h__faq-question {
    font-size: 1.2em;
    color: #8B0000;
    margin-top: 0;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-n-h__faq-question::after {
    content: '+';
    font-size: 1.5em;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-n-h__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-n-h__faq-answer {
    font-size: 1em;
    color: #555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}

.page-n-h__faq-answer.active {
    max-height: 200px; /* Adjust as needed */
    opacity: 1;
    margin-top: 10px;
}

@media (max-width: 992px) {
    .page-n-h__title {
        font-size: 2.8em;
    }

    .page-n-h__subtitle {
        font-size: 1.3em;
    }

    .page-n-h__heading {
        font-size: 2em;
    }

    .page-n-h__content-wrapper {
        flex-direction: column;
    }

    .page-n-h__content-wrapper--reverse {
        flex-direction: column;
    }

    .page-n-h__btn--secondary {
        margin-left: 0;
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .page-n-h__hero {
        padding: 80px 0;
    }

    .page-n-h__title {
        font-size: 2.2em;
    }

    .page-n-h__subtitle {
        font-size: 1.1em;
    }

    .page-n-h__heading {
        font-size: 1.8em;
    }

    .page-n-h__btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-n-h__features-grid, .page-n-h__promo-grid {
        grid-template-columns: 1fr;
    }

    .page-n-h__guide-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .page-n-h__guide-list li::before {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .page-n-h__title {
        font-size: 1.8em;
    }

    .page-n-h__subtitle {
        font-size: 1em;
    }

    .page-n-h__btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .page-n-h__btn--secondary {
        margin-top: 0;
    }
}