/* style/n-h.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1E90FF; /* Blue */
    --dark-bg: #1a1a1a;
    --light-text: #ffffff;
    --grey-text: #cccccc;
    --card-bg: #2a2a2a;
    --border-color: #444444;
}

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

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

.page-n-h-section {
    padding: 60px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

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

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

.page-n-h h1 {
    font-size: 3em;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

.page-n-h h2 {
    font-size: 2.5em;
    margin-top: 40px;
    color: var(--secondary-color);
}

.page-n-h h3 {
    font-size: 1.8em;
    color: var(--light-text);
    margin-bottom: 15px;
}

.page-n-h p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--grey-text);
    text-align: justify;
}

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

.page-n-h a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Hero Section */
.page-n-h-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-n-h-hero .page-n-h-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.page-n-h-hero-content {
    max-width: 800px;
    z-index: 1;
}

.page-n-h-hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

.page-n-h-hero-content p {
    font-size: 1.3em;
    color: var(--light-text);
    margin-bottom: 30px;
    text-align: center;
}

.page-n-h-hero-image {
    width: 100%;
    max-width: 800px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-n-h-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* CTA Button */
.page-n-h-cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--dark-bg);
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    border: 2px solid var(--primary-color);
}

.page-n-h-cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 144, 255, 0.6);
    border-color: var(--secondary-color);
    text-decoration: none;
}

.page-n-h-cta-small-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 10px 25px;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 1px solid var(--secondary-color);
    margin-top: 10px;
}

.page-n-h-cta-small-button:hover {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
    border-color: var(--primary-color);
    text-decoration: none;
}


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

.page-n-h-feature-item, .page-n-h-info-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-n-h-feature-item:hover, .page-n-h-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-n-h-feature-item img, .page-n-h-info-item img {
    width: 100%;
    max-width: 250px; /* Adjust max-width to ensure it's not too small but still fits the card */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-n-h-feature-item h3, .page-n-h-info-item h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-n-h-feature-item p, .page-n-h-info-item p {
    font-size: 1em;
    color: var(--grey-text);
    text-align: center;
}

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

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

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

.page-n-h-game-card img, .page-n-h-promotion-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-n-h-game-card h3, .page-n-h-promotion-card h3 {
    color: var(--primary-color);
    font-size: 1.4em;
    margin-bottom: 10px;
}

.page-n-h-game-card p, .page-n-h-promotion-card p {
    font-size: 1em;
    color: var(--grey-text);
    text-align: center;
}

.page-n-h-more-games, .page-n-h-promo-cta, .page-n-h-contact-cta {
    text-align: center;
    margin-top: 30px;
    font-size: 1.1em;
}

/* Guide Steps */
.page-n-h-guide-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.page-n-h-step-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.page-n-h-step-item h3 {
    color: var(--secondary-color);
    text-align: left;
    margin-bottom: 15px;
}

.page-n-h-step-item p {
    color: var(--grey-text);
    text-align: justify;
}

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

.page-n-h-guide-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Tips List */
.page-n-h-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-n-h-list li {
    background-color: var(--card-bg);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-left: 5px solid var(--primary-color);
    font-size: 1.1em;
    color: var(--light-text);
}

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

/* FAQ Section */
.page-n-h-faq-list {
    margin-top: 40px;
}

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

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--card-bg);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #3a3a3a;
}

.faq-question h3 {
    margin: 0;
    color: var(--light-text);
    font-size: 1.2em;
    text-align: left;
    flex-grow: 1;
}

.faq-toggle {
    font-size: 2em;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    line-height: 1;
    margin-left: 15px;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background-color: #222222;
    padding: 0 20px;
    color: var(--grey-text);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to accommodate content */
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.faq-answer p {
    margin: 0;
    color: var(--grey-text);
    text-align: justify;
}

/* Conclusion Section */
.page-n-h-conclusion {
    text-align: center;
    padding-bottom: 80px;
}

.page-n-h-conclusion p {
    max-width: 900px;
    margin: 0 auto 30px auto;
    font-size: 1.2em;
    color: var(--light-text);
}

.page-n-h-cta-final {
    margin-top: 40px;
}


/* Responsive Design */
@media (max-width: 992px) {
    .page-n-h h1 {
        font-size: 2.8em;
    }
    .page-n-h h2 {
        font-size: 2.2em;
    }
    .page-n-h-hero .page-n-h-container {
        flex-direction: column;
        padding: 0 15px;
    }
    .page-n-h-hero-content h1 {
        font-size: 2.8em;
    }
    .page-n-h-hero-content p {
        font-size: 1.1em;
    }
    .page-n-h-section {
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    .page-n-h-container {
        padding: 15px;
    }
    .page-n-h h1 {
        font-size: 2.2em;
    }
    .page-n-h h2 {
        font-size: 1.8em;
    }
    .page-n-h h3 {
        font-size: 1.5em;
    }
    .page-n-h p {
        font-size: 1em;
    }
    .page-n-h-cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-n-h-feature-grid, .page-n-h-info-grid, .page-n-h-game-cards, .page-n-h-promotion-cards {
        grid-template-columns: 1fr;
    }
    .page-n-h-hero-content h1 {
        font-size: 2.2em;
    }
    .page-n-h-hero-content p {
        font-size: 1em;
    }
    .faq-question {
        padding: 15px;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-toggle {
        font-size: 1.8em;
    }
    .faq-item.active .faq-answer {
        padding: 15px;
    }
    .page-n-h-list li {
        padding: 15px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-n-h h1 {
        font-size: 1.8em;
    }
}