/* ==========================================================================
   NovaTheme for AdLinkFly
   A self-contained front-end design system.
   Scoped under .nv (applied on <body>) so it can never leak into admin area.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
/* Bootstrap 3 forces html{font-size:10px}. Every rem in this file is authored
   against a 16px root, so restore it - otherwise the whole theme renders at
   62% of its intended size (this file is only served on NovaTheme pages). */
html {
    font-size: 16px;
}

.nv {
    --nv-bg: #f4f6fc;
    --nv-card: #ffffff;
    --nv-ink: #0c1223;
    --nv-ink-soft: #2a3350;
    --nv-muted: #626d8a;
    --nv-line: rgba(12, 18, 35, 0.08);
    --nv-line-strong: rgba(12, 18, 35, 0.14);
    --nv-brand: #5457ea;
    --nv-brand-2: #8f5cf6;
    --nv-brand-soft: rgba(84, 87, 234, 0.09);
    --nv-mint: #0eaa7a;
    --nv-mint-soft: rgba(14, 170, 122, 0.1);
    --nv-amber: #f0a12c;
    --nv-amber-soft: rgba(240, 161, 44, 0.12);
    --nv-radius-xl: 28px;
    --nv-radius-lg: 22px;
    --nv-radius-md: 16px;
    --nv-radius-sm: 12px;
    --nv-shadow-sm: 0 2px 8px rgba(16, 24, 60, 0.05);
    --nv-shadow: 0 16px 44px -14px rgba(16, 24, 60, 0.18);
    --nv-shadow-lg: 0 32px 80px -24px rgba(16, 24, 60, 0.26);
    --nv-grad: linear-gradient(135deg, #5457ea 0%, #8f5cf6 100%);
    --nv-grad-soft: linear-gradient(135deg, rgba(84, 87, 234, 0.12) 0%, rgba(143, 92, 246, 0.12) 100%);
    --nv-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial,
        "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

    font-family: var(--nv-font);
    color: var(--nv-ink);
    background-color: var(--nv-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    /* keep the footer at the bottom of short pages (static pages, 404) */
    display: flex;
    flex-direction: column;
}

.nv > .nv-footer {
    margin-top: auto;
}

/* ---------- 2. Background decoration ---------- */
.nv::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(60rem 40rem at 12% -10%, rgba(84, 87, 234, 0.16), transparent 62%),
        radial-gradient(52rem 36rem at 92% 4%, rgba(143, 92, 246, 0.14), transparent 60%),
        radial-gradient(46rem 40rem at 78% 78%, rgba(14, 170, 122, 0.10), transparent 62%),
        radial-gradient(40rem 30rem at 6% 88%, rgba(240, 161, 44, 0.08), transparent 60%);
}

.nv::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
    background-image:
        linear-gradient(to right, rgba(12, 18, 35, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(12, 18, 35, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 72%);
    mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 72%);
}

.nv > * {
    position: relative;
    z-index: 1;
}

/* ---------- 3. Typography ---------- */
.nv h1, .nv h2, .nv h3, .nv h4, .nv h5, .nv h6 {
    font-family: var(--nv-font);
    color: var(--nv-ink);
    font-weight: 800;
    letter-spacing: -0.022em;
    margin-top: 0;
}

.nv p {
    color: var(--nv-muted);
    margin-bottom: 1rem;
}

.nv a {
    color: var(--nv-brand);
    text-decoration: none;
    transition: color 0.18s ease;
}

.nv a:hover, .nv a:focus {
    color: var(--nv-brand-2);
    text-decoration: none;
}

.nv .nv-lead {
    font-size: 1.0625rem;
    color: var(--nv-muted);
    max-width: 34rem;
    margin-left: auto;
    margin-right: auto;
}

/* eyebrow pill */
.nv .nv-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem 0.4rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--nv-line);
    box-shadow: var(--nv-shadow-sm);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--nv-ink-soft);
    text-transform: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nv .nv-eyebrow .nv-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--nv-mint-soft);
    color: var(--nv-mint);
    flex: 0 0 18px;
}

.nv .nv-eyebrow .nv-dot svg {
    width: 11px;
    height: 11px;
}

/* ---------- 4. Nav ---------- */
.nv .nv-nav-wrap {
    position: sticky;
    top: 0;
    z-index: 60;
    padding: 1rem 1.25rem 0.5rem;
}

.nv .nv-nav {
    max-width: 1240px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    box-shadow: 0 8px 30px -12px rgba(16, 24, 60, 0.22);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    padding: 0.55rem 0.7rem 0.55rem 1.15rem;
    min-height: 68px;
}

.nv .nv-nav .navbar-header {
    float: left;
}

.nv .nv-nav .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    height: auto;
    padding: 0.35rem 0;
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--nv-ink);
    text-transform: uppercase;
    float: none;
}

.nv .nv-nav .navbar-brand img {
    max-height: 32px;
    width: auto;
}

.nv .nv-nav .nv-brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: var(--nv-grad);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 6px 16px -6px rgba(84, 87, 234, 0.7);
    flex: 0 0 30px;
}

.nv .nv-nav .nv-brand-mark svg {
    width: 17px;
    height: 17px;
}

.nv .nv-nav .navbar-toggle {
    border: 1px solid var(--nv-line);
    border-radius: 12px;
    margin: 0.4rem 0 0.4rem 0.5rem;
    padding: 8px 10px;
    background: #fff;
    float: right;
}

.nv .nv-nav .navbar-toggle .icon-bar {
    background-color: var(--nv-ink-soft);
    height: 2px;
    border-radius: 2px;
}

.nv .nv-nav .navbar-collapse {
    border: 0;
    box-shadow: none;
}

.nv .nv-nav ul.navbar-nav {
    float: right;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.nv .nv-nav ul.navbar-nav > li {
    float: none;
}

.nv .nv-nav ul.navbar-nav > li > a {
    display: block;
    padding: 0.66rem 0.95rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--nv-ink-soft);
    background: transparent;
    transition: background 0.18s ease, color 0.18s ease;
    line-height: 1.2;
}

.nv .nv-nav ul.navbar-nav > li > a:hover,
.nv .nv-nav ul.navbar-nav > li > a:focus {
    background: var(--nv-brand-soft);
    color: var(--nv-brand);
}

.nv .nv-nav ul.navbar-nav > li.active > a {
    background: var(--nv-brand-soft);
    color: var(--nv-brand);
}

/* primary call to action in the nav (the signup entry).
   the menu itself is admin configurable, so we key off the route instead of
   relying on it being the last item (the language selector usually is). */
.nv .nv-nav ul.navbar-nav > li > a[href*="auth/signup"],
.nv .nv-nav ul.navbar-nav > li > a[href*="/signup"] {
    background: var(--nv-ink);
    color: #fff;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
    box-shadow: 0 8px 20px -10px rgba(12, 18, 35, 0.7);
}

