/* 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;
}

/* Hero Section */
.page-n-h .hero-section {
    background: linear-gradient(135deg, #FFD700 0%, #000080 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-n-h .hero-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 .hero-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: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
}

.page-n-h .btn-primary {
    background-color: #FFD700;
    color: #000080;
    border: 2px solid #FFD700;
}

.page-n-h .btn-primary:hover {
    background-color: #e0b800;
    border-color: #e0b800;
    color: #000050;
    transform: translateY(-2px);
}

.page-n-h .btn-secondary {
    background-color: #000080;
    color: #FFD700;
    border: 2px solid #FFD700;
    margin-left: 20px;
}

.page-n-h .btn-secondary:hover {
    background-color: #000050;
    border-color: #e0b800;
    color: #FFD700;
    transform: translateY(-2px);
}

/* General Section Styling */
.page-n-h section {
    padding: 60px 0;
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.page-n-h .section-title {
    font-size: 2.5em;
    color: #000080;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-n-h .section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555;
}

.page-n-h .subsection-title {
    font-size: 1.8em;
    color: #000080;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Intro Section */
.page-n-h .intro-section .intro-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-n-h .intro-section .intro-content {
    flex: 1;
}

.page-n-h .intro-section .intro-image-wrapper {
    flex: 1;
    text-align: center;
}

.page-n-h .intro-section .intro-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-n-h .benefit-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-n-h .benefit-list li {
    background-color: #e6f7ff;
    border-left: 5px solid #FFD700;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 1.05em;
    color: #333;
}

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

.page-n-h .category-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-n-h .category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-n-h .card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-n-h .card-title {
    font-size: 1.5em;
    color: #000080;
    margin: 20px 0 10px;
    padding: 0 15px;
}

.page-n-h .card-text {
    font-size: 0.95em;
    color: #666;
    padding: 0 15px 20px;
}

.page-n-h .cta-center {
    text-align: center;
    margin-top: 50px;
}

/* How To Play Section */
.page-n-h .how-to-play-section .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-n-h .step-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.page-n-h .step-title {
    font-size: 1.4em;
    color: #000080;
    margin-bottom: 15px;
}

.page-n-h .step-card p {
    color: #555;
}

.page-n-h .step-card a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

.page-n-h .step-card a:hover {
    text-decoration: underline;
}

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

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

.page-n-h .promo-card:hover {
    transform: translateY(-5px);
}

.page-n-h .promo-card .card-image {
    height: 180px;
    object-fit: cover;
    width: 100%;
    filter: brightness(0.8);
}

.page-n-h .promo-card .card-title {
    color: #FFD700;
    margin-top: 20px;
}

.page-n-h .promo-card .card-text {
    color: #ccc;
    padding-bottom: 20px;
}

/* Why Choose jun8 Section */
.page-n-h .why-choose-jun8-section {
    background-color: #000080;
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.page-n-h .why-choose-jun8-section .section-title {
    color: #FFD700;
}

.page-n-h .why-choose-jun8-section .why-choose-content {
    max-width: 900px;
    margin: 0 auto 40px auto;
    font-size: 1.1em;
}

.page-n-h .why-choose-jun8-section .why-choose-content p {
    margin-bottom: 20px;
    color: #eee;
}

.page-n-h .why-choose-jun8-section .why-choose-image {
    max-width: 80%;
    height: auto;
    border-radius: 12px;
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-n-h .faq-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    transition: box-shadow 0.3s ease;
}

.page-n-h .faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.page-n-h .faq-question {
    font-size: 1.3em;
    color: #000080;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-n-h .faq-answer {
    font-size: 1.0em;
    color: #666;
    display: block;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.page-n-h .faq-item a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

.page-n-h .faq-item a:hover {
    text-decoration: underline;
}

/* CTA Section */
.page-n-h .cta-section {
    background: linear-gradient(45deg, #000080, #000050);
    color: #fff;
    text-align: center;
    padding: 80px 0;
    border-radius: 0;
    box-shadow: none;
}

.page-n-h .cta-title {
    font-size: 3em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-n-h .cta-description {
    font-size: 1.3em;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #eee;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-n-h .hero-title {
        font-size: 2.8em;
    }
    .page-n-h .hero-subtitle {
        font-size: 1.3em;
    }
    .page-n-h .intro-section .intro-grid {
        flex-direction: column;
    }
    .page-n-h .intro-section .intro-image-wrapper {
        order: -1; /* Image appears first on mobile */
        margin-bottom: 30px;
    }
    .page-n-h .section-title {
        font-size: 2em;
    }
    .page-n-h .categories-grid, .page-n-h .steps-grid, .page-n-h .promo-grid {
        grid-template-columns: 1fr;
    }
    .page-n-h .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }
    .page-n-h .why-choose-jun8-section .why-choose-image {
        max-width: 95%;
    }
    .page-n-h .cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-n-h .hero-section {
        padding: 80px 0;
    }
    .page-n-h .hero-title {
        font-size: 2.2em;
    }
    .page-n-h .hero-subtitle {
        font-size: 1.1em;
    }
    .page-n-h .btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-n-h section {
        padding: 40px 0;
    }
    .page-n-h .section-title {
        font-size: 1.8em;
    }
    .page-n-h .cta-title {
        font-size: 2em;
    }
    .page-n-h .btn-large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-n-h .hero-title {
        font-size: 1.8em;
    }
    .page-n-h .hero-subtitle {
        font-size: 1em;
    }
    .page-n-h .btn-secondary {
        margin-top: 10px;
    }
    .page-n-h .section-title {
        font-size: 1.5em;
    }
    .page-n-h .cta-title {
        font-size: 1.8em;
    }
    .page-n-h .why-choose-jun8-section .why-choose-image {
        max-width: 100%;
    }
}