/* style/n-h.css */

:root {
    --page-n-h-primary-color: #FFD700;
    --page-n-h-secondary-color: #1E90FF;
    --page-n-h-dark-text: #2c3e50;
    --page-n-h-light-text: #ecf0f1;
    --page-n-h-background-light: #f4f7f6;
    --page-n-h-background-dark: #34495e;
}

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

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

.page-n-h__section {
    padding: 60px 0;
    text-align: center;
}

.page-n-h__section:nth-of-type(even) {
    background-color: var(--page-n-h-background-dark);
    color: var(--page-n-h-light-text);
}

.page-n-h__section:nth-of-type(even) .page-n-h__section-title,
.page-n-h__section:nth-of-type(even) .page-n-h__section-intro,
.page-n-h__section:nth-of-type(even) .page-n-h__feature-title,
.page-n-h__section:nth-of-type(even) .page-n-h__feature-description,
.page-n-h__section:nth-of-type(even) .page-n-h__game-title,
.page-n-h__section:nth-of-type(even) .page-n-h__game-description,
.page-n-h__section:nth-of-type(even) .page-n-h__step-title,
.page-n-h__section:nth-of-type(even) .page-n-h__promo-title,
.page-n-h__section:nth-of-type(even) .page-n-h__promo-description,
.page-n-h__section:nth-of-type(even) .page-n-h__accordion-header,
.page-n-h__section:nth-of-type(even) .page-n-h__accordion-content p {
    color: var(--page-n-h-light-text);
}

.page-n-h__section-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--page-n-h-dark-text);
    position: relative;
    display: inline-block;
}

.page-n-h__section:nth-of-type(even) .page-n-h__section-title {
    color: var(--page-n-h-primary-color);
}

.page-n-h__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--page-n-h-primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-n-h__section-intro {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
}

.page-n-h__section:nth-of-type(even) .page-n-h__section-intro {
    color: var(--page-n-h-light-text);
}

.page-n-h__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-n-h__btn--primary {
    background-color: var(--page-n-h-primary-color);
    color: var(--page-n-h-dark-text);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-n-h__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.6);
}

.page-n-h__btn--secondary {
    background-color: var(--page-n-h-secondary-color);
    color: var(--page-n-h-light-text);
    box-shadow: 0 4px 10px rgba(30, 144, 255, 0.4);
    margin-left: 15px;
}

.page-n-h__btn--secondary:hover {
    background-color: #1a7ae0;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(30, 144, 255, 0.6);
}

/* Hero Section */
.page-n-h__hero {
    background: linear-gradient(135deg, var(--page-n-h-primary-color) 0%, var(--page-n-h-secondary-color) 100%);
    color: var(--page-n-h-light-text);
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.page-n-h__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--page-n-h-light-text);
    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: 900px;
    line-height: 1.8;
    color: var(--page-n-h-light-text);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-n-h__hero-actions .page-n-h__btn {
    margin-top: 20px;
}

.page-n-h__hero-image {
    position: absolute;
    bottom: 0;
    right: -10%;
    width: 600px;
    height: auto;
    opacity: 0.2;
    z-index: 0;
    filter: brightness(100%); /* Ensure no color changes */
}

.page-n-h__hero > .page-n-h__container {
    z-index: 1;
    position: relative;
}

/* Why Choose Section */
.page-n-h__why-choose {
    background-color: var(--page-n-h-background-light);
    color: var(--page-n-h-dark-text);
}

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

.page-n-h__feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-n-h__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(100%); /* Ensure no color changes */
}

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

.page-n-h__feature-description {
    font-size: 1em;
    color: #555;
}

.page-n-h__why-choose .page-n-h__section-title {
    color: var(--page-n-h-dark-text);
}

/* Popular Games Section */
.page-n-h__popular-games {
    background-color: var(--page-n-h-background-dark);
    color: var(--page-n-h-light-text);
}

.page-n-h__popular-games .page-n-h__section-title {
    color: var(--page-n-h-primary-color);
}

.page-n-h__popular-games .page-n-h__section-intro {
    color: var(--page-n-h-light-text);
}

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

.page-n-h__game-card {
    background-color: #2c3e50; /* Slightly lighter dark background */
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-n-h__game-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    filter: brightness(100%); /* Ensure no color changes */
}

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

.page-n-h__game-description {
    font-size: 0.95em;
    color: #bdc3c7;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-n-h__btn--play {
    background-color: var(--page-n-h-secondary-color);
    color: var(--page-n-h-light-text);
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(30, 144, 255, 0.3);
}