.nv .nv-nav ul.navbar-nav > li > a[href*="auth/signup"]:hover,
.nv .nv-nav ul.navbar-nav > li > a[href*="/signup"]:hover {
    background: var(--nv-brand);
    color: #fff;
}

/* language selector */
.nv .nv-nav ul.navbar-nav > li.language-selector > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 46px;
    padding: 0.55rem 0.6rem;
    border-radius: 999px;
    background: rgba(12, 18, 35, 0.045);
    color: var(--nv-ink-soft);
}

.nv .nv-nav ul.navbar-nav > li.language-selector > a:hover,
.nv .nv-nav ul.navbar-nav > li.language-selector.open > a {
    background: var(--nv-brand-soft);
    color: var(--nv-brand);
}

.nv .nv-nav ul.navbar-nav > li.language-selector .dropdown-menu {
    left: auto;
    right: 0;
    min-width: 200px;
}

.nv .nv-nav .dropdown-menu {
    border: 1px solid var(--nv-line);
    border-radius: var(--nv-radius-md);
    box-shadow: var(--nv-shadow);
    padding: 0.4rem;
    margin-top: 0.5rem;
}

.nv .nv-nav .dropdown-menu > li > a {
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
    font-weight: 600;
    color: var(--nv-ink-soft);
}

.nv .nv-nav .dropdown-menu > li > a:hover {
    background: var(--nv-brand-soft);
    color: var(--nv-brand);
}

/* ---------- 5. Buttons ---------- */
.nv .btn {
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid transparent;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.nv .btn:active,
.nv .btn:focus {
    outline: none;
}

.nv .btn-primary,
.nv .btn-success,
.nv .btn-default.btn-solid,
.nv .btn-contact {
    background: var(--nv-grad);
    color: #fff;
    box-shadow: 0 14px 30px -12px rgba(84, 87, 234, 0.75);
}

.nv .btn-primary:hover,
.nv .btn-primary:focus,
.nv .btn-success:hover,
.nv .btn-success:focus,
.nv .btn-contact:hover,
.nv .btn-contact:focus {
    background: var(--nv-grad);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 18px 36px -12px rgba(84, 87, 234, 0.85);
}

.nv .btn-default {
    background: #fff;
    border-color: var(--nv-line-strong);
    color: var(--nv-ink-soft);
    box-shadow: var(--nv-shadow-sm);
}

.nv .btn-default:hover,
.nv .btn-default:focus {
    background: var(--nv-brand-soft);
    border-color: transparent;
    color: var(--nv-brand);
}

.nv .btn-lg {
    border-radius: 999px;
    font-size: 1rem;
    padding: 0.9rem 1.9rem;
}

.nv .btn.disabled,
.nv .btn[disabled] {
    opacity: 0.55;
    box-shadow: none;
    transform: none;
}

.nv .btn .nv-ico {
    width: 16px;
    height: 16px;
    margin-left: 0.4rem;
    vertical-align: -2px;
}

/* ---------- 6. Forms ---------- */
.nv .form-control {
    border-radius: var(--nv-radius-sm);
    border: 1px solid var(--nv-line-strong);
    box-shadow: none;
    height: auto;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: var(--nv-ink);
    background: #fff;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.nv .form-control:focus {
    border-color: rgba(84, 87, 234, 0.6);
    box-shadow: 0 0 0 4px rgba(84, 87, 234, 0.12);
    outline: none;
}

.nv .form-control::placeholder {
    color: #9aa3b8;
}

.nv .help-block {
    font-size: 0.82rem;
    margin-top: 0.3rem;
}

.nv label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--nv-ink-soft);
    margin-bottom: 0.35rem;
}

.nv textarea.form-control {
    min-height: 168px;
    resize: vertical;
}

/* ---------- 7. Hero ---------- */
.nv .nv-hero {
    padding: 3.5rem 0 2rem;
    text-align: center;
}

.nv .nv-hero h1 {
    font-size: clamp(2.4rem, 5.4vw, 4rem);
    line-height: 1.04;
    margin: 1.25rem 0 1rem;
    letter-spacing: -0.035em;
}

.nv .nv-hero h1 .nv-grad-text {
    background: var(--nv-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
    position: relative;
}

.nv .nv-hero h1 .nv-grad-text::after {
    content: "";
    position: absolute;
    left: 2%;
    right: 2%;
    bottom: 0.06em;
    height: 0.1em;
    border-radius: 999px;
    background: var(--nv-grad);
    opacity: 0.28;
}

/* shorten form */
.nv .nv-shorten {
    max-width: 640px;
    margin: 2rem auto 0;
    position: relative;
}

.nv .nv-shorten form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    padding: 0.5rem 0.5rem 0.5rem 1.15rem;
    box-shadow: 0 20px 50px -18px rgba(16, 24, 60, 0.3);
    margin: 0;
}

.nv .nv-shorten .form-group {
    flex: 1 1 100%;
    margin: 0;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* the submit button is a sibling of .form-group, so the input has to absorb
   the remaining width, otherwise the button sits right next to the placeholder */
.nv .nv-shorten .form-group > .form-control {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
}

.nv .nv-shorten .nv-link-ico {
    color: #9aa3b8;
    flex: 0 0 18px;
    display: inline-flex;
}

.nv .nv-shorten .nv-link-ico svg {
    width: 18px;
    height: 18px;
}

.nv .nv-shorten .form-control {
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0.5rem 0;
    font-size: 1rem;
    height: auto;
}

.nv .nv-shorten .form-control:focus {
    box-shadow: none;
}

.nv .nv-shorten .btn {
    flex: 0 0 auto;
    padding: 0.8rem 1.35rem;
    font-size: 0.92rem;
}

.nv .nv-shorten .btn img {
    width: 16px;
    height: auto;
    display: inline-block;
    vertical-align: -2px;
}

.nv .nv-shorten .captcha {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: calc(100% + 0.9rem);
    background: #fff;
    padding: 0.75rem 1rem;
    border-radius: var(--nv-radius-md);
    border: 1px solid var(--nv-line);
    box-shadow: var(--nv-shadow);
}

/* trust row under the form */
.nv .nv-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.4rem;
    margin-top: 1.6rem;
    font-size: 0.83rem;
    color: var(--nv-muted);
    font-weight: 600;
}

.nv .nv-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.nv .nv-trust svg {
    width: 14px;
    height: 14px;
    color: var(--nv-brand);
    flex: 0 0 14px;
}

/* result of shortening
   app.js injects this markup and we are not allowed to change it, so the whole
   panel is rebuilt from CSS:
     .form-group > .input-group > input.form-control + .copy-it + .reshort
   The "copied / error" variants are told apart with :has(); browsers without
   :has() simply lose the leading badge and keep a usable panel. */
.nv .shorten.add-link-result {
    max-width: 640px;
    margin: 1.1rem auto 0;
    animation: nv-result-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.nv .shorten.add-link-result:empty {
    display: none;
}

.nv .shorten.add-link-result .form-group {
    margin: 0;
}

.nv .shorten.add-link-result .input-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.4rem 0.4rem 0.4rem 0.45rem;
    background: #fff;
    border: 1px solid var(--nv-line);
    border-radius: 999px;
    box-shadow: 0 18px 40px -22px rgba(16, 24, 60, 0.45);
}

