/* style/n-h.css */

:root {
    --primary-color: #0A2239;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f4f7f6;
    --bg-dark: #0A2239;
    --border-color: #e0e0e0;
}

.page-n-h {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.page-n-h .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-n-h h1, .page-n-h h2, .page-n-h h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-n-h h1 {
    font-size: 2.8em;
    text-align: center;
    color: var(--text-light);
}

.page-n-h h2 {
    font-size: 2.2em;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
}

.page-n-h h3 {
    font-size: 1.6em;
    margin-top: 25px;
}

.page-n-h p {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.8;
}

.page-n-h a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-n-h a:hover {
    color: var(--secondary-color);
}

.page-n-h .cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-n-h .cta-button:hover {
    background: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-n-h .cta-button.large {
    padding: 18px 45px;
    font-size: 1.4em;
}

.page-n-h .text-center {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Hero Section */
.page-n-h .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-dark);
    color: var(--text-light);
    overflow: hidden;
}

.page-n-h .hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-n-h .hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-n-h .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-n-h .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-n-h .hero-content p {
    color: #e0e0e0;
    font-size: 1.2em;
    max-width: 800px;
    margin: 20px auto 30px auto;
}

/* Intro Section */
.page-n-h .intro-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.page-n-h .intro-section p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
}

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

.page-n-h .intro-grid .grid-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 .intro-grid .grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-n-h .intro-grid .grid-item .feature-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-n-h .intro-grid .grid-item h3 {
    color: var(--secondary-color);
    font-size: 1.4em;
    margin-bottom: 10px;
}

.page-n-h .intro-grid .grid-item p {
    font-size: 1em;
    color: var(--text-dark);
    text-align: center;
}

/* Game Types Section */
.page-n-h .game-types-section {
    padding: 60px 0;
    background-color: #f0f3f2;
}

.page-n-h .game-types-section p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-n-h .game-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-n-h .game-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-n-h .game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-n-h .game-card .card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-n-h .game-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.5em;
    margin: 0;
}

.page-n-h .game-card .card-title-link {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.page-n-h .game-card .card-title-link:hover {
    color: var(--secondary-color);
}

.page-n-h .game-card p {
    padding: 0 20px 20px;
    font-size: 1em;
    color: var(--text-dark);
    text-align: left;
}

/* Benefits Section */
.page-n-h .benefits-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.page-n-h .benefits-section p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

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

.page-n-h .benefits-list li {
    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 .benefits-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-n-h .benefits-list li .list-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-n-h .benefits-list li h3 {
    color: var(--secondary-color);
    font-size: 1.4em;
    margin-bottom: 10px;
}

.page-n-h .benefits-list li p {
    font-size: 1em;
    color: var(--text-dark);
    text-align: center;
}

/* Guide Section */
.page-n-h .guide-section {
    padding: 60px 0;
    background-color: #f0f3f2;
}

.page-n-h .guide-section p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-n-h .guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    counter-reset: step-counter;
}

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

.page-n-h .step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-n-h .step-item .step-number {
    counter-increment: step-counter;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    margin: -50px auto 20px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-n-h .step-item h3 {
    color: var(--primary-color);
    font-size: 1.4em;
    margin-bottom: 15px;
}

.page-n-h .step-item p {
    font-size: 1em;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 20px;
}

.page-n-h .step-item .step-button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-n-h .step-item .step-button:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* Strategy Section */
.page-n-h .strategy-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.page-n-h .strategy-section p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-n-h .strategy-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
}

.page-n-h .strategy-list li {
    background-color: #ffffff;
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-dark);
}

.page-n-h .strategy-list li strong {
    color: var(--primary-color);
    font-size: 1.1em;
}

/* FAQ Section */
.page-n-h .faq-section {
    padding: 60px 0;
    background-color: #f0f3f2;
}

.page-n-h .faq-section h2 {
    margin-bottom: 40px;
}

.page-n-h .faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-n-h .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
}

