/* style/nh.css */

/* --- Base Styles & Typography --- */
.page-nh {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
    background: #0A0A0A; /* Background */
}

.page-nh__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-nh__section-title {
    font-size: 38px;
    font-weight: bold;
    color: #FFD36B; /* Auxiliary color, for highlight */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-nh__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #F2C14E, #FFD36B);
    border-radius: 2px;
}

.page-nh__main-title {
    font-size: clamp(32px, 5vw, 48px); /* H1 clamp font-size */
    font-weight: 700;
    line-height: 1.2;
    color: #FFD36B;
    margin-bottom: 20px;
}

.page-nh__description {
    font-size: 18px;
    line-height: 1.5;
    color: #FFF6D6;
    margin-bottom: 30px;
}

/* --- Hero Section --- */
.page-nh__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding for hero */
    background: #0A0A0A; /* Background */
}

.page-nh__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure width 100% for flex child */
}

.page-nh__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-nh__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    border: 2px solid #3A2A12; /* Border color */
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

.page-nh__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
}

.page-nh__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
    color: #111111; /* Dark text for button for contrast */
    text-decoration: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
    border: none;
    cursor: pointer;
}

.page-nh__cta-button:hover {
    background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

/* --- General Section Styles --- */
.page-nh__light-bg {
    background: #0A0A0A; /* Background */
    color: #FFF6D6; /* Text Main */
}

.page-nh__dark-bg {
    background: #111111; /* Card BG */
    color: #FFF6D6; /* Text Main */
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-nh__intro-section p {
    font-size: 17px;
    margin-bottom: 15px;
    color: #FFF6D6;
}

/* --- Features Grid (Why Choose Section) --- */
.page-nh__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-nh__feature-card {
    background: #0A0A0A; /* Background */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #3A2A12; /* Border color */
}

.page-nh__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(242, 193, 78, 0.2);
}

.page-nh__feature-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    border: 1px solid #3A2A12; /* Border color */
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

.page-nh__feature-title {
    font-size: 24px;
    font-weight: bold;
    color: #F2C14E; /* Primary color */
    margin-bottom: 15px;
}

.page-nh__feature-card p {
    font-size: 16px;
    color: #FFF6D6;
}

/* --- Game Types Section --- */
.page-nh__game-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-nh__game-card {
    background: #111111; /* Card BG */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #3A2A12; /* Border color */
}

.page-nh__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(242, 193, 78, 0.2);
}

.page-nh__game-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    border: 1px solid #3A2A12; /* Border color */
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

.page-nh__game-title {
    font-size: 22px;
    font-weight: bold;
    color: #F2C14E; /* Primary color */
    margin-bottom: 15px;
}

.page-nh__game-card p {
    font-size: 16px;
    color: #FFF6D6;
    margin-bottom: 20px;
}

/* --- How To Play Section --- */
.page-nh__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-nh__step-item {
    background: #0A0A0A; /* Background */
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #3A2A12; /* Border color */
}

.page-nh__step-title {
    font-size: 24px;
    font-weight: bold;
    color: #FFD36B; /* Auxiliary color */
    margin-bottom: 15px;
}

.page-nh__step-item p {
    font-size: 17px;
    color: #FFF6D6;
    margin-bottom: 20px;
}

/* --- Tips Section --- */
.page-nh__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-nh__tip-item {
    background: #111111; /* Card BG */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #3A2A12; /* Border color */
}

.page-nh__tip-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    border: 1px solid #3A2A12; /* Border color */
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

.page-nh__tip-title {
    font-size: 22px;
    font-weight: bold;
    color: #F2C14E; /* Primary color */
    margin-bottom: 15px;
}

.page-nh__tip-item p {
    font-size: 16px;
    color: #FFF6D6;
}

/* --- Promotions Section --- */
.page-nh__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-nh__promo-list li {
    background: #0A0A0A; /* Background */
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #3A2A12; /* Border color */
}

.page-nh__promo-title {
    font-size: 24px;
    font-weight: bold;
    color: #FFD36B; /* Auxiliary color */
    margin-bottom: 10px;
}

.page-nh__promo-list p {
    font-size: 17px;
    color: #FFF6D6;
}