/* leading state badge */
.nv .shorten.add-link-result .input-group::before {
    display: none;
    content: "";
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    margin-left: 0.15rem;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1;
    background: var(--nv-mint-soft);
    color: var(--nv-mint);
}

.nv .shorten.add-link-result .input-group:has(.copy-it)::before {
    display: inline-flex;
    content: "\2713";
}

.nv .shorten.add-link-result .input-group:not(:has(.copy-it))::before {
    display: inline-flex;
    content: "!";
    background: var(--nv-amber-soft);
    color: var(--nv-amber);
}

.nv .shorten.add-link-result .input-group .form-control {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    float: none;
    height: auto;
    padding: 0.6rem 0.35rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--nv-ink);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-overflow: ellipsis;
}

.nv .shorten.add-link-result .input-group:has(.copy-it) .form-control {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.98rem;
}

.nv .shorten.add-link-result .input-group:not(:has(.copy-it)) .form-control {
    color: var(--nv-ink-soft);
    font-weight: 600;
}

.nv .shorten.add-link-result .input-group .form-control:focus {
    border: 0;
    box-shadow: none;
    outline: none;
}

.nv .shorten.add-link-result .input-group-addon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex: 0 0 auto;
    width: auto;
    min-width: 42px;
    height: 42px;
    padding: 0 1rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--nv-ink-soft);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
    transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.nv .shorten.add-link-result .input-group-addon i {
    font-size: 0.92rem;
}

/* copy = the primary action */
.nv .shorten.add-link-result .copy-it {
    background: var(--nv-grad);
    color: #fff;
    box-shadow: 0 12px 26px -12px rgba(84, 87, 234, 0.85);
}

.nv .shorten.add-link-result .copy-it::after {
    content: attr(title);
}

.nv .shorten.add-link-result .copy-it:hover,
.nv .shorten.add-link-result .copy-it:focus {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px -12px rgba(84, 87, 234, 0.95);
}

.nv .shorten.add-link-result .copy-it.is-copied {
    background: var(--nv-mint);
    box-shadow: 0 12px 26px -12px rgba(14, 170, 122, 0.85);
}

.nv .shorten.add-link-result .copy-it.is-copied::after {
    content: attr(data-copied-label);
}

/* shorten another */
.nv .shorten.add-link-result .reshort {
    background: var(--nv-brand-soft);
    color: var(--nv-brand);
    padding: 0 0.9rem;
}

.nv .shorten.add-link-result .reshort:hover,
.nv .shorten.add-link-result .reshort:focus {
    background: rgba(84, 87, 234, 0.16);
}

/* spinner bar app.js drops in while the request is in flight */
.nv .shorten.loader {
    width: 150px;
    height: 4px;
    margin: 1.1rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(84, 87, 234, 0) 0%, var(--nv-brand) 50%, rgba(84, 87, 234, 0) 100%);
    background-size: 200% 100%;
    animation: nv-loader-sweep 0.9s linear infinite;
}

@keyframes nv-result-in {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes nv-loader-sweep {
    from {
        background-position: 150% 0;
    }

    to {
        background-position: -150% 0;
    }
}

/* ---------- 8. Generic section ---------- */
.nv .nv-section {
    padding: 3.5rem 0;
}

.nv .nv-section-head {
    text-align: center;
    margin-bottom: 2.5rem;
}

.nv .nv-section-head h2 {
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    margin: 0.75rem 0 0.5rem;
    letter-spacing: -0.03em;
}

.nv .nv-section-head .nv-kicker {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--nv-brand);
}

/* ---------- 9. Cards ---------- */
/* the feature cards are Bootstrap floated columns; uneven copy lengths used to
   produce a ragged grid, so lay that row out as a flex grid with equal heights */
.nv .nv-feature-grid {
    display: flex;
    flex-wrap: wrap;
}

.nv .nv-feature-grid > [class*="col-"] {
    display: flex;
}

.nv .nv-feature-grid .nv-card {
    width: 100%;
}

.nv .nv-card {
    background: var(--nv-card);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--nv-radius-lg);
    box-shadow: var(--nv-shadow);
    padding: 1.6rem;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nv .nv-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--nv-shadow-lg);
}

.nv .nv-card h4 {
    font-size: 1.05rem;
    margin: 0.9rem 0 0.5rem;
    letter-spacing: -0.015em;
}

.nv .nv-card p {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.65;
}

.nv .nv-ico-box {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--nv-brand-soft);
    color: var(--nv-brand);
}

.nv .nv-ico-box svg {
    width: 21px;
    height: 21px;
}

.nv .nv-ico-box.mint {
    background: var(--nv-mint-soft);
    color: var(--nv-mint);
}

.nv .nv-ico-box.amber {
    background: var(--nv-amber-soft);
    color: var(--nv-amber);
}

/* steps */
.nv .nv-step {
    text-align: center;
    padding: 1.5rem 1rem;
}

.nv .nv-step .nv-ico-box {
    width: 56px;
    height: 56px;
    border-radius: 18px;
}

.nv .nv-step .nv-ico-box svg {
    width: 26px;
    height: 26px;
}

.nv .nv-step h4 {
    font-size: 1rem;
    margin: 1rem 0 0;
}

/* stats */
.nv .nv-stat {
    text-align: center;
    padding: 1.75rem 1rem;
    background: #fff;
    border-radius: var(--nv-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--nv-shadow);
}

.nv .nv-stat .nv-num {
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    background: var(--nv-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    line-height: 1.1;
}

.nv .nv-stat .nv-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--nv-muted);
    margin-top: 0.35rem;
}

/* ---------- 10. Testimonials ---------- */
.nv .nv-testimonial {
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--nv-radius-lg);
    box-shadow: var(--nv-shadow);
    padding: 1.75rem;
    margin: 0.5rem;
}

.nv .nv-testimonial .nv-quote {
    font-size: 0.95rem;
    color: var(--nv-ink-soft);
    line-height: 1.7;
}

.nv .nv-testimonial .nv-quote-mark {
    color: var(--nv-brand);
    opacity: 0.35;
    margin-bottom: 0.5rem;
}

.nv .nv-testimonial .nv-quote-mark svg {
    width: 26px;
    height: 26px;
}

.nv .nv-testimonial .nv-person {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--nv-line);
}

.nv .nv-testimonial .nv-person img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 44px;
    background: var(--nv-bg);
}

.nv .nv-testimonial .nv-person h4 {
    font-size: 0.9rem;
    margin: 0;
}

.nv .nv-testimonial .nv-person span {
    font-size: 0.78rem;
    color: var(--nv-muted);
}

.nv .owl-carousel .owl-item img {
    display: inline-block;
    width: auto;
}

