/* style/n-h.css */

/* Biến CSS */
:root {
    --page-n-h-primary-color: #0A2463;
    --page-n-h-secondary-color: #FFD700;
    --page-n-h-text-light: #f8f9fa;
    --page-n-h-text-dark: #343a40;
    --page-n-h-bg-dark: #1a1a2e;
    --page-n-h-bg-light: #ffffff;
    --page-n-h-border-color: #e0e0e0;
}

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

.page-n-h__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Hero Section */
.page-n-h__hero-section {
    background: linear-gradient(135deg, var(--page-n-h-primary-color), #2C5364);
    color: var(--page-n-h-text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-n-h__hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: var(--page-n-h-secondary-color);
    opacity: 0.1;
    border-radius: 50%;
    animation: page-n-h-float 10s ease-in-out infinite alternate;
}

.page-n-h__hero-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background-color: var(--page-n-h-secondary-color);
    opacity: 0.15;
    border-radius: 50%;
    animation: page-n-h-float 12s ease-in-out infinite reverse alternate;
}

.page-n-h__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--page-n-h-text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-n-h__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-n-h__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-n-h__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-n-h__btn--primary {
    background-color: var(--page-n-h-secondary-color);
    color: var(--page-n-h-primary-color);
    border: 2px solid var(--page-n-h-secondary-color);
}

.page-n-h__btn--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-n-h__btn--secondary {
    background-color: transparent;
    color: var(--page-n-h-secondary-color);
    border: 2px solid var(--page-n-h-secondary-color);
}

.page-n-h__btn--secondary:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-n-h__intro-section {
    padding: 60px 0;
    background-color: var(--page-n-h-bg-light);
}

.page-n-h__section-title {
    font-size: 2.5em;
    color: var(--page-n-h-primary-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

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

.page-n-h__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-n-h__text-content {
    flex: 1;
    font-size: 1.1em;
}

.page-n-h__text-content p {
    margin-bottom: 20px;
    color: var(--page-n-h-text-dark);
}

.page-n-h__text-content a {
    color: var(--page-n-h-primary-color);
    font-weight: bold;
    text-decoration: none;
}

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

.page-n-h__image-wrapper {
    flex: 1;
    text-align: center;
}

.page-n-h__image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.page-n-h__image:hover {
    transform: scale(1.02);
}

/* Game Features */
.page-n-h__game-features {
    background-color: #f0f4f8;
    padding: 80px 0;
}

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

.page-n-h__feature-item {
    background-color: var(--page-n-h-bg-light);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-n-h__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    /* filter: none; -- Ensure no color filters */
}

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

.page-n-h__feature-item p {
    color: var(--page-n-h-text-dark);
}

/* Strategy Guide */
.page-n-h__strategy-guide {
    padding: 80px 0;
    background-color: var(--page-n-h-bg-light);
}

.page-n-h__section-description {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 40px;
    color: var(--page-n-h-text-dark);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-n-h__strategy-list {
    list-style: none;
    padding: 0;
}

.page-n-h__strategy-list li {
    background-color: #f9f9f9;
    border-left: 5px solid var(--page-n-h-secondary-color);
    margin-bottom: 25px;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-n-h__strategy-heading {
    font-size: 1.6em;
    color: var(--page-n-h-primary-color);
    margin-top: 0;
    margin-bottom: 15px;
}

.page-n-h__strategy-list p {
    font-size: 1.05em;
    color: var(--page-n-h-text-dark);
}

.page-n-h__strategy-list a {
    color: var(--page-n-h-primary-color);
    font-weight: bold;
    text-decoration: none;
}

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

.page-n-h__cta-bottom {
    text-align: center;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Popular Games */
.page-n-h__popular-games {
    background-color: #f0f4f8;
    padding: 80px 0;
}

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

.page-n-h__game-card {
    background-color: var(--page-n-h-bg-light);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-n-h__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    /* filter: none; -- Ensure no color filters */
}

.page-n-h__game-title {
    font-size: 1.4em;
    color: var(--page-n-h-primary-color);
    padding: 15px 20px 5px;
    margin: 0;
}

.page-n-h__game-title a {
    text-decoration: none;
    color: var(--page-n-h-primary-color);
}

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

.page-n-h__game-description {
    font-size: 0.95em;
    color: #666;
    padding: 0 20px 20px;
}

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

.page-n-h__faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

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

.page-n-h__faq-question {
    background-color: var(--page-n-h-primary-color);
    color: var(--page-n-h-text-light);
    padding: 20px 25px;
    margin: 0;
    cursor: pointer;
    font-size: 1.2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-n-h__faq-question:hover {
    background-color: #1b3d7a;
}

.page-n-h__faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-n-h__faq-item.active .page-n-h__faq-question::after {
    transform: rotate(45deg);
}

.page-n-h__faq-answer {
    padding: 0 25px;
    background-color: #fefefe;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-n-h__faq-item.active .page-n-h__faq-answer {
    max-height: 200px; /* Adjust as needed */
    padding: 20px 25px;
}

.page-n-h__faq-answer p {
    margin: 0;
    color: var(--page-n-h-text-dark);
}

.page-n-h__faq-answer a {
    color: var(--page-n-h-primary-color);
    font-weight: bold;
    text-decoration: none;
}

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

/* Register CTA */
.page-n-h__register-cta {
    background: linear-gradient(45deg, var(--page-n-h-secondary-color), #FFC107);
    padding: 80px 0;
    text-align: center;
    color: var(--page-n-h-primary-color);
}

.page-n-h__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--page-n-h-primary-color);
}

.page-n-h__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-n-h__btn--large {
    padding: 18px 40px;
    font-size: 1.3em;
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-n-h__hero-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__content-wrapper {
        flex-direction: column;
    }
    .page-n-h__image-wrapper {
        margin-top: 30px;
    }
    .page-n-h__features-grid,
    .page-n-h__game-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-n-h__cta-group, .page-n-h__cta-bottom {
        flex-direction: column;
        gap: 15px;
    }
    .page-n-h__btn {
        width: 80%;
        margin: 0 auto;
    }
    .page-n-h__btn--large {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .page-n-h__hero-section,
    .page-n-h__intro-section,
    .page-n-h__game-features,
    .page-n-h__strategy-guide,
    .page-n-h__popular-games,
    .page-n-h__faq-section,
    .page-n-h__register-cta {
        padding: 60px 0;
    }
    .page-n-h__hero-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__feature-item,
    .page-n-h__game-card {
        padding: 20px;
    }
    .page-n-h__strategy-list li {
        padding: 20px 25px;
    }
    .page-n-h__cta-title {
        font-size: 2.2em;
    }
    .page-n-h__cta-description {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-n-h__hero-title {
        font-size: 1.8em;
    }
    .page-n-h__hero-description {
        font-size: 0.9em;
    }
    .page-n-h__section-title {
        font-size: 1.5em;
    }
    .page-n-h__btn {
        font-size: 1em;
        padding: 12px 20px;
    }
    .page-n-h__btn--large {
        font-size: 1.1em;
        padding: 15px 30px;
    }
    .page-n-h__features-grid,
    .page-n-h__game-cards-grid {
        grid-template-columns: 1fr;
    }
    .page-n-h__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-n-h__faq-item.active .page-n-h__faq-answer {
        padding: 15px 20px;
    }
}

/* Animations */
@keyframes page-n-h-float {
    0% { transform: translate(0, 0); }
    50% { transform: translate(20px, 20px); }
    100% { transform: translate(0, 0); }
}