.page-n-h .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-n-h .faq-question:hover {
    background: #f5f5f5;
}

.page-n-h .faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--primary-color);
}

.page-n-h .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
    min-width: 24px; /* Ensure toggle icon has enough space */
    text-align: center;
}

.page-n-h .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #f9f9f9;
    color: var(--text-dark);
}

.page-n-h .faq-answer p {
    padding-bottom: 15px;
    margin: 0;
    font-size: 1em;
    line-height: 1.7;
}

.page-n-h .faq-item.active .faq-answer {
    max-height: 500px; /* Enough to show content */
    padding: 15px 25px;
}

.page-n-h .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-color);
}

/* Call to Action Section */
.page-n-h .call-to-action {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), #1a3d5f);
    color: var(--text-light);
    text-align: center;
}

.page-n-h .call-to-action h2 {
    color: var(--secondary-color);
    font-size: 2.5em;
}

.page-n-h .call-to-action p {
    font-size: 1.3em;
    max-width: 800px;
    margin: 20px auto 40px auto;
    color: #e0e0e0;
}

/* Latest News Section */
.page-n-h .latest-news-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.page-n-h .latest-news-section h2 {
    margin-bottom: 40px;
}

.page-n-h .latest-news-section p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-n-h .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-n-h .news-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-n-h .news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-n-h .news-card .card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-n-h .news-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.4em;
    margin: 0;
}

.page-n-h .news-card .card-title-link {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.page-n-h .news-card .card-title-link:hover {
    color: var(--secondary-color);
}

.page-n-h .news-card p {
    padding: 0 20px;
    font-size: 1em;
    color: var(--text-dark);
    text-align: left;
}

.page-n-h .news-card .news-date {
    display: block;
    font-size: 0.9em;
    color: #777;
    padding: 10px 20px 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-n-h h1 {
        font-size: 2.4em;
    }
    .page-n-h h2 {
        font-size: 1.8em;
    }
    .page-n-h h3 {
        font-size: 1.4em;
    }
    .page-n-h .hero-content p {
        font-size: 1.1em;
    }
    .page-n-h .cta-button {
        padding: 12px 30px;
        font-size: 1.1em;
    }
    .page-n-h .cta-button.large {
        padding: 15px 35px;
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    .page-n-h .hero-section {
        padding: 60px 15px;
    }
    .page-n-h h1 {
        font-size: 2em;
    }
    .page-n-h h2 {
        font-size: 1.6em;
    }
    .page-n-h h3 {
        font-size: 1.2em;
    }
    .page-n-h p {
        font-size: 1em;
    }
    .page-n-h .intro-grid,
    .page-n-h .game-cards-wrapper,
    .page-n-h .benefits-list,
    .page-n-h .guide-steps,
    .page-n-h .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-n-h .step-item .step-number {
        margin-top: -30px;
    }
    .page-n-h .faq-question {
        padding: 15px 20px;
    }
    .page-n-h .faq-question h3 {
        font-size: 1.1em;
    }
    .page-n-h .faq-toggle {
        font-size: 20px;
    }
    .page-n-h .faq-answer {
        padding: 0 20px;
    }
    .page-n-h .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-n-h h1 {
        font-size: 1.8em;
    }
    .page-n-h h2 {
        font-size: 1.4em;
    }
    .page-n-h .hero-content p {
        font-size: 0.95em;
    }
    .page-n-h .cta-button {
        padding: 10px 25px;
        font-size: 1em;
    }
    .page-n-h .cta-button.large {
        padding: 12px 30px;
        font-size: 1.1em;
    }
    .page-n-h .intro-grid .grid-item .feature-image {
        max-width: 250px;
    }
    .page-n-h .benefits-list li .list-icon {
        width: 80px;
        height: 80px;
    }
    .page-n-h .call-to-action h2 {
        font-size: 2em;
    }
    .page-n-h .call-to-action p {
        font-size: 1.1em;
    }
}