.nv .owl-theme .owl-dots .owl-dot span {
    background: rgba(12, 18, 35, 0.18);
    width: 8px;
    height: 8px;
}

.nv .owl-theme .owl-dots .owl-dot.active span {
    background: var(--nv-brand);
}

/* ---------- 11. Contact ---------- */
.nv .nv-contact-card {
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--nv-radius-xl);
    box-shadow: var(--nv-shadow);
    padding: 2rem;
}

.nv .nv-contact-card .checkbox label {
    font-weight: 500;
    font-size: 0.8rem;
    line-height: 1.55;
    color: var(--nv-muted);
}

.nv .nv-contact-card input[type="checkbox"] {
    margin-right: 0.45rem;
    margin-top: 0.2rem;
}

/* ---------- 12. Footer ---------- */
.nv .nv-footer {
    margin-top: 3rem;
    padding: 0 1.25rem 1.5rem;
}

.nv .nv-footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    background: #0e1428;
    border-radius: var(--nv-radius-xl);
    padding: 2.5rem 2.25rem 1.75rem;
    color: rgba(255, 255, 255, 0.66);
    box-shadow: 0 30px 70px -30px rgba(14, 20, 40, 0.7);
}

.nv .nv-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.nv .nv-footer-brand .nv-brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: var(--nv-grad);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex: 0 0 30px;
}

.nv .nv-footer-brand .nv-brand-mark svg {
    width: 17px;
    height: 17px;
}

.nv .nv-footer h5 {
    color: #fff;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 800;
    margin: 0 0 1rem;
}

.nv .nv-footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    line-height: 1.7;
    max-width: 26rem;
}

.nv .nv-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nv .nv-footer ul li {
    margin-bottom: 0.6rem;
}

.nv .nv-footer ul li a {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.nv .nv-footer ul li a:hover {
    color: #fff;
}

.nv .nv-footer ul li a::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    display: inline-block;
}

.nv .nv-footer .nv-social {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.nv .nv-footer .nv-social a {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: background 0.18s ease;
}

.nv .nv-footer .nv-social a:hover {
    background: var(--nv-brand);
}

.nv .nv-footer-bottom {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.nv .nv-footer .payment-methods {
    margin-top: 1.5rem;
}

.nv .nv-footer .payment-methods img {
    height: 22px;
    width: auto;
    margin: 0 0.35rem 0.5rem;
    opacity: 0.85;
}

/* ---------- 13. Ad / interstitial pages ---------- */
.nv .nv-page-wrap {
    max-width: 940px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 0;
}

.nv .nv-sponsored {
    position: relative;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--nv-radius-lg);
    box-shadow: var(--nv-shadow);
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.nv .nv-sponsored::before {
    content: "";
    display: block;
    height: 4px;
    background: var(--nv-grad);
}

.nv .nv-sponsored-label {
    text-align: center;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--nv-brand);
    padding: 0.65rem 0 0.35rem;
}

.nv .nv-sponsored-body {
    padding: 0.25rem 1rem 1rem;
    text-align: center;
}

.nv .nv-sponsored-body .banner-inner {
    display: inline-block;
    max-width: 100%;
}

.nv .nv-sponsored-body iframe,
.nv .nv-sponsored-body img {
    max-width: 100%;
}

/* the "destination is ready" card */
.nv .nv-ad-card {
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--nv-radius-xl);
    box-shadow: var(--nv-shadow-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    margin-bottom: 1.25rem;
}

.nv .nv-ad-card h2 {
    font-size: clamp(1.6rem, 3.4vw, 2.3rem);
    letter-spacing: -0.03em;
    margin: 0.9rem 0 0.6rem;
}

.nv .nv-ad-card .nv-ad-sub {
    color: var(--nv-muted);
    font-size: 0.92rem;
    max-width: 28rem;
    margin: 0 auto 1.75rem;
}

/* nested "next step" panel */
.nv .nv-next-step {
    max-width: 430px;
    margin: 0 auto;
    background: linear-gradient(180deg, #ffffff 0%, #fbfbff 100%);
    border: 1px solid rgba(84, 87, 234, 0.16);
    border-radius: var(--nv-radius-lg);
    box-shadow: 0 18px 40px -18px rgba(84, 87, 234, 0.4);
    padding: 1.5rem;
    text-align: left;
    position: relative;
}

.nv .nv-next-step .nv-step-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--nv-brand);
    background: var(--nv-brand-soft);
    border-radius: 999px;
    padding: 0.3rem 0.65rem;
    margin-bottom: 0.85rem;
}

.nv .nv-next-step .nv-step-badge svg {
    width: 12px;
    height: 12px;
}

.nv .nv-next-step h4 {
    font-size: 1.2rem;
    line-height: 1.25;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.nv .nv-next-step p {
    font-size: 0.85rem;
    color: var(--nv-muted);
    margin: 0 0 1.1rem;
}

.nv .nv-next-step .btn {
    width: 100%;
    display: block;
    padding: 0.85rem 1rem;
    position: relative;
}

.nv .nv-next-step .btn img {
    display: none;
}

/* trust row */
.nv .nv-ad-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.6rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--nv-muted);
}

.nv .nv-ad-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
}

.nv .nv-ad-trust svg {
    width: 13px;
    height: 13px;
    color: var(--nv-mint);
    flex: 0 0 13px;
}

/* countdown (banner layout) */
.nv .nv-countdown {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--nv-line);
    box-shadow: var(--nv-shadow);
    margin: 1.25rem auto;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--nv-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nv .nv-countdown .timer {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    background: var(--nv-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* skip-ad block in interstitial nav */
.nv .nv-nav .skip-ad {
    min-width: 86px;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--nv-muted);
    line-height: 1.3;
    padding: 0.45rem 0.6rem;
    border-radius: 14px;
    background: rgba(12, 18, 35, 0.04);
}

.nv .nv-nav .skip-ad .counter {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--nv-ink);
    letter-spacing: -0.02em;
}

.nv .nv-nav .skip-ad a.btn {
    background: var(--nv-grad);
    color: #fff;
    border: 0;
    padding: 0.55rem 1rem;
    font-size: 0.78rem;
    border-radius: 999px;
    box-shadow: 0 10px 22px -12px rgba(84, 87, 234, 0.8);
}

.nv .nv-ad-frame {
    width: 100%;
    border: none;
    border-radius: var(--nv-radius-lg);
    background: #fff;
    box-shadow: var(--nv-shadow);
    display: block;
    min-height: 420px;
}

/* ---------- 14. Link details / blog ---------- */
.nv .nv-link-card {
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--nv-radius-lg);
    box-shadow: var(--nv-shadow);
    padding: 1.5rem;
    text-align: center;
    height: 100%;
}

.nv .nv-link-card img.link-image {
    max-width: 100%;
    max-height: 220px;
    border-radius: var(--nv-radius-md);
    margin-bottom: 1rem;
}

.nv .nv-link-card .link-title {
    font-size: 1.05rem;
    margin: 0 0 0.5rem;
}

