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

.page-n-h__hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #8B0000; /* Fallback */
}

.page-n-h__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.7;
}

.page-n-h__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.7), rgba(255, 215, 0, 0.7));
    z-index: 2;
}

.page-n-h__hero-content {
    position: relative;
    z-index: 3;
    color: #FFFFFF;
    max-width: 800px;
    padding: 0 20px;
}

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

.page-n-h__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-n-h__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

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

.page-n-h__section:nth-of-type(even) {
    background-color: #f9f9f9;
}

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

.page-n-h__section-title {
    font-size: 2.5em;
    color: #8B0000;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-n-h__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-n-h__text-content {
    font-size: 1.1em;
    text-align: justify;
    margin-bottom: 20px;
}

.page-n-h__text-content .highlight {
    color: #8B0000;
    font-weight: bold;
}

.page-n-h__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    text-align: center;
    cursor: pointer;
}

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

.page-n-h__btn--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-n-h__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

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

.page-n-h__btn--large {
    padding: 18px 40px;
    font-size: 1.2em;
}

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

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

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

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

.page-n-h__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-n-h__feature-title {
    font-size: 1.5em;
    color: #8B0000;
    margin-bottom: 15px;
}

.page-n-h__feature-description {
    font-size: 1em;
    color: #555;
}

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

.page-n-h__game-list li {
    background-color: #FFFFFF;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    color: #333;
    border-left: 5px solid #FFD700;
}

.page-n-h__game-list li strong {
    color: #8B0000;
}

.page-n-h__steps-list {
    list-style: none;
    counter-reset: step-counter;
    padding-left: 0;
    margin-top: 30px;
}

.page-n-h__steps-list li {
    counter-increment: step-counter;
    margin-bottom: 25px;
    padding-left: 60px;
    position: relative;
    font-size: 1.1em;
    color: #333;
}

.page-n-h__steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: #FFD700;
    color: #8B0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

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

.page-n-h__tip-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    border-top: 5px solid #8B0000;
}

.page-n-h__tip-card h3 {
    font-size: 1.4em;
    color: #8B0000;
    margin-bottom: 15px;
}

.page-n-h__tip-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    object-fit: contain;
}

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

.page-n-h__promo-card {
    background-color: #FFFFFF;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-n-h__promo-card h3 {
    font-size: 1.3em;
    color: #8B0000;
    margin-top: 15px;
    margin-bottom: 10px;
}

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

.page-n-h__download-app-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.page-n-h__app-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
}

.page-n-h__app-info h2 {
    margin-bottom: 20px;
}

.page-n-h__accordion {
    margin-top: 40px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.page-n-h__accordion-item {
    border-bottom: 1px solid #eee;
}

.page-n-h__accordion-item:last-child {
    border-bottom: none;
}

.page-n-h__accordion-header {
    background-color: #FFD700;
    color: #8B0000;
    padding: 18px 25px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-n-h__accordion-header:hover, .page-n-h__accordion-header.active {
    background-color: #e6c200;
}

.page-n-h__accordion-header::after {
    content: '\002B'; /* Plus sign */
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-n-h__accordion-header.active::after {
    content: '\2212'; /* Minus sign */
    transform: rotate(180deg);
}

.page-n-h__accordion-content {
    padding: 0 25px;
    background-color: #FFFFFF;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    color: #555;
}

.page-n-h__accordion-content p {
    padding: 15px 0;
    margin: 0;
}

.page-n-h__cta {
    background-color: #8B0000;
    color: #FFFFFF;
    text-align: center;
}

.page-n-h__cta .page-n-h__section-title {
    color: #FFD700;
}

.page-n-h__cta .page-n-h__section-title::after {
    background-color: #FFFFFF;
}

.page-n-h__cta .page-n-h__text-content {
    color: #f0f0f0;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .page-n-h__download-app-content {
        flex-direction: row;
        text-align: left;
        justify-content: center;
    }

    .page-n-h__app-info {
        max-width: 50%;
    }
}

@media (max-width: 767px) {
    .page-n-h__hero {
        height: 400px;
    }

    .page-n-h__hero-title {
        font-size: 2.5em;
    }

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

    .page-n-h__hero-actions {
        flex-direction: column;
        gap: 10px;
    }

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

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

    .page-n-h__feature-grid, .page-n-h__tip-cards, .page-n-h__promo-cards {
        grid-template-columns: 1fr;
    }
}