/* =========================================================
   Inner pages — about, contact, faq, rules, blog,
   result pages (success / failure / pending / errors)
   Depends on the tokens in nt-theme.css
   ========================================================= */

/* content that slides up over the hero curve */
.nt-page-body {
    position: relative;
    z-index: 2;
    margin-top: -56px;
    padding-bottom: 72px;
}

.nt-panel {
    padding: 28px;
    border: 1px solid var(--nt-line);
    border-radius: var(--nt-radius-lg);
    background: #fff;
    box-shadow: var(--nt-shadow-sm);
}

.nt-panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 800;
}

    .nt-panel-title i {
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        background: var(--nt-primary-soft);
        color: var(--nt-primary-dark);
        font-size: 15px;
    }

/* ---------------------------------------------------------
   About
   --------------------------------------------------------- */
.nt-about-intro {
    padding: 34px;
}

    .nt-about-intro p {
        color: var(--nt-text);
        text-align: justify;
    }

.nt-about-quote {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
    padding: 16px 20px;
    border-radius: var(--nt-radius);
    background: var(--nt-primary-softer);
    border-right: 4px solid var(--nt-primary);
    color: var(--nt-navy);
    font-weight: 700;
}

    .nt-about-quote i {
        color: var(--nt-primary);
        font-size: 22px;
    }

.nt-about-visual {
    position: relative;
    height: 100%;
    min-height: 320px;
    overflow: hidden;
    border-radius: var(--nt-radius-lg);
    background: var(--nt-gradient);
}

    .nt-about-visual img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        mix-blend-mode: luminosity;
        opacity: .9;
    }

    .nt-about-visual .nt-about-chip {
        position: absolute;
        right: 20px;
        bottom: 20px;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        border-radius: var(--nt-radius);
        background: rgba(255, 255, 255, .95);
        box-shadow: var(--nt-shadow);
    }

        .nt-about-visual .nt-about-chip i {
            width: 42px;
            height: 42px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            background: #fff4dd;
            color: #c77d00;
            font-size: 18px;
        }

        .nt-about-visual .nt-about-chip b {
            display: block;
            color: var(--nt-navy);
            font-size: 14px;
        }

        .nt-about-visual .nt-about-chip small {
            color: var(--nt-muted);
            font-size: 12px;
        }

.nt-feature {
    height: 100%;
    padding: 24px;
    border: 1px solid var(--nt-line);
    border-radius: var(--nt-radius-lg);
    background: #fff;
    transition: transform .3s var(--nt-ease), box-shadow .3s var(--nt-ease), border-color .3s;
}

    .nt-feature:hover {
        transform: translateY(-5px);
        border-color: transparent;
        box-shadow: var(--nt-shadow);
    }

    .nt-feature h3 {
        margin: 16px 0 8px;
        font-size: 16px;
        font-weight: 700;
    }

    .nt-feature p {
        margin: 0;
        color: var(--nt-muted);
        font-size: 13.5px;
        line-height: 1.9;
    }

.nt-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 21px;
}

    .nt-icon.is-blue {
        background: #e7f2fe;
        color: #0F67B1;
    }

    .nt-icon.is-amber {
        background: #fff4dd;
        color: #c77d00;
    }

    .nt-icon.is-green {
        background: #e2f6ee;
        color: #1c8a5d;
    }

    .nt-icon.is-purple {
        background: #ecebff;
        color: #5151d8;
    }

    .nt-icon.is-red {
        background: #fde8e6;
        color: #b4281c;
    }

    .nt-icon.is-teal {
        background: #ddf4f1;
        color: #04765f;
    }

.nt-band {
    position: relative;
    overflow: hidden;
    padding: 40px;
    border-radius: 28px;
    background: var(--nt-gradient);
    color: #fff;
    isolation: isolate;
}

    .nt-band h2 {
        color: #fff;
        font-size: clamp(20px, 2.6vw, 26px);
        font-weight: 800;
        margin: 0 0 8px;
    }

    .nt-band p {
        margin: 0;
        color: rgba(255, 255, 255, .85);
    }

    .nt-band::after {
        content: "";
        position: absolute;
        z-index: -1;
        width: 360px;
        height: 360px;
        left: -100px;
        top: -160px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255, 255, 255, .25) 0%, rgba(255, 255, 255, 0) 70%);
    }