.nv .nv-link-card .link-description {
    font-size: 0.88rem;
    color: var(--nv-muted);
    margin: 0;
}

.nv .nv-blog {
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--nv-radius-lg);
    box-shadow: var(--nv-shadow);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    text-align: left;
}

.nv .nv-blog h3 {
    font-size: 1rem;
    margin: 0 0 0.75rem;
    letter-spacing: -0.01em;
}

.nv .nv-blog h3 small {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--nv-brand);
    display: block;
    margin-bottom: 0.3rem;
}

.nv .nv-blog .blog-content {
    font-size: 0.9rem;
    color: var(--nv-muted);
    line-height: 1.7;
}

/* info blocks below ad pages */
.nv .nv-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 0;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--nv-radius-xl);
    box-shadow: var(--nv-shadow);
    padding: 1.75rem;
    text-align: left;
}

.nv .nv-info-grid .nv-kicker {
    grid-column: 1 / -1;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--nv-brand);
    margin-bottom: 0.25rem;
}

.nv .nv-info-grid h3 {
    grid-column: 1 / -1;
    font-size: 1.15rem;
    margin: 0 0 0.35rem;
    letter-spacing: -0.02em;
}

.nv .nv-info-grid p {
    grid-column: 1 / -1;
    font-size: 0.88rem;
    color: var(--nv-muted);
    margin: 0 0 0.75rem;
}

.nv .nv-info-item {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    padding: 0.9rem;
    border-radius: var(--nv-radius-md);
    border: 1px solid var(--nv-line);
    background: #fcfcff;
}

.nv .nv-info-item .nv-ico-box {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    flex: 0 0 30px;
}

.nv .nv-info-item .nv-ico-box svg {
    width: 15px;
    height: 15px;
}

.nv .nv-info-item h6 {
    font-size: 0.84rem;
    margin: 0 0 0.15rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.nv .nv-info-item p {
    font-size: 0.78rem;
    margin: 0;
    color: var(--nv-muted);
    grid-column: auto;
}

/* ---------- 15. Static pages ---------- */
.nv .nv-page-head {
    text-align: center;
    padding: 2.5rem 0 1rem;
}

.nv .nv-page-head h1 {
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    letter-spacing: -0.03em;
    margin: 0.75rem 0 0;
}

.nv .nv-page-head > .container > p {
    margin: 0.7rem auto 0;
    max-width: 44rem;
    color: var(--nv-muted);
    font-size: 1rem;
}

.nv .nv-prose {
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--nv-radius-xl);
    box-shadow: var(--nv-shadow);
    padding: 3rem 3.25rem;
    color: var(--nv-ink-soft);
    line-height: 1.9;
    font-size: 1.0625rem;
}

/* readable measure - long paragraphs should never run the full card width */
.nv .nv-prose > * {
    max-width: 70ch;
}

/* centre the reading column inside the card; tables keep the full width */
.nv .nv-prose > p,
.nv .nv-prose > ul,
.nv .nv-prose > ol,
.nv .nv-prose > h1,
.nv .nv-prose > h2,
.nv .nv-prose > h3,
.nv .nv-prose > blockquote {
    margin-left: auto;
    margin-right: auto;
}

.nv .nv-prose > table,
.nv .nv-prose > .payout-rates,
.nv .nv-prose > .advertising-rates {
    max-width: none;
}

.nv .nv-prose p {
    margin: 0 0 1.4rem;
    color: var(--nv-ink-soft);
}

.nv .nv-prose p:last-child {
    margin-bottom: 0;
}

.nv .nv-prose strong,
.nv .nv-prose b {
    color: var(--nv-ink);
    font-weight: 700;
}

.nv .nv-prose h1 {
    font-size: 1.9rem;
    margin: 2.4rem 0 1rem;
}

.nv .nv-prose h2 {
    font-size: 1.55rem;
    margin: 2.2rem 0 0.95rem;
}

.nv .nv-prose h3 {
    font-size: 1.25rem;
    margin: 1.9rem 0 0.75rem;
}

.nv .nv-prose h1:first-child, .nv .nv-prose h2:first-child, .nv .nv-prose h3:first-child {
    margin-top: 0;
}

.nv .nv-prose ul,
.nv .nv-prose ol {
    margin: 0 0 1.4rem;
    padding-left: 1.4rem;
    color: var(--nv-ink-soft);
}

.nv .nv-prose li {
    margin-bottom: 0.45rem;
}

.nv .nv-prose li::marker {
    color: var(--nv-brand);
    font-weight: 700;
}

.nv .nv-prose a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.nv .nv-prose img {
    max-width: 100%;
    height: auto;
    border-radius: var(--nv-radius-md);
}

.nv .nv-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2rem 0;
    font-size: 0.98rem;
}

.nv .nv-prose th, .nv .nv-prose td {
    border: 1px solid var(--nv-line);
    padding: 0.7rem 0.85rem;
    text-align: left;
}

.nv .nv-prose th, .nv .nv-prose td {
    border: 1px solid var(--nv-line);
    padding: 0.6rem 0.75rem;
    text-align: left;
}

/* ---------- 16. Flash / alerts ---------- */
.nv .alert {
    border-radius: var(--nv-radius-md);
    border: 1px solid var(--nv-line);
    background: #fff;
    box-shadow: var(--nv-shadow-sm);
    color: var(--nv-ink-soft);
    font-size: 0.9rem;
    padding: 0.85rem 1rem;
}

.nv .alert-success {
    background: var(--nv-mint-soft);
    border-color: rgba(14, 170, 122, 0.25);
    color: #0a6b4e;
}

.nv .alert-danger {
    background: rgba(220, 53, 69, 0.08);
    border-color: rgba(220, 53, 69, 0.22);
    color: #a52231;
}

.nv .nv-flash {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0.5rem 1.25rem 0;
}

.nv .nv-flash:empty {
    display: none;
}

/* ---------- 17. Responsive ---------- */
@media (max-width: 991px) {
    .nv .nv-nav ul.navbar-nav {
        float: none;
        display: block;
        padding: 0.5rem 0 0.25rem;
    }

    .nv .nv-nav ul.navbar-nav > li > a {
        padding: 0.7rem 0.9rem;
        border-radius: 14px;
        margin-bottom: 0.15rem;
    }

    .nv .nv-nav ul.navbar-nav > li > a[href*="auth/signup"],
    .nv .nv-nav ul.navbar-nav > li > a[href*="/signup"] {
        margin-top: 0.35rem;
        text-align: center;
    }

    .nv .nv-nav .navbar-collapse {
        border-top: 1px solid var(--nv-line);
        margin-top: 0.5rem;
        padding-top: 0.25rem;
    }

    .nv .nv-nav.nv-nav-collapsed {
        border-radius: var(--nv-radius-lg);
    }

    .nv .nv-info-grid {
        grid-template-columns: 1fr;
        padding: 1.25rem;
    }

    .nv .nv-footer-inner {
        padding: 2rem 1.5rem 1.5rem;
    }
}

