/* style/n-h.css */
:root {
    --primary-color: #003366;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f4f7f6;
    --bg-dark: #002244;
    --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-section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.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-section-subtitle {
    text-align: center;
    font-size: 1.2em;
    color: var(--text-dark);
    margin-bottom: 50px;
}

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

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

/* Hero Section */
.page-n-h .hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #001f3f 100%);
    padding: 80px 0;
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
}

.page-n-h .hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

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

.page-n-h-main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--secondary-color);
}

.page-n-h-hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-n-h .hero-image {
    width: 100%;
    max-width: 1000px;
}

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

/* Why Choose Section */
.page-n-h .section-why-choose {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.page-n-h-feature-item {
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    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 30px rgba(0, 0, 0, 0.15);
}

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

.page-n-h-feature-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-n-h-feature-item p {
    font-size: 1em;
    color: var(--text-dark);
    line-height: 1.8;
}

/* Featured Games Section */
.page-n-h .section-featured-games {
    padding: 80px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-n-h .section-featured-games .page-n-h-section-title {
    color: var(--secondary-color);
}

.page-n-h .section-featured-games .page-n-h-section-subtitle {
    color: var(--text-light);
}

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

.page-n-h-game-card {
    background-color: var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-n-h-game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

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

.page-n-h-game-card-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    padding: 20px 20px 10px;
}

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

.page-n-h-game-card-title a:hover {
    color: var(--text-light);
}

.page-n-h-game-card-description {
    font-size: 0.95em;
    color: var(--text-light);
    padding: 0 20px 20px;
    opacity: 0.8;
}

.page-n-h-game-card-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin: 0 20px 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-n-h-game-card-button:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

/* How To Play Section */
.page-n-h .section-how-to-play {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.page-n-h-step-item {
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
}

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

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

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

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

.page-n-h-step-button:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Security & Support Section */
.page-n-h .section-security-support {
    padding: 80px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-n-h .section-security-support .page-n-h-section-title {
    color: var(--secondary-color);
}

.page-n-h-grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.page-n-h-sub-section-title {
    font-size: 2em;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.page-n-h-text-content p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 25px;
    opacity: 0.9;
}

.page-n-h-contact-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.page-n-h-contact-button:hover {
    background: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.page-n-h-security-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-n-h .section-faq {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

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

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

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

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

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #f9f9f9;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    border-radius: 0 0 8px 8px;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding: 15px 25px;
}

.faq-answer p {
    margin: 0;
    font-size: 1em;
    color: var(--text-dark);
    line-height: 1.7;
}

/* Conclusion Section */
.page-n-h .section-conclusion {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
}

.page-n-h .section-conclusion .page-n-h-section-title {
    color: var(--secondary-color);
}

.page-n-h-conclusion-text {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.page-n-h-conclusion-cta {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.page-n-h-conclusion-cta:hover {
    background: var(--text-light);
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-n-h-main-title {
        font-size: 2.8em;
    }
    .page-n-h-hero-description {
        font-size: 1.1em;
    }
    .page-n-h-section-title {
        font-size: 2em;
    }
    .page-n-h-grid-2-col {
        grid-template-columns: 1fr;
    }
    .page-n-h-image-content {
        order: -1; /* Image appears above text on mobile */
    }
}

@media (max-width: 768px) {
    .page-n-h .hero-section {
        padding: 50px 0;
    }
    .page-n-h-main-title {
        font-size: 2.2em;
    }
    .page-n-h-hero-description {
        font-size: 1em;
    }
    .page-n-h-section-title {
        font-size: 1.8em;
    }
    .page-n-h-section-subtitle {
        font-size: 1em;
    }
    .page-n-h-cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-n-h-feature-item, .page-n-h-game-card, .page-n-h-step-item {
        padding: 25px;
    }
    .page-n-h-feature-icon {
        width: 80px;
        height: 80px;
    }
    .page-n-h-feature-title, .page-n-h-game-card-title, .page-n-h-step-title {
        font-size: 1.4em;
    }
    .page-n-h-game-card-img {
        height: 200px;
    }
    .page-n-h-step-number {
        width: 50px;
        height: 50px;
        font-size: 1.8em;
        margin-top: -50px;
    }
    .page-n-h-text-content p {
        font-size: 0.95em;
    }
    .page-n-h-sub-section-title {
        font-size: 1.8em;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-question, .faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
    .faq-item.active .faq-answer {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .page-n-h-main-title {
        font-size: 1.8em;
    }
    .page-n-h-section-title {
        font-size: 1.6em;
    }
    .page-n-h-hero-container {
        gap: 20px;
    }
    .page-n-h-hero-img {
        border-radius: 8px;
    }
    .page-n-h-feature-item, .page-n-h-game-card, .page-n-h-step-item {
        padding: 20px;
    }
    .page-n-h-feature-icon {
        width: 70px;
        height: 70px;
    }
    .page-n-h-feature-title, .page-n-h-game-card-title, .page-n-h-step-title {
        font-size: 1.2em;
    }
    .page-n-h-game-card-img {
        height: 180px;
    }
    .page-n-h-step-number {
        width: 45px;
        height: 45px;
        font-size: 1.6em;
        margin-top: -45px;
    }
    .page-n-h-conclusion-text {
        font-size: 1em;
    }
}