.nt-btn-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 14px;
    background: #fff;
    color: var(--nt-primary-dark) !important;
    font-weight: 700;
    white-space: nowrap;
    transition: transform .25s var(--nt-ease);
}

    .nt-btn-light:hover {
        transform: translateY(-2px);
    }

/* ---------------------------------------------------------
   Contact
   --------------------------------------------------------- */
.nt-contact-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 24px;
    border: 1px solid var(--nt-line);
    border-radius: var(--nt-radius-lg);
    background: #fff;
    box-shadow: var(--nt-shadow-sm);
    transition: transform .3s var(--nt-ease), box-shadow .3s var(--nt-ease);
}

    .nt-contact-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--nt-shadow);
    }

    .nt-contact-card h3 {
        margin: 12px 0 2px;
        font-size: 15px;
        font-weight: 700;
    }

    .nt-contact-card .nt-value {
        margin: 0;
        color: var(--nt-ink);
        font-weight: 600;
        line-height: 1.9;
        word-break: break-word;
    }

    .nt-contact-card .nt-ltr {
        direction: ltr;
        unicode-bidi: embed;
    }

    .nt-contact-card .nt-action {
        margin-top: auto;
        padding-top: 10px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: var(--nt-primary-dark) !important;
        font-size: 13.5px;
        font-weight: 700;
    }

.nt-map-card {
    overflow: hidden;
    border: 1px solid var(--nt-line);
    border-radius: var(--nt-radius-lg);
    background: #fff;
    box-shadow: var(--nt-shadow-sm);
}

.nt-map-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--nt-line);
}

    .nt-map-head h2 {
        margin: 0 0 2px;
        font-size: 17px;
        font-weight: 800;
    }

    .nt-map-head p {
        margin: 0;
        color: var(--nt-muted);
        font-size: 13px;
    }

.nt-map-frame iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
    filter: saturate(.9);
}

.nt-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 700;
    transition: all .25s var(--nt-ease);
}

    .nt-btn.is-primary {
        background: var(--nt-gradient);
        color: #fff !important;
        box-shadow: 0 10px 22px -12px rgba(15, 103, 177, .8);
    }

        .nt-btn.is-primary:hover {
            transform: translateY(-2px);
        }

    .nt-btn.is-ghost {
        border: 1px solid var(--nt-line-2);
        background: #fff;
        color: var(--nt-navy) !important;
    }

        .nt-btn.is-ghost:hover {
            border-color: var(--nt-primary);
            color: var(--nt-primary-dark) !important;
        }

.nt-help-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border-radius: var(--nt-radius-lg);
    background: var(--nt-gradient-navy);
    color: #fff;
}

    .nt-help-card h3 {
        margin: 14px 0 8px;
        color: #fff;
        font-size: 17px;
        font-weight: 800;
    }

    .nt-help-card p {
        color: rgba(255, 255, 255, .8);
        font-size: 13.5px;
    }

    .nt-help-card .nt-help-ico {
        position: absolute;
        left: -10px;
        bottom: -18px;
        font-size: 110px;
        color: rgba(255, 255, 255, .07);
    }

.nt-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .nt-links li + li {
        border-top: 1px dashed var(--nt-line-2);
    }

    .nt-links a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 4px;
        color: var(--nt-text) !important;
        font-weight: 600;
        font-size: 14px;
    }

        .nt-links a i {
            width: 32px;
            height: 32px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;
            background: var(--nt-primary-soft);
            color: var(--nt-primary-dark);
            font-size: 13px;
        }

        .nt-links a::after {
            content: "\f104";
            margin-right: auto;
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            font-size: 12px;
            color: var(--nt-muted);
            transition: transform .25s var(--nt-ease);
        }

        .nt-links a:hover {
            color: var(--nt-primary-dark) !important;
        }

            .nt-links a:hover::after {
                transform: translateX(-4px);
            }

/* ---------------------------------------------------------
   FAQ
   --------------------------------------------------------- */