@media (max-width: 767px) {
    .nv .nv-hero {
        padding: 2.25rem 0 1rem;
    }

    .nv .nv-shorten form {
        flex-wrap: wrap;
        border-radius: var(--nv-radius-lg);
        padding: 0.75rem;
        gap: 0.65rem;
    }

    .nv .nv-shorten .form-group {
        flex: 1 1 100%;
        padding: 0.15rem 0.25rem;
        border: 1px solid var(--nv-line-strong);
        border-radius: 999px;
        padding-left: 0.9rem;
    }

    .nv .nv-shorten .btn {
        flex: 1 1 100%;
        width: 100%;
    }

    /* keep the result pill compact on phones: icon only copy button */
    .nv .shorten.add-link-result .input-group {
        gap: 0.35rem;
        padding: 0.35rem;
    }

    .nv .shorten.add-link-result .input-group::before {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    .nv .shorten.add-link-result .input-group .form-control {
        padding: 0.55rem 0.2rem;
        font-size: 0.9rem;
    }

    .nv .shorten.add-link-result .input-group-addon {
        min-width: 38px;
        height: 38px;
        padding: 0;
    }

    .nv .shorten.add-link-result .copy-it::after {
        content: "";
    }

    .nv .shorten.add-link-result .copy-it.is-copied::after {
        content: "";
    }

    .nv .shorten.add-link-result .reshort {
        padding: 0;
    }

    .nv .nv-ad-card {
        padding: 1.75rem 1.15rem;
    }

    .nv .nv-next-step {
        padding: 1.15rem;
    }

    .nv .nv-footer {
        padding: 0 0.75rem 1rem;
    }

    .nv .nv-nav-wrap {
        padding: 0.6rem 0.75rem 0.25rem;
    }

    .nv .nv-section {
        padding: 2.25rem 0;
    }

    .nv .nv-prose {
        padding: 1.25rem;
    }

    .nv .nv-ad-trust {
        gap: 0.85rem;
        font-size: 0.74rem;
    }
}

/* ---------- 18. Utilities ---------- */
.nv .nv-mt-0 { margin-top: 0 !important; }
.nv .nv-mb-0 { margin-bottom: 0 !important; }
.nv .nv-center { text-align: center; }
.nv .nv-hidden { display: none !important; }

.nv .nv-avatar-row {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.nv .nv-float-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--nv-line);
    border-radius: 999px;
    box-shadow: var(--nv-shadow);
    padding: 0.5rem 0.9rem;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--nv-ink-soft);
    backdrop-filter: blur(8px);
}

.nv .nv-float-badge .nv-ico-box {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    flex: 0 0 24px;
}

.nv .nv-float-badge .nv-ico-box svg {
    width: 13px;
    height: 13px;
}

/* ---------- 19. Interstitial nav row ---------- */
.nv .nv-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 0.35rem;
}

.nv .nv-nav-brand {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 0 0 auto;
}

.nv .nv-nav-brand .navbar-brand {
    float: none;
}

.nv .nv-nav-ad {
    flex: 1 1 auto;
    text-align: center;
    overflow: hidden;
}

.nv .nv-nav-ad .banner-inner {
    display: inline-block;
    max-width: 100%;
}

.nv .nv-nav-skip {
    flex: 0 0 auto;
}

.nv .nv-nav .skip-ad {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
}

.nv .nv-nav .skip-ad > span:first-child {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
}

/* ---------- 20. Go form button states ---------- */
.nv #go-link .nv-go {
    display: none;
}

.nv #go-link.go-link .nv-go {
    display: inline;
}

.nv #go-link.go-link .nv-wait {
    display: none;
}

.nv #go-link:not(.go-link) button {
    opacity: 0.65;
}

.nv .get-link.disabled {
    opacity: 0.6;
    pointer-events: none;
    box-shadow: none;
}

.nv .nv-ad-frame {
    width: 100%;
    display: block;
}

/* ---------- 21. Mobile tweaks for ad flow ---------- */
@media (max-width: 767px) {
    .nv .nv-ad-frame {
        min-height: 320px;
    }

    .nv .nv-nav-row {
        flex-wrap: nowrap;
    }

    .nv .nv-nav .skip-ad {
        padding: 0.35rem 0.5rem;
        min-width: 68px;
    }

    .nv .nv-countdown {
        width: 82px;
        height: 82px;
    }

    .nv .nv-countdown .timer {
        font-size: 1.55rem;
    }
}

/* ---------- 22. Brand text ---------- */
.nv .nv-nav .navbar-brand .nv-brand-text {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1rem;
    letter-spacing: 0.005em;
}

.nv .nv-footer-brand {
    max-width: 100%;
}

/* ---------- 23. Cookie notification bar (injected by app.js) ---------- */
.nv #cookie-pop {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9990;
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--nv-line);
    box-shadow: 0 -14px 40px -24px rgba(16, 24, 60, 0.5);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    padding: 0.3rem 0;
}

.nv #cookie-pop .container-fluid {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.85rem 1.5rem;
    max-width: 1180px;
    min-height: 58px;
}

.nv #cookie-pop .col-xs-9,
.nv #cookie-pop .col-xs-3 {
    float: none;
    width: auto;
    padding: 0;
}

.nv #cookie-pop .col-xs-9 {
    flex: 1 1 320px;
}

.nv #cookie-pop .col-xs-3 {
    flex: 0 0 auto;
    margin-left: auto;
}

.nv #cookie-pop .cookie-message {
    font-size: 0.82rem;
    color: var(--nv-muted);
    line-height: 1.5;
}

.nv #cookie-pop #got-cookie {
    background: var(--nv-ink);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 0.52rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 8px 20px -10px rgba(12, 18, 35, 0.7);
}

.nv #cookie-pop #got-cookie:hover {
    background: var(--nv-brand);
}

/* ---------- 24. Captcha containers ---------- */
.nv .form-group.captcha {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.nv .nv-contact-card .form-group.captcha {
    justify-content: flex-start;
}

.nv .nv-contact-card .g-recaptcha {
    margin: 0;
}

.nv .form-group.captcha > div {
    min-height: 0;
}

/* ---------- 25. Static pages: key facts + rate tables ---------- */
.nv .nv-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 0 0 1.75rem;
}

.nv .nv-fact {
    position: relative;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--nv-radius-lg);
    box-shadow: var(--nv-shadow-sm);
    padding: 1.15rem 1.3rem 1.2rem;
    overflow: hidden;
}

.nv .nv-fact::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--nv-grad);
}

.nv .nv-fact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--nv-muted);
}

.nv .nv-fact-value {
    display: block;
    margin-top: 0.4rem;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--nv-ink);
    line-height: 1.15;
}

.nv .nv-fact-value small {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--nv-muted);
    letter-spacing: 0;
}

.nv .nv-rates {
    margin-top: 2.25rem;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--nv-radius-xl);
    box-shadow: var(--nv-shadow);
    padding: 2rem 2.25rem 2.25rem;
}

