/* style/n-h.css */
:root {
    --primary-color: #0A1931;
    --secondary-color: #FFD700;
    --cta-color: #32CD32;
    --text-light: #F8F8F8;
    --text-dark: #333333;
    --bg-light: #FFFFFF;
    --bg-dark: #0A1931;
    --border-color: #E0E0E0;
}

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

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

.page-n-h section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-n-h section:nth-of-type(even) {
    background-color: #F0F2F5;
}

.page-n-h .section-title {
    font-size: 36px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-n-h .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.page-n-h p {
    font-size: 17px;
    margin-bottom: 15px;
    text-align: justify;
}

/* 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;
    max-width: 1000px; /* Adjust as needed */
}

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

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

.page-n-h .hero-content h1 {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-n-h .hero-content p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-light);
}

.page-n-h .cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--cta-color);
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-n-h .cta-button:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-n-h .btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.page-n-h .btn-primary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.page-n-h .btn-secondary {
    display: inline-block;
    padding: 10px 25px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.page-n-h .btn-secondary:hover {
    background: var(--cta-color);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.page-n-h .btn-text {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: color 0.3s ease;
}

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

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

.page-n-h .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-n-h .benefit-item {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.page-n-h .benefit-icon {
    width: 250px; /* Increased size */
    height: 180px; /* Increased size */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

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

.page-n-h .benefit-item p {
    font-size: 16px;
    color: var(--text-dark);
    text-align: center;
}

/* Games Section */
.page-n-h .section-games {
    background-color: #F0F2F5;
}

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

.page-n-h .game-card {
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.page-n-h .game-image {
    width: 100%;
    height: 250px; /* Ensure sufficient size */
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.page-n-h .game-card h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin: 20px 15px 10px 15px;
}

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

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

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

.page-n-h .game-card .btn-secondary {
    margin-bottom: 20px;
}

/* Guide Section */
.page-n-h .section-guide {
    background-color: var(--bg-light);
}

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

.page-n-h .step-item {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    text-align: center;
}

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

.page-n-h .step-item p {
    font-size: 16px;
    color: var(--text-dark);
    text-align: center;
}

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

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

.page-n-h .promo-card {
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.page-n-h .promo-image {
    width: 100%;
    height: 220px; /* Ensure sufficient size */
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.page-n-h .promo-card h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin: 20px 15px 10px 15px;
}

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

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

.page-n-h .promo-card p {
    font-size: 16px;
    color: var(--text-dark);
    padding: 0 20px 20px 20px;
    text-align: center;
}

/* Tips Section */
.page-n-h .section-tips {
    background-color: var(--bg-light);
}

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

.page-n-h .tips-list li {
    background: #FFFFFF;
    margin-bottom: 15px;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    font-size: 17px;
    color: var(--text-dark);
    border-left: 5px solid var(--secondary-color);
    text-align: justify;
}

.page-n-h .tips-list li strong {
    color: var(--primary-color);
}

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

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

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

.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 {
    font-size: 18px;
    color: var(--primary-color);
    margin: 0;
}

.page-n-h .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

.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-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
}

.page-n-h .faq-answer p {
    margin: 0;
    font-size: 16px;
    text-align: justify;
}

/* Bottom CTA Section */
.page-n-h .section-cta-bottom {
    background: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: 80px 20px;
    border-radius: 0 0 10px 10px;
    margin-bottom: 0;
}

.page-n-h .section-cta-bottom .section-title {
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.page-n-h .section-cta-bottom .section-title::after {
    background-color: var(--cta-color);
}

.page-n-h .section-cta-bottom p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-n-h .hero-content h1 {
        font-size: 40px;
    }
    .page-n-h .hero-content p {
        font-size: 18px;
    }
    .page-n-h .section-title {
        font-size: 30px;
    }
    .page-n-h .benefits-grid, .page-n-h .game-categories, .page-n-h .step-by-step, .page-n-h .promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-n-h .hero-section {
        padding: 60px 15px;
    }
    .page-n-h .hero-content h1 {
        font-size: 32px;
    }
    .page-n-h .hero-content p {
        font-size: 16px;
    }
    .page-n-h .cta-button {
        padding: 15px 35px;
        font-size: 18px;
    }
    .page-n-h section {
        padding: 40px 0;
    }
    .page-n-h .section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    .page-n-h p {
        font-size: 15px;
    }
    .page-n-h .benefit-item, .page-n-h .game-card, .page-n-h .step-item, .page-n-h .promo-card {
        padding: 25px;
    }
    .page-n-h .benefit-icon {
        width: 200px;
        height: 150px;
    }
    .page-n-h .game-image, .page-n-h .promo-image {
        height: 180px;
    }
    .page-n-h .faq-question {
        padding: 15px 20px;
    }
    .page-n-h .faq-question h3 {
        font-size: 16px;
    }
    .page-n-h .faq-answer {
        padding: 15px 20px;
    }
    .page-n-h .section-cta-bottom {
        padding: 60px 15px;
    }
    .page-n-h .section-cta-bottom p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .page-n-h .hero-content h1 {
        font-size: 28px;
    }
    .page-n-h .hero-content p {
        font-size: 14px;
    }
    .page-n-h .cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-n-h .section-title {
        font-size: 22px;
    }
    .page-n-h .benefit-item h3, .page-n-h .game-card h3, .page-n-h .promo-card h3 {
        font-size: 18px;
    }
    .page-n-h .faq-question h3 {
        font-size: 14px;
    }
    .page-n-h .faq-toggle {
        font-size: 20px;
    }
    .page-n-h .tips-list li {
        font-size: 15px;
    }
}