.nt-faq-nav {
    position: sticky;
    top: 100px;
}

    .nt-faq-nav a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 14px;
        border-radius: 12px;
        color: var(--nt-text) !important;
        font-weight: 600;
        transition: background .2s, color .2s;
    }

        .nt-faq-nav a i {
            color: var(--nt-primary);
            width: 18px;
            text-align: center;
        }

        .nt-faq-nav a:hover {
            background: var(--nt-primary-soft);
            color: var(--nt-primary-dark) !important;
        }

.nt-faq-group {
    scroll-margin-top: 100px;
}

    .nt-faq-group + .nt-faq-group {
        margin-top: 32px;
    }

    .nt-faq-group > h2 {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 14px;
        font-size: 18px;
        font-weight: 800;
    }

        .nt-faq-group > h2 i {
            color: var(--nt-primary);
        }

.nt-faq .accordion-button {
    gap: 12px;
    line-height: 1.8;
}

    .nt-faq .accordion-button::after {
        margin-left: 0;
        margin-right: auto;
    }

.nt-faq .accordion-body {
    color: var(--nt-text);
    line-height: 2;
    text-align: justify;
}

/* ---------------------------------------------------------
   Rules / contract (long text pages)
   --------------------------------------------------------- */
.nt-rules {
    counter-reset: rule;
}

    .nt-rules .nt-rule-card {
        padding: 28px 30px;
        border: 1px solid var(--nt-line);
        border-radius: var(--nt-radius-lg);
        background: #fff;
        box-shadow: var(--nt-shadow-sm);
    }

        .nt-rules .nt-rule-card + .nt-rule-card {
            margin-top: 20px;
        }

    .nt-rules .nt-rule-card,
    .nt-rules section {
        color: var(--nt-text);
        line-height: 2.1;
        text-align: justify;
    }

        /* keep the original text blocks of the rules pages readable */
        .nt-rules section.bg-white {
            padding: 28px 30px !important;
            margin: 0 0 20px !important;
            border: 1px solid var(--nt-line);
            border-radius: var(--nt-radius-lg) !important;
            box-shadow: var(--nt-shadow-sm) !important;
        }

        /* each sentence of the original text sits on its own source line */
        .nt-rules section.bg-white > div {
            white-space: pre-line;
            margin-top: -2.1em;
        }

    .nt-rules h2,
    .nt-rules h3 {
        font-size: 17px;
        font-weight: 800;
        margin: 6px 0 14px;
    }

.nt-rules-side .nt-links a {
    font-size: 13.5px;
}

/* ---------------------------------------------------------
   Blog: categories, list, article
   --------------------------------------------------------- */
.nt-cat-card {
    position: relative;
    display: block;
    height: 230px;
    overflow: hidden;
    border-radius: var(--nt-radius-lg);
    background: #dfe8f2;
    box-shadow: var(--nt-shadow-sm);
    color: #fff !important;
}

    .nt-cat-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 1s var(--nt-ease);
    }

    .nt-cat-card:hover img {
        transform: scale(1.07);
    }

    .nt-cat-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(5, 38, 78, .05) 20%, rgba(5, 38, 78, .88) 100%);
    }

.nt-cat-body {
    position: absolute;
    z-index: 1;
    right: 22px;
    bottom: 20px;
    left: 22px;
}

    .nt-cat-body h3 {
        margin: 8px 0 4px;
        color: #fff;
        font-size: 19px;
        font-weight: 800;
    }

    .nt-cat-body .nt-cat-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        color: rgba(255, 255, 255, .8);
        font-size: 12.5px;
    }

.nt-cat-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .18);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    font-size: 12px;
    font-weight: 700;
}

.nt-cat-go {
    position: absolute;
    z-index: 1;
    top: 18px;
    left: 18px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #fff;
    color: var(--nt-primary-dark);
    transform: scale(.8);
    opacity: 0;
    transition: all .3s var(--nt-ease);
}

.nt-cat-card:hover .nt-cat-go {
    transform: none;
    opacity: 1;
}