.nv .nv-rates-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.35rem;
}

.nv .nv-rates-head h2 {
    font-size: clamp(1.35rem, 2.4vw, 1.7rem);
    margin: 0;
}

.nv .nv-rates-head p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--nv-muted);
}

/* the bundled rate element is plain bootstrap - restyle it to match the theme */
.nv :is(.payout-rates, .advertising-rates) .nav-tabs {
    border-bottom: 1px solid var(--nv-line);
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    padding-bottom: 0.9rem;
}

.nv :is(.payout-rates, .advertising-rates) .nav-tabs > li {
    float: none;
    margin: 0;
}

.nv :is(.payout-rates, .advertising-rates) .nav-tabs > li > a {
    margin: 0;
    border: 1px solid var(--nv-line);
    border-radius: 999px;
    padding: 0.5rem 1.15rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--nv-ink-soft);
    background: #fff;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.nv :is(.payout-rates, .advertising-rates) .nav-tabs > li > a:hover,
.nv :is(.payout-rates, .advertising-rates) .nav-tabs > li > a:focus {
    background: var(--nv-brand-soft);
    border-color: transparent;
    color: var(--nv-brand);
}

.nv :is(.payout-rates, .advertising-rates) .nav-tabs > li.active > a,
.nv :is(.payout-rates, .advertising-rates) .nav-tabs > li.active > a:hover,
.nv :is(.payout-rates, .advertising-rates) .nav-tabs > li.active > a:focus {
    background: var(--nv-ink);
    border-color: var(--nv-ink);
    color: #fff;
}

.nv :is(.payout-rates, .advertising-rates) .tab-content {
    padding-top: 1.25rem;
}

.nv :is(.payout-rates, .advertising-rates) .tab-pane {
    max-height: 620px;
    overflow-y: auto;
    border-radius: var(--nv-radius-md);
}

.nv :is(.payout-rates, .advertising-rates) table,
.nv .advertising-rates table {
    width: 100%;
    margin: 0;
    font-size: 0.95rem;
    border-collapse: separate;
    border-spacing: 0;
}

.nv :is(.payout-rates, .advertising-rates) table > tbody > tr > th,
.nv .advertising-rates table > tbody > tr > th {
    background: #f6f7fd;
    color: var(--nv-ink);
    font-weight: 700;
    border-color: var(--nv-line);
    vertical-align: middle;
}

.nv :is(.payout-rates, .advertising-rates) table > tbody > tr > td,
.nv .advertising-rates table > tbody > tr > td {
    border-color: var(--nv-line);
    padding: 0.6rem 0.8rem;
    color: var(--nv-ink-soft);
    vertical-align: middle;
}

.nv :is(.payout-rates, .advertising-rates) .table-hover > tbody > tr:hover,
.nv .advertising-rates .table-hover > tbody > tr:hover {
    background: var(--nv-brand-soft);
}

.nv :is(.payout-rates, .advertising-rates) .table-striped > tbody > tr:nth-of-type(odd) {
    background: #fafbff;
}

.nv :is(.payout-rates, .advertising-rates) .flag-icon {
    margin-right: 0.55rem;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(12, 18, 35, 0.15);
}

/* ---------- 26. Error pages (404 / 500) ---------- */
.nv .nv-error {
    text-align: center;
    padding: 4.5rem 0 5.5rem;
}

.nv .nv-error-code {
    display: block;
    font-size: clamp(6rem, 17vw, 11rem);
    font-weight: 900;
    line-height: 0.86;
    letter-spacing: -0.06em;
    background: var(--nv-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.nv .nv-error h1 {
    font-size: clamp(1.6rem, 3.4vw, 2.3rem);
    margin: 1.5rem 0 0.85rem;
}

.nv .nv-error p {
    max-width: 36rem;
    margin: 0 auto 1.9rem;
    font-size: 1.0625rem;
    color: var(--nv-muted);
}

.nv .nv-error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.nv .nv-error-actions .btn-ghost {
    background: #fff;
    border: 1px solid var(--nv-line-strong);
    color: var(--nv-ink);
    box-shadow: none;
}

.nv .nv-error-actions .btn-ghost:hover {
    background: var(--nv-brand-soft);
    border-color: transparent;
    color: var(--nv-brand);
}

.nv .nv-error-links {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--nv-line);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.75rem;
    justify-content: center;
    font-size: 0.95rem;
}

.nv .nv-error-links a {
    color: var(--nv-muted);
    font-weight: 600;
}

.nv .nv-error-links a:hover {
    color: var(--nv-brand);
}

@media (max-width: 991px) {
    .nv .nv-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nv .nv-prose {
        padding: 2.25rem 2rem;
    }
}

@media (max-width: 767px) {
    .nv .nv-nav-wrap {
        padding: 0.75rem 0.85rem 0.35rem;
    }

    .nv .nv-nav {
        min-height: 0;
        padding: 0.5rem 0.6rem 0.5rem 0.95rem;
    }

    .nv .nv-nav ul.navbar-nav > li > a {
        font-size: 1rem;
        padding: 0.7rem 0.9rem;
    }

    .nv .nv-prose {
        padding: 1.6rem 1.35rem;
        font-size: 1.0125rem;
        line-height: 1.85;
    }

    .nv .nv-facts {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .nv .nv-fact {
        padding: 0.95rem 1.1rem 1rem;
    }

    .nv .nv-fact-value {
        font-size: 1.45rem;
    }

    .nv .nv-rates {
        padding: 1.35rem 1.15rem 1.5rem;
        border-radius: var(--nv-radius-lg);
    }

    .nv :is(.payout-rates, .advertising-rates) .tab-pane {
        max-height: none;
        overflow-x: auto;
    }

    .nv :is(.payout-rates, .advertising-rates) table,
    .nv .advertising-rates table {
        font-size: 0.9rem;
        min-width: 480px;
    }

    .nv .nv-error {
        padding: 3rem 0 4rem;
    }

    .nv .nv-error-actions .btn {
        width: 100%;
    }
}

/* ---------- 27. Public link statistics page (/{alias}/info) ---------- */
/* The core template was built for AdminLTE: no container, .box classes that
   do not exist here, a 400px screenshot inside a 25% column and a dead
   miniature.io endpoint. This section styles the theme-native replacement. */
.nv .nv-page-wrap {
    min-width: 0;
}

.nv .nv-stat-head {
    padding: 0.5rem 0 1.5rem;
}

.nv .nv-stat-head h1 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    letter-spacing: -0.03em;
    margin: 0.8rem 0 0.4rem;
}

.nv .nv-stat-head > p {
    margin: 0;
    color: var(--nv-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    /* a long link title must wrap: "white-space: nowrap" made the whole page
       wider than the viewport (min-content of the flex column) */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}

/* hero: site tile + identity + QR */
.nv .nv-stat-hero {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
    background: var(--nv-card);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--nv-radius-xl);
    box-shadow: var(--nv-shadow);
    padding: 1.5rem;
}

.nv .nv-stat-thumb {
    width: 132px;
    height: 132px;
    border-radius: 20px;
    background: var(--nv-grad);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.nv .nv-stat-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(90% 70% at 20% 10%, rgba(255, 255, 255, 0.28), transparent 60%);
    pointer-events: none;
}

.nv .nv-stat-thumb-letter {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}

.nv .nv-stat-thumb-host {
    font-size: 0.62rem;
    font-weight: 600;
    line-height: 1.3;
    opacity: 0.9;
    word-break: break-all;
}

.nv .nv-stat-identity {
    min-width: 0;
}

.nv .nv-stat-identity h2 {
    font-size: 1.3rem;
    line-height: 1.35;
    letter-spacing: -0.02em;
    margin: 0 0 0.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nv .nv-stat-identity h2 a {
    color: var(--nv-ink);
    text-decoration: none;
}

.nv .nv-stat-identity h2 a:hover {
    color: var(--nv-brand);
}

.nv .nv-stat-shorturl {
    margin: 0 0 0.6rem;
}

.nv .nv-stat-pill {
    display: inline-block;
    background: var(--nv-brand-soft);
    color: var(--nv-brand);
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 700;
    word-break: break-all;
}

.nv .nv-stat-desc {
    color: var(--nv-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    margin: 0 0 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nv .nv-stat-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.6rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nv .nv-stat-facts li {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.nv .nv-stat-facts span {
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--nv-muted);
}

.nv .nv-stat-facts b {
    font-size: 0.9rem;
    color: var(--nv-ink);
    font-weight: 700;
    max-width: 16rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nv .nv-stat-qr {
    background: #fff;
    border: 1px solid var(--nv-line);
    border-radius: 18px;
    padding: 0.6rem;
    box-shadow: var(--nv-shadow-sm);
    line-height: 0;
}

.nv .nv-stat-qr img {
    width: 132px;
    height: 132px;
    display: block;
    border-radius: 10px;
}

/* KPI strip */
.nv .nv-stat-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1.25rem;
}

.nv .nv-stat-kpi {
    background: var(--nv-card);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--nv-radius-lg);
    box-shadow: var(--nv-shadow-sm);
    padding: 1rem 1.1rem;
    min-width: 0;
}

.nv .nv-stat-kpi > span {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--nv-muted);
    margin-bottom: 0.45rem;
}

.nv .nv-stat-kpi > b {
    display: block;
    font-size: 1.55rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--nv-ink);
    font-variant-numeric: tabular-nums;
}

.nv .nv-stat-kpi > b small {
    font-size: 0.85rem;
    color: var(--nv-muted);
    font-weight: 600;
}

.nv .nv-stat-kpi > small {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.7rem;
    color: var(--nv-muted);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* generic panel */
.nv .nv-stat-card {
    background: var(--nv-card);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--nv-radius-xl);
    box-shadow: var(--nv-shadow);
    padding: 1.35rem 1.5rem 1.5rem;
    margin-top: 1.25rem;
}

.nv .nv-stat-card-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.nv .nv-stat-card-head h3 {
    font-size: 1.02rem;
    letter-spacing: -0.015em;
    margin: 0;
}

.nv .nv-stat-total {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--nv-muted);
    white-space: nowrap;
}