/* --- Security & Support Section --- */
.page-nh__security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-nh__security-item {
    background: #111111; /* Card BG */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #3A2A12; /* Border color */
}

.page-nh__security-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    border: 1px solid #3A2A12; /* Border color */
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

.page-nh__security-title {
    font-size: 22px;
    font-weight: bold;
    color: #F2C14E; /* Primary color */
    margin-bottom: 15px;
}

.page-nh__security-item p {
    font-size: 16px;
    color: #FFF6D6;
}

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

details.page-nh__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border color */
  overflow: hidden;
  background: #0A0A0A; /* Background */
}
details.page-nh__faq-item summary.page-nh__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-nh__faq-item summary.page-nh__faq-question::-webkit-details-marker {
  display: none;
}
details.page-nh__faq-item summary.page-nh__faq-question:hover {
  background: #111111; /* Card BG */
}
.page-nh__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFD36B; /* Auxiliary color */
}
.page-nh__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Primary color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-nh__faq-item .page-nh__faq-answer {
  padding: 0 20px 20px;
  background: #111111; /* Card BG */
  border-radius: 0 0 5px 5px;
}
.page-nh__faq-answer p {
    font-size: 16px;
    color: #FFF6D6;
}

/* --- Conclusion Section --- */
.page-nh__conclusion-section p {
    font-size: 17px;
    margin-bottom: 25px;
    text-align: center;
    color: #FFF6D6;
}

/* --- Buttons --- */
.page-nh__button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-nh__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
    color: #111111; /* Dark text for button for contrast */
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
    border: none;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-nh__btn-primary:hover {
    background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-nh__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    background: #111111; /* Card BG */
    color: #F2C14E; /* Primary color for text */
    text-decoration: none;
    border: 2px solid #F2C14E; /* Primary color for border */
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-nh__btn-secondary:hover {
    background: #F2C14E; /* Primary color for background */
    color: #111111; /* Dark text for button for contrast */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-nh__section-title {
        font-size: 32px;
    }
    .page-nh__main-title {
        font-size: clamp(28px, 4.5vw, 40px);
    }
    .page-nh__description {
        font-size: 16px;
    }
    .page-nh__cta-button, .page-nh__btn-primary, .page-nh__btn-secondary {
        font-size: 16px;
        padding: 12px 25px;
    }
}

@media (max-width: 768px) {
    .page-nh__container {
        padding: 30px 15px;
    }
    .page-nh__hero-section {
        padding-top: 10px !important; /* Ensure small top padding on mobile */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-nh__hero-image img {
        border-radius: 4px;
    }
    .page-nh__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-nh__main-title {
        font-size: clamp(24px, 6vw, 36px);
    }
    .page-nh__description {
        font-size: 15px;
    }

    /* Images responsive */
    .page-nh img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: unset !important; /* Override min-width for mobile */
        min-height: unset !important; /* Override min-height for mobile */
    }
    .page-nh__section,
    .page-nh__card,
    .page-nh__container,
    .page-nh__feature-card,
    .page-nh__game-card,
    .page-nh__step-item,
    .page-nh__tip-item,
    .page-nh__promo-list li,
    .page-nh__security-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Buttons responsive */
    .page-nh__cta-button,
    .page-nh__btn-primary,
    .page-nh__btn-secondary,
    .page-nh a[class*="button"],
    .page-nh a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-nh__button-group {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* FAQ responsive */
    details.page-nh__faq-item summary.page-nh__faq-question { padding: 15px; }
    .page-nh__faq-qtext { font-size: 16px; }
    details.page-nh__faq-item .page-nh__faq-answer { padding: 0 15px 15px; }
}

@media (max-width: 480px) {
    .page-nh__section-title {
        font-size: 24px;
    }
    .page-nh__main-title {
        font-size: clamp(22px, 7vw, 32px);
    }
    .page-nh__cta-button, .page-nh__btn-primary, .page-nh__btn-secondary {
        font-size: 15px;
        padding: 10px 20px;
    }
    .page-nh__feature-title, .page-nh__game-title, .page-nh__step-title, .page-nh__tip-title, .page-nh__promo-title, .page-nh__security-title {
        font-size: 20px;
    }
    .page-nh__faq-qtext {
        font-size: 15px;
    }
}