.nt-empty {
    padding: 56px 24px;
    text-align: center;
    border: 1px dashed var(--nt-line-2);
    border-radius: var(--nt-radius-lg);
    background: #fff;
}

    .nt-empty i {
        font-size: 44px;
        color: var(--nt-sky);
    }

    .nt-empty h3 {
        margin: 16px 0 8px;
        font-size: 18px;
        font-weight: 800;
    }

    .nt-empty p {
        color: var(--nt-muted);
    }

/* article page */
.nt-article-cover {
    position: relative;
    height: 420px;
    overflow: hidden;
    background: var(--nt-navy);
}

    .nt-article-cover img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: .9;
    }

    .nt-article-cover::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(5, 38, 78, .15) 0%, rgba(5, 38, 78, .75) 100%);
    }

.nt-article-head {
    position: relative;
    z-index: 2;
    margin-top: -150px;
    padding: 30px 34px;
    border-radius: var(--nt-radius-lg);
    background: #fff;
    box-shadow: var(--nt-shadow-lg);
}

    .nt-article-head .nt-breadcrumb {
        color: var(--nt-muted);
        margin-bottom: 8px;
    }

        .nt-article-head .nt-breadcrumb a {
            background: var(--nt-primary-soft);
            color: var(--nt-primary-dark) !important;
        }

    .nt-article-head h1 {
        margin: 10px 0 18px;
        font-size: clamp(22px, 3.2vw, 32px);
        font-weight: 800;
        line-height: 1.6;
    }

.nt-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 22px;
    padding-top: 16px;
    border-top: 1px solid var(--nt-line);
    color: var(--nt-muted);
    font-size: 13.5px;
}

    .nt-article-meta i {
        margin-left: 6px;
        color: var(--nt-primary);
    }

    .nt-article-meta .nt-author {
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--nt-navy);
        font-weight: 700;
    }

        .nt-article-meta .nt-author img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
        }

