/* =====================================================================
   NERLD theme: gold on graphite. Loaded after main.css, custom.css and
   color.php, so it overrides the template without editing it further.
   Change the palette here (the admin colour picker is superseded).
   ===================================================================== */

@font-face { font-family: "Inter"; src: url("../../../global/fonts/inter/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../../../global/fonts/inter/Inter-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../../../global/fonts/inter/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../../../global/fonts/inter/InterDisplay-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../../../global/fonts/inter/InterDisplay-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
    /* accent: gold #E8B64C */
    --base-h: 41; --base-s: 77%; --base-l: 60%;
    /* page background: graphite #0B0D12 */
    --base-two-h: 223; --base-two-s: 24%; --base-two-l: 6%;

    --nr-bg: #0B0D12;
    --nr-surface: #131722;
    --nr-surface-2: #1A1F2C;
    --nr-line: rgba(255, 255, 255, .08);
    --nr-line-strong: rgba(255, 255, 255, .14);
    --nr-text: #E9ECF2;
    --nr-muted: #8A93A6;
    --nr-indigo: #7C8CFF;
    --nr-gold-hover: #F2C766;
    --nr-radius: 14px;
    --nr-radius-sm: 10px;
    --nr-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --nr-font-display: "Inter Display", "Inter", system-ui, sans-serif;
}

/* ---------- base ---------- */
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--nr-font); color: var(--nr-text) !important; background-color: var(--nr-bg); font-size: 16px; line-height: 1.65; }
h1, h2, h3, h4, h5, h6 { font-family: var(--nr-font-display); color: var(--nr-text); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
p, li { color: inherit; }
a { transition: color .2s ease; }
a:hover { color: var(--nr-gold-hover); }
::selection { background: hsl(var(--base) / .35); color: #fff; }
.text--base { color: hsl(var(--base)) !important; }

/* ---------- header ---------- */
.header__top { background: var(--nr-bg); border-bottom: 1px solid var(--nr-line); font-size: 13px; }
.header__bottom { background: hsl(var(--base-two) / .55); border-bottom: 1px solid var(--nr-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header.menu-fixed .header__bottom { background: hsl(var(--base-two) / .92); }
.header .site-logo img, .header .logo img { max-height: 40px; width: auto; }
.header .main-menu li a { font-weight: 500; letter-spacing: 0; }
.header-login-btn, .header-register-btn { border-radius: 999px !important; padding: .5rem 1.15rem !important; font-weight: 600; font-size: 14px; }
.header-login-btn { color: var(--nr-bg) !important; }
.header-login-btn:hover { background: var(--nr-gold-hover) !important; border-color: var(--nr-gold-hover) !important; }
.header-register-btn { border-color: var(--nr-line-strong) !important; color: var(--nr-text) !important; }
.header-register-btn:hover { border-color: hsl(var(--base)) !important; color: hsl(var(--base)) !important; background: transparent !important; }

/* ---------- buttons ---------- */
.btn--base, .cmn-btn, .btn.btn--base {
    background: hsl(var(--base)) !important; border: 1px solid hsl(var(--base)) !important; color: var(--nr-bg) !important;
    border-radius: var(--nr-radius-sm) !important; font-weight: 600; letter-spacing: 0; box-shadow: none;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn--base:hover, .cmn-btn:hover {
    background: var(--nr-gold-hover) !important; border-color: var(--nr-gold-hover) !important; color: var(--nr-bg) !important;
    box-shadow: 0 8px 24px -10px hsl(var(--base) / .6); transform: translateY(-1px);
}
.btn--base:focus-visible, .cmn-btn:focus-visible { outline: 2px solid hsl(var(--base)); outline-offset: 2px; }
.btn-outline--base, .btn--base.outline { background: transparent !important; color: hsl(var(--base)) !important; }

/* ---------- surfaces: replace the glassy cyan glow with calm cards ---------- */
.custom--card, .testimonial-card, .blog-card, .subscribe-wrapper, .count-wrapper, .feature-card, .team-card,
.contact-card, .phase-card, .d-widget, .deposit-preview-card, .single-roadmap .roadmap-content, .gateway-card, .payment-system-list {
    background: var(--nr-surface) !important;
    border: 1px solid var(--nr-line) !important;
    border-radius: var(--nr-radius) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 20px 40px -24px rgba(0, 0, 0, .6) !important;
    backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
    animation: none !important;
}
.count-wrapper { border-color: hsl(var(--base) / .35) !important; }
.blog-card:hover, .feature-card:hover, .team-card:hover { border-color: hsl(var(--base) / .4) !important; }
.blog-card { transition: border-color .2s ease, transform .2s ease; }
.blog-card:hover { transform: translateY(-2px); }

/* countdown boxes in the banner */
.count-wrapper .countdown-item, .count-wrapper .count-item, .count-wrapper li {
    background: var(--nr-surface-2) !important; border: 1px solid var(--nr-line) !important; border-radius: var(--nr-radius-sm) !important;
}

/* accordion (FAQ) */
.custom--accordion .accordion-item { background: var(--nr-surface) !important; border: 1px solid var(--nr-line) !important; border-radius: var(--nr-radius-sm) !important; overflow: hidden; }
.custom--accordion .accordion-button { background: transparent !important; color: var(--nr-text) !important; font-weight: 500; box-shadow: none !important; }
.custom--accordion .accordion-button:not(.collapsed) { color: hsl(var(--base)) !important; }
.custom--accordion .accordion-body { color: var(--nr-muted); }

/* forms */
.form-control, .form--control, .select, select.form-select, .input-group-text {
    background-color: var(--nr-surface-2) !important; border: 1px solid var(--nr-line-strong) !important; color: var(--nr-text) !important;
    border-radius: var(--nr-radius-sm);
}
.form-control:focus, .form--control:focus { border-color: hsl(var(--base)) !important; box-shadow: 0 0 0 3px hsl(var(--base) / .18) !important; }
.form-control::placeholder, .form--control::placeholder { color: var(--nr-muted) !important; }
.subscribe-form { background: var(--nr-surface-2) !important; border: 1px solid var(--nr-line-strong) !important; border-radius: 999px !important; }

/* tables */
.custom--table { background: var(--nr-surface); border-radius: var(--nr-radius); overflow: hidden; }
.custom--table thead th { background: var(--nr-surface-2) !important; color: var(--nr-muted) !important; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; border: 0 !important; }
.custom--table tbody td { border-color: var(--nr-line) !important; }

/* misc */
.scroll-to-top { background: hsl(var(--base)) !important; color: var(--nr-bg) !important; border-radius: 50% !important; }
.preloader-holder { background: var(--nr-bg) !important; }
.social-links li a { border: 1px solid var(--nr-line-strong) !important; background: transparent !important; color: var(--nr-muted) !important; transition: all .2s ease; }
.social-links li a:hover { border-color: hsl(var(--base)) !important; color: hsl(var(--base)) !important; }
.pagination .page-link { background: var(--nr-surface) !important; border-color: var(--nr-line) !important; color: var(--nr-text) !important; }
.pagination .page-item.active .page-link { background: hsl(var(--base)) !important; color: var(--nr-bg) !important; border-color: hsl(var(--base)) !important; }

/* user dashboard sidebar / widgets */
.sidebar, .dashboard-sidebar { background: var(--nr-surface) !important; border-right: 1px solid var(--nr-line); }
.d-widget__amount { color: var(--nr-text) !important; }

/* ---------- footer ---------- */
.footer { background: var(--nr-bg) !important; border-top: 1px solid var(--nr-line); }
.footer__top { padding: 64px 0 40px; }
.footer-brand img { max-height: 44px; width: auto; }
.footer-brand__text { color: var(--nr-muted); font-size: 14px; margin: 16px 0 20px; max-width: 320px; }
.footer .social-links { gap: 10px; }
.footer .social-links li a { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.footer-legal { border-left: 1px solid var(--nr-line); padding-left: 32px; text-align: left; }
.footer-legal__title { font-family: var(--nr-font); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--nr-muted); margin: 0 0 12px; }
.footer-legal p { font-size: 12.5px; line-height: 1.65; color: #7A8294; margin: 0 0 10px; text-align: left; }
.footer-legal p strong { color: #A8AFBF; font-weight: 600; }
.footer__bottom { background: transparent !important; border-top: 1px solid var(--nr-line); padding: 18px 0; font-size: 13px; color: var(--nr-muted); }
.footer__bottom p { margin: 0; }
.footer-menu li a { color: var(--nr-muted) !important; }
.footer-menu li a:hover { color: hsl(var(--base)) !important; }
@media (max-width: 991px) {
    .footer-legal { border-left: 0; padding-left: 0; border-top: 1px solid var(--nr-line); padding-top: 24px; margin-top: 28px; }
}

/* the old custom mouse follower is removed; make sure nothing hides the real cursor */
body, a, button { cursor: auto; }
a, button, [role="button"], label, summary { cursor: pointer; }
.cursor, .cursor-follower { display: none !important; }

/* Sections that still use the template's cyan stock images: shown as dark monochrome
   so they fit the palette. Remove the "nr-tinted" class once you upload your own image. */
.nr-tinted { position: relative; background-color: var(--nr-bg) !important; background-blend-mode: luminosity; background-size: cover; background-position: center; }
.nr-tinted::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,13,18,.7), rgba(11,13,18,.55) 50%, rgba(11,13,18,.8)); pointer-events: none; }
.nr-tinted > .container { position: relative; z-index: 1; }

/* subscribe field: one pill, no inner border */
.subscribe-form { padding: 6px !important; display: flex; align-items: center; }
.subscribe-form .form-control { background: transparent !important; border: 0 !important; box-shadow: none !important; padding-left: 18px; }
.subscribe-form .subscribe-btn { background: hsl(var(--base)) !important; color: var(--nr-bg) !important; border-radius: 999px !important; font-weight: 600; white-space: nowrap; padding: 12px 22px !important; position: static !important; height: auto !important; }
.subscribe-form .subscribe-btn:hover { background: var(--nr-gold-hover) !important; }

/* dashboard status cards */
.phase-card { min-height: 120px; display: flex; }
.phase-card .card-header { flex: 1; border: 0 !important; background: transparent !important; padding: 24px !important; }
.phase-card h5 { font-size: 17px; font-weight: 600; margin: 0; }

/* Telegram link in the top bar: align the brand icon with the text */
.top-info__telegram { display: inline-flex; align-items: center; gap: 6px; }
.top-info__telegram i { font-size: 16px; }

/* footer links: the template's negative margins made the list wider than small screens */
.footer__bottom .footer-menu { margin-left: 0 !important; margin-right: 0 !important; }

/* Page title strip (breadcrumb): compact, just below the fixed header (128px desktop / ~107px mobile) */
.inner-hero.inner-hero--compact { padding: 152px 0 22px; background: linear-gradient(180deg, transparent, hsl(var(--base) / .04)); border-bottom: 1px solid var(--nr-line); }
.inner-hero.inner-hero--compact::before { display: none; }
.inner-hero__row { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.inner-hero--compact .page-title { margin: 0; font-size: clamp(22px, 2.6vw, 30px); text-align: left; }
.inner-hero--compact .page-breadcrumb { margin: 0; padding: 0; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--nr-muted); }
.inner-hero--compact .page-breadcrumb li { color: var(--nr-muted); }
.inner-hero--compact .page-breadcrumb li:last-child { color: var(--nr-text); }
.inner-hero--compact .page-breadcrumb a { color: var(--nr-muted); }
.inner-hero--compact .page-breadcrumb a:hover { color: hsl(var(--base)); }
@media (max-width: 1199px) { .inner-hero.inner-hero--compact { padding-top: 132px; } }
@media (max-width: 575px) {
    .inner-hero.inner-hero--compact { padding: 124px 0 16px; }
    .inner-hero__row { flex-direction: column; align-items: flex-start; }
}