.page-n-h__btn--play:hover {
    background-color: #1a7ae0;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(30, 144, 255, 0.5);
}

/* How to Play Section */
.page-n-h__how-to-play {
    background-color: var(--page-n-h-background-light);
    color: var(--page-n-h-dark-text);
}

.page-n-h__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
    text-align: left;
}

.page-n-h__steps-list li {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-n-h__steps-list li:last-child {
    margin-bottom: 0;
}

.page-n-h__step-title {
    font-size: 1.8em;
    color: var(--page-n-h-secondary-color);
    margin-bottom: 10px;
}

.page-n-h__steps-list p {
    font-size: 1em;
    color: #444;
}

.page-n-h__link-text {
    color: var(--page-n-h-secondary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-n-h__link-text:hover {
    color: #1a7ae0;
}

/* Promotions Section */
.page-n-h__promotions {
    background-color: var(--page-n-h-background-dark);
    color: var(--page-n-h-light-text);
}

.page-n-h__promotions .page-n-h__section-title {
    color: var(--page-n-h-primary-color);
}

.page-n-h__promotions .page-n-h__section-intro {
    color: var(--page-n-h-light-text);
}

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

.page-n-h__promo-item {
    background-color: #2c3e50;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-n-h__promo-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-n-h__promo-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: brightness(100%); /* Ensure no color changes */
}

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

.page-n-h__promo-description {
    font-size: 1em;
    color: #bdc3c7;
}

.page-n-h__promo-cta {
    margin-top: 50px;
}

/* FAQ Section */
.page-n-h__faq {
    background-color: var(--page-n-h-background-light);
    color: var(--page-n-h-dark-text);
}

.page-n-h__accordion {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-n-h__accordion-item {
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

.page-n-h__accordion-header {
    width: 100%;
    background-color: var(--page-n-h-primary-color);
    color: var(--page-n-h-dark-text);
    padding: 20px 30px;
    text-align: left;
    font-size: 1.2em;
    font-weight: bold;
    border: none;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.page-n-h__accordion-header:hover {
    background-color: #e6c200;
}

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

.page-n-h__accordion-header.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-n-h__accordion-content {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background-color: #fcfcfc;
}

.page-n-h__accordion-content.open {
    max-height: 300px; /* Adjust as needed */
    padding: 20px 30px;
}

.page-n-h__accordion-content p {
    color: #444;
    margin: 0;
    font-size: 1em;
}

/* Final CTA Section */
.page-n-h__cta-final {
    background: linear-gradient(135deg, var(--page-n-h-secondary-color) 0%, var(--page-n-h-primary-color) 100%);
    color: var(--page-n-h-light-text);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.page-n-h__cta-final .page-n-h__section-title {
    color: var(--page-n-h-light-text);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-n-h__cta-final .page-n-h__section-intro {
    color: var(--page-n-h-light-text);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-n-h__cta-actions .page-n-h__btn {
    margin-top: 30px;
}

.page-n-h__cta-image {
    position: absolute;
    top: 0;
    left: -10%;
    width: 600px;
    height: auto;
    opacity: 0.2;
    z-index: 0;
    filter: brightness(100%); /* Ensure no color changes */
}

.page-n-h__cta-final > .page-n-h__container {
    z-index: 1;
    position: relative;
}

/* 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: 2.2em;
    }
    .page-n-h__feature-item,
    .page-n-h__game-card,
    .page-n-h__promo-item {
        padding: 25px;
    }
    .page-n-h__btn--secondary {
        margin-left: 0;
        margin-top: 15px;
    }
    .page-n-h__hero-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .page-n-h__hero {
        padding: 80px 0;
    }
    .page-n-h__hero-title {
        font-size: 2.2em;
    }
    .page-n-h__hero-description {
        font-size: 1em;
    }
    .page-n-h__section {
        padding: 40px 0;
    }
    .page-n-h__section-title {
        font-size: 1.8em;
    }
    .page-n-h__section-intro {
        font-size: 1em;
    }
    .page-n-h__features-grid,
    .page-n-h__game-grid,
    .page-n-h__promo-grid {
        grid-template-columns: 1fr;
    }
    .page-n-h__hero-image,
    .page-n-h__cta-image {
        width: 400px;
    }
    .page-n-h__accordion-header {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-n-h__accordion-content {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-n-h__hero-title {
        font-size: 1.8em;
    }
    .page-n-h__section-title {
        font-size: 1.6em;
    }
    .page-n-h__btn {
        padding: 10px 20px;
        font-size: 1em;
    }
    .page-n-h__hero-image,
    .page-n-h__cta-image {
        display: none;
    }
}