.nt-article-content {
    color: var(--nt-text);
    font-size: 15.5px;
    line-height: 2.2;
    overflow-wrap: break-word;
}

    .nt-article-content h2,
    .nt-article-content h3,
    .nt-article-content h4 {
        margin: 32px 0 14px;
        line-height: 1.7;
        font-weight: 800;
    }

    .nt-article-content h2 {
        font-size: 22px;
    }

    .nt-article-content h3 {
        font-size: 19px;
    }

    .nt-article-content p {
        margin-bottom: 18px;
        text-align: justify;
    }

    /* editor images came with fixed sizes; let them fit the column */
    .nt-article-content img {
        display: block;
        max-width: 100% !important;
        height: auto !important;
        margin: 22px auto;
        border-radius: var(--nt-radius);
        box-shadow: var(--nt-shadow-sm);
    }

    .nt-article-content table {
        width: 100% !important;
        margin: 20px 0;
        border-collapse: collapse;
    }

        .nt-article-content table td,
        .nt-article-content table th {
            padding: 10px;
            border: 1px solid var(--nt-line-2);
        }

    .nt-article-content a {
        color: var(--nt-primary-dark);
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    .nt-article-content blockquote {
        margin: 22px 0;
        padding: 16px 20px;
        border-right: 4px solid var(--nt-primary);
        border-radius: 12px;
        background: var(--nt-primary-softer);
    }

    .nt-article-content iframe {
        max-width: 100%;
    }

.nt-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

    .nt-tags > b {
        margin-left: 6px;
        color: var(--nt-navy);
    }

    .nt-tags span {
        padding: 6px 12px;
        border-radius: 10px;
        background: var(--nt-bg);
        border: 1px solid var(--nt-line);
        color: var(--nt-text);
        font-size: 12.5px;
    }

.nt-side-sticky {
    position: sticky;
    top: 100px;
}

.nt-mini-post {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

    .nt-mini-post + .nt-mini-post {
        border-top: 1px dashed var(--nt-line-2);
    }

    .nt-mini-post img {
        flex: 0 0 72px;
        width: 72px;
        height: 60px;
        border-radius: 12px;
        object-fit: cover;
        background: #dfe8f2;
    }

    .nt-mini-post b {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: var(--nt-navy);
        font-size: 13.5px;
        line-height: 1.8;
    }

    .nt-mini-post small {
        color: var(--nt-muted);
        font-size: 12px;
    }

    .nt-mini-post:hover b {
        color: var(--nt-primary-dark);
    }

/* ---------------------------------------------------------
   Result pages: success / failure / pending / errors
   --------------------------------------------------------- */
.nt-result-page {
    padding: 64px 0 80px;
    background: radial-gradient(1200px 400px at 50% -100px, var(--nt-primary-soft) 0%, rgba(232, 243, 254, 0) 70%), var(--nt-bg);
}

.nt-result {
    max-width: 760px;
    margin: 0 auto;
    padding: 44px 40px 36px;
    border: 1px solid var(--nt-line);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--nt-shadow);
    text-align: center;
}

.nt-result-icon {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 40px;
    color: #fff;
}

    .nt-result-icon::before {
        content: "";
        position: absolute;
        inset: -12px;
        border-radius: 50%;
        opacity: .18;
        background: currentColor;
        animation: nt-pulse 2.4s ease-out infinite;
    }

    .nt-result-icon.is-success {
        background: linear-gradient(135deg, #34c48b 0%, #1c8a5d 100%);
        box-shadow: 0 16px 30px -12px rgba(28, 138, 93, .7);
    }

        .nt-result-icon.is-success::before {
            background: #27a974;
        }

    .nt-result-icon.is-danger {
        background: linear-gradient(135deg, #ef5b4c 0%, #b4281c 100%);
        box-shadow: 0 16px 30px -12px rgba(180, 40, 28, .7);
    }

        .nt-result-icon.is-danger::before {
            background: #CE3426;
        }

    .nt-result-icon.is-pending {
        background: var(--nt-gradient);
        box-shadow: 0 16px 30px -12px rgba(15, 103, 177, .7);
    }

        .nt-result-icon.is-pending::before {
            background: var(--nt-primary);
        }

        .nt-result-icon.is-pending i {
            animation: nt-spin 2.2s linear infinite;
        }

@keyframes nt-pulse {
    0% {
        transform: scale(.85);
        opacity: .35;
    }

    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

@keyframes nt-spin {
    to {
        transform: rotate(360deg);
    }
}

.nt-result h1 {
    margin: 0 0 10px;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 800;
}

.nt-result > p {
    max-width: 520px;
    margin: 0 auto;
    color: var(--nt-muted);
}

.nt-result-code {
    font-size: clamp(64px, 12vw, 110px);
    font-weight: 900;
    line-height: 1;
    background: var(--nt-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 12px;
}

.nt-result-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin: 28px 0 6px;
    padding: 16px;
    border: 1px dashed var(--nt-line-2);
    border-radius: var(--nt-radius);
    background: var(--nt-primary-softer);
    text-align: right;
}

    .nt-result-details small {
        display: block;
        color: var(--nt-muted);
        font-size: 12px;
    }

    .nt-result-details b {
        color: var(--nt-navy);
        font-size: 14.5px;
        word-break: break-all;
    }

.nt-result-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

    .nt-result-actions .nt-btn {
        padding: 13px 22px;
    }

.nt-result-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
    padding: 14px 16px;
    border-radius: var(--nt-radius);
    background: #fff8e8;
    color: #7a5200;
    font-size: 13.5px;
    text-align: right;
}

    .nt-result-note i {
        margin-top: 5px;
        color: #c77d00;
    }

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */
@media (max-width: 991.98px) {
    .nt-faq-nav,
    .nt-side-sticky {
        position: static;
    }

    .nt-article-cover {
        height: 300px;
    }

    .nt-article-head {
        margin-top: -100px;
    }
}

@media (max-width: 575.98px) {
    .nt-panel,
    .nt-about-intro,
    .nt-rules .nt-rule-card,
    .nt-rules section.bg-white {
        padding: 20px !important;
    }

    .nt-band {
        padding: 28px 22px;
    }

    .nt-map-frame iframe {
        height: 300px;
    }

    .nt-result {
        padding: 32px 20px 26px;
    }

    .nt-article-head {
        padding: 22px 20px;
    }

    .nt-result-actions .nt-btn {
        width: 100%;
        justify-content: center;
    }
}
