.nx-topbar {
    position: relative;
    z-index: 1040;
    height: 38px;
    padding: 9px 0;
    background: #000;
    border-bottom: 1px solid rgba(0, 255, 136, 0.16);
    color: #cfe0d7;
    font-family: "Nunito", sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.nx-topbar i {
    color: #00ff88;
}

.nx-topbar a {
    color: #cfe0d7;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nx-topbar a:hover {
    color: #00ff88;
}

.nx-navbar {
    top: 38px;
    z-index: 1030;
    min-height: 76px;
    padding: 8px 0;
    background: rgba(0, 0, 0, 0.88);
    border-bottom: 1px solid rgba(0, 255, 136, 0.16);
    backdrop-filter: blur(18px);
    font-family: "Nunito", sans-serif;
    transition: top 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.nx-navbar.scrolled {
    top: 0;
    background: rgba(0, 0, 0, 0.96);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.nx-navbar .nx-brand {
    display: flex;
    align-items: center;
    width: min(220px, 42vw);
    height: 54px;
    margin: 0;
    padding: 4px 0;
    overflow: hidden;
}

.nx-navbar .nx-brand::after {
    display: none;
}

.nx-navbar .nx-brand img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

.nx-navbar .nav-link {
    position: relative;
    margin-left: 8px;
    padding: 12px 9px !important;
    color: #dcece4 !important;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}

.nx-navbar .nav-link::after {
    content: "";
    position: absolute;
    right: 9px;
    bottom: 6px;
    left: 9px;
    height: 2px;
    background: #00ff88;
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.nx-navbar .nav-link:hover,
.nx-navbar .nav-link.active {
    color: #00ff88 !important;
}

.nx-navbar .nav-link:hover::after,
.nx-navbar .nav-link.active::after {
    transform: scaleX(1);
}

.nx-navbar .navbar-toggler {
    color: #00ff88 !important;
    font-size: 24px;
}

.nx-header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 27px;
    border: 1px solid transparent;
    border-radius: 50px;
    font-weight: 900;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.nx-header-btn-sm {
    min-height: 40px;
    padding: 9px 20px;
    font-size: 14px;
}

.nx-header-btn-primary {
    background: linear-gradient(135deg, #00c853, #00ff88);
    color: #00150a;
    box-shadow: 0 12px 30px rgba(0, 255, 136, 0.2);
}

.nx-header-btn-primary:hover {
    color: #00150a;
    box-shadow: 0 17px 38px rgba(0, 255, 136, 0.32);
    transform: translateY(-3px);
}

.nx-header-btn-outline {
    border-color: rgba(0, 255, 136, 0.52);
    background: rgba(0, 255, 136, 0.025);
    color: #00ff88;
}

.nx-header-btn-outline:hover {
    background: rgba(0, 255, 136, 0.12);
    color: #fff;
    transform: translateY(-3px);
}

@media (max-width: 991px) {
    .nx-topbar {
        display: none;
    }

    .nx-navbar,
    .nx-navbar.scrolled {
        top: 0;
    }

    .nx-navbar .navbar-collapse {
        padding-bottom: 18px;
    }

    .nx-navbar .nav-link {
        margin-left: 0;
    }

    .nx-navbar .nav-link::after {
        display: none;
    }

    .nx-navbar .nx-nav-actions {
        margin-top: 8px;
    }
}

@media (max-width: 575px) {
    .nx-navbar .nx-brand {
        width: min(185px, 55vw);
        height: 48px;
    }

    .nx-navbar .nx-nav-actions {
        display: grid !important;
    }

    .nx-navbar .nx-header-btn {
        width: 100%;
    }
}
