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

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

.page-n-h h1, .page-n-h h2, .page-n-h h3 {
    color: #0A2038;
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-n-h h1 {
    font-size: 3em;
    margin-top: 20px;
    color: #FFD700; /* Tiêu đề chính trên hero */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-n-h h2 {
    font-size: 2.5em;
    padding-top: 40px;
    border-bottom: 3px solid #FFD700;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    padding-bottom: 10px;
}

.page-n-h h3 {
    font-size: 1.8em;
    color: #0A2038;
    margin-bottom: 15px;
}

.page-n-h p {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-n-h section {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

.page-n-h section:last-of-type {
    border-bottom: none;
}

/* 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: linear-gradient(135deg, #0A2038, #2c4a6e);
    color: #ffffff;
}

.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;
}

.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.3);
}

.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: 0 auto 30px auto;
}

.page-n-h .cta-button, .page-n-h .cta-button-bottom {
    display: inline-block;
    padding: 18px 45px;
    background: #FFD700;
    color: #0A2038;
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Section Intro */
.page-n-h .section-intro {
    background-color: #f0f4f8;
}

.page-n-h .section-intro p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-n-h .intro-cards .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-n-h .intro-cards .card-img {
    width: 100%;
    max-width: 300px; /* Đảm bảo hình ảnh lớn */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-n-h .intro-cards .card h3 {
    color: #0A2038;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-n-h .intro-cards .card p {
    font-size: 1em;
    color: #555;
    text-align: center;
}

/* Section Game Types */
.page-n-h .section-game-types {
    background-color: #ffffff;
}

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

.page-n-h .game-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-n-h .game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-n-h .game-item .game-img {
    width: 100%;
    max-width: 300px; /* Đảm bảo hình ảnh lớn */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-n-h .game-item h3 {
    color: #0A2038;
    font-size: 1.4em;
    margin-bottom: 10px;
}

.page-n-h .game-item p {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
}

.page-n-h .btn-small {
    display: inline-block;
    padding: 10px 25px;
    background: #FFD700;
    color: #0A2038;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-n-h .btn-small:hover {
    background: #e6c200;
}

/* Section Benefits */
.page-n-h .section-benefits {
    background-color: #f0f4f8;
}

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

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

.page-n-h .benefit-list li:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-n-h .benefit-icon {
    width: 100px; /* Đảm bảo kích thước lớn hơn 200px nếu là hình ảnh */
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-n-h .benefit-list h3 {
    font-size: 1.4em;
    color: #0A2038;
    margin-bottom: 10px;
}

.page-n-h .benefit-list p {
    font-size: 1em;
    color: #555;
    text-align: center;
}

/* Section Guide */
.page-n-h .section-guide {
    background-color: #ffffff;
}

.page-n-h .guide-steps {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
    margin-top: 40px;
}

.page-n-h .guide-steps li {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-n-h .guide-steps li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    background-color: #FFD700;
    color: #0A2038;
    font-size: 1.8em;
    font-weight: bold;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    margin-right: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-n-h .guide-steps li h3 {
    text-align: left;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.6em;
    color: #0A2038;
}

.page-n-h .guide-steps li p {
    text-align: left;
    font-size: 1.05em;
    color: #555;
    margin-bottom: 15px;
}

.page-n-h .btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #FFD700;
    color: #0A2038;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
    background-color: transparent;
}

.page-n-h .btn-outline:hover {
    background-color: #FFD700;
    color: #0A2038;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Section Promotions */
.page-n-h .section-promotions {
    background-color: #e6eef5;
}

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

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

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

.page-n-h .promo-img {
    width: 100%;
    max-width: 350px; /* Đảm bảo hình ảnh lớn */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-n-h .promo-item h3 {
    color: #0A2038;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-n-h .promo-item p {
    font-size: 1em;
    color: #555;
    text-align: center;
    margin-bottom: 20px;
}

.page-n-h .btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: #0A2038;
    color: #FFD700;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-n-h .btn-primary:hover {
    background: #FFD700;
    color: #0A2038;
}

/* FAQ Section */
.page-n-h .section-faq {
    background-color: #ffffff;
}

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

.page-n-h .faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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

.page-n-h .faq-question h3 {
    margin: 0;
    font-size: 1.3em;
    color: #ffffff;
    text-align: left;
    flex-grow: 1;
}

.page-n-h .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    transition: transform 0.3s ease;
    color: #FFD700;
}

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

.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: #f0f4f8;
    color: #333;
}

.page-n-h .faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding: 25px;
    border-top: 1px solid #e0e0e0;
}

.page-n-h .faq-answer p {
    text-align: left;
    margin: 0;
    font-size: 1.05em;
}

/* Section Conclusion */
.page-n-h .section-conclusion {
    background-color: #0A2038;
    color: #ffffff;
    text-align: center;
    padding-bottom: 80px;
}

.page-n-h .section-conclusion h2 {
    color: #FFD700;
    border-bottom-color: #FFD700;
}

.page-n-h .section-conclusion p {
    color: #e0e0e0;
    font-size: 1.2em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-n-h h1 {
        font-size: 2.5em;
    }
    .page-n-h h2 {
        font-size: 2em;
    }
    .page-n-h h3 {
        font-size: 1.6em;
    }
    .page-n-h .cta-button, .page-n-h .cta-button-bottom {
        padding: 15px 35px;
        font-size: 18px;
    }
    .page-n-h .intro-cards, .page-n-h .game-grid, .page-n-h .benefit-list, .page-n-h .promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-n-h h1 {
        font-size: 2em;
    }
    .page-n-h h2 {
        font-size: 1.8em;
    }
    .page-n-h h3 {
        font-size: 1.4em;
    }
    .page-n-h p {
        font-size: 1em;
    }
    .page-n-h .hero-section {
        padding: 60px 15px;
    }
    .page-n-h .hero-image img {
        border-radius: 8px;
    }
    .page-n-h .cta-button, .page-n-h .cta-button-bottom {
        padding: 12px 30px;
        font-size: 16px;
        margin-top: 20px;
    }
    .page-n-h .intro-cards, .page-n-h .game-grid, .page-n-h .benefit-list, .page-n-h .promo-grid {
        grid-template-columns: 1fr;
    }
    .page-n-h .guide-steps li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .page-n-h .guide-steps li::before {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .page-n-h .guide-steps li h3, .page-n-h .guide-steps li p {
        text-align: center;
    }
    .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: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-n-h h1 {
        font-size: 1.8em;
    }
    .page-n-h h2 {
        font-size: 1.6em;
    }
    .page-n-h h3 {
        font-size: 1.3em;
    }
    .page-n-h .cta-button, .page-n-h .cta-button-bottom {
        font-size: 14px;
        padding: 10px 25px;
    }
    .page-n-h .container {
        padding: 0 15px;
    }
}