/* 30 day histogram - pure CSS, no CDN, so it can never render blank */
.nv .nv-stat-chart {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 190px;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--nv-line);
}

.nv .nv-stat-col {
    flex: 1 1 0;
    height: 100%;
    position: relative;
    min-width: 0;
}

.nv .nv-stat-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 2px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, #7b7ef0 0%, #5457ea 100%);
    transition: filter 0.15s ease;
}

.nv .nv-stat-col:hover .nv-stat-bar {
    filter: brightness(1.12);
}

.nv .nv-stat-col.is-zero .nv-stat-bar {
    background: var(--nv-line-strong);
}

.nv .nv-stat-col.is-today .nv-stat-bar {
    background: linear-gradient(180deg, #b093fb 0%, #8f5cf6 100%);
}

.nv .nv-stat-tick {
    position: absolute;
    bottom: -1.35rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    color: var(--nv-muted);
    white-space: nowrap;
    pointer-events: none;
}

/* ranked bar lists (countries / referrers) */
.nv .nv-stat-bars {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nv .nv-stat-bars li {
    display: grid;
    grid-template-columns: 10rem minmax(0, 1fr) 3.5rem;
    align-items: center;
    gap: 0.9rem;
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--nv-line);
}

.nv .nv-stat-bars li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.nv .nv-stat-bars-name {
    font-size: 0.86rem;
    color: var(--nv-ink-soft);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nv .nv-stat-bars-name .flag-icon {
    margin-right: 0.4rem;
    border-radius: 2px;
}

.nv .nv-stat-bars-domain {
    color: var(--nv-ink-soft);
}

.nv .nv-stat-bars-track {
    height: 8px;
    border-radius: 999px;
    background: #f0f2fa;
    overflow: hidden;
}

.nv .nv-stat-bars-fill {
    display: block;
    height: 100%;
    min-width: 3px;
    border-radius: 999px;
    background: var(--nv-grad);
}

.nv .nv-stat-bars-fill-alt {
    background: linear-gradient(90deg, #0eaa7a 0%, #34c79b 100%);
}

.nv .nv-stat-bars-value {
    text-align: right;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--nv-ink);
    font-variant-numeric: tabular-nums;
}


.nv .nv-stat-note {
    margin: 0.9rem 0 0;
    text-align: right;
    font-size: 0.72rem;
    color: var(--nv-muted);
}

.nv .nv-stat-empty {
    margin: 0;
    padding: 1.5rem 0 0.5rem;
    text-align: center;
    color: var(--nv-muted);
    font-size: 0.88rem;
}

@media (max-width: 767px) {
    .nv .nv-stat-hero {
        grid-template-columns: 1fr;
        gap: 1.1rem;
        padding: 1.2rem;
        text-align: center;
    }

    .nv .nv-stat-thumb {
        width: 100%;
        height: 96px;
        flex-direction: row;
        gap: 0.75rem;
        justify-content: center;
    }

    .nv .nv-stat-thumb-letter {
        font-size: 1.9rem;
    }

    .nv .nv-stat-facts {
        justify-content: center;
    }

    .nv .nv-stat-facts b {
        max-width: 12rem;
    }

    .nv .nv-stat-qr {
        justify-self: center;
    }

    .nv .nv-stat-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nv .nv-stat-card {
        padding: 1.1rem 1.1rem 1.25rem;
    }

    .nv .nv-stat-chart {
        height: 150px;
        gap: 2px;
    }

    .nv .nv-stat-col .nv-stat-tick {
        display: none;
    }

    .nv .nv-stat-col:nth-child(5n + 1) .nv-stat-tick {
        display: block;
    }

    .nv .nv-stat-bars li {
        grid-template-columns: 6.5rem minmax(0, 1fr) 2.75rem;
        gap: 0.6rem;
    }
}
